Advertisement
yoshi_pawnexpress

[FS SAMP] FS de WhatsApp em TextDraw

May 18th, 2023
596
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 85.84 KB | None | 0 0
  1. /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  2. //Create by Yoshi_, jamais remova os créditos. Seja um bom homem, assim como eu fui de disponibilizar este sistema
  3. //Create by Yoshi_, equipe: PAWN EXPRESS
  4. //Create by Yoshi_, equipe: PAWN EXPRESS
  5. //Create by Yoshi_, equipe: PAWN EXPRESS
  6. //Create by Yoshi_, equipe: PAWN EXPRESS
  7. //Create by Yoshi_, equipe: PAWN EXPRESS
  8. //Create by Yoshi_, equipe: PAWN EXPRESS
  9. //Create by Yoshi_, equipe: PAWN EXPRESS
  10. //Create by Yoshi_, equipe: PAWN EXPRESS
  11. //Create by Yoshi_, equipe: PAWN EXPRESS
  12. //Create by Yoshi_, equipe: PAWN EXPRESS
  13. //Create by Yoshi_, equipe: PAWN EXPRESS
  14. //Create by Yoshi_, equipe: PAWN EXPRESS
  15. //Create by Yoshi_, equipe: PAWN EXPRESS
  16. //Create by Yoshi_, equipe: PAWN EXPRESS
  17. //Create by Yoshi_, equipe: PAWN EXPRESS
  18. //Create by Yoshi_, equipe: PAWN EXPRESS
  19. //Create by Yoshi_, equipe: PAWN EXPRESS
  20. //Create by Yoshi_, equipe: PAWN EXPRESS
  21. //Create by Yoshi_, equipe: PAWN EXPRESS
  22. //Create by Yoshi_, equipe: PAWN EXPRESS
  23. //Create by Yoshi_, equipe: PAWN EXPRESS
  24. /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  25.  
  26. #include "a_samp.inc"
  27. #include "zcmd.inc"
  28. #include "sscanf2.inc"
  29. #include "Dini.inc"
  30. #include "foreach.inc"
  31.  
  32. // -- NEW_STRCMP -- //
  33. #define varGet(%0) getproperty(0,%0)
  34. #define varSet(%0,%1) setproperty(0, %0, %1)
  35. #define new_strcmp(%0,%1) \
  36. (varSet(%0, 1), varGet(%1) == varSet(%0, 0))
  37. //
  38.  
  39. #define MAX_CONTATOS 100
  40. #define MAX_CONVERSASP 150
  41. #define MAX_CONVERSAS 999
  42.  
  43. #define ymsg SendClientMessage
  44.  
  45. const MAX_DEST_SIZE = 4096;
  46. const LINE_LENGTH = 33;
  47.  
  48. new Conversa[MAX_PLAYERS] = -1;
  49. new ConveP[MAX_PLAYERS][4];
  50.  
  51. new SlotC[MAX_PLAYERS];
  52. new ModoC[MAX_PLAYERS];
  53.  
  54. new PlayerText:ConversandoH1;
  55. new PlayerText:ConversandoH2;
  56. new PlayerText:ConversandoH3;
  57. new PlayerText:ConversandoH4;
  58. new PlayerText:ConversandoH5;
  59.  
  60. enum PlayerinfoI{
  61. NumeroCLL
  62. }
  63. new Player[MAX_PLAYERS][PlayerinfoI];
  64.  
  65. new Text:zapText[28];
  66. new PlayerText:zapTextP[MAX_PLAYERS][8];
  67.  
  68. #define D_Escrever 1111
  69. #define D_NumeroC 2222
  70. #define D_MenuC 3333
  71. #define D_Contatos 4444
  72. #define D_NomeC 5555
  73.  
  74. new Text:ConversaText[18];
  75. new PlayerText:EnviarMsg;
  76. new PlayerText:yoshiText[MAX_PLAYERS][11];
  77.  
  78. main()
  79. {
  80. print("\n----------------------------------");
  81. print(" By yoshi_ PAWN EXPRESS");
  82. print("----------------------------------\n");
  83. }
  84.  
  85. public OnGameModeInit()
  86. {
  87. //by Yoshi_ PAWN EXPRESS
  88. SetGameModeText("by Yoshi PAWN EXPRESS"); // pode retirar aqui :)
  89. //AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); //tira ele tmb, by yoshi_ tira os creditos nao!
  90.  
  91. //nao remove
  92. zapText[0] = TextDrawCreate(23.000000, 15.000000, "by: Yoshi_~n~EQUIPE:_Pawn_Express._Todos_diretos_reservados!");
  93. TextDrawFont(zapText[0], 1);
  94. TextDrawLetterSize(zapText[0], 0.324999, 1.299999);
  95. TextDrawTextSize(zapText[0], 400.000000, 17.000000);
  96. TextDrawSetOutline(zapText[0], 1);
  97. TextDrawSetShadow(zapText[0], 0);
  98. TextDrawAlignment(zapText[0], 1);
  99. TextDrawColor(zapText[0], -1);
  100. TextDrawBackgroundColor(zapText[0], 255);
  101. TextDrawBoxColor(zapText[0], 50);
  102. TextDrawUseBox(zapText[0], 0);
  103. TextDrawSetProportional(zapText[0], 1);
  104. TextDrawSetSelectable(zapText[0], 0);
  105.  
  106. zapText[1] = TextDrawCreate(471.000000, 176.000000, "ld_beat:chit");
  107. TextDrawFont(zapText[1], 4);
  108. TextDrawLetterSize(zapText[1], 0.600000, 2.000000);
  109. TextDrawTextSize(zapText[1], 17.000000, 19.000000);
  110. TextDrawSetOutline(zapText[1], 1);
  111. TextDrawSetShadow(zapText[1], 0);
  112. TextDrawAlignment(zapText[1], 1);
  113. TextDrawColor(zapText[1], 255);
  114. TextDrawBackgroundColor(zapText[1], 255);
  115. TextDrawBoxColor(zapText[1], 50);
  116. TextDrawUseBox(zapText[1], 1);
  117. TextDrawSetProportional(zapText[1], 1);
  118. TextDrawSetSelectable(zapText[1], 0);
  119.  
  120. zapText[2] = TextDrawCreate(471.000000, 406.000000, "ld_beat:chit");
  121. TextDrawFont(zapText[2], 4);
  122. TextDrawLetterSize(zapText[2], 0.600000, 2.000000);
  123. TextDrawTextSize(zapText[2], 17.000000, 19.000000);
  124. TextDrawSetOutline(zapText[2], 1);
  125. TextDrawSetShadow(zapText[2], 0);
  126. TextDrawAlignment(zapText[2], 1);
  127. TextDrawColor(zapText[2], 255);
  128. TextDrawBackgroundColor(zapText[2], 255);
  129. TextDrawBoxColor(zapText[2], 50);
  130. TextDrawUseBox(zapText[2], 1);
  131. TextDrawSetProportional(zapText[2], 1);
  132. TextDrawSetSelectable(zapText[2], 0);
  133.  
  134. zapText[3] = TextDrawCreate(566.000000, 406.000000, "ld_beat:chit");
  135. TextDrawFont(zapText[3], 4);
  136. TextDrawLetterSize(zapText[3], 0.600000, 2.000000);
  137. TextDrawTextSize(zapText[3], 17.000000, 19.000000);
  138. TextDrawSetOutline(zapText[3], 1);
  139. TextDrawSetShadow(zapText[3], 0);
  140. TextDrawAlignment(zapText[3], 1);
  141. TextDrawColor(zapText[3], 255);
  142. TextDrawBackgroundColor(zapText[3], 255);
  143. TextDrawBoxColor(zapText[3], 50);
  144. TextDrawUseBox(zapText[3], 1);
  145. TextDrawSetProportional(zapText[3], 1);
  146. TextDrawSetSelectable(zapText[3], 0);
  147.  
  148. zapText[4] = TextDrawCreate(566.000000, 176.000000, "ld_beat:chit");
  149. TextDrawFont(zapText[4], 4);
  150. TextDrawLetterSize(zapText[4], 0.600000, 2.000000);
  151. TextDrawTextSize(zapText[4], 17.000000, 19.000000);
  152. TextDrawSetOutline(zapText[4], 1);
  153. TextDrawSetShadow(zapText[4], 0);
  154. TextDrawAlignment(zapText[4], 1);
  155. TextDrawColor(zapText[4], 255);
  156. TextDrawBackgroundColor(zapText[4], 255);
  157. TextDrawBoxColor(zapText[4], 50);
  158. TextDrawUseBox(zapText[4], 1);
  159. TextDrawSetProportional(zapText[4], 1);
  160. TextDrawSetSelectable(zapText[4], 0);
  161.  
  162. zapText[5] = TextDrawCreate(528.000000, 185.000000, "_");
  163. TextDrawFont(zapText[5], 1);
  164. TextDrawLetterSize(zapText[5], 0.600000, -0.899996);
  165. TextDrawTextSize(zapText[5], 298.500000, 89.000000);
  166. TextDrawSetOutline(zapText[5], 1);
  167. TextDrawSetShadow(zapText[5], 0);
  168. TextDrawAlignment(zapText[5], 2);
  169. TextDrawColor(zapText[5], -1);
  170. TextDrawBackgroundColor(zapText[5], 255);
  171. TextDrawBoxColor(zapText[5], 255);
  172. TextDrawUseBox(zapText[5], 1);
  173. TextDrawSetProportional(zapText[5], 1);
  174. TextDrawSetSelectable(zapText[5], 0);
  175.  
  176. zapText[6] = TextDrawCreate(527.000000, 419.000000, "_");
  177. TextDrawFont(zapText[6], 1);
  178. TextDrawLetterSize(zapText[6], 0.600000, 0.050002);
  179. TextDrawTextSize(zapText[6], 298.500000, 93.000000);
  180. TextDrawSetOutline(zapText[6], 1);
  181. TextDrawSetShadow(zapText[6], 0);
  182. TextDrawAlignment(zapText[6], 2);
  183. TextDrawColor(zapText[6], -1);
  184. TextDrawBackgroundColor(zapText[6], 255);
  185. TextDrawBoxColor(zapText[6], 255);
  186. TextDrawUseBox(zapText[6], 1);
  187. TextDrawSetProportional(zapText[6], 1);
  188. TextDrawSetSelectable(zapText[6], 0);
  189.  
  190. zapText[7] = TextDrawCreate(522.000000, 189.000000, "_");
  191. TextDrawFont(zapText[7], 1);
  192. TextDrawLetterSize(zapText[7], 0.600000, 25.050003);
  193. TextDrawTextSize(zapText[7], 298.500000, 93.000000);
  194. TextDrawSetOutline(zapText[7], 1);
  195. TextDrawSetShadow(zapText[7], 0);
  196. TextDrawAlignment(zapText[7], 2);
  197. TextDrawColor(zapText[7], -1);
  198. TextDrawBackgroundColor(zapText[7], 255);
  199. TextDrawBoxColor(zapText[7], 255);
  200. TextDrawUseBox(zapText[7], 1);
  201. TextDrawSetProportional(zapText[7], 1);
  202. TextDrawSetSelectable(zapText[7], 0);
  203.  
  204. zapText[8] = TextDrawCreate(532.000000, 189.000000, "_");
  205. TextDrawFont(zapText[8], 1);
  206. TextDrawLetterSize(zapText[8], 0.600000, 25.050003);
  207. TextDrawTextSize(zapText[8], 298.500000, 92.500000);
  208. TextDrawSetOutline(zapText[8], 1);
  209. TextDrawSetShadow(zapText[8], 0);
  210. TextDrawAlignment(zapText[8], 2);
  211. TextDrawColor(zapText[8], -1);
  212. TextDrawBackgroundColor(zapText[8], 255);
  213. TextDrawBoxColor(zapText[8], 255);
  214. TextDrawUseBox(zapText[8], 1);
  215. TextDrawSetProportional(zapText[8], 1);
  216. TextDrawSetSelectable(zapText[8], 0);
  217.  
  218. zapText[9] = TextDrawCreate(527.000000, 185.000000, "_");
  219. TextDrawFont(zapText[9], 1);
  220. TextDrawLetterSize(zapText[9], 0.600000, 0.050002);
  221. TextDrawTextSize(zapText[9], 298.500000, 93.000000);
  222. TextDrawSetOutline(zapText[9], 1);
  223. TextDrawSetShadow(zapText[9], 0);
  224. TextDrawAlignment(zapText[9], 2);
  225. TextDrawColor(zapText[9], -1);
  226. TextDrawBackgroundColor(zapText[9], 255);
  227. TextDrawBoxColor(zapText[9], 255);
  228. TextDrawUseBox(zapText[9], 1);
  229. TextDrawSetProportional(zapText[9], 1);
  230. TextDrawSetSelectable(zapText[9], 0);
  231.  
  232. zapText[10] = TextDrawCreate(527.000000, 189.000000, "_");
  233. TextDrawFont(zapText[10], 1);
  234. TextDrawLetterSize(zapText[10], 0.600000, 23.750011);
  235. TextDrawTextSize(zapText[10], 298.500000, 99.500000);
  236. TextDrawSetOutline(zapText[10], 1);
  237. TextDrawSetShadow(zapText[10], 0);
  238. TextDrawAlignment(zapText[10], 2);
  239. TextDrawColor(zapText[10], -1);
  240. TextDrawBackgroundColor(zapText[10], 255);
  241. TextDrawBoxColor(zapText[10], -1);
  242. TextDrawUseBox(zapText[10], 1);
  243. TextDrawSetProportional(zapText[10], 1);
  244. TextDrawSetSelectable(zapText[10], 0);
  245.  
  246. zapText[11] = TextDrawCreate(556.000000, 190.000000, "O");
  247. TextDrawFont(zapText[11], 1);
  248. TextDrawLetterSize(zapText[11], 0.195832, 1.100000);
  249. TextDrawTextSize(zapText[11], 400.000000, 17.000000);
  250. TextDrawSetOutline(zapText[11], 0);
  251. TextDrawSetShadow(zapText[11], 0);
  252. TextDrawAlignment(zapText[11], 1);
  253. TextDrawColor(zapText[11], 1296911871);
  254. TextDrawBackgroundColor(zapText[11], 255);
  255. TextDrawBoxColor(zapText[11], 50);
  256. TextDrawUseBox(zapText[11], 0);
  257. TextDrawSetProportional(zapText[11], 1);
  258. TextDrawSetSelectable(zapText[11], 0);
  259.  
  260. zapText[12] = TextDrawCreate(562.000000, 196.000000, "/");
  261. TextDrawFont(zapText[12], 1);
  262. TextDrawLetterSize(zapText[12], -0.300000, 0.700000);
  263. TextDrawTextSize(zapText[12], 400.000000, 17.000000);
  264. TextDrawSetOutline(zapText[12], 0);
  265. TextDrawSetShadow(zapText[12], 0);
  266. TextDrawAlignment(zapText[12], 1);
  267. TextDrawColor(zapText[12], 1296911871);
  268. TextDrawBackgroundColor(zapText[12], 255);
  269. TextDrawBoxColor(zapText[12], 50);
  270. TextDrawUseBox(zapText[12], 0);
  271. TextDrawSetProportional(zapText[12], 1);
  272. TextDrawSetSelectable(zapText[12], 0);
  273.  
  274. zapText[13] = TextDrawCreate(478.000000, 190.000000, "ExpressZap");
  275. TextDrawFont(zapText[13], 1);
  276. TextDrawLetterSize(zapText[13], 0.195832, 1.100000);
  277. TextDrawTextSize(zapText[13], 400.000000, 17.000000);
  278. TextDrawSetOutline(zapText[13], 0);
  279. TextDrawSetShadow(zapText[13], 0);
  280. TextDrawAlignment(zapText[13], 1);
  281. TextDrawColor(zapText[13], 1296911871);
  282. TextDrawBackgroundColor(zapText[13], 255);
  283. TextDrawBoxColor(zapText[13], 50);
  284. TextDrawUseBox(zapText[13], 0);
  285. TextDrawSetProportional(zapText[13], 1);
  286. TextDrawSetSelectable(zapText[13], 0);
  287.  
  288. zapText[14] = TextDrawCreate(572.000000, 190.000000, ".~n~.~n~.");
  289. TextDrawFont(zapText[14], 1);
  290. TextDrawLetterSize(zapText[14], 0.233332, 0.350000);
  291. TextDrawTextSize(zapText[14], 400.000000, 17.000000);
  292. TextDrawSetOutline(zapText[14], 0);
  293. TextDrawSetShadow(zapText[14], 0);
  294. TextDrawAlignment(zapText[14], 2);
  295. TextDrawColor(zapText[14], 1296911871);
  296. TextDrawBackgroundColor(zapText[14], 255);
  297. TextDrawBoxColor(zapText[14], 50);
  298. TextDrawUseBox(zapText[14], 0);
  299. TextDrawSetProportional(zapText[14], 1);
  300. TextDrawSetSelectable(zapText[14], 0);
  301.  
  302. zapText[15] = TextDrawCreate(527.000000, 189.000000, "_");
  303. TextDrawFont(zapText[15], 1);
  304. TextDrawLetterSize(zapText[15], 0.600000, 2.900011);
  305. TextDrawTextSize(zapText[15], 298.500000, 99.500000);
  306. TextDrawSetOutline(zapText[15], 1);
  307. TextDrawSetShadow(zapText[15], 0);
  308. TextDrawAlignment(zapText[15], 2);
  309. TextDrawColor(zapText[15], -1);
  310. TextDrawBackgroundColor(zapText[15], 255);
  311. TextDrawBoxColor(zapText[15], 421075455);
  312. TextDrawUseBox(zapText[15], 1);
  313. TextDrawSetProportional(zapText[15], 1);
  314. TextDrawSetSelectable(zapText[15], 0);
  315.  
  316. zapText[16] = TextDrawCreate(495.000000, 209.000000, "Conversas");
  317. TextDrawFont(zapText[16], 1);
  318. TextDrawLetterSize(zapText[16], 0.212499, 0.849999);
  319. TextDrawTextSize(zapText[16], 16.500000, 35.500000);
  320. TextDrawSetOutline(zapText[16], 0);
  321. TextDrawSetShadow(zapText[16], 0);
  322. TextDrawAlignment(zapText[16], 2);
  323. TextDrawColor(zapText[16], -1);
  324. TextDrawBackgroundColor(zapText[16], 255);
  325. TextDrawBoxColor(zapText[16], 200);
  326. TextDrawUseBox(zapText[16], 0);
  327. TextDrawSetProportional(zapText[16], 1);
  328. TextDrawSetSelectable(zapText[16], 1);
  329.  
  330. zapText[17] = TextDrawCreate(561.000000, 209.000000, "Contatos");
  331. TextDrawFont(zapText[17], 1);
  332. TextDrawLetterSize(zapText[17], 0.212499, 0.849999);
  333. TextDrawTextSize(zapText[17], 16.500000, 35.500000);
  334. TextDrawSetOutline(zapText[17], 0);
  335. TextDrawSetShadow(zapText[17], 0);
  336. TextDrawAlignment(zapText[17], 2);
  337. TextDrawColor(zapText[17], -1);
  338. TextDrawBackgroundColor(zapText[17], 255);
  339. TextDrawBoxColor(zapText[17], 200);
  340. TextDrawUseBox(zapText[17], 0);
  341. TextDrawSetProportional(zapText[17], 1);
  342. TextDrawSetSelectable(zapText[17], 1);
  343.  
  344. zapText[18] = TextDrawCreate(477.000000, 222.000000, "ld_beat:chit");
  345. TextDrawFont(zapText[18], 4);
  346. TextDrawLetterSize(zapText[18], 0.600000, 2.000000);
  347. TextDrawTextSize(zapText[18], 17.000000, 19.000000);
  348. TextDrawSetOutline(zapText[18], 1);
  349. TextDrawSetShadow(zapText[18], 0);
  350. TextDrawAlignment(zapText[18], 1);
  351. TextDrawColor(zapText[18], 255);
  352. TextDrawBackgroundColor(zapText[18], 255);
  353. TextDrawBoxColor(zapText[18], 50);
  354. TextDrawUseBox(zapText[18], 1);
  355. TextDrawSetProportional(zapText[18], 1);
  356. TextDrawSetSelectable(zapText[18], 0);
  357.  
  358. zapText[19] = TextDrawCreate(472.000000, 236.000000, "ld_beat:chit");
  359. TextDrawFont(zapText[19], 4);
  360. TextDrawLetterSize(zapText[19], 0.600000, 2.000000);
  361. TextDrawTextSize(zapText[19], 27.500000, 13.500000);
  362. TextDrawSetOutline(zapText[19], 1);
  363. TextDrawSetShadow(zapText[19], 0);
  364. TextDrawAlignment(zapText[19], 1);
  365. TextDrawColor(zapText[19], 255);
  366. TextDrawBackgroundColor(zapText[19], 255);
  367. TextDrawBoxColor(zapText[19], 50);
  368. TextDrawUseBox(zapText[19], 1);
  369. TextDrawSetProportional(zapText[19], 1);
  370. TextDrawSetSelectable(zapText[19], 0);
  371.  
  372. zapText[20] = TextDrawCreate(477.000000, 259.000000, "ld_beat:chit");
  373. TextDrawFont(zapText[20], 4);
  374. TextDrawLetterSize(zapText[20], 0.600000, 2.000000);
  375. TextDrawTextSize(zapText[20], 17.000000, 19.000000);
  376. TextDrawSetOutline(zapText[20], 1);
  377. TextDrawSetShadow(zapText[20], 0);
  378. TextDrawAlignment(zapText[20], 1);
  379. TextDrawColor(zapText[20], 255);
  380. TextDrawBackgroundColor(zapText[20], 255);
  381. TextDrawBoxColor(zapText[20], 50);
  382. TextDrawUseBox(zapText[20], 1);
  383. TextDrawSetProportional(zapText[20], 1);
  384. TextDrawSetSelectable(zapText[20], 0);
  385.  
  386. zapText[21] = TextDrawCreate(472.000000, 273.000000, "ld_beat:chit");
  387. TextDrawFont(zapText[21], 4);
  388. TextDrawLetterSize(zapText[21], 0.600000, 2.000000);
  389. TextDrawTextSize(zapText[21], 27.500000, 13.500000);
  390. TextDrawSetOutline(zapText[21], 1);
  391. TextDrawSetShadow(zapText[21], 0);
  392. TextDrawAlignment(zapText[21], 1);
  393. TextDrawColor(zapText[21], 255);
  394. TextDrawBackgroundColor(zapText[21], 255);
  395. TextDrawBoxColor(zapText[21], 50);
  396. TextDrawUseBox(zapText[21], 1);
  397. TextDrawSetProportional(zapText[21], 1);
  398. TextDrawSetSelectable(zapText[21], 0);
  399.  
  400. zapText[22] = TextDrawCreate(477.000000, 292.000000, "ld_beat:chit");
  401. TextDrawFont(zapText[22], 4);
  402. TextDrawLetterSize(zapText[22], 0.600000, 2.000000);
  403. TextDrawTextSize(zapText[22], 17.000000, 19.000000);
  404. TextDrawSetOutline(zapText[22], 1);
  405. TextDrawSetShadow(zapText[22], 0);
  406. TextDrawAlignment(zapText[22], 1);
  407. TextDrawColor(zapText[22], 255);
  408. TextDrawBackgroundColor(zapText[22], 255);
  409. TextDrawBoxColor(zapText[22], 50);
  410. TextDrawUseBox(zapText[22], 1);
  411. TextDrawSetProportional(zapText[22], 1);
  412. TextDrawSetSelectable(zapText[22], 0);
  413.  
  414. zapText[23] = TextDrawCreate(472.000000, 306.000000, "ld_beat:chit");
  415. TextDrawFont(zapText[23], 4);
  416. TextDrawLetterSize(zapText[23], 0.600000, 2.000000);
  417. TextDrawTextSize(zapText[23], 27.500000, 13.500000);
  418. TextDrawSetOutline(zapText[23], 1);
  419. TextDrawSetShadow(zapText[23], 0);
  420. TextDrawAlignment(zapText[23], 1);
  421. TextDrawColor(zapText[23], 255);
  422. TextDrawBackgroundColor(zapText[23], 255);
  423. TextDrawBoxColor(zapText[23], 50);
  424. TextDrawUseBox(zapText[23], 1);
  425. TextDrawSetProportional(zapText[23], 1);
  426. TextDrawSetSelectable(zapText[23], 0);
  427.  
  428. zapText[24] = TextDrawCreate(477.000000, 326.000000, "ld_beat:chit");
  429. TextDrawFont(zapText[24], 4);
  430. TextDrawLetterSize(zapText[24], 0.600000, 2.000000);
  431. TextDrawTextSize(zapText[24], 17.000000, 19.000000);
  432. TextDrawSetOutline(zapText[24], 1);
  433. TextDrawSetShadow(zapText[24], 0);
  434. TextDrawAlignment(zapText[24], 1);
  435. TextDrawColor(zapText[24], 255);
  436. TextDrawBackgroundColor(zapText[24], 255);
  437. TextDrawBoxColor(zapText[24], 50);
  438. TextDrawUseBox(zapText[24], 1);
  439. TextDrawSetProportional(zapText[24], 1);
  440. TextDrawSetSelectable(zapText[24], 0);
  441.  
  442. zapText[25] = TextDrawCreate(472.000000, 340.000000, "ld_beat:chit");
  443. TextDrawFont(zapText[25], 4);
  444. TextDrawLetterSize(zapText[25], 0.600000, 2.000000);
  445. TextDrawTextSize(zapText[25], 27.500000, 13.500000);
  446. TextDrawSetOutline(zapText[25], 1);
  447. TextDrawSetShadow(zapText[25], 0);
  448. TextDrawAlignment(zapText[25], 1);
  449. TextDrawColor(zapText[25], 255);
  450. TextDrawBackgroundColor(zapText[25], 255);
  451. TextDrawBoxColor(zapText[25], 50);
  452. TextDrawUseBox(zapText[25], 1);
  453. TextDrawSetProportional(zapText[25], 1);
  454. TextDrawSetSelectable(zapText[25], 0);
  455.  
  456. zapText[26] = TextDrawCreate(485.000000, 381.000000, "V"); //descer ctts
  457. TextDrawFont(zapText[26], 1);
  458. TextDrawLetterSize(zapText[26], 0.354166, 1.300000);
  459. TextDrawTextSize(zapText[26], 16.500000, 11.000000);
  460. TextDrawSetOutline(zapText[26], 1);
  461. TextDrawSetShadow(zapText[26], 0);
  462. TextDrawAlignment(zapText[26], 2);
  463. TextDrawColor(zapText[26], -1);
  464. TextDrawBackgroundColor(zapText[26], 255);
  465. TextDrawBoxColor(zapText[26], 255);
  466. TextDrawUseBox(zapText[26], 1);
  467. TextDrawSetProportional(zapText[26], 1);
  468. TextDrawSetSelectable(zapText[26], 1);
  469.  
  470. zapText[27] = TextDrawCreate(569.000000, 381.000000, "A"); //subir ctts
  471. TextDrawFont(zapText[27], 1);
  472. TextDrawLetterSize(zapText[27], 0.354166, 1.300000);
  473. TextDrawTextSize(zapText[27], 16.500000, 11.000000);
  474. TextDrawSetOutline(zapText[27], 1);
  475. TextDrawSetShadow(zapText[27], 0);
  476. TextDrawAlignment(zapText[27], 2);
  477. TextDrawColor(zapText[27], -1);
  478. TextDrawBackgroundColor(zapText[27], 255);
  479. TextDrawBoxColor(zapText[27], 255);
  480. TextDrawUseBox(zapText[27], 1);
  481. TextDrawSetProportional(zapText[27], 1);
  482. TextDrawSetSelectable(zapText[27], 1);
  483.  
  484. ConversaText[0] = TextDrawCreate(23.000000, 15.000000, "by: Yoshi_~n~EQUIPE:_Pawn_Express._Todos_diretos_reservados!");
  485. TextDrawFont(ConversaText[0], 1);
  486. TextDrawLetterSize(ConversaText[0], 0.324999, 1.299998);
  487. TextDrawTextSize(ConversaText[0], 400.000000, 17.000000);
  488. TextDrawSetOutline(ConversaText[0], 1);
  489. TextDrawSetShadow(ConversaText[0], 0);
  490. TextDrawAlignment(ConversaText[0], 1);
  491. TextDrawColor(ConversaText[0], -1);
  492. TextDrawBackgroundColor(ConversaText[0], 255);
  493. TextDrawBoxColor(ConversaText[0], 50);
  494. TextDrawUseBox(ConversaText[0], 0);
  495. TextDrawSetProportional(ConversaText[0], 1);
  496. TextDrawSetSelectable(ConversaText[0], 0);
  497.  
  498. ConversaText[1] = TextDrawCreate(471.000000, 176.000000, "ld_beat:chit");
  499. TextDrawFont(ConversaText[1], 4);
  500. TextDrawLetterSize(ConversaText[1], 0.600000, 2.000000);
  501. TextDrawTextSize(ConversaText[1], 17.000000, 19.000000);
  502. TextDrawSetOutline(ConversaText[1], 1);
  503. TextDrawSetShadow(ConversaText[1], 0);
  504. TextDrawAlignment(ConversaText[1], 1);
  505. TextDrawColor(ConversaText[1], 255);
  506. TextDrawBackgroundColor(ConversaText[1], 255);
  507. TextDrawBoxColor(ConversaText[1], 50);
  508. TextDrawUseBox(ConversaText[1], 1);
  509. TextDrawSetProportional(ConversaText[1], 1);
  510. TextDrawSetSelectable(ConversaText[1], 0);
  511.  
  512. ConversaText[2] = TextDrawCreate(471.000000, 406.000000, "ld_beat:chit");
  513. TextDrawFont(ConversaText[2], 4);
  514. TextDrawLetterSize(ConversaText[2], 0.600000, 2.000000);
  515. TextDrawTextSize(ConversaText[2], 17.000000, 19.000000);
  516. TextDrawSetOutline(ConversaText[2], 1);
  517. TextDrawSetShadow(ConversaText[2], 0);
  518. TextDrawAlignment(ConversaText[2], 1);
  519. TextDrawColor(ConversaText[2], 255);
  520. TextDrawBackgroundColor(ConversaText[2], 255);
  521. TextDrawBoxColor(ConversaText[2], 50);
  522. TextDrawUseBox(ConversaText[2], 1);
  523. TextDrawSetProportional(ConversaText[2], 1);
  524. TextDrawSetSelectable(ConversaText[2], 0);
  525.  
  526. ConversaText[3] = TextDrawCreate(566.000000, 406.000000, "ld_beat:chit");
  527. TextDrawFont(ConversaText[3], 4);
  528. TextDrawLetterSize(ConversaText[3], 0.600000, 2.000000);
  529. TextDrawTextSize(ConversaText[3], 17.000000, 19.000000);
  530. TextDrawSetOutline(ConversaText[3], 1);
  531. TextDrawSetShadow(ConversaText[3], 0);
  532. TextDrawAlignment(ConversaText[3], 1);
  533. TextDrawColor(ConversaText[3], 255);
  534. TextDrawBackgroundColor(ConversaText[3], 255);
  535. TextDrawBoxColor(ConversaText[3], 50);
  536. TextDrawUseBox(ConversaText[3], 1);
  537. TextDrawSetProportional(ConversaText[3], 1);
  538. TextDrawSetSelectable(ConversaText[3], 0);
  539.  
  540. ConversaText[4] = TextDrawCreate(566.000000, 176.000000, "ld_beat:chit");
  541. TextDrawFont(ConversaText[4], 4);
  542. TextDrawLetterSize(ConversaText[4], 0.600000, 2.000000);
  543. TextDrawTextSize(ConversaText[4], 17.000000, 19.000000);
  544. TextDrawSetOutline(ConversaText[4], 1);
  545. TextDrawSetShadow(ConversaText[4], 0);
  546. TextDrawAlignment(ConversaText[4], 1);
  547. TextDrawColor(ConversaText[4], 255);
  548. TextDrawBackgroundColor(ConversaText[4], 255);
  549. TextDrawBoxColor(ConversaText[4], 50);
  550. TextDrawUseBox(ConversaText[4], 1);
  551. TextDrawSetProportional(ConversaText[4], 1);
  552. TextDrawSetSelectable(ConversaText[4], 0);
  553.  
  554. ConversaText[5] = TextDrawCreate(528.000000, 185.000000, "_");
  555. TextDrawFont(ConversaText[5], 1);
  556. TextDrawLetterSize(ConversaText[5], 0.600000, -0.899995);
  557. TextDrawTextSize(ConversaText[5], 298.500000, 89.000000);
  558. TextDrawSetOutline(ConversaText[5], 1);
  559. TextDrawSetShadow(ConversaText[5], 0);
  560. TextDrawAlignment(ConversaText[5], 2);
  561. TextDrawColor(ConversaText[5], -1);
  562. TextDrawBackgroundColor(ConversaText[5], 255);
  563. TextDrawBoxColor(ConversaText[5], 255);
  564. TextDrawUseBox(ConversaText[5], 1);
  565. TextDrawSetProportional(ConversaText[5], 1);
  566. TextDrawSetSelectable(ConversaText[5], 0);
  567.  
  568. ConversaText[6] = TextDrawCreate(527.000000, 419.000000, "_");
  569. TextDrawFont(ConversaText[6], 1);
  570. TextDrawLetterSize(ConversaText[6], 0.600000, 0.050002);
  571. TextDrawTextSize(ConversaText[6], 298.500000, 93.000000);
  572. TextDrawSetOutline(ConversaText[6], 1);
  573. TextDrawSetShadow(ConversaText[6], 0);
  574. TextDrawAlignment(ConversaText[6], 2);
  575. TextDrawColor(ConversaText[6], -1);
  576. TextDrawBackgroundColor(ConversaText[6], 255);
  577. TextDrawBoxColor(ConversaText[6], 255);
  578. TextDrawUseBox(ConversaText[6], 1);
  579. TextDrawSetProportional(ConversaText[6], 1);
  580. TextDrawSetSelectable(ConversaText[6], 0);
  581.  
  582. ConversaText[7] = TextDrawCreate(522.000000, 189.000000, "_");
  583. TextDrawFont(ConversaText[7], 1);
  584. TextDrawLetterSize(ConversaText[7], 0.600000, 25.050003);
  585. TextDrawTextSize(ConversaText[7], 298.500000, 93.000000);
  586. TextDrawSetOutline(ConversaText[7], 1);
  587. TextDrawSetShadow(ConversaText[7], 0);
  588. TextDrawAlignment(ConversaText[7], 2);
  589. TextDrawColor(ConversaText[7], -1);
  590. TextDrawBackgroundColor(ConversaText[7], 255);
  591. TextDrawBoxColor(ConversaText[7], 255);
  592. TextDrawUseBox(ConversaText[7], 1);
  593. TextDrawSetProportional(ConversaText[7], 1);
  594. TextDrawSetSelectable(ConversaText[7], 0);
  595.  
  596. ConversaText[8] = TextDrawCreate(532.000000, 189.000000, "_");
  597. TextDrawFont(ConversaText[8], 1);
  598. TextDrawLetterSize(ConversaText[8], 0.600000, 25.050003);
  599. TextDrawTextSize(ConversaText[8], 298.500000, 92.500000);
  600. TextDrawSetOutline(ConversaText[8], 1);
  601. TextDrawSetShadow(ConversaText[8], 0);
  602. TextDrawAlignment(ConversaText[8], 2);
  603. TextDrawColor(ConversaText[8], -1);
  604. TextDrawBackgroundColor(ConversaText[8], 255);
  605. TextDrawBoxColor(ConversaText[8], 255);
  606. TextDrawUseBox(ConversaText[8], 1);
  607. TextDrawSetProportional(ConversaText[8], 1);
  608. TextDrawSetSelectable(ConversaText[8], 0);
  609.  
  610. ConversaText[9] = TextDrawCreate(527.000000, 185.000000, "_");
  611. TextDrawFont(ConversaText[9], 1);
  612. TextDrawLetterSize(ConversaText[9], 0.600000, 0.050002);
  613. TextDrawTextSize(ConversaText[9], 298.500000, 93.000000);
  614. TextDrawSetOutline(ConversaText[9], 1);
  615. TextDrawSetShadow(ConversaText[9], 0);
  616. TextDrawAlignment(ConversaText[9], 2);
  617. TextDrawColor(ConversaText[9], -1);
  618. TextDrawBackgroundColor(ConversaText[9], 255);
  619. TextDrawBoxColor(ConversaText[9], 255);
  620. TextDrawUseBox(ConversaText[9], 1);
  621. TextDrawSetProportional(ConversaText[9], 1);
  622. TextDrawSetSelectable(ConversaText[9], 0);
  623.  
  624. ConversaText[10] = TextDrawCreate(527.000000, 189.000000, "_");
  625. TextDrawFont(ConversaText[10], 1);
  626. TextDrawLetterSize(ConversaText[10], 0.600000, 23.750011);
  627. TextDrawTextSize(ConversaText[10], 298.500000, 99.500000);
  628. TextDrawSetOutline(ConversaText[10], 1);
  629. TextDrawSetShadow(ConversaText[10], 0);
  630. TextDrawAlignment(ConversaText[10], 2);
  631. TextDrawColor(ConversaText[10], -1);
  632. TextDrawBackgroundColor(ConversaText[10], 255);
  633. TextDrawBoxColor(ConversaText[10], -1061109505);
  634. TextDrawUseBox(ConversaText[10], 1);
  635. TextDrawSetProportional(ConversaText[10], 1);
  636. TextDrawSetSelectable(ConversaText[10], 0);
  637.  
  638. ConversaText[11] = TextDrawCreate(527.000000, 189.000000, "_");
  639. TextDrawFont(ConversaText[11], 1);
  640. TextDrawLetterSize(ConversaText[11], 0.600000, 2.550009);
  641. TextDrawTextSize(ConversaText[11], 298.500000, 99.500000);
  642. TextDrawSetOutline(ConversaText[11], 1);
  643. TextDrawSetShadow(ConversaText[11], 0);
  644. TextDrawAlignment(ConversaText[11], 2);
  645. TextDrawColor(ConversaText[11], -1);
  646. TextDrawBackgroundColor(ConversaText[11], 255);
  647. TextDrawBoxColor(ConversaText[11], 673720575);
  648. TextDrawUseBox(ConversaText[11], 1);
  649. TextDrawSetProportional(ConversaText[11], 1);
  650. TextDrawSetSelectable(ConversaText[11], 0);
  651.  
  652. ConversaText[12] = TextDrawCreate(485.000000, 187.000000, "ld_pool:ball");
  653. TextDrawFont(ConversaText[12], 4);
  654. TextDrawLetterSize(ConversaText[12], 0.600000, 2.000000);
  655. TextDrawTextSize(ConversaText[12], 23.000000, 25.500000);
  656. TextDrawSetOutline(ConversaText[12], 1);
  657. TextDrawSetShadow(ConversaText[12], 0);
  658. TextDrawAlignment(ConversaText[12], 1);
  659. TextDrawColor(ConversaText[12], 1296911871);
  660. TextDrawBackgroundColor(ConversaText[12], 255);
  661. TextDrawBoxColor(ConversaText[12], 50);
  662. TextDrawUseBox(ConversaText[12], 1);
  663. TextDrawSetProportional(ConversaText[12], 1);
  664. TextDrawSetSelectable(ConversaText[12], 0);
  665.  
  666. ConversaText[13] = TextDrawCreate(491.000000, 188.000000, "ld_pool:ball");
  667. TextDrawFont(ConversaText[13], 4);
  668. TextDrawLetterSize(ConversaText[13], 0.600000, 2.000000);
  669. TextDrawTextSize(ConversaText[13], 11.000000, 12.000000);
  670. TextDrawSetOutline(ConversaText[13], 1);
  671. TextDrawSetShadow(ConversaText[13], 0);
  672. TextDrawAlignment(ConversaText[13], 1);
  673. TextDrawColor(ConversaText[13], 255);
  674. TextDrawBackgroundColor(ConversaText[13], 255);
  675. TextDrawBoxColor(ConversaText[13], 50);
  676. TextDrawUseBox(ConversaText[13], 1);
  677. TextDrawSetProportional(ConversaText[13], 1);
  678. TextDrawSetSelectable(ConversaText[13], 0);
  679.  
  680. ConversaText[14] = TextDrawCreate(488.000000, 201.000000, "ld_pool:ball");
  681. TextDrawFont(ConversaText[14], 4);
  682. TextDrawLetterSize(ConversaText[14], 0.600000, 2.000000);
  683. TextDrawTextSize(ConversaText[14], 17.500000, 8.500000);
  684. TextDrawSetOutline(ConversaText[14], 1);
  685. TextDrawSetShadow(ConversaText[14], 0);
  686. TextDrawAlignment(ConversaText[14], 1);
  687. TextDrawColor(ConversaText[14], 255);
  688. TextDrawBackgroundColor(ConversaText[14], 255);
  689. TextDrawBoxColor(ConversaText[14], 50);
  690. TextDrawUseBox(ConversaText[14], 1);
  691. TextDrawSetProportional(ConversaText[14], 1);
  692. TextDrawSetSelectable(ConversaText[14], 0);
  693.  
  694. ConversaText[15] = TextDrawCreate(480.000000, 196.000000, "<");
  695. TextDrawFont(ConversaText[15], 2);
  696. TextDrawLetterSize(ConversaText[15], 0.204163, 1.000000);
  697. TextDrawTextSize(ConversaText[15], 16.500000, 4.500000);
  698. TextDrawSetOutline(ConversaText[15], 0);
  699. TextDrawSetShadow(ConversaText[15], 0);
  700. TextDrawAlignment(ConversaText[15], 2);
  701. TextDrawColor(ConversaText[15], 255);
  702. TextDrawBackgroundColor(ConversaText[15], 255);
  703. TextDrawBoxColor(ConversaText[15], 200);
  704. TextDrawUseBox(ConversaText[15], 0);
  705. TextDrawSetProportional(ConversaText[15], 1);
  706. TextDrawSetSelectable(ConversaText[15], 1);
  707.  
  708. ConversaText[16] = TextDrawCreate(477.000000, 215.000000, "PAWN_EXPRESS~N~PAWN_EXPRESS~N~PAWN_EXPRESS~N~PAWN_EXPRESS~N~PAWN_EXPRESS~N~PAWN_EXPRESS");
  709. TextDrawFont(ConversaText[16], 2);
  710. TextDrawLetterSize(ConversaText[16], 0.324999, 2.000000);
  711. TextDrawTextSize(ConversaText[16], 400.000000, 17.000000);
  712. TextDrawSetOutline(ConversaText[16], 0);
  713. TextDrawSetShadow(ConversaText[16], 0);
  714. TextDrawAlignment(ConversaText[16], 1);
  715. TextDrawColor(ConversaText[16], 1296911646);
  716. TextDrawBackgroundColor(ConversaText[16], 255);
  717. TextDrawBoxColor(ConversaText[16], 50);
  718. TextDrawUseBox(ConversaText[16], 0);
  719. TextDrawSetProportional(ConversaText[16], 1);
  720. TextDrawSetSelectable(ConversaText[16], 0);
  721.  
  722. ConversaText[17] = TextDrawCreate(477.000000, 321.000000, "PAWN_EXPRESS~n~PAWN_EXPRESS~n~PAWN_EXPRESS~n~PAWN_EXPRESS~n~PAWN_EXPRESS~n~");
  723. TextDrawFont(ConversaText[17], 2);
  724. TextDrawLetterSize(ConversaText[17], 0.324999, 1.850000);
  725. TextDrawTextSize(ConversaText[17], 400.000000, 17.000000);
  726. TextDrawSetOutline(ConversaText[17], 0);
  727. TextDrawSetShadow(ConversaText[17], 0);
  728. TextDrawAlignment(ConversaText[17], 1);
  729. TextDrawColor(ConversaText[17], 1296911646);
  730. TextDrawBackgroundColor(ConversaText[17], 255);
  731. TextDrawBoxColor(ConversaText[17], 50);
  732. TextDrawUseBox(ConversaText[17], 0);
  733. TextDrawSetProportional(ConversaText[17], 1);
  734. TextDrawSetSelectable(ConversaText[17], 0);
  735. return 1;
  736. }
  737.  
  738. public OnGameModeExit()
  739. {
  740. return 1;
  741. }
  742.  
  743. public OnPlayerRequestClass(playerid, classid)
  744. {
  745. return 1;
  746. }
  747.  
  748. public OnPlayerConnect(playerid)
  749. {
  750.  
  751. new String[128], pZap[90], pCon[90], pNum[90];
  752. format(pNum, 90, "WhatsApp/Numeros/%s.ini", pName(playerid));
  753. if(!dini_Exists(pNum))
  754. {
  755. dini_Create(pNum);
  756. dini_IntSet(pNum, "Numero", -1);
  757. Player[playerid][NumeroCLL] = dini_Int(pNum, "Numero");
  758. }
  759. else{
  760. Player[playerid][NumeroCLL] = dini_Int(pNum, "Numero");
  761. }
  762. format(pZap, 90, "WhatsApp/ConversasP/%s.ini", pName(playerid));
  763. if(!dini_Exists(pZap))
  764. {
  765. dini_Create(pZap);
  766. for(new i = 0; i < MAX_CONVERSASP; i++) {
  767. format(String, 128, "Conversa%i", i);
  768. dini_IntSet(pZap, String, -1);
  769. }
  770. }
  771. format(pCon, 90, "WhatsApp/Contatos/%s.ini", pName(playerid));
  772. if(!dini_Exists(pCon))
  773. {
  774. dini_Create(pCon);
  775. for(new C = 0; C < MAX_CONTATOS; C++) {
  776. format(String, 128, "NumeroContato%i", C);
  777. dini_IntSet(pCon, String, 0);
  778.  
  779. format(String, 128, "pContato%i", C);
  780. dini_Set(pCon, String, "Ninguem");
  781.  
  782. format(String, 128, "NomeContato%i", C);
  783. dini_Set(pCon, String, "Ninguem");
  784.  
  785. SlotC[playerid] = -1;
  786. }
  787. }
  788. yoshiText[playerid][0] = CreatePlayerTextDraw(playerid, 509.000000, 191.000000, "Yoshi_pawn_express");
  789. PlayerTextDrawFont(playerid, yoshiText[playerid][0], 1);
  790. PlayerTextDrawLetterSize(playerid, yoshiText[playerid][0], 0.204162, 0.849999);
  791. PlayerTextDrawTextSize(playerid, yoshiText[playerid][0], 400.000000, 17.000000);
  792. PlayerTextDrawSetOutline(playerid, yoshiText[playerid][0], 0);
  793. PlayerTextDrawSetShadow(playerid, yoshiText[playerid][0], 0);
  794. PlayerTextDrawAlignment(playerid, yoshiText[playerid][0], 1);
  795. PlayerTextDrawColor(playerid, yoshiText[playerid][0], -1);
  796. PlayerTextDrawBackgroundColor(playerid, yoshiText[playerid][0], 255);
  797. PlayerTextDrawBoxColor(playerid, yoshiText[playerid][0], 50);
  798. PlayerTextDrawUseBox(playerid, yoshiText[playerid][0], 0);
  799. PlayerTextDrawSetProportional(playerid, yoshiText[playerid][0], 1);
  800. PlayerTextDrawSetSelectable(playerid, yoshiText[playerid][0], 0);
  801.  
  802. yoshiText[playerid][1] = CreatePlayerTextDraw(playerid, 528.000000, 219.000000, "_");
  803. PlayerTextDrawFont(playerid, yoshiText[playerid][1], 1);
  804. PlayerTextDrawLetterSize(playerid, yoshiText[playerid][1], 0.600000, 2.550009);
  805. PlayerTextDrawTextSize(playerid, yoshiText[playerid][1], 298.500000, 96.000000);
  806. PlayerTextDrawSetOutline(playerid, yoshiText[playerid][1], 1);
  807. PlayerTextDrawSetShadow(playerid, yoshiText[playerid][1], 0);
  808. PlayerTextDrawAlignment(playerid, yoshiText[playerid][1], 2);
  809. PlayerTextDrawColor(playerid, yoshiText[playerid][1], -1);
  810. PlayerTextDrawBackgroundColor(playerid, yoshiText[playerid][1], 255);
  811. PlayerTextDrawBoxColor(playerid, yoshiText[playerid][1], -764862721);
  812. PlayerTextDrawUseBox(playerid, yoshiText[playerid][1], 1);
  813. PlayerTextDrawSetProportional(playerid, yoshiText[playerid][1], 1);
  814. PlayerTextDrawSetSelectable(playerid, yoshiText[playerid][1], 1);
  815.  
  816. yoshiText[playerid][2] = CreatePlayerTextDraw(playerid, 528.000000, 248.000000, "_");
  817. PlayerTextDrawFont(playerid, yoshiText[playerid][2], 1);
  818. PlayerTextDrawLetterSize(playerid, yoshiText[playerid][2], 0.600000, 2.550009);
  819. PlayerTextDrawTextSize(playerid, yoshiText[playerid][2], 298.500000, 96.000000);
  820. PlayerTextDrawSetOutline(playerid, yoshiText[playerid][2], 1);
  821. PlayerTextDrawSetShadow(playerid, yoshiText[playerid][2], 0);
  822. PlayerTextDrawAlignment(playerid, yoshiText[playerid][2], 2);
  823. PlayerTextDrawColor(playerid, yoshiText[playerid][2], -1);
  824. PlayerTextDrawBackgroundColor(playerid, yoshiText[playerid][2], 255);
  825. PlayerTextDrawBoxColor(playerid, yoshiText[playerid][2], -764862721);
  826. PlayerTextDrawUseBox(playerid, yoshiText[playerid][2], 1);
  827. PlayerTextDrawSetProportional(playerid, yoshiText[playerid][2], 1);
  828. PlayerTextDrawSetSelectable(playerid, yoshiText[playerid][2], 0);
  829.  
  830. yoshiText[playerid][3] = CreatePlayerTextDraw(playerid, 528.000000, 278.000000, "_");
  831. PlayerTextDrawFont(playerid, yoshiText[playerid][3], 1);
  832. PlayerTextDrawLetterSize(playerid, yoshiText[playerid][3], 0.600000, 2.550009);
  833. PlayerTextDrawTextSize(playerid, yoshiText[playerid][3], 298.500000, 96.000000);
  834. PlayerTextDrawSetOutline(playerid, yoshiText[playerid][3], 1);
  835. PlayerTextDrawSetShadow(playerid, yoshiText[playerid][3], 0);
  836. PlayerTextDrawAlignment(playerid, yoshiText[playerid][3], 2);
  837. PlayerTextDrawColor(playerid, yoshiText[playerid][3], -1);
  838. PlayerTextDrawBackgroundColor(playerid, yoshiText[playerid][3], 255);
  839. PlayerTextDrawBoxColor(playerid, yoshiText[playerid][3], -764862721);
  840. PlayerTextDrawUseBox(playerid, yoshiText[playerid][3], 1);
  841. PlayerTextDrawSetProportional(playerid, yoshiText[playerid][3], 1);
  842. PlayerTextDrawSetSelectable(playerid, yoshiText[playerid][3], 0);
  843.  
  844. yoshiText[playerid][4] = CreatePlayerTextDraw(playerid, 528.000000, 308.000000, "_");
  845. PlayerTextDrawFont(playerid, yoshiText[playerid][4], 1);
  846. PlayerTextDrawLetterSize(playerid, yoshiText[playerid][4], 0.600000, 2.550009);
  847. PlayerTextDrawTextSize(playerid, yoshiText[playerid][4], 298.500000, 96.000000);
  848. PlayerTextDrawSetOutline(playerid, yoshiText[playerid][4], 1);
  849. PlayerTextDrawSetShadow(playerid, yoshiText[playerid][4], 0);
  850. PlayerTextDrawAlignment(playerid, yoshiText[playerid][4], 2);
  851. PlayerTextDrawColor(playerid, yoshiText[playerid][4], -1);
  852. PlayerTextDrawBackgroundColor(playerid, yoshiText[playerid][4], 255);
  853. PlayerTextDrawBoxColor(playerid, yoshiText[playerid][4], -764862721);
  854. PlayerTextDrawUseBox(playerid, yoshiText[playerid][4], 1);
  855. PlayerTextDrawSetProportional(playerid, yoshiText[playerid][4], 1);
  856. PlayerTextDrawSetSelectable(playerid, yoshiText[playerid][4], 0);
  857.  
  858. yoshiText[playerid][5] = CreatePlayerTextDraw(playerid, 528.000000, 338.000000, "_");
  859. PlayerTextDrawFont(playerid, yoshiText[playerid][5], 1);
  860. PlayerTextDrawLetterSize(playerid, yoshiText[playerid][5], 0.600000, 2.550009);
  861. PlayerTextDrawTextSize(playerid, yoshiText[playerid][5], 298.500000, 96.000000);
  862. PlayerTextDrawSetOutline(playerid, yoshiText[playerid][5], 1);
  863. PlayerTextDrawSetShadow(playerid, yoshiText[playerid][5], 0);
  864. PlayerTextDrawAlignment(playerid, yoshiText[playerid][5], 2);
  865. PlayerTextDrawColor(playerid, yoshiText[playerid][5], -1);
  866. PlayerTextDrawBackgroundColor(playerid, yoshiText[playerid][5], 255);
  867. PlayerTextDrawBoxColor(playerid, yoshiText[playerid][5], -764862721);
  868. PlayerTextDrawUseBox(playerid, yoshiText[playerid][5], 1);
  869. PlayerTextDrawSetProportional(playerid, yoshiText[playerid][5], 1);
  870. PlayerTextDrawSetSelectable(playerid, yoshiText[playerid][5], 0);
  871.  
  872. yoshiText[playerid][6] = CreatePlayerTextDraw(playerid, 479.000000, 219.000000, " ");
  873. PlayerTextDrawFont(playerid, yoshiText[playerid][6], 1);
  874. PlayerTextDrawLetterSize(playerid, yoshiText[playerid][6], 0.191662, 0.849999);
  875. PlayerTextDrawTextSize(playerid, yoshiText[playerid][6], 400.000000, 17.000000);
  876. PlayerTextDrawSetOutline(playerid, yoshiText[playerid][6], 0);
  877. PlayerTextDrawSetShadow(playerid, yoshiText[playerid][6], 0);
  878. PlayerTextDrawAlignment(playerid, yoshiText[playerid][6], 1);
  879. PlayerTextDrawColor(playerid, yoshiText[playerid][6], 255);
  880. PlayerTextDrawBackgroundColor(playerid, yoshiText[playerid][6], 255);
  881. PlayerTextDrawBoxColor(playerid, yoshiText[playerid][6], 50);
  882. PlayerTextDrawUseBox(playerid, yoshiText[playerid][6], 0);
  883. PlayerTextDrawSetProportional(playerid, yoshiText[playerid][6], 1);
  884. PlayerTextDrawSetSelectable(playerid, yoshiText[playerid][6], 0);
  885.  
  886. yoshiText[playerid][7] = CreatePlayerTextDraw(playerid, 479.000000, 248.000000, " ");
  887. PlayerTextDrawFont(playerid, yoshiText[playerid][7], 1);
  888. PlayerTextDrawLetterSize(playerid, yoshiText[playerid][7], 0.191662, 0.849999);
  889. PlayerTextDrawTextSize(playerid, yoshiText[playerid][7], 400.000000, 17.000000);
  890. PlayerTextDrawSetOutline(playerid, yoshiText[playerid][7], 0);
  891. PlayerTextDrawSetShadow(playerid, yoshiText[playerid][7], 0);
  892. PlayerTextDrawAlignment(playerid, yoshiText[playerid][7], 1);
  893. PlayerTextDrawColor(playerid, yoshiText[playerid][7], 255);
  894. PlayerTextDrawBackgroundColor(playerid, yoshiText[playerid][7], 255);
  895. PlayerTextDrawBoxColor(playerid, yoshiText[playerid][7], 50);
  896. PlayerTextDrawUseBox(playerid, yoshiText[playerid][7], 0);
  897. PlayerTextDrawSetProportional(playerid, yoshiText[playerid][7], 1);
  898. PlayerTextDrawSetSelectable(playerid, yoshiText[playerid][7], 0);
  899.  
  900. yoshiText[playerid][8] = CreatePlayerTextDraw(playerid, 479.000000, 278.000000, " ");
  901. PlayerTextDrawFont(playerid, yoshiText[playerid][8], 1);
  902. PlayerTextDrawLetterSize(playerid, yoshiText[playerid][8], 0.191662, 0.849999);
  903. PlayerTextDrawTextSize(playerid, yoshiText[playerid][8], 400.000000, 17.000000);
  904. PlayerTextDrawSetOutline(playerid, yoshiText[playerid][8], 0);
  905. PlayerTextDrawSetShadow(playerid, yoshiText[playerid][8], 0);
  906. PlayerTextDrawAlignment(playerid, yoshiText[playerid][8], 1);
  907. PlayerTextDrawColor(playerid, yoshiText[playerid][8], 255);
  908. PlayerTextDrawBackgroundColor(playerid, yoshiText[playerid][8], 255);
  909. PlayerTextDrawBoxColor(playerid, yoshiText[playerid][8], 50);
  910. PlayerTextDrawUseBox(playerid, yoshiText[playerid][8], 0);
  911. PlayerTextDrawSetProportional(playerid, yoshiText[playerid][8], 1);
  912. PlayerTextDrawSetSelectable(playerid, yoshiText[playerid][8], 0);
  913.  
  914. yoshiText[playerid][9] = CreatePlayerTextDraw(playerid, 479.000000, 308.000000, " ");
  915. PlayerTextDrawFont(playerid, yoshiText[playerid][9], 1);
  916. PlayerTextDrawLetterSize(playerid, yoshiText[playerid][9], 0.191662, 0.849999);
  917. PlayerTextDrawTextSize(playerid, yoshiText[playerid][9], 400.000000, 17.000000);
  918. PlayerTextDrawSetOutline(playerid, yoshiText[playerid][9], 0);
  919. PlayerTextDrawSetShadow(playerid, yoshiText[playerid][9], 0);
  920. PlayerTextDrawAlignment(playerid, yoshiText[playerid][9], 1);
  921. PlayerTextDrawColor(playerid, yoshiText[playerid][9], 255);
  922. PlayerTextDrawBackgroundColor(playerid, yoshiText[playerid][9], 255);
  923. PlayerTextDrawBoxColor(playerid, yoshiText[playerid][9], 50);
  924. PlayerTextDrawUseBox(playerid, yoshiText[playerid][9], 0);
  925. PlayerTextDrawSetProportional(playerid, yoshiText[playerid][9], 1);
  926. PlayerTextDrawSetSelectable(playerid, yoshiText[playerid][9], 0);
  927.  
  928. yoshiText[playerid][10] = CreatePlayerTextDraw(playerid, 479.000000, 337.000000, " ");
  929. PlayerTextDrawFont(playerid, yoshiText[playerid][10], 1);
  930. PlayerTextDrawLetterSize(playerid, yoshiText[playerid][10], 0.191662, 0.849999);
  931. PlayerTextDrawTextSize(playerid, yoshiText[playerid][10], 400.000000, 17.000000);
  932. PlayerTextDrawSetOutline(playerid, yoshiText[playerid][10], 0);
  933. PlayerTextDrawSetShadow(playerid, yoshiText[playerid][10], 0);
  934. PlayerTextDrawAlignment(playerid, yoshiText[playerid][10], 1);
  935. PlayerTextDrawColor(playerid, yoshiText[playerid][10], 255);
  936. PlayerTextDrawBackgroundColor(playerid, yoshiText[playerid][10], 255);
  937. PlayerTextDrawBoxColor(playerid, yoshiText[playerid][10], 50);
  938. PlayerTextDrawUseBox(playerid, yoshiText[playerid][10], 0);
  939. PlayerTextDrawSetProportional(playerid, yoshiText[playerid][10], 1);
  940. PlayerTextDrawSetSelectable(playerid, yoshiText[playerid][10], 0);
  941.  
  942. ConversandoH1 = CreatePlayerTextDraw(playerid, 560.000000, 236.000000, "00:00");
  943. PlayerTextDrawFont(playerid, ConversandoH1, 1);
  944. PlayerTextDrawLetterSize(playerid, ConversandoH1, 0.166662, 0.749998);
  945. PlayerTextDrawTextSize(playerid, ConversandoH1, 400.000000, 17.000000);
  946. PlayerTextDrawSetOutline(playerid, ConversandoH1, 0);
  947. PlayerTextDrawSetShadow(playerid, ConversandoH1, 0);
  948. PlayerTextDrawAlignment(playerid, ConversandoH1, 1);
  949. PlayerTextDrawColor(playerid, ConversandoH1, 255);
  950. PlayerTextDrawBackgroundColor(playerid, ConversandoH1, 255);
  951. PlayerTextDrawBoxColor(playerid, ConversandoH1, 50);
  952. PlayerTextDrawUseBox(playerid, ConversandoH1, 0);
  953. PlayerTextDrawSetProportional(playerid, ConversandoH1, 1);
  954. PlayerTextDrawSetSelectable(playerid, ConversandoH1, 0);
  955.  
  956. ConversandoH2 = CreatePlayerTextDraw(playerid, 560.000000, 266.000000, "00:00");
  957. PlayerTextDrawFont(playerid, ConversandoH2, 1);
  958. PlayerTextDrawLetterSize(playerid, ConversandoH2, 0.166662, 0.749998);
  959. PlayerTextDrawTextSize(playerid, ConversandoH2, 400.000000, 17.000000);
  960. PlayerTextDrawSetOutline(playerid, ConversandoH2, 0);
  961. PlayerTextDrawSetShadow(playerid, ConversandoH2, 0);
  962. PlayerTextDrawAlignment(playerid, ConversandoH2, 1);
  963. PlayerTextDrawColor(playerid, ConversandoH2, 255);
  964. PlayerTextDrawBackgroundColor(playerid, ConversandoH2, 255);
  965. PlayerTextDrawBoxColor(playerid, ConversandoH2, 50);
  966. PlayerTextDrawUseBox(playerid, ConversandoH2, 0);
  967. PlayerTextDrawSetProportional(playerid, ConversandoH2, 1);
  968. PlayerTextDrawSetSelectable(playerid, ConversandoH2, 0);
  969.  
  970. ConversandoH3 = CreatePlayerTextDraw(playerid, 560.000000, 296.000000, "00:00");
  971. PlayerTextDrawFont(playerid, ConversandoH3, 1);
  972. PlayerTextDrawLetterSize(playerid, ConversandoH3, 0.166662, 0.749998);
  973. PlayerTextDrawTextSize(playerid, ConversandoH3, 400.000000, 17.000000);
  974. PlayerTextDrawSetOutline(playerid, ConversandoH3, 0);
  975. PlayerTextDrawSetShadow(playerid, ConversandoH3, 0);
  976. PlayerTextDrawAlignment(playerid, ConversandoH3, 1);
  977. PlayerTextDrawColor(playerid, ConversandoH3, 255);
  978. PlayerTextDrawBackgroundColor(playerid, ConversandoH3, 255);
  979. PlayerTextDrawBoxColor(playerid, ConversandoH3, 50);
  980. PlayerTextDrawUseBox(playerid, ConversandoH3, 0);
  981. PlayerTextDrawSetProportional(playerid, ConversandoH3, 1);
  982. PlayerTextDrawSetSelectable(playerid, ConversandoH3, 0);
  983.  
  984. ConversandoH4 = CreatePlayerTextDraw(playerid, 560.000000, 326.000000, "00:00");
  985. PlayerTextDrawFont(playerid, ConversandoH4, 1);
  986. PlayerTextDrawLetterSize(playerid, ConversandoH4, 0.166662, 0.749998);
  987. PlayerTextDrawTextSize(playerid, ConversandoH4, 400.000000, 17.000000);
  988. PlayerTextDrawSetOutline(playerid, ConversandoH4, 0);
  989. PlayerTextDrawSetShadow(playerid, ConversandoH4, 0);
  990. PlayerTextDrawAlignment(playerid, ConversandoH4, 1);
  991. PlayerTextDrawColor(playerid, ConversandoH4, 255);
  992. PlayerTextDrawBackgroundColor(playerid, ConversandoH4, 255);
  993. PlayerTextDrawBoxColor(playerid, ConversandoH4, 50);
  994. PlayerTextDrawUseBox(playerid, ConversandoH4, 0);
  995. PlayerTextDrawSetProportional(playerid, ConversandoH4, 1);
  996. PlayerTextDrawSetSelectable(playerid, ConversandoH4, 0);
  997.  
  998. ConversandoH5 = CreatePlayerTextDraw(playerid, 560.000000, 356.000000, "00:00");
  999. PlayerTextDrawFont(playerid, ConversandoH5, 1);
  1000. PlayerTextDrawLetterSize(playerid, ConversandoH5, 0.166662, 0.749998);
  1001. PlayerTextDrawTextSize(playerid, ConversandoH5, 400.000000, 17.000000);
  1002. PlayerTextDrawSetOutline(playerid, ConversandoH5, 0);
  1003. PlayerTextDrawSetShadow(playerid, ConversandoH5, 0);
  1004. PlayerTextDrawAlignment(playerid, ConversandoH5, 1);
  1005. PlayerTextDrawColor(playerid, ConversandoH5, 255);
  1006. PlayerTextDrawBackgroundColor(playerid, ConversandoH5, 255);
  1007. PlayerTextDrawBoxColor(playerid, ConversandoH5, 50);
  1008. PlayerTextDrawUseBox(playerid, ConversandoH5, 0);
  1009. PlayerTextDrawSetProportional(playerid, ConversandoH5, 1);
  1010. PlayerTextDrawSetSelectable(playerid, ConversandoH5, 0);
  1011. SendClientMessage(playerid, -1, "sistema de whatsapp em textdraw by yoshi_ PAWN EXPRESS");
  1012. zapTextP[playerid][0] = CreatePlayerTextDraw(playerid, 529.000000, 225.000000, "Yoshi_pawn_express");
  1013. PlayerTextDrawFont(playerid, zapTextP[playerid][0], 1);
  1014. PlayerTextDrawLetterSize(playerid, zapTextP[playerid][0], 0.212499, 0.849999);
  1015. PlayerTextDrawTextSize(playerid, zapTextP[playerid][0], 16.500000, 65.500000);
  1016. PlayerTextDrawSetOutline(playerid, zapTextP[playerid][0], 0);
  1017. PlayerTextDrawSetShadow(playerid, zapTextP[playerid][0], 0);
  1018. PlayerTextDrawAlignment(playerid, zapTextP[playerid][0], 2);
  1019. PlayerTextDrawColor(playerid, zapTextP[playerid][0], 255);
  1020. PlayerTextDrawBackgroundColor(playerid, zapTextP[playerid][0], 255);
  1021. PlayerTextDrawBoxColor(playerid, zapTextP[playerid][0], 200);
  1022. PlayerTextDrawUseBox(playerid, zapTextP[playerid][0], 0);
  1023. PlayerTextDrawSetProportional(playerid, zapTextP[playerid][0], 1);
  1024. PlayerTextDrawSetSelectable(playerid, zapTextP[playerid][0], 1);
  1025.  
  1026. zapTextP[playerid][1] = CreatePlayerTextDraw(playerid, 497.000000, 238.000000, "FS_WhatsApp_by_Yoshi");
  1027. PlayerTextDrawFont(playerid, zapTextP[playerid][1], 1);
  1028. PlayerTextDrawLetterSize(playerid, zapTextP[playerid][1], 0.141666, 0.850000);
  1029. PlayerTextDrawTextSize(playerid, zapTextP[playerid][1], 400.000000, 17.000000);
  1030. PlayerTextDrawSetOutline(playerid, zapTextP[playerid][1], 0);
  1031. PlayerTextDrawSetShadow(playerid, zapTextP[playerid][1], 0);
  1032. PlayerTextDrawAlignment(playerid, zapTextP[playerid][1], 1);
  1033. PlayerTextDrawColor(playerid, zapTextP[playerid][1], 1296911871);
  1034. PlayerTextDrawBackgroundColor(playerid, zapTextP[playerid][1], 255);
  1035. PlayerTextDrawBoxColor(playerid, zapTextP[playerid][1], 50);
  1036. PlayerTextDrawUseBox(playerid, zapTextP[playerid][1], 0);
  1037. PlayerTextDrawSetProportional(playerid, zapTextP[playerid][1], 1);
  1038. PlayerTextDrawSetSelectable(playerid, zapTextP[playerid][1], 0);
  1039.  
  1040. zapTextP[playerid][2] = CreatePlayerTextDraw(playerid, 529.000000, 263.000000, "Yoshi_pawn_express");
  1041. PlayerTextDrawFont(playerid, zapTextP[playerid][2], 1);
  1042. PlayerTextDrawLetterSize(playerid, zapTextP[playerid][2], 0.212499, 0.849999);
  1043. PlayerTextDrawTextSize(playerid, zapTextP[playerid][2], 16.500000, 65.500000);
  1044. PlayerTextDrawSetOutline(playerid, zapTextP[playerid][2], 0);
  1045. PlayerTextDrawSetShadow(playerid, zapTextP[playerid][2], 0);
  1046. PlayerTextDrawAlignment(playerid, zapTextP[playerid][2], 2);
  1047. PlayerTextDrawColor(playerid, zapTextP[playerid][2], 255);
  1048. PlayerTextDrawBackgroundColor(playerid, zapTextP[playerid][2], 255);
  1049. PlayerTextDrawBoxColor(playerid, zapTextP[playerid][2], 200);
  1050. PlayerTextDrawUseBox(playerid, zapTextP[playerid][2], 0);
  1051. PlayerTextDrawSetProportional(playerid, zapTextP[playerid][2], 1);
  1052. PlayerTextDrawSetSelectable(playerid, zapTextP[playerid][2], 1);
  1053.  
  1054. zapTextP[playerid][3] = CreatePlayerTextDraw(playerid, 497.000000, 275.000000, "FS_WhatsApp_by_Yoshi");
  1055. PlayerTextDrawFont(playerid, zapTextP[playerid][3], 1);
  1056. PlayerTextDrawLetterSize(playerid, zapTextP[playerid][3], 0.141666, 0.850000);
  1057. PlayerTextDrawTextSize(playerid, zapTextP[playerid][3], 400.000000, 17.000000);
  1058. PlayerTextDrawSetOutline(playerid, zapTextP[playerid][3], 0);
  1059. PlayerTextDrawSetShadow(playerid, zapTextP[playerid][3], 0);
  1060. PlayerTextDrawAlignment(playerid, zapTextP[playerid][3], 1);
  1061. PlayerTextDrawColor(playerid, zapTextP[playerid][3], 1296911871);
  1062. PlayerTextDrawBackgroundColor(playerid, zapTextP[playerid][3], 255);
  1063. PlayerTextDrawBoxColor(playerid, zapTextP[playerid][3], 50);
  1064. PlayerTextDrawUseBox(playerid, zapTextP[playerid][3], 0);
  1065. PlayerTextDrawSetProportional(playerid, zapTextP[playerid][3], 1);
  1066. PlayerTextDrawSetSelectable(playerid, zapTextP[playerid][3], 0);
  1067.  
  1068. zapTextP[playerid][4] = CreatePlayerTextDraw(playerid, 529.000000, 296.000000, "Yoshi_pawn_express");
  1069. PlayerTextDrawFont(playerid, zapTextP[playerid][4], 1);
  1070. PlayerTextDrawLetterSize(playerid, zapTextP[playerid][4], 0.212499, 0.849999);
  1071. PlayerTextDrawTextSize(playerid, zapTextP[playerid][4], 16.500000, 65.500000);
  1072. PlayerTextDrawSetOutline(playerid, zapTextP[playerid][4], 0);
  1073. PlayerTextDrawSetShadow(playerid, zapTextP[playerid][4], 0);
  1074. PlayerTextDrawAlignment(playerid, zapTextP[playerid][4], 2);
  1075. PlayerTextDrawColor(playerid, zapTextP[playerid][4], 255);
  1076. PlayerTextDrawBackgroundColor(playerid, zapTextP[playerid][4], 255);
  1077. PlayerTextDrawBoxColor(playerid, zapTextP[playerid][4], 200);
  1078. PlayerTextDrawUseBox(playerid, zapTextP[playerid][4], 0);
  1079. PlayerTextDrawSetProportional(playerid, zapTextP[playerid][4], 1);
  1080. PlayerTextDrawSetSelectable(playerid, zapTextP[playerid][4], 1);
  1081.  
  1082. zapTextP[playerid][5] = CreatePlayerTextDraw(playerid, 497.000000, 308.000000, "FS_WhatsApp_by_Yoshi");
  1083. PlayerTextDrawFont(playerid, zapTextP[playerid][5], 1);
  1084. PlayerTextDrawLetterSize(playerid, zapTextP[playerid][5], 0.141666, 0.850000);
  1085. PlayerTextDrawTextSize(playerid, zapTextP[playerid][5], 400.000000, 17.000000);
  1086. PlayerTextDrawSetOutline(playerid, zapTextP[playerid][5], 0);
  1087. PlayerTextDrawSetShadow(playerid, zapTextP[playerid][5], 0);
  1088. PlayerTextDrawAlignment(playerid, zapTextP[playerid][5], 1);
  1089. PlayerTextDrawColor(playerid, zapTextP[playerid][5], 1296911871);
  1090. PlayerTextDrawBackgroundColor(playerid, zapTextP[playerid][5], 255);
  1091. PlayerTextDrawBoxColor(playerid, zapTextP[playerid][5], 50);
  1092. PlayerTextDrawUseBox(playerid, zapTextP[playerid][5], 0);
  1093. PlayerTextDrawSetProportional(playerid, zapTextP[playerid][5], 1);
  1094. PlayerTextDrawSetSelectable(playerid, zapTextP[playerid][5], 0);
  1095.  
  1096. zapTextP[playerid][6] = CreatePlayerTextDraw(playerid, 497.000000, 342.000000, "FS_WhatsApp_by_Yoshi");
  1097. PlayerTextDrawFont(playerid, zapTextP[playerid][6], 1);
  1098. PlayerTextDrawLetterSize(playerid, zapTextP[playerid][6], 0.141666, 0.850000);
  1099. PlayerTextDrawTextSize(playerid, zapTextP[playerid][6], 400.000000, 17.000000);
  1100. PlayerTextDrawSetOutline(playerid, zapTextP[playerid][6], 0);
  1101. PlayerTextDrawSetShadow(playerid, zapTextP[playerid][6], 0);
  1102. PlayerTextDrawAlignment(playerid, zapTextP[playerid][6], 1);
  1103. PlayerTextDrawColor(playerid, zapTextP[playerid][6], 1296911871);
  1104. PlayerTextDrawBackgroundColor(playerid, zapTextP[playerid][6], 255);
  1105. PlayerTextDrawBoxColor(playerid, zapTextP[playerid][6], 50);
  1106. PlayerTextDrawUseBox(playerid, zapTextP[playerid][6], 0);
  1107. PlayerTextDrawSetProportional(playerid, zapTextP[playerid][6], 1);
  1108. PlayerTextDrawSetSelectable(playerid, zapTextP[playerid][6], 0);
  1109.  
  1110. zapTextP[playerid][7] = CreatePlayerTextDraw(playerid, 529.000000, 330.000000, "Yoshi_pawn_express");
  1111. PlayerTextDrawFont(playerid, zapTextP[playerid][7], 1);
  1112. PlayerTextDrawLetterSize(playerid, zapTextP[playerid][7], 0.212499, 0.849999);
  1113. PlayerTextDrawTextSize(playerid, zapTextP[playerid][7], 16.500000, 65.500000);
  1114. PlayerTextDrawSetOutline(playerid, zapTextP[playerid][7], 0);
  1115. PlayerTextDrawSetShadow(playerid, zapTextP[playerid][7], 0);
  1116. PlayerTextDrawAlignment(playerid, zapTextP[playerid][7], 2);
  1117. PlayerTextDrawColor(playerid, zapTextP[playerid][7], 255);
  1118. PlayerTextDrawBackgroundColor(playerid, zapTextP[playerid][7], 255);
  1119. PlayerTextDrawBoxColor(playerid, zapTextP[playerid][7], 200);
  1120. PlayerTextDrawUseBox(playerid, zapTextP[playerid][7], 0);
  1121. PlayerTextDrawSetProportional(playerid, zapTextP[playerid][7], 1);
  1122. PlayerTextDrawSetSelectable(playerid, zapTextP[playerid][7], 1);
  1123.  
  1124. EnviarMsg = CreatePlayerTextDraw(playerid, 527.000000, 387.000000, "Enviar_Uma_Mensagem...");
  1125. PlayerTextDrawFont(playerid, EnviarMsg, 2);
  1126. PlayerTextDrawLetterSize(playerid, EnviarMsg, 0.212496, 1.250000);
  1127. PlayerTextDrawTextSize(playerid, EnviarMsg, 16.500000, 90.500000);
  1128. PlayerTextDrawSetOutline(playerid, EnviarMsg, 0);
  1129. PlayerTextDrawSetShadow(playerid, EnviarMsg, 0);
  1130. PlayerTextDrawAlignment(playerid, EnviarMsg, 2);
  1131. PlayerTextDrawColor(playerid, EnviarMsg, 255);
  1132. PlayerTextDrawBackgroundColor(playerid, EnviarMsg, 255);
  1133. PlayerTextDrawBoxColor(playerid, EnviarMsg, 255);
  1134. PlayerTextDrawUseBox(playerid, EnviarMsg, 0);
  1135. PlayerTextDrawSetProportional(playerid, EnviarMsg, 1);
  1136. PlayerTextDrawSetSelectable(playerid, EnviarMsg, 1);
  1137. return 1;
  1138. }
  1139.  
  1140. public OnPlayerDisconnect(playerid, reason)
  1141. {
  1142. new pNum[90];
  1143. format(pNum, 90, "WhatsApp/Numeros/%s.ini", pName(playerid));
  1144. if(dini_Exists(pNum))
  1145. {
  1146. dini_IntSet(pNum, "Numero", Player[playerid][NumeroCLL]);
  1147. }
  1148. PlayerTextDrawDestroy(playerid, yoshiText[playerid][0]);
  1149. PlayerTextDrawDestroy(playerid, yoshiText[playerid][1]);
  1150. PlayerTextDrawDestroy(playerid, yoshiText[playerid][2]);
  1151. PlayerTextDrawDestroy(playerid, yoshiText[playerid][3]);
  1152. PlayerTextDrawDestroy(playerid, yoshiText[playerid][4]);
  1153. PlayerTextDrawDestroy(playerid, yoshiText[playerid][5]);
  1154. PlayerTextDrawDestroy(playerid, yoshiText[playerid][6]);
  1155. PlayerTextDrawDestroy(playerid, yoshiText[playerid][7]);
  1156. PlayerTextDrawDestroy(playerid, yoshiText[playerid][8]);
  1157. PlayerTextDrawDestroy(playerid, yoshiText[playerid][9]);
  1158. PlayerTextDrawDestroy(playerid, yoshiText[playerid][10]);
  1159. PlayerTextDrawDestroy(playerid, ConversandoH1);
  1160. PlayerTextDrawDestroy(playerid, ConversandoH2);
  1161. PlayerTextDrawDestroy(playerid, ConversandoH3);
  1162. PlayerTextDrawDestroy(playerid, ConversandoH4);
  1163. PlayerTextDrawDestroy(playerid, ConversandoH5);
  1164. return 1;
  1165. }
  1166.  
  1167. public OnPlayerSpawn(playerid)
  1168. {
  1169. return 1;
  1170. }
  1171.  
  1172. public OnPlayerDeath(playerid, killerid, reason)
  1173. {
  1174. return 1;
  1175. }
  1176.  
  1177. public OnVehicleSpawn(vehicleid)
  1178. {
  1179. return 1;
  1180. }
  1181.  
  1182. public OnVehicleDeath(vehicleid, killerid)
  1183. {
  1184. return 1;
  1185. }
  1186.  
  1187. public OnPlayerText(playerid, text[])
  1188. {
  1189. return 1;
  1190. }
  1191.  
  1192. public OnPlayerCommandText(playerid, cmdtext[])
  1193. {
  1194. if (strcmp("/mycommand", cmdtext, true, 10) == 0)
  1195. {
  1196. // Do something here
  1197. return 1;
  1198. }
  1199. return 0;
  1200. }
  1201.  
  1202. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  1203. {
  1204. return 1;
  1205. }
  1206.  
  1207. public OnPlayerExitVehicle(playerid, vehicleid)
  1208. {
  1209. return 1;
  1210. }
  1211.  
  1212. public OnPlayerStateChange(playerid, newstate, oldstate)
  1213. {
  1214. return 1;
  1215. }
  1216.  
  1217. public OnPlayerEnterCheckpoint(playerid)
  1218. {
  1219. return 1;
  1220. }
  1221.  
  1222. public OnPlayerLeaveCheckpoint(playerid)
  1223. {
  1224. return 1;
  1225. }
  1226.  
  1227. public OnPlayerEnterRaceCheckpoint(playerid)
  1228. {
  1229. return 1;
  1230. }
  1231.  
  1232. public OnPlayerLeaveRaceCheckpoint(playerid)
  1233. {
  1234. return 1;
  1235. }
  1236.  
  1237. public OnRconCommand(cmd[])
  1238. {
  1239. return 1;
  1240. }
  1241.  
  1242. public OnPlayerRequestSpawn(playerid)
  1243. {
  1244. return 1;
  1245. }
  1246.  
  1247. public OnObjectMoved(objectid)
  1248. {
  1249. return 1;
  1250. }
  1251.  
  1252. public OnPlayerObjectMoved(playerid, objectid)
  1253. {
  1254. return 1;
  1255. }
  1256.  
  1257. public OnPlayerPickUpPickup(playerid, pickupid)
  1258. {
  1259. return 1;
  1260. }
  1261.  
  1262. public OnVehicleMod(playerid, vehicleid, componentid)
  1263. {
  1264. return 1;
  1265. }
  1266.  
  1267. public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
  1268. {
  1269. return 1;
  1270. }
  1271.  
  1272. public OnVehicleRespray(playerid, vehicleid, color1, color2)
  1273. {
  1274. return 1;
  1275. }
  1276.  
  1277. public OnPlayerSelectedMenuRow(playerid, row)
  1278. {
  1279. return 1;
  1280. }
  1281.  
  1282. public OnPlayerExitedMenu(playerid)
  1283. {
  1284. return 1;
  1285. }
  1286.  
  1287. public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
  1288. {
  1289. return 1;
  1290. }
  1291.  
  1292. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  1293. {
  1294. return 1;
  1295. }
  1296.  
  1297. public OnRconLoginAttempt(ip[], password[], success)
  1298. {
  1299. return 1;
  1300. }
  1301.  
  1302. public OnPlayerUpdate(playerid)
  1303. {
  1304. return 1;
  1305. }
  1306.  
  1307. public OnPlayerStreamIn(playerid, forplayerid)
  1308. {
  1309. return 1;
  1310. }
  1311.  
  1312. public OnPlayerStreamOut(playerid, forplayerid)
  1313. {
  1314. return 1;
  1315. }
  1316.  
  1317. public OnVehicleStreamIn(vehicleid, forplayerid)
  1318. {
  1319. return 1;
  1320. }
  1321.  
  1322. public OnVehicleStreamOut(vehicleid, forplayerid)
  1323. {
  1324. return 1;
  1325. }
  1326.  
  1327. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  1328. {
  1329. if(dialogid == D_Contatos) {
  1330. if(response) {
  1331. new eSlot = listitem;
  1332. new pCon[90], String[128];
  1333. SlotC[playerid] = eSlot;
  1334. format(pCon, 90, "WhatsApp/Contatos/%s.ini", pName(playerid));
  1335. format(String, 128, "NumeroContato%i", eSlot);
  1336. if(dini_Int(pCon, String) == 0) {
  1337. ModoC[playerid] = 1;
  1338. ShowPlayerDialog(playerid, D_NumeroC, DIALOG_STYLE_INPUT, "Numero do novo contato:", "Digite o numero do novo contato", "Confirmar", "Cancelar");
  1339. }
  1340. else {
  1341. ShowPlayerDialog(playerid, D_MenuC, DIALOG_STYLE_LIST, "Menu do contato:", "{00FF00}Conversar no WhatsApp\n{FF0000}Excluir contato\n{0098FF}Editar contato", "Selecionar", "Cancelar");
  1342. }
  1343. }
  1344. }
  1345. if(dialogid == D_NumeroC) {
  1346. if(response) {
  1347. new nNumero;
  1348. if(sscanf(inputtext, "d", nNumero)) {
  1349. SendClientMessage(playerid, 0xFF0000AA, "ERROR | Digite o numero");
  1350. return 1;
  1351. }
  1352. else {
  1353. new pCon[90], String[128];
  1354. if(ModoC[playerid] == 1) {
  1355. format(pCon, 90, "WhatsApp/Contatos/%s.ini", pName(playerid));
  1356. if(dini_Exists(pCon)) {
  1357. new pContato = -1;
  1358. for(new i = 0; i < MAX_PLAYERS; i++) {
  1359. if(IsPlayerConnected(i)) {
  1360. if(Player[i][NumeroCLL] == nNumero && i != playerid) {
  1361. pContato = i;
  1362. }
  1363. }
  1364. }
  1365. if(pContato != -1) {
  1366. format(String, 128, "NumeroContato%i", SlotC[playerid]);
  1367. dini_IntSet(pCon, String, nNumero);
  1368.  
  1369. format(String, 128, "pContato%i", SlotC[playerid]);
  1370. dini_Set(pCon, String, pName(pContato));
  1371.  
  1372. ShowPlayerDialog(playerid, D_NomeC, DIALOG_STYLE_INPUT, "Nome do novo contato:", "Digite o nome do novo contato", "Confirmar", "Cancelar");
  1373. }
  1374. }
  1375. }
  1376. }
  1377. }
  1378. }
  1379. if(dialogid == D_NomeC) {
  1380. if(response) {
  1381. new nNome[50];
  1382. if(sscanf(inputtext, "s", nNome)) {
  1383. SendClientMessage(playerid, -1, "Digite o nome.");
  1384. ShowPlayerDialog(playerid, D_NomeC, DIALOG_STYLE_INPUT, "Nome do novo contato:", "Digite o nome do novo contato", "Confirmar", "Cancelar");
  1385. return 1;
  1386. }
  1387. else {
  1388. new pCon[90], String[128];
  1389. if(ModoC[playerid] == 1) {
  1390. format(pCon, 90, "WhatsApp/Contatos/%s.ini", pName(playerid));
  1391. if(dini_Exists(pCon)) {
  1392. format(String, 128, "NomeContato%i", SlotC[playerid]);
  1393. dini_Set(pCon, String, nNome);
  1394. SendClientMessage(playerid, -1, "Contato criado.");
  1395. }
  1396. }
  1397. }
  1398. }
  1399. else {
  1400. new pCon[90], String[128];
  1401. format(pCon, 90, "WhatsApp/Contatos/%s.ini", pName(playerid));
  1402. format(String, 128, "NumeroContato%i", SlotC[playerid]);
  1403. dini_IntSet(pCon, String, 0);
  1404.  
  1405. format(String, 128, "pContato%i", SlotC[playerid]);
  1406. dini_Set(pCon, String, "Ninguem");
  1407.  
  1408. format(String, 128, "NomeContato%i", SlotC[playerid]);
  1409. dini_Set(pCon, String, "Ninguem");
  1410.  
  1411. SlotC[playerid] = -1;
  1412. }
  1413. }
  1414. if(dialogid == D_MenuC) {
  1415. if(response) {
  1416. if(listitem == 0) {
  1417. new pCon[90], String[128], pZap[90];
  1418. new IDc = -1;
  1419. for(new i = 0; i < MAX_CONVERSAS; i++) {
  1420. format(pZap, 90, "WhatsApp/Conversas/Conversa%i.ini", i);
  1421. if(!dini_Exists(pZap)) {
  1422. IDc = i;
  1423. break;
  1424. }
  1425. }
  1426. format(pZap, 90, "WhatsApp/Conversas/Conversa%i.ini", IDc);
  1427.  
  1428. format(pCon, 90, "WhatsApp/Contatos/%s.ini", pName(playerid));
  1429. if(IDc != -1) {
  1430. if(!dini_Exists(pZap)) {
  1431. dini_Create(pZap);
  1432.  
  1433. dini_Set(pZap, "Pessoa1", pName(playerid));
  1434. format(String, sizeof(String), "pContato%i", SlotC[playerid]);
  1435. dini_Set(pZap, "Pessoa2", dini_Get(pCon, String));
  1436.  
  1437. dini_IntSet(pZap, "NumeroP1", Player[playerid][NumeroCLL]);
  1438. format(String, sizeof(String), "NumeroContato%i", SlotC[playerid]);
  1439. dini_IntSet(pZap, "NumeroP2", dini_Int(pCon, String));
  1440.  
  1441. dini_Set(pZap, "Msg1", "Nada");
  1442. dini_Set(pZap, "hMsg1", "0:00");
  1443. dini_Set(pZap, "pMsg1", "Ninguem");
  1444.  
  1445. dini_Set(pZap, "Msg2", "Nada");
  1446. dini_Set(pZap, "hMsg2", "0:00");
  1447. dini_Set(pZap, "pMsg2", "Ninguem");
  1448.  
  1449. dini_Set(pZap, "Msg3", "Nada");
  1450. dini_Set(pZap, "hMsg3", "0:00");
  1451. dini_Set(pZap, "pMsg3", "Ninguem");
  1452.  
  1453. dini_Set(pZap, "Msg4", "Nada");
  1454. dini_Set(pZap, "hMsg4", "0:00");
  1455. dini_Set(pZap, "pMsg4", "Ninguem");
  1456.  
  1457. dini_Set(pZap, "Msg5", "Nada");
  1458. dini_Set(pZap, "hMsg5", "0:00");
  1459. dini_Set(pZap, "pMsg5", "Ninguem");
  1460.  
  1461. pAbrirConversa(playerid, IDc);
  1462. SendClientMessage(playerid, -1, "yoshi lindoooooooooo");
  1463. for(new i = 0; i < MAX_CONVERSASP; i++) {
  1464. format(pZap, 90, "WhatsApp/ConversasP/%s.ini", pName(playerid));
  1465. if(dini_Exists(pZap)) {
  1466. format(String, 128, "Conversa%i", i);
  1467. if(dini_Int(pZap, String) == -1) {
  1468. dini_IntSet(pZap, String, IDc);
  1469. break;
  1470. }
  1471. }
  1472. }
  1473.  
  1474. // conversa player do outro ctt
  1475. format(String, sizeof(String), "pContato%i", SlotC[playerid]);
  1476. for(new i = 0; i < MAX_CONVERSASP; i++) {
  1477. format(pZap, 90, "WhatsApp/ConversasP/%s.ini", dini_Get(pCon, String));
  1478. if(dini_Exists(pZap)) {
  1479. format(String, 128, "Conversa%i", i);
  1480. if(dini_Int(pZap, String) == -1) {
  1481. dini_IntSet(pZap, String, IDc);
  1482. break;
  1483. }
  1484. }
  1485. }
  1486.  
  1487. }
  1488. }
  1489. }
  1490. if(listitem == 1) {
  1491. new pCon[90], String[128];
  1492. format(pCon, 90, "WhatsApp/Contatos/%s.ini", pName(playerid));
  1493. format(String, 128, "NumeroContato%i", SlotC[playerid]);
  1494. dini_IntSet(pCon, String, 0);
  1495.  
  1496. format(String, 128, "pContato%i", SlotC[playerid]);
  1497. dini_Set(pCon, String, "Ninguem");
  1498.  
  1499. format(String, 128, "NomeContato%i", SlotC[playerid]);
  1500. dini_Set(pCon, String, "Ninguem");
  1501.  
  1502. SendClientMessage(playerid, -1, "Contato excluido.");
  1503.  
  1504. SlotC[playerid] = -1;
  1505. }
  1506. }
  1507. }
  1508. if(dialogid == D_Escrever) {
  1509. if(response) {
  1510. new Mensagem[512];
  1511. if(sscanf(inputtext, "%s", Mensagem)) {
  1512. SendClientMessage(playerid, -1, "Digite a mensagem.");
  1513. return 1;
  1514. }
  1515. else {
  1516.  
  1517. for(new lin=0;lin<strlen(Mensagem);lin++){
  1518. if(Mensagem[lin]==' ')Mensagem[lin]='_';}
  1519.  
  1520. new pZap[128];
  1521. format(pZap, 128, "WhatsApp/Conversas/Conversa%i.ini", Conversa[playerid]);
  1522. if(dini_Exists(pZap)) {
  1523.  
  1524. new PlayerC = -1;
  1525. if(new_strcmp(dini_Get(pZap, "Pessoa1"), pName(playerid))) {
  1526. PlayerC = GetPlayerN(dini_Get(pZap, "Pessoa2"));
  1527. }
  1528. else if(new_strcmp(dini_Get(pZap, "Pessoa2"), pName(playerid))) {
  1529. PlayerC = GetPlayerN(dini_Get(pZap, "Pessoa1"));
  1530. }
  1531.  
  1532. dini_Set(pZap, "Msg5", dini_Get(pZap, "Msg4"));
  1533. dini_Set(pZap, "hMsg5", dini_Get(pZap, "hMsg4"));
  1534. dini_Set(pZap, "pMsg5", dini_Get(pZap, "pMsg4"));
  1535.  
  1536. dini_Set(pZap, "Msg4", dini_Get(pZap, "Msg3"));
  1537. dini_Set(pZap, "hMsg4", dini_Get(pZap, "hMsg3"));
  1538. dini_Set(pZap, "pMsg4", dini_Get(pZap, "pMsg3"));
  1539.  
  1540. dini_Set(pZap, "Msg3", dini_Get(pZap, "Msg2"));
  1541. dini_Set(pZap, "hMsg3", dini_Get(pZap, "hMsg2"));
  1542. dini_Set(pZap, "pMsg3", dini_Get(pZap, "pMsg2"));
  1543.  
  1544. dini_Set(pZap, "Msg2", dini_Get(pZap, "Msg1"));
  1545. dini_Set(pZap, "hMsg2", dini_Get(pZap, "hMsg1"));
  1546. dini_Set(pZap, "pMsg2", dini_Get(pZap, "pMsg1"));
  1547.  
  1548. dini_Set(pZap, "Msg1", Mensagem);
  1549. dini_Set(pZap, "hMsg1", getHora());
  1550. dini_Set(pZap, "pMsg1", pName(playerid));
  1551.  
  1552. pAbrirConversa(playerid, Conversa[playerid]);
  1553.  
  1554. if(PlayerC != -1) {
  1555. if(Conversa[PlayerC] == Conversa[playerid] && Conversa[PlayerC] != -1 && PlayerC != playerid) {
  1556. pAbrirConversa(PlayerC, Conversa[PlayerC]);
  1557. SendClientMessage(PlayerC, -1, "Aviso WhatsApp: Você tem uma nova mensagem!");
  1558. }
  1559. }
  1560. }
  1561. }
  1562. }
  1563. }
  1564. return 1;
  1565. }
  1566.  
  1567. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  1568. {
  1569. return 1;
  1570. }
  1571.  
  1572. CMD:comprarcell(playerid){
  1573. if(Player[playerid][NumeroCLL] != -1) return ymsg(playerid, -1, #Voce ja tem um celular. Use /zap);
  1574. new randphone = random(8890);
  1575. new t[128];
  1576. Player[playerid][NumeroCLL] = randphone;
  1577. format(t, sizeof(t), "Seu numero de celular é: %d", Player[playerid][NumeroCLL]);
  1578. ymsg(playerid, -1, t);
  1579. return 1;
  1580. }
  1581.  
  1582. public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid) {
  1583. if(playertextid == EnviarMsg) {
  1584. if(Conversa[playerid] != -1) {
  1585. ShowPlayerDialog(playerid, D_Escrever, DIALOG_STYLE_INPUT, "Digitando mensagem", "Digite a mensagem para enviar", "Enviar", "Cancelar");
  1586. }
  1587. }
  1588. if(playertextid == zapTextP[playerid][0]) {
  1589. new pZap[90], String[128];
  1590. new c = -1;
  1591. format(pZap, 90, "WhatsApp/ConversasP/%s.ini", pName(playerid));
  1592. format(String, sizeof(String), "Conversa%i", ConveP[playerid][0]);
  1593. c = dini_Int(pZap, String);
  1594. if(dini_Exists(pZap)) {
  1595. pAbrirConversa(playerid, c);
  1596. }
  1597. return 1;
  1598. }
  1599. if(playertextid == zapTextP[playerid][2]) {
  1600. new pZap[90], String[128];
  1601. new c = -1;
  1602. format(pZap, 90, "WhatsApp/ConversasP/%s.ini", pName(playerid));
  1603. format(String, sizeof(String), "Conversa%i", ConveP[playerid][1]);
  1604. c = dini_Int(pZap, String);
  1605. if(dini_Exists(pZap)) {
  1606. pAbrirConversa(playerid, c);
  1607. }
  1608. return 1;
  1609. }
  1610. if(playertextid == zapTextP[playerid][4]) {
  1611. new pZap[90], String[128];
  1612. new c = -1;
  1613. format(pZap, 90, "WhatsApp/ConversasP/%s.ini", pName(playerid));
  1614. format(String, sizeof(String), "Conversa%i", ConveP[playerid][2]);
  1615. c = dini_Int(pZap, String);
  1616. if(dini_Exists(pZap)) {
  1617. pAbrirConversa(playerid, c);
  1618. }
  1619. return 1;
  1620. }
  1621. if(playertextid == zapTextP[playerid][7]) {
  1622. new pZap[90], String[128];
  1623. new c = -1;
  1624. format(pZap, 90, "WhatsApp/ConversasP/%s.ini", pName(playerid));
  1625. format(String, sizeof(String), "Conversa%i", ConveP[playerid][3]);
  1626. c = dini_Int(pZap, String);
  1627. if(dini_Exists(pZap)) {
  1628. pAbrirConversa(playerid, c);
  1629. }
  1630. return 1;
  1631. }
  1632. return 1;
  1633. }
  1634.  
  1635. public OnPlayerClickTextDraw(playerid, Text:clickedid) {
  1636. if(clickedid == zapText[27]) {
  1637. ConveP[playerid][0] = ConveP[playerid][1];
  1638. ConveP[playerid][1] = ConveP[playerid][2];
  1639. ConveP[playerid][2] = ConveP[playerid][3];
  1640. ConveP[playerid][3]++;
  1641. aConversas(playerid);
  1642. return 1;
  1643. }
  1644. if(clickedid == zapText[26]) {
  1645. ConveP[playerid][1] = ConveP[playerid][0];
  1646. ConveP[playerid][2] = ConveP[playerid][1];
  1647. ConveP[playerid][3] = ConveP[playerid][2];
  1648. ConveP[playerid][0]--;
  1649. aConversas(playerid);
  1650. return 1;
  1651. }
  1652. if(clickedid == zapText[17]) {
  1653. new String[10000];
  1654. new Str[256], pCon[90], mStr[128];
  1655. String[0] = EOS;
  1656. format(pCon, 90, "WhatsApp/Contatos/%s.ini", pName(playerid));
  1657. format(Str, 256, "Contato 0: %s", dini_Get(pCon, "NomeContato0"));
  1658. strcat(String, Str);
  1659. for(new i = 1; i < 99; i++) {
  1660. format(mStr, 128, "NomeContato%i", i);
  1661. format(Str, 256, "\nContato %i: %s", i, dini_Get(pCon, mStr));
  1662. strcat(String, Str);
  1663. }
  1664. ShowPlayerDialog(playerid, D_Contatos, DIALOG_STYLE_LIST, "Seus contatos:", String, "Selecionar", "Cancelar");
  1665. return 1;
  1666. }
  1667. if(clickedid == ConversaText[15])
  1668. {
  1669. for(new i = 0; i < sizeof(zapText); i++)
  1670. TextDrawHideForPlayer(playerid, zapText[i]);
  1671.  
  1672. PlayerTextDrawHide(playerid, yoshiText[playerid][0]);
  1673. PlayerTextDrawHide(playerid, yoshiText[playerid][1]);
  1674. PlayerTextDrawHide(playerid, yoshiText[playerid][2]);
  1675. PlayerTextDrawHide(playerid, yoshiText[playerid][3]);
  1676. PlayerTextDrawHide(playerid, yoshiText[playerid][4]);
  1677. PlayerTextDrawHide(playerid, yoshiText[playerid][5]);
  1678. PlayerTextDrawHide(playerid, yoshiText[playerid][6]);
  1679. PlayerTextDrawHide(playerid, yoshiText[playerid][7]);
  1680. PlayerTextDrawHide(playerid, yoshiText[playerid][8]);
  1681. PlayerTextDrawHide(playerid, yoshiText[playerid][9]);
  1682. PlayerTextDrawHide(playerid, yoshiText[playerid][10]);
  1683.  
  1684. PlayerTextDrawHide(playerid, zapTextP[playerid][0]);
  1685. PlayerTextDrawHide(playerid, zapTextP[playerid][1]);
  1686. PlayerTextDrawHide(playerid, zapTextP[playerid][2]);
  1687. PlayerTextDrawHide(playerid, zapTextP[playerid][3]);
  1688. PlayerTextDrawHide(playerid, zapTextP[playerid][4]);
  1689. PlayerTextDrawHide(playerid, zapTextP[playerid][5]);
  1690. PlayerTextDrawHide(playerid, zapTextP[playerid][6]);
  1691. PlayerTextDrawHide(playerid, zapTextP[playerid][7]);
  1692. PlayerTextDrawHide(playerid, ConversandoH1);
  1693. PlayerTextDrawHide(playerid, ConversandoH2);
  1694. PlayerTextDrawHide(playerid, ConversandoH3);
  1695. PlayerTextDrawHide(playerid, ConversandoH4);
  1696. PlayerTextDrawHide(playerid, ConversandoH5);
  1697. TextDrawHideForPlayer(playerid, ConversaText[0]);
  1698. TextDrawHideForPlayer(playerid, ConversaText[1]);
  1699. TextDrawHideForPlayer(playerid, ConversaText[2]);
  1700. TextDrawHideForPlayer(playerid, ConversaText[3]);
  1701. TextDrawHideForPlayer(playerid, ConversaText[4]);
  1702. TextDrawHideForPlayer(playerid, ConversaText[5]);
  1703. TextDrawHideForPlayer(playerid, ConversaText[6]);
  1704. TextDrawHideForPlayer(playerid, ConversaText[7]);
  1705. TextDrawHideForPlayer(playerid, ConversaText[8]);
  1706. TextDrawHideForPlayer(playerid, ConversaText[9]);
  1707. TextDrawHideForPlayer(playerid, ConversaText[10]);
  1708. TextDrawHideForPlayer(playerid, ConversaText[11]);
  1709. TextDrawHideForPlayer(playerid, ConversaText[12]);
  1710. TextDrawHideForPlayer(playerid, ConversaText[13]);
  1711. TextDrawHideForPlayer(playerid, ConversaText[14]);
  1712. TextDrawHideForPlayer(playerid, ConversaText[15]);
  1713. TextDrawHideForPlayer(playerid, ConversaText[16]);
  1714. TextDrawHideForPlayer(playerid, ConversaText[17]);
  1715. PlayerTextDrawHide(playerid, EnviarMsg);
  1716. aConversas(playerid);
  1717. return 1;
  1718. }
  1719. return 1;
  1720. }
  1721. stock pAbrirConversa(playerid, ConversaID) {
  1722. new pZap[90], String[512], StringNC[128];
  1723. format(pZap, 90, "WhatsApp/Conversas/Conversa%i.ini", ConversaID);
  1724.  
  1725. // textdraws conversas sumir
  1726. /* txds whatsapp */
  1727. for(new i = 0; i < sizeof(zapText); i++)
  1728. TextDrawHideForPlayer(playerid, zapText[i]);
  1729.  
  1730. PlayerTextDrawHide(playerid, zapTextP[playerid][0]);
  1731. PlayerTextDrawHide(playerid, zapTextP[playerid][1]);
  1732. PlayerTextDrawHide(playerid, zapTextP[playerid][2]);
  1733. PlayerTextDrawHide(playerid, zapTextP[playerid][3]);
  1734. PlayerTextDrawHide(playerid, zapTextP[playerid][4]);
  1735. PlayerTextDrawHide(playerid, zapTextP[playerid][5]);
  1736. PlayerTextDrawHide(playerid, zapTextP[playerid][6]);
  1737. PlayerTextDrawHide(playerid, zapTextP[playerid][7]);
  1738. SelectTextDraw(playerid, 0xFF0000FF);
  1739.  
  1740. // conversando player
  1741. TextDrawShowForPlayer(playerid, ConversaText[0]);
  1742. TextDrawShowForPlayer(playerid, ConversaText[1]);
  1743. TextDrawShowForPlayer(playerid, ConversaText[2]);
  1744. TextDrawShowForPlayer(playerid, ConversaText[3]);
  1745. TextDrawShowForPlayer(playerid, ConversaText[4]);
  1746. TextDrawShowForPlayer(playerid, ConversaText[5]);
  1747. TextDrawShowForPlayer(playerid, ConversaText[6]);
  1748. TextDrawShowForPlayer(playerid, ConversaText[7]);
  1749. TextDrawShowForPlayer(playerid, ConversaText[8]);
  1750. TextDrawShowForPlayer(playerid, ConversaText[9]);
  1751. TextDrawShowForPlayer(playerid, ConversaText[10]);
  1752. TextDrawShowForPlayer(playerid, ConversaText[11]);
  1753. TextDrawShowForPlayer(playerid, ConversaText[12]);
  1754. TextDrawShowForPlayer(playerid, ConversaText[13]);
  1755. TextDrawShowForPlayer(playerid, ConversaText[14]);
  1756. TextDrawShowForPlayer(playerid, ConversaText[15]);
  1757. TextDrawShowForPlayer(playerid, ConversaText[16]);
  1758. TextDrawShowForPlayer(playerid, ConversaText[17]);
  1759. PlayerTextDrawShow(playerid, EnviarMsg);
  1760. SelectTextDraw(playerid, 0xFF0000FF);
  1761.  
  1762. // conversa
  1763. if(dini_Exists(pZap)) {
  1764. if(dini_Int(pZap, "NumeroP1") == Player[playerid][NumeroCLL]) {
  1765. format(StringNC, sizeof(StringNC), "%s", GetContatoNome(playerid, dini_Int(pZap, "NumeroP2")));
  1766. }
  1767. else if(dini_Int(pZap, "NumeroP2") == Player[playerid][NumeroCLL]) {
  1768. format(StringNC, sizeof(StringNC), "%s", GetContatoNome(playerid, dini_Int(pZap, "NumeroP1")));
  1769. }
  1770. // MSG 1
  1771. if(!new_strcmp(dini_Get(pZap, "Msg1"), "Nada")) {
  1772. if(new_strcmp(dini_Get(pZap, "pMsg1"), pName(playerid))) {
  1773. PlayerTextDrawBoxColor(playerid,yoshiText[playerid][1], -1862299393);
  1774. PlayerTextDrawShow(playerid, yoshiText[playerid][1]);
  1775. PlayerTextDrawShow(playerid, yoshiText[playerid][6]);
  1776. PlayerTextDrawShow(playerid, ConversandoH1);
  1777.  
  1778. format(String, sizeof(String), "%s", dini_Get(pZap, "Msg1"));
  1779. PlayerTextDrawSetString(playerid, yoshiText[playerid][6], String);
  1780.  
  1781. format(String, sizeof(String), "%s", dini_Get(pZap, "hMsg1"));
  1782. PlayerTextDrawSetString(playerid, ConversandoH1, String);
  1783.  
  1784. }
  1785. else {
  1786. PlayerTextDrawBoxColor(playerid,yoshiText[playerid][1], -1);
  1787. PlayerTextDrawShow(playerid, yoshiText[playerid][1]);
  1788. PlayerTextDrawShow(playerid, yoshiText[playerid][6]);
  1789. PlayerTextDrawShow(playerid, ConversandoH1);
  1790.  
  1791. format(String, sizeof(String), "%s", dini_Get(pZap, "Msg1"));
  1792. PlayerTextDrawSetString(playerid, yoshiText[playerid][6], String);
  1793.  
  1794. format(String, sizeof(String), "%s", dini_Get(pZap, "hMsg1"));
  1795. PlayerTextDrawSetString(playerid, ConversandoH1, String);
  1796.  
  1797. }
  1798. }
  1799. // MSG 2
  1800. if(!new_strcmp(dini_Get(pZap, "Msg2"), "Nada")) {
  1801. if(new_strcmp(dini_Get(pZap, "pMsg2"), pName(playerid))) {
  1802. PlayerTextDrawBoxColor(playerid,yoshiText[playerid][2], -1862299393);
  1803. PlayerTextDrawShow(playerid, yoshiText[playerid][2]);
  1804. PlayerTextDrawShow(playerid, yoshiText[playerid][7]);
  1805. PlayerTextDrawShow(playerid, ConversandoH2);
  1806.  
  1807. format(String, sizeof(String), "%s", dini_Get(pZap, "Msg2"));
  1808. PlayerTextDrawSetString(playerid, yoshiText[playerid][7], String);
  1809.  
  1810. format(String, sizeof(String), "%s", dini_Get(pZap, "hMsg2"));
  1811. PlayerTextDrawSetString(playerid, ConversandoH2, String);
  1812.  
  1813. }
  1814. else {
  1815. PlayerTextDrawBoxColor(playerid,yoshiText[playerid][2], -1);
  1816. PlayerTextDrawShow(playerid, yoshiText[playerid][2]);
  1817. PlayerTextDrawShow(playerid, yoshiText[playerid][7]);
  1818. PlayerTextDrawShow(playerid, ConversandoH2);
  1819.  
  1820. format(String, sizeof(String), "%s", dini_Get(pZap, "Msg2"));
  1821. PlayerTextDrawSetString(playerid, yoshiText[playerid][7], String);
  1822.  
  1823. format(String, sizeof(String), "%s", dini_Get(pZap, "hMsg2"));
  1824. PlayerTextDrawSetString(playerid, ConversandoH2, String);
  1825.  
  1826. }
  1827. }
  1828. // MSG 3
  1829. if(!new_strcmp(dini_Get(pZap, "Msg3"), "Nada")) {
  1830. if(new_strcmp(dini_Get(pZap, "pMsg3"), pName(playerid))) {
  1831. PlayerTextDrawBoxColor(playerid,yoshiText[playerid][3], -1862299393);
  1832. PlayerTextDrawShow(playerid, yoshiText[playerid][3]);
  1833. PlayerTextDrawShow(playerid, yoshiText[playerid][8]);
  1834. PlayerTextDrawShow(playerid, ConversandoH3);
  1835.  
  1836. format(String, sizeof(String), "%s", dini_Get(pZap, "Msg3"));
  1837. PlayerTextDrawSetString(playerid, yoshiText[playerid][8], String);
  1838.  
  1839. format(String, sizeof(String), "%s", dini_Get(pZap, "hMsg3"));
  1840. PlayerTextDrawSetString(playerid, ConversandoH3, String);
  1841.  
  1842. }
  1843. else {
  1844. PlayerTextDrawBoxColor(playerid,yoshiText[playerid][3], -1);
  1845. PlayerTextDrawShow(playerid, yoshiText[playerid][3]);
  1846. PlayerTextDrawShow(playerid, yoshiText[playerid][8]);
  1847. PlayerTextDrawShow(playerid, ConversandoH3);
  1848.  
  1849. format(String, sizeof(String), "%s", dini_Get(pZap, "Msg3"));
  1850. PlayerTextDrawSetString(playerid, yoshiText[playerid][8], String);
  1851.  
  1852. format(String, sizeof(String), "%s", dini_Get(pZap, "hMsg3"));
  1853. PlayerTextDrawSetString(playerid, ConversandoH3, String);
  1854.  
  1855. }
  1856. }
  1857. // MSG 4
  1858. if(!new_strcmp(dini_Get(pZap, "Msg4"), "Nada")) {
  1859. if(new_strcmp(dini_Get(pZap, "pMsg4"), pName(playerid))) {
  1860. PlayerTextDrawBoxColor(playerid,yoshiText[playerid][4], -1862299393);
  1861. PlayerTextDrawShow(playerid, yoshiText[playerid][4]);
  1862. PlayerTextDrawShow(playerid, yoshiText[playerid][9]);
  1863. PlayerTextDrawShow(playerid, ConversandoH4);
  1864.  
  1865. format(String, sizeof(String), "%s", dini_Get(pZap, "Msg4"));
  1866. PlayerTextDrawSetString(playerid, yoshiText[playerid][9], String);
  1867.  
  1868. format(String, sizeof(String), "%s", dini_Get(pZap, "hMsg4"));
  1869. PlayerTextDrawSetString(playerid, ConversandoH4, String);
  1870.  
  1871. }
  1872. else {
  1873. PlayerTextDrawBoxColor(playerid,yoshiText[playerid][4], -1);
  1874. PlayerTextDrawShow(playerid, yoshiText[playerid][4]);
  1875. PlayerTextDrawShow(playerid, yoshiText[playerid][9]);
  1876. PlayerTextDrawShow(playerid, ConversandoH4);
  1877.  
  1878. format(String, sizeof(String), "%s", dini_Get(pZap, "Msg4"));
  1879. PlayerTextDrawSetString(playerid, yoshiText[playerid][9], String);
  1880.  
  1881. format(String, sizeof(String), "%s", dini_Get(pZap, "hMsg4"));
  1882. PlayerTextDrawSetString(playerid, ConversandoH4, String);
  1883.  
  1884. }
  1885. }
  1886. // MSG 5
  1887. if(!new_strcmp(dini_Get(pZap, "Msg5"), "Nada")) {
  1888. if(new_strcmp(dini_Get(pZap, "pMsg5"), pName(playerid))) {
  1889. PlayerTextDrawBoxColor(playerid,yoshiText[playerid][5], -1862299393);
  1890. PlayerTextDrawShow(playerid, yoshiText[playerid][5]);
  1891. PlayerTextDrawShow(playerid, yoshiText[playerid][10]);
  1892. PlayerTextDrawShow(playerid, ConversandoH5);
  1893.  
  1894. format(String, sizeof(String), "%s", dini_Get(pZap, "Msg5"));
  1895. PlayerTextDrawSetString(playerid, yoshiText[playerid][10], String);
  1896.  
  1897. format(String, sizeof(String), "%s", dini_Get(pZap, "hMsg5"));
  1898. PlayerTextDrawSetString(playerid, ConversandoH5, String);
  1899.  
  1900. }
  1901. else {
  1902. PlayerTextDrawBoxColor(playerid,yoshiText[playerid][5], -1);
  1903. PlayerTextDrawShow(playerid, yoshiText[playerid][5]);
  1904. PlayerTextDrawShow(playerid, yoshiText[playerid][10]);
  1905. PlayerTextDrawShow(playerid, ConversandoH5);
  1906.  
  1907. format(String, sizeof(String), "%s", dini_Get(pZap, "Msg5"));
  1908. PlayerTextDrawSetString(playerid, yoshiText[playerid][10], String);
  1909.  
  1910. format(String, sizeof(String), "%s", dini_Get(pZap, "hMsg5"));
  1911. PlayerTextDrawSetString(playerid, ConversandoH5, String);
  1912.  
  1913. }
  1914. }
  1915. PlayerTextDrawSetString(playerid, yoshiText[playerid][0], StringNC);
  1916. PlayerTextDrawShow(playerid, yoshiText[playerid][0]);
  1917. //SelectTextDraw(playerid, -3);
  1918. Conversa[playerid] = ConversaID;
  1919. }
  1920. return 1;
  1921. }
  1922. stock GetPlayerN(Nick[]) {
  1923. new rE = -1;
  1924. for(new i = 0; i < MAX_PLAYERS; i++) {
  1925. if(IsPlayerConnected(i)) {
  1926. if(new_strcmp(Nick, pName(i))) {
  1927. rE = i;
  1928. }
  1929. }
  1930. }
  1931. return rE;
  1932. }
  1933. stock aConversas(playerid) {
  1934. if(IsPlayerConnected(playerid)) {
  1935. new String[256], pZap[90], StringNC[128];
  1936.  
  1937. format(pZap, 90, "WhatsApp/ConversasP/%s.ini", pName(playerid));
  1938.  
  1939. new c1 = -1;
  1940. format(String, sizeof(String), "Conversa%i", ConveP[playerid][0]);
  1941. c1 = dini_Int(pZap, String);
  1942.  
  1943. new c2 = -1;
  1944. format(String, sizeof(String), "Conversa%i", ConveP[playerid][1]);
  1945. c2 = dini_Int(pZap, String);
  1946.  
  1947. new c3 = -1;
  1948. format(String, sizeof(String), "Conversa%i", ConveP[playerid][2]);
  1949. c3 = dini_Int(pZap, String);
  1950.  
  1951. new c4 = -1;
  1952. format(String, sizeof(String), "Conversa%i", ConveP[playerid][3]);
  1953. c4 = dini_Int(pZap, String);
  1954.  
  1955. /* txds whatsapp */
  1956. for(new i = 0; i < sizeof(zapText); i++)
  1957. TextDrawShowForPlayer(playerid, zapText[i]);
  1958.  
  1959. PlayerTextDrawHide(playerid, zapTextP[playerid][0]);
  1960. PlayerTextDrawHide(playerid, zapTextP[playerid][1]);
  1961. PlayerTextDrawHide(playerid, zapTextP[playerid][2]);
  1962. PlayerTextDrawHide(playerid, zapTextP[playerid][3]);
  1963. PlayerTextDrawHide(playerid, zapTextP[playerid][4]);
  1964. PlayerTextDrawHide(playerid, zapTextP[playerid][5]);
  1965. PlayerTextDrawHide(playerid, zapTextP[playerid][6]);
  1966. PlayerTextDrawHide(playerid, zapTextP[playerid][7]);
  1967. SelectTextDraw(playerid, 0xFF0000FF);
  1968.  
  1969. // Conversa 1
  1970. format(pZap, 90, "WhatsApp/Conversas/Conversa%i.ini", c1);
  1971. if(dini_Exists(pZap)) {
  1972. PlayerTextDrawShow(playerid, zapTextP[playerid][0]);
  1973. PlayerTextDrawShow(playerid, zapTextP[playerid][1]);
  1974. //PlayerTextDrawShow(playerid, nConversa1);
  1975. if(dini_Int(pZap, "NumeroP1") == Player[playerid][NumeroCLL]) {
  1976. format(StringNC, sizeof(StringNC), "%s", GetContatoNome(playerid, dini_Int(pZap, "NumeroP2")));
  1977. }
  1978. else if(dini_Int(pZap, "NumeroP2") == Player[playerid][NumeroCLL]) {
  1979. format(StringNC, sizeof(StringNC), "%s", GetContatoNome(playerid, dini_Int(pZap, "NumeroP1")));
  1980. }
  1981. PlayerTextDrawSetString(playerid, zapTextP[playerid][0], StringNC);
  1982.  
  1983. format(StringNC, sizeof(StringNC), "%033s", dini_Get(pZap, "Msg1"));
  1984. PlayerTextDrawSetString(playerid, zapTextP[playerid][1], StringNC);
  1985. }
  1986. // Conversa 2
  1987. format(pZap, 90, "WhatsApp/Conversas/Conversa%i.ini", c2);
  1988. if(dini_Exists(pZap)) {
  1989. PlayerTextDrawShow(playerid, zapTextP[playerid][2]);
  1990. PlayerTextDrawShow(playerid, zapTextP[playerid][3]);
  1991. //PlayerTextDrawShow(playerid, nConversa2);
  1992. if(dini_Int(pZap, "NumeroP1") == Player[playerid][NumeroCLL]) {
  1993. format(StringNC, sizeof(StringNC), "%s", GetContatoNome(playerid, dini_Int(pZap, "NumeroP2")));
  1994. }
  1995. else if(dini_Int(pZap, "NumeroP2") == Player[playerid][NumeroCLL]) {
  1996. format(StringNC, sizeof(StringNC), "%s", GetContatoNome(playerid, dini_Int(pZap, "NumeroP1")));
  1997. }
  1998. PlayerTextDrawSetString(playerid, zapTextP[playerid][2], StringNC);
  1999.  
  2000. format(StringNC, sizeof(StringNC), "%033s", dini_Get(pZap, "Msg1"));
  2001. PlayerTextDrawSetString(playerid, zapTextP[playerid][3], StringNC);
  2002. }
  2003. // Conversa 3
  2004. format(pZap, 90, "WhatsApp/Conversas/Conversa%i.ini", c3);
  2005. if(dini_Exists(pZap)) {
  2006. PlayerTextDrawShow(playerid, zapTextP[playerid][4]);
  2007. PlayerTextDrawShow(playerid, zapTextP[playerid][5]);
  2008. //PlayerTextDrawShow(playerid, nConversa3);
  2009. if(dini_Int(pZap, "NumeroP1") == Player[playerid][NumeroCLL]) {
  2010. format(StringNC, sizeof(StringNC), "%s", GetContatoNome(playerid, dini_Int(pZap, "NumeroP2")));
  2011. }
  2012. else if(dini_Int(pZap, "NumeroP2") == Player[playerid][NumeroCLL]) {
  2013. format(StringNC, sizeof(StringNC), "%s", GetContatoNome(playerid, dini_Int(pZap, "NumeroP1")));
  2014. }
  2015. PlayerTextDrawSetString(playerid, zapTextP[playerid][4], StringNC);
  2016.  
  2017. format(StringNC, sizeof(StringNC), "%033s", dini_Get(pZap, "Msg1"));
  2018. PlayerTextDrawSetString(playerid, zapTextP[playerid][5], StringNC);
  2019. }
  2020. // Conversa 4
  2021. format(pZap, 90, "WhatsApp/Conversas/Conversa%i.ini", c4);
  2022. if(dini_Exists(pZap)) {
  2023. PlayerTextDrawShow(playerid, zapTextP[playerid][7]);
  2024. PlayerTextDrawShow(playerid, zapTextP[playerid][6]);
  2025. //PlayerTextDrawShow(playerid, nConversa4);
  2026. if(dini_Int(pZap, "NumeroP1") == Player[playerid][NumeroCLL]) {
  2027. format(StringNC, sizeof(StringNC), "%s", GetContatoNome(playerid, dini_Int(pZap, "NumeroP2")));
  2028. }
  2029. else if(dini_Int(pZap, "NumeroP2") == Player[playerid][NumeroCLL]) {
  2030. format(StringNC, sizeof(StringNC), "%s", GetContatoNome(playerid, dini_Int(pZap, "NumeroP1")));
  2031. }
  2032. PlayerTextDrawSetString(playerid, zapTextP[playerid][7], StringNC);
  2033.  
  2034. format(StringNC, sizeof(StringNC), "%033s", dini_Get(pZap, "Msg1"));
  2035. PlayerTextDrawSetString(playerid, zapTextP[playerid][6], StringNC);
  2036. }
  2037. SelectTextDraw(playerid, -3);
  2038. }
  2039. }
  2040.  
  2041. stock pName(playerid)
  2042. {
  2043. new nick[MAX_PLAYER_NAME + 1];
  2044. GetPlayerName(playerid, nick, sizeof(nick));
  2045. return nick;
  2046. }
  2047.  
  2048. CMD:zap(playerid){
  2049. ConveP[playerid][0] = 0;
  2050. ConveP[playerid][1] = 1;
  2051. ConveP[playerid][2] = 2;
  2052. ConveP[playerid][3] = 3;
  2053. aConversas(playerid);
  2054. return 1;
  2055. }
  2056.  
  2057. stock getHora()
  2058. {
  2059. new hour, hora, minute, sec, STRING[90];
  2060. gettime(hour, minute, sec);
  2061. if(hour == 3)
  2062. {
  2063. hora = 0;
  2064. }
  2065. if(hour == 4)
  2066. {
  2067. hora = 1;
  2068. }
  2069. if(hour == 5)
  2070. {
  2071. hora = 2;
  2072. }
  2073. if(hour == 6)
  2074. {
  2075. hora = 3;
  2076. }
  2077. if(hour == 7)
  2078. {
  2079. hora = 4;
  2080. }
  2081. if(hour == 8)
  2082. {
  2083. hora = 5;
  2084. }
  2085. if(hour == 9)
  2086. {
  2087. hora = 6;
  2088. }
  2089. if(hour == 10)
  2090. {
  2091. hora = 7;
  2092. }
  2093. if(hour == 11)
  2094. {
  2095. hora = 8;
  2096. }
  2097. if(hour == 12)
  2098. {
  2099. hora = 9;
  2100. }
  2101. if(hour == 13)
  2102. {
  2103. hora = 10;
  2104. }
  2105. if(hour == 14)
  2106. {
  2107. hora = 11;
  2108. }
  2109. if(hour == 15)
  2110. {
  2111. hora = 12;
  2112. }
  2113. if(hour == 16)
  2114. {
  2115. hora = 13;
  2116. }
  2117. if(hour == 17)
  2118. {
  2119. hora = 14;
  2120. }
  2121. if(hour == 18)
  2122. {
  2123. hora = 15;
  2124. }
  2125. if(hour == 19)
  2126. {
  2127. hora = 16;
  2128. }
  2129. if(hour == 20)
  2130. {
  2131. hora = 17;
  2132. }
  2133. if(hour == 21)
  2134. {
  2135. hora = 18;
  2136. }
  2137. if(hour == 22)
  2138. {
  2139. hora = 19;
  2140. }
  2141. if(hour == 23)
  2142. {
  2143. hora = 20;
  2144. }
  2145. if(hour == 0)
  2146. {
  2147. hora = 21;
  2148. }
  2149. if(hour == 1)
  2150. {
  2151. hora = 22;
  2152. }
  2153. if(hour == 2)
  2154. {
  2155. hora = 23;
  2156. }
  2157. format(STRING, 50, "%02d:%02d", hora, minute);
  2158. return STRING;
  2159. }
  2160.  
  2161. stock GetContatoNome(playerid, number) {
  2162. new String[128], str[128], pCon[90];
  2163. if(IsPlayerConnected(playerid)) {
  2164. format(pCon, 90, "WhatsApp/Contatos/%s.ini", pName(playerid));
  2165. if(dini_Exists(pCon)) {
  2166. new TemContato = 0;
  2167. for(new i = 0; i < MAX_CONTATOS; i++) {
  2168. format(String, 128, "NumeroContato%i", i);
  2169. if(dini_Int(pCon, String) == number) {
  2170. format(String, 128, "NomeContato%i", i);
  2171. format(str, 128, "%s", dini_Get(pCon, String));
  2172. TemContato = 1;
  2173. break;
  2174. }
  2175. }
  2176. if(TemContato != 1) {
  2177. format(str, 128, "%s", ConverterDinheiro(number));
  2178. }
  2179. }
  2180. }
  2181. return str;
  2182. }
  2183.  
  2184. stock ConverterDinheiro(number)
  2185. {
  2186. new real,mil,milhao,milhaor,bilhao,bilhaor,string[100];
  2187. if(number > 999999999)
  2188. {
  2189. bilhao = number / 1000000000;
  2190. bilhaor = number % 1000000000;
  2191. milhao = bilhaor / 1000000;
  2192. milhaor = bilhaor % 1000000;
  2193. mil = milhaor / 1000;
  2194. real = milhaor % 1000;
  2195. }
  2196. else if(number > 999999)
  2197. {
  2198. milhao = number / 1000000;
  2199. milhaor = number % 1000000;
  2200. mil = milhaor / 1000;
  2201. real = milhaor % 1000;
  2202. }
  2203. else if(number > 999)
  2204. {
  2205. mil = number / 1000;
  2206. real = number % 1000;
  2207. }
  2208. if(number > 999999999)
  2209. {
  2210. format(string, 100, "%d,%03d,%03d,%03d", bilhao, milhao, mil, real);
  2211. }
  2212. else if(number > 999999)
  2213. {
  2214. format(string, 100, "%d,%03d,%03d", milhao, mil, real);
  2215. }
  2216. else if(number > 999)
  2217. {
  2218. format(string, 100, "%d,%03d", mil, real);
  2219. }
  2220. else
  2221. {
  2222. format(string, 100, "%d", number);
  2223. }
  2224. return string;
  2225. }
  2226.  
  2227. stock insert_line_breaks(dest[], len = sizeof dest) //Pular linhas
  2228. {
  2229. static curr_index = 1;
  2230. static curr_dest_size = 0;
  2231.  
  2232. for(curr_index; curr_index < len && curr_dest_size < MAX_DEST_SIZE; curr_index++)
  2233. {
  2234. dest[curr_dest_size++] = dest[curr_index-1];
  2235.  
  2236. if(curr_index % LINE_LENGTH == 0)
  2237. {
  2238. if(curr_dest_size + 3 > MAX_DEST_SIZE) break; // checks the size before inserting
  2239. dest[curr_dest_size++] = '~';
  2240. dest[curr_dest_size++] = 'n';
  2241. dest[curr_dest_size++] = '~';
  2242. }
  2243. }
  2244.  
  2245. // reset var values
  2246. curr_index = 1;
  2247. curr_dest_size = 0;
  2248. }
  2249.  
  2250. CMD:creditos(playerid){
  2251. SendClientMessage(playerid, -1, "Create by yoshi_");
  2252. return 1;
  2253. }
  2254.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement