Advertisement
yoshi_pawnexpress

[FS SAMP] Sistema de blaze mines!

May 7th, 2023
383
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 43.67 KB | None | 0 0
  1. //By Yoshi_ PAWN EXPRESS, deixe os creditos! Seja um bom homem, assim como eu fui de liberar este sistema para você! Com .pwn ainda :)
  2. //By Yoshi_ PAWN EXPRESS, deixe os creditos! Seja um bom homem, assim como eu fui de liberar este sistema para você! Com .pwn ainda :)
  3. //By Yoshi_ PAWN EXPRESS, deixe os creditos! Seja um bom homem, assim como eu fui de liberar este sistema para você! Com .pwn ainda :)
  4. //By Yoshi_ PAWN EXPRESS, deixe os creditos! Seja um bom homem, assim como eu fui de liberar este sistema para você! Com .pwn ainda :)
  5. //By Yoshi_ PAWN EXPRESS, deixe os creditos! Seja um bom homem, assim como eu fui de liberar este sistema para você! Com .pwn ainda :)
  6. //By Yoshi_ PAWN EXPRESS, deixe os creditos! Seja um bom homem, assim como eu fui de liberar este sistema para você! Com .pwn ainda :)
  7. //By Yoshi_ PAWN EXPRESS, deixe os creditos! Seja um bom homem, assim como eu fui de liberar este sistema para você! Com .pwn ainda :)
  8. //By Yoshi_ PAWN EXPRESS, deixe os creditos! Seja um bom homem, assim como eu fui de liberar este sistema para você! Com .pwn ainda :)
  9. //By Yoshi_ PAWN EXPRESS, deixe os creditos! Seja um bom homem, assim como eu fui de liberar este sistema para você! Com .pwn ainda :)
  10. //By Yoshi_ PAWN EXPRESS, deixe os creditos! Seja um bom homem, assim como eu fui de liberar este sistema para você! Com .pwn ainda :)
  11.  
  12. #include <a_samp>
  13. #include <zcmd>
  14.  
  15. #if defined FILTERSCRIPT
  16.  
  17. public OnFilterScriptInit()
  18. {
  19. return 1;
  20. }
  21.  
  22. public OnFilterScriptExit()
  23. {
  24. TextDrawDestroy(BlazeDimas[0]);
  25. TextDrawDestroy(BlazeDimas[1]);
  26. TextDrawDestroy(BlazeDimas[2]);
  27. TextDrawDestroy(BlazeDimas[3]);
  28. TextDrawDestroy(BlazeDimas[4]);
  29. TextDrawDestroy(BlazeDimas[5]);
  30. TextDrawDestroy(BlazeDimas[6]);
  31. TextDrawDestroy(BlazeDimas[7]);
  32. TextDrawDestroy(BlazeDimas[8]);
  33. TextDrawDestroy(BlazeDimas[9]);
  34. TextDrawDestroy(BlazeDimas[10]);
  35. TextDrawDestroy(BlazeDimas[11]);
  36. TextDrawDestroy(BlazeDimas[12]);
  37. TextDrawDestroy(BlazeDimas[13]);
  38. TextDrawDestroy(BlazeDimas[14]);
  39. TextDrawDestroy(BlazeDimas[15]);
  40. TextDrawDestroy(BlazeDimas[16]);
  41. TextDrawDestroy(BlazeDimas[17]);
  42. TextDrawDestroy(BlazeDimas[18]);
  43. TextDrawDestroy(BlazeDimas[19]);
  44. TextDrawDestroy(BlazeDimas[20]);
  45. TextDrawDestroy(BlazeDimas[21]);
  46. TextDrawDestroy(BlazeDimas[22]);
  47. TextDrawDestroy(BlazeDimas[23]);
  48. TextDrawDestroy(textdraw_16);
  49. TextDrawDestroy(textdraw_18);
  50. TextDrawDestroy(textdraw_17);
  51. return 1;
  52. }
  53.  
  54. #else
  55.  
  56. main()
  57. {
  58. print("\n----------------------------------");
  59. print(" Desenvolvida por: Yoshi_ PAWN EXPRESS, NUNCA REMOVA OS CRÉDITOS");
  60. print("----------------------------------\n");
  61. }
  62.  
  63. new Text:BlazeDimas[24];
  64. new PlayerText:BlazeDimasP[MAX_PLAYERS][14];
  65. new Text:textdraw_16;
  66. new Text:textdraw_18;
  67. new Text:textdraw_17;
  68.  
  69. new
  70. PlayerWin[MAX_PLAYERS],
  71. GameOwer[MAX_PLAYERS],
  72. Mode[MAX_PLAYERS] = 2,
  73. InGame[MAX_PLAYERS] = 0,
  74. clicked_td[MAX_PLAYERS][14],
  75. Money_Win[MAX_PLAYERS];
  76.  
  77. #endif
  78.  
  79. public OnGameModeInit()
  80. {
  81. // Don't use these lines if it's a filterscript
  82. SetGameModeText("Yoshi PAWN EXPRES");
  83. //AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
  84.  
  85. BlazeDimas[0] = TextDrawCreate(385.000000, 201.000000, "ld_dual:light");
  86. TextDrawFont(BlazeDimas[0], 4);
  87. TextDrawLetterSize(BlazeDimas[0], 0.600000, 2.000000);
  88. TextDrawTextSize(BlazeDimas[0], -5.500000, 9.000000);
  89. TextDrawSetOutline(BlazeDimas[0], 1);
  90. TextDrawSetShadow(BlazeDimas[0], 0);
  91. TextDrawAlignment(BlazeDimas[0], 1);
  92. TextDrawColor(BlazeDimas[0], 255);
  93. TextDrawBackgroundColor(BlazeDimas[0], 255);
  94. TextDrawBoxColor(BlazeDimas[0], 50);
  95. TextDrawUseBox(BlazeDimas[0], 1);
  96. TextDrawSetProportional(BlazeDimas[0], 1);
  97. TextDrawSetSelectable(BlazeDimas[0], 0);
  98.  
  99. BlazeDimas[1] = TextDrawCreate(387.000000, 390.000000, "ld_dual:light");
  100. TextDrawFont(BlazeDimas[1], 4);
  101. TextDrawLetterSize(BlazeDimas[1], 0.600000, 2.000000);
  102. TextDrawTextSize(BlazeDimas[1], -7.500000, 9.000000);
  103. TextDrawSetOutline(BlazeDimas[1], 1);
  104. TextDrawSetShadow(BlazeDimas[1], 0);
  105. TextDrawAlignment(BlazeDimas[1], 1);
  106. TextDrawColor(BlazeDimas[1], 255);
  107. TextDrawBackgroundColor(BlazeDimas[1], 255);
  108. TextDrawBoxColor(BlazeDimas[1], 50);
  109. TextDrawUseBox(BlazeDimas[1], 1);
  110. TextDrawSetProportional(BlazeDimas[1], 1);
  111. TextDrawSetSelectable(BlazeDimas[1], 0);
  112.  
  113. BlazeDimas[2] = TextDrawCreate(469.000000, 390.000000, "ld_dual:light");
  114. TextDrawFont(BlazeDimas[2], 4);
  115. TextDrawLetterSize(BlazeDimas[2], 0.600000, 2.000000);
  116. TextDrawTextSize(BlazeDimas[2], -7.500000, 9.000000);
  117. TextDrawSetOutline(BlazeDimas[2], 1);
  118. TextDrawSetShadow(BlazeDimas[2], 0);
  119. TextDrawAlignment(BlazeDimas[2], 1);
  120. TextDrawColor(BlazeDimas[2], 255);
  121. TextDrawBackgroundColor(BlazeDimas[2], 255);
  122. TextDrawBoxColor(BlazeDimas[2], 50);
  123. TextDrawUseBox(BlazeDimas[2], 1);
  124. TextDrawSetProportional(BlazeDimas[2], 1);
  125. TextDrawSetSelectable(BlazeDimas[2], 0);
  126.  
  127. BlazeDimas[3] = TextDrawCreate(461.000000, 201.000000, "ld_dual:light");
  128. TextDrawFont(BlazeDimas[3], 4);
  129. TextDrawLetterSize(BlazeDimas[3], 0.600000, 2.000000);
  130. TextDrawTextSize(BlazeDimas[3], 8.000000, 9.000000);
  131. TextDrawSetOutline(BlazeDimas[3], 1);
  132. TextDrawSetShadow(BlazeDimas[3], 0);
  133. TextDrawAlignment(BlazeDimas[3], 1);
  134. TextDrawColor(BlazeDimas[3], 255);
  135. TextDrawBackgroundColor(BlazeDimas[3], 255);
  136. TextDrawBoxColor(BlazeDimas[3], 50);
  137. TextDrawUseBox(BlazeDimas[3], 1);
  138. TextDrawSetProportional(BlazeDimas[3], 1);
  139. TextDrawSetSelectable(BlazeDimas[3], 0);
  140.  
  141. BlazeDimas[4] = TextDrawCreate(424.000000, 205.000000, "_");
  142. TextDrawFont(BlazeDimas[4], 0);
  143. TextDrawLetterSize(BlazeDimas[4], 0.600000, -0.699997);
  144. TextDrawTextSize(BlazeDimas[4], 298.500000, 76.500000);
  145. TextDrawSetOutline(BlazeDimas[4], 1);
  146. TextDrawSetShadow(BlazeDimas[4], 0);
  147. TextDrawAlignment(BlazeDimas[4], 2);
  148. TextDrawColor(BlazeDimas[4], -1);
  149. TextDrawBackgroundColor(BlazeDimas[4], 255);
  150. TextDrawBoxColor(BlazeDimas[4], 255);
  151. TextDrawUseBox(BlazeDimas[4], 1);
  152. TextDrawSetProportional(BlazeDimas[4], 1);
  153. TextDrawSetSelectable(BlazeDimas[4], 0);
  154.  
  155. BlazeDimas[5] = TextDrawCreate(424.000000, 401.000000, "_");
  156. TextDrawFont(BlazeDimas[5], 0);
  157. TextDrawLetterSize(BlazeDimas[5], 0.600000, -0.699997);
  158. TextDrawTextSize(BlazeDimas[5], 298.500000, 77.000000);
  159. TextDrawSetOutline(BlazeDimas[5], 1);
  160. TextDrawSetShadow(BlazeDimas[5], 0);
  161. TextDrawAlignment(BlazeDimas[5], 2);
  162. TextDrawColor(BlazeDimas[5], -1);
  163. TextDrawBackgroundColor(BlazeDimas[5], 255);
  164. TextDrawBoxColor(BlazeDimas[5], 255);
  165. TextDrawUseBox(BlazeDimas[5], 1);
  166. TextDrawSetProportional(BlazeDimas[5], 1);
  167. TextDrawSetSelectable(BlazeDimas[5], 0);
  168.  
  169. BlazeDimas[6] = TextDrawCreate(381.000000, 208.000000, "_");
  170. TextDrawFont(BlazeDimas[6], 0);
  171. TextDrawLetterSize(BlazeDimas[6], 0.600000, 20.449977);
  172. TextDrawTextSize(BlazeDimas[6], 298.500000, -1.000000);
  173. TextDrawSetOutline(BlazeDimas[6], 1);
  174. TextDrawSetShadow(BlazeDimas[6], 0);
  175. TextDrawAlignment(BlazeDimas[6], 2);
  176. TextDrawColor(BlazeDimas[6], -1);
  177. TextDrawBackgroundColor(BlazeDimas[6], 255);
  178. TextDrawBoxColor(BlazeDimas[6], 255);
  179. TextDrawUseBox(BlazeDimas[6], 1);
  180. TextDrawSetProportional(BlazeDimas[6], 1);
  181. TextDrawSetSelectable(BlazeDimas[6], 0);
  182.  
  183. BlazeDimas[7] = TextDrawCreate(468.000000, 208.000000, "_");
  184. TextDrawFont(BlazeDimas[7], 0);
  185. TextDrawLetterSize(BlazeDimas[7], 0.595833, 20.549976);
  186. TextDrawTextSize(BlazeDimas[7], 298.500000, -1.500000);
  187. TextDrawSetOutline(BlazeDimas[7], 1);
  188. TextDrawSetShadow(BlazeDimas[7], 0);
  189. TextDrawAlignment(BlazeDimas[7], 2);
  190. TextDrawColor(BlazeDimas[7], -1);
  191. TextDrawBackgroundColor(BlazeDimas[7], 255);
  192. TextDrawBoxColor(BlazeDimas[7], 255);
  193. TextDrawUseBox(BlazeDimas[7], 1);
  194. TextDrawSetProportional(BlazeDimas[7], 1);
  195. TextDrawSetSelectable(BlazeDimas[7], 0);
  196.  
  197. BlazeDimas[8] = TextDrawCreate(424.000000, 400.000000, "_");
  198. TextDrawFont(BlazeDimas[8], 0);
  199. TextDrawLetterSize(BlazeDimas[8], 0.600000, -22.399993);
  200. TextDrawTextSize(BlazeDimas[8], 298.500000, 79.500000);
  201. TextDrawSetOutline(BlazeDimas[8], 1);
  202. TextDrawSetShadow(BlazeDimas[8], 0);
  203. TextDrawAlignment(BlazeDimas[8], 2);
  204. TextDrawColor(BlazeDimas[8], -1);
  205. TextDrawBackgroundColor(BlazeDimas[8], 255);
  206. TextDrawBoxColor(BlazeDimas[8], 255);
  207. TextDrawUseBox(BlazeDimas[8], 1);
  208. TextDrawSetProportional(BlazeDimas[8], 1);
  209. TextDrawSetSelectable(BlazeDimas[8], 0);
  210.  
  211. BlazeDimas[9] = TextDrawCreate(466.000000, 397.000000, "_");
  212. TextDrawFont(BlazeDimas[9], 0);
  213. TextDrawLetterSize(BlazeDimas[9], 0.600000, -21.599998);
  214. TextDrawTextSize(BlazeDimas[9], 298.500000, -0.500000);
  215. TextDrawSetOutline(BlazeDimas[9], 1);
  216. TextDrawSetShadow(BlazeDimas[9], 0);
  217. TextDrawAlignment(BlazeDimas[9], 2);
  218. TextDrawColor(BlazeDimas[9], -1);
  219. TextDrawBackgroundColor(BlazeDimas[9], 255);
  220. TextDrawBoxColor(BlazeDimas[9], 255);
  221. TextDrawUseBox(BlazeDimas[9], 1);
  222. TextDrawSetProportional(BlazeDimas[9], 1);
  223. TextDrawSetSelectable(BlazeDimas[9], 0);
  224.  
  225. BlazeDimas[10] = TextDrawCreate(425.000000, 390.000000, "O");
  226. TextDrawFont(BlazeDimas[10], 2);
  227. TextDrawLetterSize(BlazeDimas[10], 0.258332, 0.800000);
  228. TextDrawTextSize(BlazeDimas[10], 16.500000, 7.000000);
  229. TextDrawSetOutline(BlazeDimas[10], 0);
  230. TextDrawSetShadow(BlazeDimas[10], 0);
  231. TextDrawAlignment(BlazeDimas[10], 2);
  232. TextDrawColor(BlazeDimas[10], -1);
  233. TextDrawBackgroundColor(BlazeDimas[10], 255);
  234. TextDrawBoxColor(BlazeDimas[10], 9109759);
  235. TextDrawUseBox(BlazeDimas[10], 0);
  236. TextDrawSetProportional(BlazeDimas[10], 0);
  237. TextDrawSetSelectable(BlazeDimas[10], 1);
  238.  
  239. textdraw_16 = TextDrawCreate(392.000000, 390.000000, "<");
  240. TextDrawFont(textdraw_16, 2);
  241. TextDrawLetterSize(textdraw_16, 0.266665, 0.750000);
  242. TextDrawTextSize(textdraw_16, 16.500000, 7.000000);
  243. TextDrawSetOutline(textdraw_16, 0);
  244. TextDrawSetShadow(textdraw_16, 0);
  245. TextDrawAlignment(textdraw_16, 2);
  246. TextDrawColor(textdraw_16, -1);
  247. TextDrawBackgroundColor(textdraw_16, 255);
  248. TextDrawBoxColor(textdraw_16, 9109759);
  249. TextDrawUseBox(textdraw_16, 0);
  250. TextDrawSetProportional(textdraw_16, 0);
  251. TextDrawSetSelectable(textdraw_16, 1);
  252.  
  253. textdraw_18 = TextDrawCreate(453.000000, 390.000000, "X");
  254. TextDrawFont(textdraw_18, 2);
  255. TextDrawLetterSize(textdraw_18, 0.258332, 0.800000);
  256. TextDrawTextSize(textdraw_18, 16.500000, 7.000000);
  257. TextDrawSetOutline(textdraw_18, 0);
  258. TextDrawSetShadow(textdraw_18, 0);
  259. TextDrawAlignment(textdraw_18, 2);
  260. TextDrawColor(textdraw_18, -1);
  261. TextDrawBackgroundColor(textdraw_18, 255);
  262. TextDrawBoxColor(textdraw_18, 9109759);
  263. TextDrawUseBox(textdraw_18, 0);
  264. TextDrawSetProportional(textdraw_18, 0);
  265. TextDrawSetSelectable(textdraw_18, 1);
  266.  
  267. textdraw_17 = TextDrawCreate(424.000000, 210.000000, "_");
  268. TextDrawFont(textdraw_17, 2);
  269. TextDrawLetterSize(textdraw_17, 0.600000, 19.449996);
  270. TextDrawTextSize(textdraw_17, 298.500000, 83.000000);
  271. TextDrawSetOutline(textdraw_17, 2);
  272. TextDrawSetShadow(textdraw_17, 0);
  273. TextDrawAlignment(textdraw_17, 2);
  274. TextDrawColor(textdraw_17, -1);
  275. TextDrawBackgroundColor(textdraw_17, 255);
  276. TextDrawBoxColor(textdraw_17, 437918463);
  277. TextDrawUseBox(textdraw_17, 1);
  278. TextDrawSetProportional(textdraw_17, 1);
  279. TextDrawSetSelectable(textdraw_17, 0);
  280.  
  281. BlazeDimas[11] = TextDrawCreate(424.000000, 212.000000, "_");
  282. TextDrawFont(BlazeDimas[11], 2);
  283. TextDrawLetterSize(BlazeDimas[11], 0.600000, 9.350009);
  284. TextDrawTextSize(BlazeDimas[11], 298.500000, 82.500000);
  285. TextDrawSetOutline(BlazeDimas[11], 2);
  286. TextDrawSetShadow(BlazeDimas[11], 0);
  287. TextDrawAlignment(BlazeDimas[11], 2);
  288. TextDrawColor(BlazeDimas[11], -1);
  289. TextDrawBackgroundColor(BlazeDimas[11], 255);
  290. TextDrawBoxColor(BlazeDimas[11], 252645375);
  291. TextDrawUseBox(BlazeDimas[11], 1);
  292. TextDrawSetProportional(BlazeDimas[11], 1);
  293. TextDrawSetSelectable(BlazeDimas[11], 0);
  294.  
  295. BlazeDimas[12] = TextDrawCreate(382.000000, 211.000000, "Banco");
  296. TextDrawFont(BlazeDimas[12], 1);
  297. TextDrawLetterSize(BlazeDimas[12], 0.187500, 0.850000);
  298. TextDrawTextSize(BlazeDimas[12], 400.000000, 17.000000);
  299. TextDrawSetOutline(BlazeDimas[12], 0);
  300. TextDrawSetShadow(BlazeDimas[12], 0);
  301. TextDrawAlignment(BlazeDimas[12], 1);
  302. TextDrawColor(BlazeDimas[12], 1296911871);
  303. TextDrawBackgroundColor(BlazeDimas[12], 255);
  304. TextDrawBoxColor(BlazeDimas[12], 1296911666);
  305. TextDrawUseBox(BlazeDimas[12], 0);
  306. TextDrawSetProportional(BlazeDimas[12], 1);
  307. TextDrawSetSelectable(BlazeDimas[12], 0);
  308.  
  309. BlazeDimas[13] = TextDrawCreate(414.000000, 304.000000, "_");
  310. TextDrawFont(BlazeDimas[13], 2);
  311. TextDrawLetterSize(BlazeDimas[13], 0.600000, 1.450009);
  312. TextDrawTextSize(BlazeDimas[13], 298.500000, 62.500000);
  313. TextDrawSetOutline(BlazeDimas[13], 2);
  314. TextDrawSetShadow(BlazeDimas[13], 0);
  315. TextDrawAlignment(BlazeDimas[13], 2);
  316. TextDrawColor(BlazeDimas[13], -1);
  317. TextDrawBackgroundColor(BlazeDimas[13], 255);
  318. TextDrawBoxColor(BlazeDimas[13], 255);
  319. TextDrawUseBox(BlazeDimas[13], 1);
  320. TextDrawSetProportional(BlazeDimas[13], 1);
  321. TextDrawSetSelectable(BlazeDimas[13], 0);
  322.  
  323. BlazeDimas[14] = TextDrawCreate(382.000000, 302.000000, "Quantia");
  324. TextDrawFont(BlazeDimas[14], 1);
  325. TextDrawLetterSize(BlazeDimas[14], 0.166666, 0.849999);
  326. TextDrawTextSize(BlazeDimas[14], 400.000000, 17.000000);
  327. TextDrawSetOutline(BlazeDimas[14], 0);
  328. TextDrawSetShadow(BlazeDimas[14], 0);
  329. TextDrawAlignment(BlazeDimas[14], 1);
  330. TextDrawColor(BlazeDimas[14], -1);
  331. TextDrawBackgroundColor(BlazeDimas[14], 255);
  332. TextDrawBoxColor(BlazeDimas[14], 1296911666);
  333. TextDrawUseBox(BlazeDimas[14], 0);
  334. TextDrawSetProportional(BlazeDimas[14], 1);
  335. TextDrawSetSelectable(BlazeDimas[14], 0);
  336.  
  337. BlazeDimas[15] = TextDrawCreate(458.000000, 304.000000, "_");
  338. TextDrawFont(BlazeDimas[15], 2);
  339. TextDrawLetterSize(BlazeDimas[15], 0.600000, 1.450009);
  340. TextDrawTextSize(BlazeDimas[15], 298.500000, 13.500000);
  341. TextDrawSetOutline(BlazeDimas[15], 2);
  342. TextDrawSetShadow(BlazeDimas[15], 0);
  343. TextDrawAlignment(BlazeDimas[15], 2);
  344. TextDrawColor(BlazeDimas[15], -1);
  345. TextDrawBackgroundColor(BlazeDimas[15], 255);
  346. TextDrawBoxColor(BlazeDimas[15], -16776961);
  347. TextDrawUseBox(BlazeDimas[15], 1);
  348. TextDrawSetProportional(BlazeDimas[15], 1);
  349. TextDrawSetSelectable(BlazeDimas[15], 0);
  350.  
  351. BlazeDimas[16] = TextDrawCreate(454.000000, 306.000000, "R$");
  352. TextDrawFont(BlazeDimas[16], 1);
  353. TextDrawLetterSize(BlazeDimas[16], 0.166666, 0.849999);
  354. TextDrawTextSize(BlazeDimas[16], 400.000000, 17.000000);
  355. TextDrawSetOutline(BlazeDimas[16], 0);
  356. TextDrawSetShadow(BlazeDimas[16], 0);
  357. TextDrawAlignment(BlazeDimas[16], 1);
  358. TextDrawColor(BlazeDimas[16], -1);
  359. TextDrawBackgroundColor(BlazeDimas[16], 255);
  360. TextDrawBoxColor(BlazeDimas[16], 1296911666);
  361. TextDrawUseBox(BlazeDimas[16], 0);
  362. TextDrawSetProportional(BlazeDimas[16], 1);
  363. TextDrawSetSelectable(BlazeDimas[16], 0);
  364.  
  365. BlazeDimas[17] = TextDrawCreate(424.000000, 335.000000, "Comecar_jogo");
  366. TextDrawFont(BlazeDimas[17], 1);
  367. TextDrawLetterSize(BlazeDimas[17], 0.174998, 1.100000);
  368. TextDrawTextSize(BlazeDimas[17], 16.500000, 80.500000);
  369. TextDrawSetOutline(BlazeDimas[17], 0);
  370. TextDrawSetShadow(BlazeDimas[17], 0);
  371. TextDrawAlignment(BlazeDimas[17], 2);
  372. TextDrawColor(BlazeDimas[17], -1);
  373. TextDrawBackgroundColor(BlazeDimas[17], 255);
  374. TextDrawBoxColor(BlazeDimas[17], -16776961);
  375. TextDrawUseBox(BlazeDimas[17], 1);
  376. TextDrawSetProportional(BlazeDimas[17], 1);
  377. TextDrawSetSelectable(BlazeDimas[17], 1);
  378.  
  379. BlazeDimas[18] = TextDrawCreate(424.000000, 352.000000, "_");
  380. TextDrawFont(BlazeDimas[18], 2);
  381. TextDrawLetterSize(BlazeDimas[18], 0.600000, 3.550009);
  382. TextDrawTextSize(BlazeDimas[18], 298.500000, 82.500000);
  383. TextDrawSetOutline(BlazeDimas[18], 2);
  384. TextDrawSetShadow(BlazeDimas[18], 0);
  385. TextDrawAlignment(BlazeDimas[18], 2);
  386. TextDrawColor(BlazeDimas[18], -1);
  387. TextDrawBackgroundColor(BlazeDimas[18], 255);
  388. TextDrawBoxColor(BlazeDimas[18], 252645375);
  389. TextDrawUseBox(BlazeDimas[18], 1);
  390. TextDrawSetProportional(BlazeDimas[18], 1);
  391. TextDrawSetSelectable(BlazeDimas[18], 0);
  392.  
  393. BlazeDimas[19] = TextDrawCreate(382.000000, 322.000000, "Comece_o_jogo");
  394. TextDrawFont(BlazeDimas[19], 1);
  395. TextDrawLetterSize(BlazeDimas[19], 0.166666, 0.849999);
  396. TextDrawTextSize(BlazeDimas[19], 400.000000, 17.000000);
  397. TextDrawSetOutline(BlazeDimas[19], 0);
  398. TextDrawSetShadow(BlazeDimas[19], 0);
  399. TextDrawAlignment(BlazeDimas[19], 1);
  400. TextDrawColor(BlazeDimas[19], -1);
  401. TextDrawBackgroundColor(BlazeDimas[19], 255);
  402. TextDrawBoxColor(BlazeDimas[19], 1296911666);
  403. TextDrawUseBox(BlazeDimas[19], 0);
  404. TextDrawSetProportional(BlazeDimas[19], 1);
  405. TextDrawSetSelectable(BlazeDimas[19], 0);
  406.  
  407. BlazeDimas[20] = TextDrawCreate(393.000000, 360.000000, "HUD:radar_race");
  408. TextDrawFont(BlazeDimas[20], 4);
  409. TextDrawLetterSize(BlazeDimas[20], 0.600000, 2.000000);
  410. TextDrawTextSize(BlazeDimas[20], 14.000000, 12.000000);
  411. TextDrawSetOutline(BlazeDimas[20], 1);
  412. TextDrawSetShadow(BlazeDimas[20], 0);
  413. TextDrawAlignment(BlazeDimas[20], 1);
  414. TextDrawColor(BlazeDimas[20], -1);
  415. TextDrawBackgroundColor(BlazeDimas[20], 255);
  416. TextDrawBoxColor(BlazeDimas[20], 50);
  417. TextDrawUseBox(BlazeDimas[20], 1);
  418. TextDrawSetProportional(BlazeDimas[20], 1);
  419. TextDrawSetSelectable(BlazeDimas[20], 0);
  420.  
  421. BlazeDimas[21] = TextDrawCreate(437.000000, 360.000000, "ld_chat:thumbdn");
  422. TextDrawFont(BlazeDimas[21], 4);
  423. TextDrawLetterSize(BlazeDimas[21], 0.600000, 2.000000);
  424. TextDrawTextSize(BlazeDimas[21], 14.000000, 12.000000);
  425. TextDrawSetOutline(BlazeDimas[21], 1);
  426. TextDrawSetShadow(BlazeDimas[21], 0);
  427. TextDrawAlignment(BlazeDimas[21], 1);
  428. TextDrawColor(BlazeDimas[21], -1);
  429. TextDrawBackgroundColor(BlazeDimas[21], 255);
  430. TextDrawBoxColor(BlazeDimas[21], 50);
  431. TextDrawUseBox(BlazeDimas[21], 1);
  432. TextDrawSetProportional(BlazeDimas[21], 1);
  433. TextDrawSetSelectable(BlazeDimas[21], 0);
  434.  
  435. BlazeDimas[22] = TextDrawCreate(389.000000, 371.000000, "Acertou");
  436. TextDrawFont(BlazeDimas[22], 1);
  437. TextDrawLetterSize(BlazeDimas[22], 0.166666, 0.849999);
  438. TextDrawTextSize(BlazeDimas[22], 400.000000, 17.000000);
  439. TextDrawSetOutline(BlazeDimas[22], 0);
  440. TextDrawSetShadow(BlazeDimas[22], 0);
  441. TextDrawAlignment(BlazeDimas[22], 1);
  442. TextDrawColor(BlazeDimas[22], 9109759);
  443. TextDrawBackgroundColor(BlazeDimas[22], 255);
  444. TextDrawBoxColor(BlazeDimas[22], 1296911666);
  445. TextDrawUseBox(BlazeDimas[22], 0);
  446. TextDrawSetProportional(BlazeDimas[22], 1);
  447. TextDrawSetSelectable(BlazeDimas[22], 0);
  448.  
  449. BlazeDimas[23] = TextDrawCreate(437.000000, 371.000000, "Errou");
  450. TextDrawFont(BlazeDimas[23], 1);
  451. TextDrawLetterSize(BlazeDimas[23], 0.166666, 0.849999);
  452. TextDrawTextSize(BlazeDimas[23], 400.000000, 17.000000);
  453. TextDrawSetOutline(BlazeDimas[23], 0);
  454. TextDrawSetShadow(BlazeDimas[23], 0);
  455. TextDrawAlignment(BlazeDimas[23], 1);
  456. TextDrawColor(BlazeDimas[23], -16776961);
  457. TextDrawBackgroundColor(BlazeDimas[23], 255);
  458. TextDrawBoxColor(BlazeDimas[23], 1296911666);
  459. TextDrawUseBox(BlazeDimas[23], 0);
  460. TextDrawSetProportional(BlazeDimas[23], 1);
  461. TextDrawSetSelectable(BlazeDimas[23], 0);
  462.  
  463. return 1;
  464. }
  465.  
  466. public OnGameModeExit()
  467. {
  468. return 1;
  469. }
  470.  
  471. public OnPlayerRequestClass(playerid, classid)
  472. {
  473. SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
  474. SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
  475. SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
  476. return 1;
  477. }
  478.  
  479. public OnPlayerConnect(playerid)
  480. {
  481. BlazeDimasP[playerid][0] = CreatePlayerTextDraw(playerid, 432.000000, 212.000000, "$999.999.999");
  482. PlayerTextDrawFont(playerid, BlazeDimasP[playerid][0], 1);
  483. PlayerTextDrawLetterSize(playerid, BlazeDimasP[playerid][0], 0.145833, 0.699998);
  484. PlayerTextDrawTextSize(playerid, BlazeDimasP[playerid][0], 400.000000, 17.000000);
  485. PlayerTextDrawSetOutline(playerid, BlazeDimasP[playerid][0], 0);
  486. PlayerTextDrawSetShadow(playerid, BlazeDimasP[playerid][0], 0);
  487. PlayerTextDrawAlignment(playerid, BlazeDimasP[playerid][0], 1);
  488. PlayerTextDrawColor(playerid, BlazeDimasP[playerid][0], 1296911871);
  489. PlayerTextDrawBackgroundColor(playerid, BlazeDimasP[playerid][0], 255);
  490. PlayerTextDrawBoxColor(playerid, BlazeDimasP[playerid][0], 1296911666);
  491. PlayerTextDrawUseBox(playerid, BlazeDimasP[playerid][0], 0); SendClientMessage(playerid, -1, #create by: Yoshi_ não retire os créditos!);
  492. PlayerTextDrawSetProportional(playerid, BlazeDimasP[playerid][0], 1);
  493. PlayerTextDrawSetSelectable(playerid, BlazeDimasP[playerid][0], 0);
  494.  
  495. BlazeDimasP[playerid][1] = CreatePlayerTextDraw(playerid, 379.000000, 220.000000, "HUD:radar_light");
  496. PlayerTextDrawFont(playerid, BlazeDimasP[playerid][1], 4);
  497. PlayerTextDrawLetterSize(playerid, BlazeDimasP[playerid][1], 0.258332, 1.750000);
  498. PlayerTextDrawTextSize(playerid, BlazeDimasP[playerid][1], 25.000000, 30.000000);
  499. PlayerTextDrawSetOutline(playerid, BlazeDimasP[playerid][1], 1);
  500. PlayerTextDrawSetShadow(playerid, BlazeDimasP[playerid][1], 0);
  501. PlayerTextDrawAlignment(playerid, BlazeDimasP[playerid][1], 2);
  502. PlayerTextDrawColor(playerid, BlazeDimasP[playerid][1], -1);
  503. PlayerTextDrawBackgroundColor(playerid, BlazeDimasP[playerid][1], 255);
  504. PlayerTextDrawBoxColor(playerid, BlazeDimasP[playerid][1], 200);
  505. PlayerTextDrawUseBox(playerid, BlazeDimasP[playerid][1], 1);
  506. PlayerTextDrawSetProportional(playerid, BlazeDimasP[playerid][1], 1);
  507. PlayerTextDrawSetSelectable(playerid, BlazeDimasP[playerid][1], 1);
  508.  
  509. BlazeDimasP[playerid][2] = CreatePlayerTextDraw(playerid, 401.000000, 220.000000, "HUD:radar_light");
  510. PlayerTextDrawFont(playerid, BlazeDimasP[playerid][2], 4);
  511. PlayerTextDrawLetterSize(playerid, BlazeDimasP[playerid][2], 0.258332, 1.750000);
  512. PlayerTextDrawTextSize(playerid, BlazeDimasP[playerid][2], 25.000000, 30.000000);
  513. PlayerTextDrawSetOutline(playerid, BlazeDimasP[playerid][2], 1);
  514. PlayerTextDrawSetShadow(playerid, BlazeDimasP[playerid][2], 0);
  515. PlayerTextDrawAlignment(playerid, BlazeDimasP[playerid][2], 2);
  516. PlayerTextDrawColor(playerid, BlazeDimasP[playerid][2], -1);
  517. PlayerTextDrawBackgroundColor(playerid, BlazeDimasP[playerid][2], 255);
  518. PlayerTextDrawBoxColor(playerid, BlazeDimasP[playerid][2], 200);
  519. PlayerTextDrawUseBox(playerid, BlazeDimasP[playerid][2], 1);
  520. PlayerTextDrawSetProportional(playerid, BlazeDimasP[playerid][2], 1);
  521. PlayerTextDrawSetSelectable(playerid, BlazeDimasP[playerid][2], 1);
  522.  
  523. BlazeDimasP[playerid][3] = CreatePlayerTextDraw(playerid, 422.000000, 220.000000, "HUD:radar_light");
  524. PlayerTextDrawFont(playerid, BlazeDimasP[playerid][3], 4);
  525. PlayerTextDrawLetterSize(playerid, BlazeDimasP[playerid][3], 0.258332, 1.750000);
  526. PlayerTextDrawTextSize(playerid, BlazeDimasP[playerid][3], 25.000000, 30.000000);
  527. PlayerTextDrawSetOutline(playerid, BlazeDimasP[playerid][3], 1);
  528. PlayerTextDrawSetShadow(playerid, BlazeDimasP[playerid][3], 0);
  529. PlayerTextDrawAlignment(playerid, BlazeDimasP[playerid][3], 2);
  530. PlayerTextDrawColor(playerid, BlazeDimasP[playerid][3], -1);
  531. PlayerTextDrawBackgroundColor(playerid, BlazeDimasP[playerid][3], 255);
  532. PlayerTextDrawBoxColor(playerid, BlazeDimasP[playerid][3], 200);
  533. PlayerTextDrawUseBox(playerid, BlazeDimasP[playerid][3], 1);
  534. PlayerTextDrawSetProportional(playerid, BlazeDimasP[playerid][3], 1);
  535. PlayerTextDrawSetSelectable(playerid, BlazeDimasP[playerid][3], 1);
  536.  
  537. BlazeDimasP[playerid][4] = CreatePlayerTextDraw(playerid, 443.000000, 220.000000, "HUD:radar_light");
  538. PlayerTextDrawFont(playerid, BlazeDimasP[playerid][4], 4);
  539. PlayerTextDrawLetterSize(playerid, BlazeDimasP[playerid][4], 0.258332, 1.750000);
  540. PlayerTextDrawTextSize(playerid, BlazeDimasP[playerid][4], 25.000000, 30.000000);
  541. PlayerTextDrawSetOutline(playerid, BlazeDimasP[playerid][4], 1);
  542. PlayerTextDrawSetShadow(playerid, BlazeDimasP[playerid][4], 0);
  543. PlayerTextDrawAlignment(playerid, BlazeDimasP[playerid][4], 2);
  544. PlayerTextDrawColor(playerid, BlazeDimasP[playerid][4], -1);
  545. PlayerTextDrawBackgroundColor(playerid, BlazeDimasP[playerid][4], 255);
  546. PlayerTextDrawBoxColor(playerid, BlazeDimasP[playerid][4], 200);
  547. PlayerTextDrawUseBox(playerid, BlazeDimasP[playerid][4], 1);
  548. PlayerTextDrawSetProportional(playerid, BlazeDimasP[playerid][4], 1);
  549. PlayerTextDrawSetSelectable(playerid, BlazeDimasP[playerid][4], 1);
  550.  
  551. BlazeDimasP[playerid][5] = CreatePlayerTextDraw(playerid, 379.000000, 245.000000, "HUD:radar_light");
  552. PlayerTextDrawFont(playerid, BlazeDimasP[playerid][5], 4);
  553. PlayerTextDrawLetterSize(playerid, BlazeDimasP[playerid][5], 0.258332, 1.750000);
  554. PlayerTextDrawTextSize(playerid, BlazeDimasP[playerid][5], 25.000000, 30.000000);
  555. PlayerTextDrawSetOutline(playerid, BlazeDimasP[playerid][5], 1);
  556. PlayerTextDrawSetShadow(playerid, BlazeDimasP[playerid][5], 0);
  557. PlayerTextDrawAlignment(playerid, BlazeDimasP[playerid][5], 2);
  558. PlayerTextDrawColor(playerid, BlazeDimasP[playerid][5], -1);
  559. PlayerTextDrawBackgroundColor(playerid, BlazeDimasP[playerid][5], 255);
  560. PlayerTextDrawBoxColor(playerid, BlazeDimasP[playerid][5], 200);
  561. PlayerTextDrawUseBox(playerid, BlazeDimasP[playerid][5], 1);
  562. PlayerTextDrawSetProportional(playerid, BlazeDimasP[playerid][5], 1);
  563. PlayerTextDrawSetSelectable(playerid, BlazeDimasP[playerid][5], 1);
  564.  
  565. BlazeDimasP[playerid][6] = CreatePlayerTextDraw(playerid, 401.000000, 245.000000, "HUD:radar_light");
  566. PlayerTextDrawFont(playerid, BlazeDimasP[playerid][6], 4);
  567. PlayerTextDrawLetterSize(playerid, BlazeDimasP[playerid][6], 0.258332, 1.750000);
  568. PlayerTextDrawTextSize(playerid, BlazeDimasP[playerid][6], 25.000000, 30.000000);
  569. PlayerTextDrawSetOutline(playerid, BlazeDimasP[playerid][6], 1);
  570. PlayerTextDrawSetShadow(playerid, BlazeDimasP[playerid][6], 0);
  571. PlayerTextDrawAlignment(playerid, BlazeDimasP[playerid][6], 2);
  572. PlayerTextDrawColor(playerid, BlazeDimasP[playerid][6], -1);
  573. PlayerTextDrawBackgroundColor(playerid, BlazeDimasP[playerid][6], 255);
  574. PlayerTextDrawBoxColor(playerid, BlazeDimasP[playerid][6], 200);
  575. PlayerTextDrawUseBox(playerid, BlazeDimasP[playerid][6], 1);
  576. PlayerTextDrawSetProportional(playerid, BlazeDimasP[playerid][6], 1);
  577. PlayerTextDrawSetSelectable(playerid, BlazeDimasP[playerid][6], 1);
  578.  
  579. BlazeDimasP[playerid][7] = CreatePlayerTextDraw(playerid, 422.000000, 245.000000, "HUD:radar_light");
  580. PlayerTextDrawFont(playerid, BlazeDimasP[playerid][7], 4);
  581. PlayerTextDrawLetterSize(playerid, BlazeDimasP[playerid][7], 0.258332, 1.750000);
  582. PlayerTextDrawTextSize(playerid, BlazeDimasP[playerid][7], 25.000000, 30.000000);
  583. PlayerTextDrawSetOutline(playerid, BlazeDimasP[playerid][7], 1);
  584. PlayerTextDrawSetShadow(playerid, BlazeDimasP[playerid][7], 0);
  585. PlayerTextDrawAlignment(playerid, BlazeDimasP[playerid][7], 2);
  586. PlayerTextDrawColor(playerid, BlazeDimasP[playerid][7], -1);
  587. PlayerTextDrawBackgroundColor(playerid, BlazeDimasP[playerid][7], 255);
  588. PlayerTextDrawBoxColor(playerid, BlazeDimasP[playerid][7], 200);
  589. PlayerTextDrawUseBox(playerid, BlazeDimasP[playerid][7], 1);
  590. PlayerTextDrawSetProportional(playerid, BlazeDimasP[playerid][7], 1);
  591. PlayerTextDrawSetSelectable(playerid, BlazeDimasP[playerid][7], 1);
  592.  
  593. BlazeDimasP[playerid][8] = CreatePlayerTextDraw(playerid, 443.000000, 245.000000, "HUD:radar_light");
  594. PlayerTextDrawFont(playerid, BlazeDimasP[playerid][8], 4);
  595. PlayerTextDrawLetterSize(playerid, BlazeDimasP[playerid][8], 0.258332, 1.750000);
  596. PlayerTextDrawTextSize(playerid, BlazeDimasP[playerid][8], 25.000000, 30.000000);
  597. PlayerTextDrawSetOutline(playerid, BlazeDimasP[playerid][8], 1);
  598. PlayerTextDrawSetShadow(playerid, BlazeDimasP[playerid][8], 0);
  599. PlayerTextDrawAlignment(playerid, BlazeDimasP[playerid][8], 2);
  600. PlayerTextDrawColor(playerid, BlazeDimasP[playerid][8], -1);
  601. PlayerTextDrawBackgroundColor(playerid, BlazeDimasP[playerid][8], 255);
  602. PlayerTextDrawBoxColor(playerid, BlazeDimasP[playerid][8], 200);
  603. PlayerTextDrawUseBox(playerid, BlazeDimasP[playerid][8], 1);
  604. PlayerTextDrawSetProportional(playerid, BlazeDimasP[playerid][8], 1);
  605. PlayerTextDrawSetSelectable(playerid, BlazeDimasP[playerid][8], 1);
  606.  
  607. BlazeDimasP[playerid][9] = CreatePlayerTextDraw(playerid, 379.000000, 270.000000, "HUD:radar_light");
  608. PlayerTextDrawFont(playerid, BlazeDimasP[playerid][9], 4);
  609. PlayerTextDrawLetterSize(playerid, BlazeDimasP[playerid][9], 0.258332, 1.750000);
  610. PlayerTextDrawTextSize(playerid, BlazeDimasP[playerid][9], 25.000000, 30.000000);
  611. PlayerTextDrawSetOutline(playerid, BlazeDimasP[playerid][9], 1);
  612. PlayerTextDrawSetShadow(playerid, BlazeDimasP[playerid][9], 0);
  613. PlayerTextDrawAlignment(playerid, BlazeDimasP[playerid][9], 2);
  614. PlayerTextDrawColor(playerid, BlazeDimasP[playerid][9], -1);
  615. PlayerTextDrawBackgroundColor(playerid, BlazeDimasP[playerid][9], 255);
  616. PlayerTextDrawBoxColor(playerid, BlazeDimasP[playerid][9], 200);
  617. PlayerTextDrawUseBox(playerid, BlazeDimasP[playerid][9], 1);
  618. PlayerTextDrawSetProportional(playerid, BlazeDimasP[playerid][9], 1);
  619. PlayerTextDrawSetSelectable(playerid, BlazeDimasP[playerid][9], 1);
  620.  
  621. BlazeDimasP[playerid][10] = CreatePlayerTextDraw(playerid, 422.000000, 270.000000, "HUD:radar_light");
  622. PlayerTextDrawFont(playerid, BlazeDimasP[playerid][10], 4);
  623. PlayerTextDrawLetterSize(playerid, BlazeDimasP[playerid][10], 0.258332, 1.750000);
  624. PlayerTextDrawTextSize(playerid, BlazeDimasP[playerid][10], 25.000000, 30.000000);
  625. PlayerTextDrawSetOutline(playerid, BlazeDimasP[playerid][10], 1);
  626. PlayerTextDrawSetShadow(playerid, BlazeDimasP[playerid][10], 0);
  627. PlayerTextDrawAlignment(playerid, BlazeDimasP[playerid][10], 2);
  628. PlayerTextDrawColor(playerid, BlazeDimasP[playerid][10], -1);
  629. PlayerTextDrawBackgroundColor(playerid, BlazeDimasP[playerid][10], 255);
  630. PlayerTextDrawBoxColor(playerid, BlazeDimasP[playerid][10], 200);
  631. PlayerTextDrawUseBox(playerid, BlazeDimasP[playerid][10], 1);
  632. PlayerTextDrawSetProportional(playerid, BlazeDimasP[playerid][10], 1);
  633. PlayerTextDrawSetSelectable(playerid, BlazeDimasP[playerid][10], 1);
  634.  
  635. BlazeDimasP[playerid][11] = CreatePlayerTextDraw(playerid, 401.000000, 270.000000, "HUD:radar_light");
  636. PlayerTextDrawFont(playerid, BlazeDimasP[playerid][11], 4);
  637. PlayerTextDrawLetterSize(playerid, BlazeDimasP[playerid][11], 0.258332, 1.750000);
  638. PlayerTextDrawTextSize(playerid, BlazeDimasP[playerid][11], 25.000000, 30.000000);
  639. PlayerTextDrawSetOutline(playerid, BlazeDimasP[playerid][11], 1);
  640. PlayerTextDrawSetShadow(playerid, BlazeDimasP[playerid][11], 0);
  641. PlayerTextDrawAlignment(playerid, BlazeDimasP[playerid][11], 2);
  642. PlayerTextDrawColor(playerid, BlazeDimasP[playerid][11], -1);
  643. PlayerTextDrawBackgroundColor(playerid, BlazeDimasP[playerid][11], 255);
  644. PlayerTextDrawBoxColor(playerid, BlazeDimasP[playerid][11], 200);
  645. PlayerTextDrawUseBox(playerid, BlazeDimasP[playerid][11], 1);
  646. PlayerTextDrawSetProportional(playerid, BlazeDimasP[playerid][11], 1);
  647. PlayerTextDrawSetSelectable(playerid, BlazeDimasP[playerid][11], 1);
  648.  
  649. BlazeDimasP[playerid][12] = CreatePlayerTextDraw(playerid, 443.000000, 270.000000, "HUD:radar_light");
  650. PlayerTextDrawFont(playerid, BlazeDimasP[playerid][12], 4);
  651. PlayerTextDrawLetterSize(playerid, BlazeDimasP[playerid][12], 0.258332, 1.750000);
  652. PlayerTextDrawTextSize(playerid, BlazeDimasP[playerid][12], 25.000000, 30.000000);
  653. PlayerTextDrawSetOutline(playerid, BlazeDimasP[playerid][12], 1);
  654. PlayerTextDrawSetShadow(playerid, BlazeDimasP[playerid][12], 0);
  655. PlayerTextDrawAlignment(playerid, BlazeDimasP[playerid][12], 2);
  656. PlayerTextDrawColor(playerid, BlazeDimasP[playerid][12], -1);
  657. PlayerTextDrawBackgroundColor(playerid, BlazeDimasP[playerid][12], 255);
  658. PlayerTextDrawBoxColor(playerid, BlazeDimasP[playerid][12], 200);
  659. PlayerTextDrawUseBox(playerid, BlazeDimasP[playerid][12], 1);
  660. PlayerTextDrawSetProportional(playerid, BlazeDimasP[playerid][12], 1);
  661. PlayerTextDrawSetSelectable(playerid, BlazeDimasP[playerid][12], 1);
  662.  
  663. BlazeDimasP[playerid][13] = CreatePlayerTextDraw(playerid, 382.000000, 313.000000, "0,00");
  664. PlayerTextDrawFont(playerid, BlazeDimasP[playerid][13], 1);
  665. PlayerTextDrawLetterSize(playerid, BlazeDimasP[playerid][13], 0.145833, 0.699998);
  666. PlayerTextDrawTextSize(playerid, BlazeDimasP[playerid][13], 400.000000, 17.000000);
  667. PlayerTextDrawSetOutline(playerid, BlazeDimasP[playerid][13], 0);
  668. PlayerTextDrawSetShadow(playerid, BlazeDimasP[playerid][13], 0);
  669. PlayerTextDrawAlignment(playerid, BlazeDimasP[playerid][13], 1);
  670. PlayerTextDrawColor(playerid, BlazeDimasP[playerid][13], -1);
  671. PlayerTextDrawBackgroundColor(playerid, BlazeDimasP[playerid][13], 255);
  672. PlayerTextDrawBoxColor(playerid, BlazeDimasP[playerid][13], 1296911666);
  673. PlayerTextDrawUseBox(playerid, BlazeDimasP[playerid][13], 0);
  674. PlayerTextDrawSetProportional(playerid, BlazeDimasP[playerid][13], 1);
  675. PlayerTextDrawSetSelectable(playerid, BlazeDimasP[playerid][13], 0);
  676.  
  677. return 1;
  678. }
  679.  
  680. public OnPlayerDisconnect(playerid, reason)
  681. {
  682. PlayerTextDrawDestroy(playerid, BlazeDimasP[playerid][0]);
  683. PlayerTextDrawDestroy(playerid, BlazeDimasP[playerid][1]);
  684. return 1;
  685. }
  686.  
  687. public OnPlayerSpawn(playerid)
  688. {
  689. return 1;
  690. }
  691.  
  692. public OnPlayerDeath(playerid, killerid, reason)
  693. {
  694. return 1;
  695. }
  696.  
  697. public OnVehicleSpawn(vehicleid)
  698. {
  699. return 1;
  700. }
  701.  
  702. public OnVehicleDeath(vehicleid, killerid)
  703. {
  704. return 1;
  705. }
  706.  
  707. public OnPlayerText(playerid, text[])
  708. {
  709. return 1;
  710. }
  711.  
  712. public OnPlayerCommandText(playerid, cmdtext[])
  713. {
  714. if (strcmp("/mycommand", cmdtext, true, 10) == 0)
  715. {
  716. // Do something here
  717. return 1;
  718. }
  719. return 0;
  720. }
  721.  
  722. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  723. {
  724. return 1;
  725. }
  726.  
  727. public OnPlayerExitVehicle(playerid, vehicleid)
  728. {
  729. return 1;
  730. }
  731.  
  732. public OnPlayerStateChange(playerid, newstate, oldstate)
  733. {
  734. return 1;
  735. }
  736.  
  737. public OnPlayerEnterCheckpoint(playerid)
  738. {
  739. return 1;
  740. }
  741.  
  742. public OnPlayerLeaveCheckpoint(playerid)
  743. {
  744. return 1;
  745. }
  746.  
  747. public OnPlayerEnterRaceCheckpoint(playerid)
  748. {
  749. return 1;
  750. }
  751.  
  752. public OnPlayerLeaveRaceCheckpoint(playerid)
  753. {
  754. return 1;
  755. }
  756.  
  757. public OnRconCommand(cmd[])
  758. {
  759. return 1;
  760. }
  761.  
  762. public OnPlayerRequestSpawn(playerid)
  763. {
  764. return 1;
  765. }
  766.  
  767. public OnObjectMoved(objectid)
  768. {
  769. return 1;
  770. }
  771.  
  772. public OnPlayerObjectMoved(playerid, objectid)
  773. {
  774. return 1;
  775. }
  776.  
  777. public OnPlayerPickUpPickup(playerid, pickupid)
  778. {
  779. return 1;
  780. }
  781.  
  782. public OnVehicleMod(playerid, vehicleid, componentid)
  783. {
  784. return 1;
  785. }
  786.  
  787. public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
  788. {
  789. return 1;
  790. }
  791.  
  792. public OnVehicleRespray(playerid, vehicleid, color1, color2)
  793. {
  794. return 1;
  795. }
  796.  
  797. public OnPlayerSelectedMenuRow(playerid, row)
  798. {
  799. return 1;
  800. }
  801.  
  802. public OnPlayerExitedMenu(playerid)
  803. {
  804. return 1;
  805. }
  806.  
  807. public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
  808. {
  809. return 1;
  810. }
  811.  
  812. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  813. {
  814. return 1;
  815. }
  816.  
  817. public OnRconLoginAttempt(ip[], password[], success)
  818. {
  819. return 1;
  820. }
  821.  
  822. public OnPlayerUpdate(playerid)
  823. {
  824. return 1;
  825. }
  826.  
  827. public OnPlayerStreamIn(playerid, forplayerid)
  828. {
  829. return 1;
  830. }
  831.  
  832. public OnPlayerStreamOut(playerid, forplayerid)
  833. {
  834. return 1;
  835. }
  836.  
  837. public OnVehicleStreamIn(vehicleid, forplayerid)
  838. {
  839. return 1;
  840. }
  841.  
  842. public OnVehicleStreamOut(vehicleid, forplayerid)
  843. {
  844. return 1;
  845. }
  846.  
  847. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  848. {
  849. return 1;
  850. }
  851.  
  852. public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid)
  853. {
  854. if(playertextid >= BlazeDimasP[playerid][1] && playertextid <= BlazeDimasP[playerid][12])
  855. {
  856. if(Money_Win[playerid] == 0) return ShowPlayerDialog(playerid, 0, 0, "{FF6F00}Aviso Blaze", "Voce nao apostou nada.", "OK","");
  857. new clicked;
  858. for(new t = 12; t-- != 1;)
  859. {
  860. if(playertextid == BlazeDimasP[playerid][t])
  861. clicked = t;
  862. }
  863. if(clicked_td[playerid][clicked])
  864. return true;
  865. InGame[playerid] = 1;
  866. PlayerPlaySound(playerid, 1149, 0.0, 0.0, 0.0);
  867. new ran;
  868. ran = random(2);
  869. switch(ran)
  870. {
  871. case 0:
  872. {
  873. PlayerTextDrawSetString(playerid,BlazeDimasP[playerid][clicked], "LD_CHAT:thumbup");
  874. PlayerWins(playerid);
  875. }
  876. case 1:
  877. {
  878. PlayerTextDrawSetString(playerid,BlazeDimasP[playerid][clicked], "LD_CHAT:thumbdn");
  879. GameOwers(playerid);
  880. }
  881. }
  882. clicked_td[playerid][clicked] = 1;
  883. }
  884. return 1;
  885. }
  886.  
  887. public OnPlayerClickTextDraw(playerid, Text:clickedid)
  888. {
  889. if(clickedid == BlazeDimas[17])
  890. {
  891. cmd_apostar(playerid);
  892. }
  893. return 1;
  894. }
  895.  
  896. CMD:blazedimas(playerid){
  897. if(IsPlayerConnected(playerid)){
  898. TextDrawShowForPlayer(playerid, BlazeDimas[0]);
  899. TextDrawShowForPlayer(playerid, BlazeDimas[1]);
  900. TextDrawShowForPlayer(playerid, BlazeDimas[2]);
  901. TextDrawShowForPlayer(playerid, BlazeDimas[3]);
  902. TextDrawShowForPlayer(playerid, BlazeDimas[4]);
  903. TextDrawShowForPlayer(playerid, BlazeDimas[5]);
  904. TextDrawShowForPlayer(playerid, BlazeDimas[6]);
  905. TextDrawShowForPlayer(playerid, BlazeDimas[7]);
  906. TextDrawShowForPlayer(playerid, BlazeDimas[8]);
  907. TextDrawShowForPlayer(playerid, BlazeDimas[9]);
  908. TextDrawShowForPlayer(playerid, BlazeDimas[10]);
  909. TextDrawShowForPlayer(playerid, BlazeDimas[11]);
  910. TextDrawShowForPlayer(playerid, BlazeDimas[12]);
  911. TextDrawShowForPlayer(playerid, BlazeDimas[13]);
  912. TextDrawShowForPlayer(playerid, BlazeDimas[14]);
  913. TextDrawShowForPlayer(playerid, BlazeDimas[15]);
  914. TextDrawShowForPlayer(playerid, BlazeDimas[16]);
  915. TextDrawShowForPlayer(playerid, BlazeDimas[17]);
  916. TextDrawShowForPlayer(playerid, BlazeDimas[18]);
  917. TextDrawShowForPlayer(playerid, BlazeDimas[19]);
  918. TextDrawShowForPlayer(playerid, BlazeDimas[20]);
  919. TextDrawShowForPlayer(playerid, BlazeDimas[21]);
  920. TextDrawShowForPlayer(playerid, BlazeDimas[22]);
  921. TextDrawShowForPlayer(playerid, BlazeDimas[23]);
  922. TextDrawShowForPlayer(playerid, textdraw_16);
  923. TextDrawShowForPlayer(playerid, textdraw_18);
  924. TextDrawShowForPlayer(playerid, textdraw_17);
  925. PlayerTextDrawShow(playerid, BlazeDimasP[playerid][0]);
  926. PlayerTextDrawShow(playerid, BlazeDimasP[playerid][1]);
  927. PlayerTextDrawShow(playerid, BlazeDimasP[playerid][2]);
  928. PlayerTextDrawShow(playerid, BlazeDimasP[playerid][3]);
  929. PlayerTextDrawShow(playerid, BlazeDimasP[playerid][4]);
  930. PlayerTextDrawShow(playerid, BlazeDimasP[playerid][5]);
  931. PlayerTextDrawShow(playerid, BlazeDimasP[playerid][6]);
  932. PlayerTextDrawShow(playerid, BlazeDimasP[playerid][7]);
  933. PlayerTextDrawShow(playerid, BlazeDimasP[playerid][8]);
  934. PlayerTextDrawShow(playerid, BlazeDimasP[playerid][9]);
  935. PlayerTextDrawShow(playerid, BlazeDimasP[playerid][10]);
  936. PlayerTextDrawShow(playerid, BlazeDimasP[playerid][11]);
  937. PlayerTextDrawShow(playerid, BlazeDimasP[playerid][12]);
  938. PlayerTextDrawShow(playerid, BlazeDimasP[playerid][13]);
  939. for ( new t = 1 ; t < 13 ; t++ )
  940. {
  941. if(t < 13) clicked_td[playerid][t] = 0;
  942. PlayerTextDrawSetString(playerid, BlazeDimasP[playerid][t], "LD_BEAT:cring");
  943.  
  944. }
  945.  
  946. SelectTextDraw(playerid, 0xFF0000FF);
  947. GivePlayerMoney(playerid, 100000);
  948. }
  949. return 1;
  950. }
  951.  
  952. CMD:fecharblaze(playerid){
  953. if(IsPlayerConnected(playerid)){
  954. TextDrawHideForPlayer(playerid, BlazeDimas[0]);
  955. TextDrawHideForPlayer(playerid, BlazeDimas[1]);
  956. TextDrawHideForPlayer(playerid, BlazeDimas[2]);
  957. TextDrawHideForPlayer(playerid, BlazeDimas[3]);
  958. TextDrawHideForPlayer(playerid, BlazeDimas[4]);
  959. TextDrawHideForPlayer(playerid, BlazeDimas[5]);
  960. TextDrawHideForPlayer(playerid, BlazeDimas[6]);
  961. TextDrawHideForPlayer(playerid, BlazeDimas[7]);
  962. TextDrawHideForPlayer(playerid, BlazeDimas[8]);
  963. TextDrawHideForPlayer(playerid, BlazeDimas[9]);
  964. TextDrawHideForPlayer(playerid, BlazeDimas[10]);
  965. TextDrawHideForPlayer(playerid, BlazeDimas[11]);
  966. TextDrawHideForPlayer(playerid, BlazeDimas[12]);
  967. TextDrawHideForPlayer(playerid, BlazeDimas[13]);
  968. TextDrawHideForPlayer(playerid, BlazeDimas[14]);
  969. TextDrawHideForPlayer(playerid, BlazeDimas[15]);
  970. TextDrawHideForPlayer(playerid, BlazeDimas[16]);
  971. TextDrawHideForPlayer(playerid, BlazeDimas[17]);
  972. TextDrawHideForPlayer(playerid, BlazeDimas[18]);
  973. TextDrawHideForPlayer(playerid, BlazeDimas[19]);
  974. TextDrawHideForPlayer(playerid, BlazeDimas[20]);
  975. TextDrawHideForPlayer(playerid, BlazeDimas[21]);
  976. TextDrawHideForPlayer(playerid, BlazeDimas[22]);
  977. TextDrawHideForPlayer(playerid, BlazeDimas[23]);
  978. TextDrawHideForPlayer(playerid, textdraw_16);
  979. TextDrawHideForPlayer(playerid, textdraw_18);
  980. TextDrawHideForPlayer(playerid, textdraw_17);
  981. PlayerTextDrawHide(playerid, BlazeDimasP[playerid][0]);
  982. PlayerTextDrawHide(playerid, BlazeDimasP[playerid][1]);
  983. PlayerTextDrawHide(playerid, BlazeDimasP[playerid][2]);
  984. PlayerTextDrawHide(playerid, BlazeDimasP[playerid][3]);
  985. PlayerTextDrawHide(playerid, BlazeDimasP[playerid][4]);
  986. PlayerTextDrawHide(playerid, BlazeDimasP[playerid][5]);
  987. PlayerTextDrawHide(playerid, BlazeDimasP[playerid][6]);
  988. PlayerTextDrawHide(playerid, BlazeDimasP[playerid][7]);
  989. PlayerTextDrawHide(playerid, BlazeDimasP[playerid][8]);
  990. PlayerTextDrawHide(playerid, BlazeDimasP[playerid][9]);
  991. PlayerTextDrawHide(playerid, BlazeDimasP[playerid][10]);
  992. PlayerTextDrawHide(playerid, BlazeDimasP[playerid][11]);
  993. PlayerTextDrawHide(playerid, BlazeDimasP[playerid][12]);
  994. PlayerTextDrawHide(playerid, BlazeDimasP[playerid][13]);
  995.  
  996. CancelSelectTextDraw(playerid);
  997. }
  998. return 1;
  999. }
  1000.  
  1001. CMD:converter(playerid){
  1002. if(IsPlayerConnected(playerid))
  1003. {
  1004. PlayerPlaySound(playerid, 4203, 0.0, 0.0, 0.0);
  1005. if(Money_Win[playerid] == 0) return ShowPlayerDialog(playerid, 0, 0, "{FF6F00}Blaze Dimas", "Voce nao ganhou nada.", "OK","");
  1006. new string[15];
  1007. format(string,sizeof(string),"~g~+$%d",Money_Win[playerid]);
  1008. GameTextForPlayer(playerid, string, 3000, 6);
  1009. GivePlayerMoney(playerid, Money_Win[playerid]);
  1010. Money_Win[playerid] = 0;
  1011. PlayerWin[playerid] = 0;
  1012. InGame[playerid] = 0;
  1013. for ( new t = 1 ; t < 12 ; t++ )
  1014. {
  1015. if(t < 12) clicked_td[playerid][t] = 0;
  1016. PlayerTextDrawSetString(playerid, BlazeDimasP[playerid][t], "LD_BEAT:cring");
  1017. }
  1018. PlayerPlaySound(playerid, 43001, 0.0, 0.0, 0.0);
  1019. }
  1020. return 1;
  1021. }
  1022.  
  1023. CMD:apostar(playerid){
  1024. if(IsPlayerConnected(playerid))
  1025. {
  1026. new quant;
  1027. //if(quant < 100 || quant > 3000) return SendClientMessage(playerid,0xAFAFAFAA,"AvisoBlaze: Voce nao tem a quantidade apostada.");
  1028. GivePlayerMoney(playerid, -3000);
  1029. Money_Win[playerid] += SetPVarInt(playerid,"w_m",3000/100);
  1030. new string[25];
  1031. SendClientMessage(playerid,0xAFAFAFAA,"AvisoBlaze: Voce apostou R$3.000,00.");
  1032. }
  1033. return 1;
  1034. }
  1035.  
  1036. forward PlayerWins(playerid);
  1037. public PlayerWins(playerid)
  1038. {
  1039. new string[25];
  1040. PlayerWin[playerid] ++;
  1041. switch(Mode[playerid])
  1042. {
  1043. case 2:
  1044. {
  1045. switch(PlayerWin[playerid])
  1046. {
  1047. case 1,2: Money_Win[playerid] += GetPVarInt(playerid,"w_m") * 25;
  1048. case 3: Money_Win[playerid] += GetPVarInt(playerid,"w_m") * 50;
  1049. case 4: Money_Win[playerid] += GetPVarInt(playerid,"w_m") * 75;
  1050. case 5..12: Money_Win[playerid] += GetPVarInt(playerid,"w_m") * 150;
  1051. }
  1052. }
  1053. }
  1054. format(string, sizeof(string), "~w~R$%d,00",Money_Win[playerid]);
  1055. PlayerTextDrawSetString(playerid, BlazeDimasP[playerid][13],string);
  1056. return 1;
  1057. }
  1058.  
  1059. forward GameOwers(playerid);
  1060. public GameOwers(playerid)
  1061. {
  1062. new string[25];
  1063. GameOwer[playerid] ++;
  1064. switch(Mode[playerid])
  1065. {
  1066. case 2:
  1067. {
  1068. if(GameOwer[playerid] >= 1)
  1069. {
  1070.  
  1071. Money_Win[playerid] = 0;
  1072. PlayerWin[playerid] = 0;
  1073. GameOwer[playerid] = 0;
  1074. InGame[playerid] = 0;
  1075. GameTextForPlayer(playerid, "~r~Perdeu o Jogo", 3000, 6);
  1076. format(string, sizeof(string), "~w~R$%0,00");
  1077. PlayerTextDrawSetString(playerid, BlazeDimasP[playerid][13],string);
  1078. for ( new t = 1 ; t < 13 ; t++ )
  1079. {
  1080. if(t < 13) clicked_td[playerid][t] = 0;
  1081. PlayerTextDrawSetString(playerid, BlazeDimasP[playerid][t], "LD_BEAT:cring");
  1082.  
  1083. }
  1084. PlayerPlaySound(playerid, 31202, 0.0, 0.0, 0.0);
  1085. }
  1086. }
  1087.  
  1088. }
  1089. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement