Guest User

Untitled

a guest
Nov 28th, 2013
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.63 KB | None | 0 0
  1. if(strcmp(cmd, "/dominar", true) == 0)
  2. {
  3. new carid = GetPlayerVehicleID(playerid);
  4. if(IsAPlane(carid))
  5. {
  6. SendClientMessage(playerid, COLOR_GRAD5, "Você não pode usar esse comando dentro de um heli ou avião.");
  7. return 1;
  8. }
  9. // =================================================================================================================
  10. // GZ entre EXE vs ALQAEDA
  11. // =================================================================================================================
  12.  
  13. if(PlayerInfo[playerid][pMembro] == 3 || PlayerInfo[playerid][pLider] == 3)// Exercito
  14. {
  15. if(IsPlayerInMata(playerid))
  16. {
  17. if(Dominando[playerid] == 1)
  18. {
  19. SendClientMessage(playerid, COLOR_GRAD5, "Você ja está dominando um territorio.");
  20. return 1;
  21. }
  22. if(GuerranoMata == 1)
  23. {
  24. SendClientMessage(playerid, COLOR_GRAD5, "Já está tendo uma guerra nesse territorio.");
  25. return 1;
  26. }
  27. if(PlayerInfo[playerid][pMembro] == 3 || PlayerInfo[playerid][pLider] == 3 || PlayerInfo[playerid][pMembro] == 6 || PlayerInfo[playerid][pLider] == 6)
  28. {
  29. SendClientMessage(playerid, COLOR_LIGHTBLUE, "O exercito está tentando dominar Angel Pine");
  30. }
  31. SendClientMessage(playerid, COLOR_LIGHTBLUE, "Você está dominando um territorios pra sua equipe, fique nele por 10 minutos.");
  32. GangZoneFlashForAll(GZMata,COR_EXE);
  33. Dominando[playerid] = 1;
  34. ProvocoMata[playerid] = 1;
  35. GuerranoMata = 1;
  36. TempoGuerraMata = SetTimerEx("GuerraMata", 600000, 0, "i", playerid);
  37. return 1;
  38. }
  39. else
  40. {
  41. SendClientMessage(playerid, COLOR_GRAD3, "Você não está em nenhum território!");
  42. }
  43. }
  44.  
  45. if(PlayerInfo[playerid][pMembro] == 6 || PlayerInfo[playerid][pLider] == 6)// Al Qaeda
  46. {
  47. if(IsPlayerInMata(playerid))
  48. {
  49. if(Dominando[playerid] == 1)
  50. {
  51. SendClientMessage(playerid, COLOR_GRAD5, "Você ja está dominando um territorio.");
  52. return 1;
  53. }
  54. if(GuerranoMata == 1)
  55. {
  56. SendClientMessage(playerid, COLOR_GRAD5, "Já está tendo uma guerra nesse territorio.");
  57. return 1;
  58. }
  59. if(PlayerInfo[playerid][pMembro] == 3 || PlayerInfo[playerid][pLider] == 3 || PlayerInfo[playerid][pMembro] == 6 || PlayerInfo[playerid][pLider] == 6)
  60. {
  61. SendClientMessage(playerid, COLOR_LIGHTBLUE, "A Al-Qaeda está tentando dominar Angel Pine");
  62. }
  63. SendClientMessage(playerid, COLOR_LIGHTBLUE, "Você está dominando um territorios pra sua equipe, fique nele por 10 minutos.");
  64. GangZoneFlashForAll(GZMata,COR_FARC);
  65. Dominando[playerid] = 1;
  66. ProvocoMata[playerid] = 1;
  67. GuerranoMata = 1;
  68. TempoGuerraMata = SetTimerEx("GuerraMata", 600000, 0, "i", playerid);
  69. return 1;
  70. }
  71. else
  72. {
  73. SendClientMessage(playerid, COLOR_GRAD3, "Você não está em nenhum território!");
  74. }
  75. }
  76.  
  77. // /fim angel pine
  78. // Palomino Creek
  79.  
  80. if(PlayerInfo[playerid][pMembro] == 3 || PlayerInfo[playerid][pLider] == 3)// Exercito
  81. {
  82. if(IsPlayerInroda(playerid))
  83. {
  84. if(Dominando[playerid] == 1)
  85. {
  86. SendClientMessage(playerid, COLOR_GRAD5, "Você ja está dominando um territorio.");
  87. return 1;
  88. }
  89. if(Guerranaroda == 1)
  90. {
  91. SendClientMessage(playerid, COLOR_GRAD5, "Já está tendo uma guerra nesse territorio.");
  92. return 1;
  93. }
  94. if(PlayerInfo[playerid][pMembro] == 3 || PlayerInfo[playerid][pLider] == 3 || PlayerInfo[playerid][pMembro] == 6 || PlayerInfo[playerid][pLider] == 6)
  95. {
  96. SendClientMessage(playerid, COLOR_LIGHTBLUE, "O exercito está tentando dominar Palo Mino Creek");
  97. }
  98. SendClientMessage(playerid, COLOR_LIGHTBLUE, "Você está dominando um territorios pra sua equipe, fique nele por 10 minutos.");
  99. GangZoneFlashForAll(GZroda,COR_EXE);
  100. Dominando[playerid] = 1;
  101. Provocoroda[playerid] = 1;
  102. Guerranaroda = 1;
  103. TempoGuerraroda = SetTimerEx("Guerraroda", 600000, 0, "i", playerid);
  104. return 1;
  105. }
  106. else
  107. {
  108. SendClientMessage(playerid, COLOR_GRAD3, "Você não está em nenhum território!");
  109. }
  110. }
  111.  
  112. if(PlayerInfo[playerid][pMembro] == 6 || PlayerInfo[playerid][pLider] == 6)// Exercito
  113. {
  114. if(IsPlayerInroda(playerid))
  115. {
  116. if(Dominando[playerid] == 1)
  117. {
  118. SendClientMessage(playerid, COLOR_GRAD5, "Você ja está dominando um territorio.");
  119. return 1;
  120. }
  121. if(Guerranaroda == 1)
  122. {
  123. SendClientMessage(playerid, COLOR_GRAD5, "Já está tendo uma guerra nesse territorio.");
  124. return 1;
  125. }
  126. if(PlayerInfo[playerid][pMembro] == 3 || PlayerInfo[playerid][pLider] == 3 || PlayerInfo[playerid][pMembro] == 6 || PlayerInfo[playerid][pLider] == 6)
  127. {
  128. SendClientMessage(playerid, COLOR_LIGHTBLUE, "A Al-Qaeda está tentando dominar Palo Mino Creek");
  129. }
  130. SendClientMessage(playerid, COLOR_LIGHTBLUE, "Você está dominando um territorios pra sua equipe, fique nele por 10 minutos.");
  131. GangZoneFlashForAll(GZMata,COR_FARC);
  132. Dominando[playerid] = 1;
  133. Provocoroda[playerid] = 1;
  134. Guerranaroda = 1;
  135. TempoGuerraroda = SetTimerEx("Guerraroda", 600000, 0, "i", playerid);
  136. return 1;
  137. }
  138. else
  139. {
  140. SendClientMessage(playerid, COLOR_GRAD3, "Você não está em nenhum território!");
  141. }
  142. }
  143. // fim palomino
  144. // =================================================================================================================
  145. // Fim Exercito vs Al-Qaeda
  146. // =================================================================================================================
  147. // Marinha vs Piratas
  148. // =================================================================================================================
  149.  
  150. // navio cargueiro
  151.  
  152. if(PlayerInfo[playerid][pMembro] == 2 || PlayerInfo[playerid][pLider] == 2)
  153. {
  154. if(IsPlayerInEstacao(playerid))
  155. {
  156. if(Dominando[playerid] == 1)
  157. {
  158. SendClientMessage(playerid, COLOR_GRAD5, "Você ja está dominando um territorio.");
  159. return 1;
  160. }
  161. if(GuerranaEstacao == 1)
  162. {
  163. SendClientMessage(playerid, COLOR_GRAD5, "Já está tendo uma guerra nesse territorio.");
  164. return 1;
  165. }
  166. if(PlayerInfo[playerid][pMembro] == 2 || PlayerInfo[playerid][pLider] == 2 || PlayerInfo[playerid][pMembro] == 15 || PlayerInfo[playerid][pLider] == 15)
  167. {
  168. SendClientMessage(playerid, COLOR_LIGHTBLUE, "A Marinha está tentando dominar o navio Cargueiro");
  169. }
  170. SendClientMessage(playerid, COLOR_LIGHTBLUE, "Você está dominando um territorios pra sua equipe, fique nele por 10 minutos.");
  171. GangZoneFlashForAll(GZEstacao,COR_ROTA); // COR_GI
  172. Dominando[playerid] = 1;
  173. ProvocoEstacao[playerid] = 1;
  174. GuerranaEstacao = 1;
  175. TempoGuerraEstacao = SetTimerEx("GuerraEstacao", 600000, 0, "i", playerid);
  176. return 1;
  177. }
  178. else
  179. {
  180. SendClientMessage(playerid, COLOR_GRAD3, "Você não está em nenhum território!");
  181. }
  182. }
  183.  
  184. if(PlayerInfo[playerid][pMembro] == 15 || PlayerInfo[playerid][pLider] == 15)
  185. {
  186. if(IsPlayerInEstacao(playerid))
  187. {
  188. if(Dominando[playerid] == 1)
  189. {
  190. SendClientMessage(playerid, COLOR_GRAD5, "Você ja está dominando um territorio.");
  191. return 1;
  192. }
  193. if(GuerranaEstacao == 1)
  194. {
  195. SendClientMessage(playerid, COLOR_GRAD5, "Já está tendo uma guerra nesse territorio.");
  196. return 1;
  197. }
  198. if(PlayerInfo[playerid][pMembro] == 2 || PlayerInfo[playerid][pLider] == 2 || PlayerInfo[playerid][pMembro] == 15 || PlayerInfo[playerid][pLider] == 15)
  199. {
  200. SendClientMessage(playerid, COLOR_LIGHTBLUE, "Os piratas está tentando dominar o navio Cargueiro");
  201. }
  202. SendClientMessage(playerid, COLOR_LIGHTBLUE, "Você está dominando um territorios pra sua equipe, fique nele por 10 minutos.");
  203. GangZoneFlashForAll(GZEstacao,COR_GI); // COR_ROTA
  204. Dominando[playerid] = 1;
  205. ProvocoEstacao[playerid] = 1;
  206. GuerranaEstacao = 1;
  207. TempoGuerraEstacao = SetTimerEx("GuerraEstacao", 600000, 0, "i", playerid);
  208. return 1;
  209. }
  210. else
  211. {
  212. SendClientMessage(playerid, COLOR_GRAD3, "Você não está em nenhum território!");
  213. }
  214. }
  215.  
  216. // titanic
  217.  
  218. if(PlayerInfo[playerid][pMembro] == 2 || PlayerInfo[playerid][pLider] == 2)
  219. {
  220. if(IsPlayerInCasarao(playerid))
  221. {
  222. if(Dominando[playerid] == 1)
  223. {
  224. SendClientMessage(playerid, COLOR_GRAD5, "Você ja está dominando um territorio.");
  225. return 1;
  226. }
  227. if(GuerranoCasarao == 1)
  228. {
  229. SendClientMessage(playerid, COLOR_GRAD5, "Já está tendo uma guerra nesse territorio.");
  230. return 1;
  231. }
  232. if(PlayerInfo[playerid][pMembro] == 2 || PlayerInfo[playerid][pLider] == 2 || PlayerInfo[playerid][pMembro] == 15 || PlayerInfo[playerid][pLider] == 15)
  233. {
  234. SendClientMessage(playerid, COLOR_LIGHTBLUE, "A Marinha está tentando dominar o navio Titanic");
  235. }
  236. SendClientMessage(playerid, COLOR_LIGHTBLUE, "Você está dominando um territorios pra sua equipe, fique nele por 10 minutos.");
  237. GangZoneFlashForAll(GZCasarao,COR_ROTA); // COR_GI
  238. Dominando[playerid] = 1;
  239. ProvocoCasarao[playerid] = 1;
  240. GuerranoCasarao = 1;
  241. TempoGuerraCasarao = SetTimerEx("GuerraCasarao", 600000, 0, "i", playerid);
  242. return 1;
  243. }
  244. else
  245. {
  246. SendClientMessage(playerid, COLOR_GRAD3, "Você não está em nenhum território!");
  247. }
  248. }
  249.  
  250. if(PlayerInfo[playerid][pMembro] == 15 || PlayerInfo[playerid][pLider] == 15)
  251. {
  252. if(IsPlayerInCasarao(playerid))
  253. {
  254. if(Dominando[playerid] == 1)
  255. {
  256. SendClientMessage(playerid, COLOR_GRAD5, "Você ja está dominando um territorio.");
  257. return 1;
  258. }
  259. if(GuerranoCasarao == 1)
  260. {
  261. SendClientMessage(playerid, COLOR_GRAD5, "Já está tendo uma guerra nesse territorio.");
  262. return 1;
  263. }
  264. if(PlayerInfo[playerid][pMembro] == 2 || PlayerInfo[playerid][pLider] == 2 || PlayerInfo[playerid][pMembro] == 15 || PlayerInfo[playerid][pLider] == 15)
  265. {
  266. SendClientMessage(playerid, COLOR_LIGHTBLUE, "Os piratas estão tentando dominar o navio Titanic");
  267. }
  268. SendClientMessage(playerid, COLOR_LIGHTBLUE, "Você está dominando um territorios pra sua equipe, fique nele por 10 minutos.");
  269. GangZoneFlashForAll(GZCasarao,COR_GI); // COR_ROTA
  270. Dominando[playerid] = 1;
  271. ProvocoCasarao[playerid] = 1;
  272. GuerranoCasarao = 1;
  273. TempoGuerraCasarao = SetTimerEx("GuerraCasarao", 600000, 0, "i", playerid);
  274. return 1;
  275. }
  276. else
  277. {
  278. SendClientMessage(playerid, COLOR_GRAD3, "Você não está em nenhum território!");
  279. }
  280. }
  281.  
  282. // =================================================================================================================
  283. // Fim Marinha vs Piratas
  284. // =================================================================================================================
  285. // Traficantes vs Traficantes
  286. // =================================================================================================================
  287. // complexo
  288. if(PlayerInfo[playerid][pMembro] == 19 || PlayerInfo[playerid][pLider] == 19)
  289. {
  290. if(IsPlayerInPg(playerid))
  291. {
  292. if(Dominando[playerid] == 1)
  293. {
  294. SendClientMessage(playerid, COLOR_GRAD5, "Você ja está dominando um territorio.");
  295. return 1;
  296. }
  297. if(Guerranapg == 1)
  298. {
  299. SendClientMessage(playerid, COLOR_GRAD5, "Já está tendo uma guerra nesse territorio.");
  300. return 1;
  301. }
  302. if(PlayerInfo[playerid][pMembro] == 19 || PlayerInfo[playerid][pLider] == 19 || PlayerInfo[playerid][pMembro] == 20 || PlayerInfo[playerid][pLider] == 20 || PlayerInfo[playerid][pMembro] == 24 || PlayerInfo[playerid][pLider] == 24 || PlayerInfo[playerid][pMembro] == 25 || PlayerInfo[playerid][pLider] == 25)
  303. {
  304. SendClientMessage(playerid, COLOR_LIGHTBLUE, "Os traficantes do CV estão tentando dominar o Complexo do Alemão");
  305. PlayAudioStreamForPlayer(playerid,"https://www.dropbox.com/s/1y8q82d0scwu324/Mc%20Smith%20-mega%20opera%C3%A7%C3%A3o.MP3?dl=1");
  306. }
  307. SendClientMessage(playerid, COLOR_LIGHTBLUE, "Você está dominando um territorios pra sua equipe, fique nele por 10 minutos.");
  308. GangZoneFlashForAll(GZparkglen,COR_CV);
  309. Dominando[playerid] = 1;
  310. Provocopg[playerid] = 1;
  311. Guerranapg = 1;
  312. TempoGuerrapg = SetTimerEx("Guerrapg", 600000, 0, "i", playerid);
  313. return 1;
  314. }
  315. else
  316. {
  317. SendClientMessage(playerid, COLOR_GRAD3, "Você não está em nenhum território!");
  318. }
  319. }
  320.  
  321. if(PlayerInfo[playerid][pMembro] == 20 || PlayerInfo[playerid][pLider] == 20)
  322. {
  323. if(IsPlayerInPg(playerid))
  324. {
  325. if(Dominando[playerid] == 1)
  326. {
  327. SendClientMessage(playerid, COLOR_GRAD5, "Você ja está dominando um territorio.");
  328. return 1;
  329. }
  330. if(Guerranapg == 1)
  331. {
  332. SendClientMessage(playerid, COLOR_GRAD5, "Já está tendo uma guerra nesse territorio.");
  333. return 1;
  334. }
  335. if(PlayerInfo[playerid][pMembro] == 19 || PlayerInfo[playerid][pLider] == 19 || PlayerInfo[playerid][pMembro] == 20 || PlayerInfo[playerid][pLider] == 20 || PlayerInfo[playerid][pMembro] == 24 || PlayerInfo[playerid][pLider] == 24 || PlayerInfo[playerid][pMembro] == 25 || PlayerInfo[playerid][pLider] == 25)
  336. {
  337. SendClientMessage(playerid, COLOR_LIGHTBLUE, "Os traficantes do PCC estão tentando dominar o Complexo do Alemão");
  338. PlayAudioStreamForPlayer(playerid,"https://www.dropbox.com/s/1y8q82d0scwu324/Mc%20Smith%20-mega%20opera%C3%A7%C3%A3o.MP3?dl=1");
  339. }
  340. SendClientMessage(playerid, COLOR_LIGHTBLUE, "Você está dominando um territorios pra sua equipe, fique nele por 10 minutos.");
  341. GangZoneFlashForAll(GZparkglen,COR_PCC);
  342. Dominando[playerid] = 1;
  343. Provocopg[playerid] = 1;
  344. Guerranapg = 1;
  345. TempoGuerrapg = SetTimerEx("Guerrapg", 600000, 0, "i", playerid);
  346. return 1;
  347. }
  348. else
  349. {
  350. SendClientMessage(playerid, COLOR_GRAD3, "Você não está em nenhum território!");
  351. }
  352. }
  353.  
  354. if(PlayerInfo[playerid][pMembro] == 24 || PlayerInfo[playerid][pLider] == 24)
  355. {
  356. if(IsPlayerInPg(playerid))
  357. {
  358. if(Dominando[playerid] == 1)
  359. {
  360. SendClientMessage(playerid, COLOR_GRAD5, "Você ja está dominando um territorio.");
  361. return 1;
  362. }
  363. if(Guerranapg == 1)
  364. {
  365. SendClientMessage(playerid, COLOR_GRAD5, "Já está tendo uma guerra nesse territorio.");
  366. return 1;
  367. }
  368. if(PlayerInfo[playerid][pMembro] == 19 || PlayerInfo[playerid][pLider] == 19 || PlayerInfo[playerid][pMembro] == 20 || PlayerInfo[playerid][pLider] == 20 || PlayerInfo[playerid][pMembro] == 24 || PlayerInfo[playerid][pLider] == 24 || PlayerInfo[playerid][pMembro] == 25 || PlayerInfo[playerid][pLider] == 25)
  369. {
  370. SendClientMessage(playerid, COLOR_LIGHTBLUE, "Os traficantes do TCP estão tentando dominar o Complexo do Alemão");
  371. PlayAudioStreamForPlayer(playerid,"https://www.dropbox.com/s/1y8q82d0scwu324/Mc%20Smith%20-mega%20opera%C3%A7%C3%A3o.MP3?dl=1");
  372. }
  373. SendClientMessage(playerid, COLOR_LIGHTBLUE, "Você está dominando um territorios pra sua equipe, fique nele por 10 minutos.");
  374. GangZoneFlashForAll(GZparkglen,COR_TCP);
  375. Dominando[playerid] = 1;
  376. Provocopg[playerid] = 1;
  377. Guerranapg = 1;
  378. TempoGuerrapg = SetTimerEx("Guerrapg", 600000, 0, "i", playerid);
  379. return 1;
  380. }
  381. else
  382. {
  383. SendClientMessage(playerid, COLOR_GRAD3, "Você não está em nenhum território!");
  384. }
  385. }
  386.  
  387. if(PlayerInfo[playerid][pMembro] == 25 || PlayerInfo[playerid][pLider] == 25)
  388. {
  389. if(IsPlayerInPg(playerid))
  390. {
  391. if(Dominando[playerid] == 1)
  392. {
  393. SendClientMessage(playerid, COLOR_GRAD5, "Você ja está dominando um territorio.");
  394. return 1;
  395. }
  396. if(Guerranapg == 1)
  397. {
  398. SendClientMessage(playerid, COLOR_GRAD5, "Já está tendo uma guerra nesse territorio.");
  399. return 1;
  400. }
  401. if(PlayerInfo[playerid][pMembro] == 19 || PlayerInfo[playerid][pLider] == 19 || PlayerInfo[playerid][pMembro] == 20 || PlayerInfo[playerid][pLider] == 20 || PlayerInfo[playerid][pMembro] == 24 || PlayerInfo[playerid][pLider] == 24 || PlayerInfo[playerid][pMembro] == 25 || PlayerInfo[playerid][pLider] == 25)
  402. {
  403. SendClientMessage(playerid, COLOR_LIGHTBLUE, "Os traficantes do ADA estão tentando dominar o Complexo do Alemão");
  404. PlayAudioStreamForPlayer(playerid,"https://www.dropbox.com/s/1y8q82d0scwu324/Mc%20Smith%20-mega%20opera%C3%A7%C3%A3o.MP3?dl=1");
  405. }
  406. SendClientMessage(playerid, COLOR_LIGHTBLUE, "Você está dominando um territorios pra sua equipe, fique nele por 10 minutos.");
  407. GangZoneFlashForAll(GZparkglen,COR_ADA);
  408. Dominando[playerid] = 1;
  409. Provocopg[playerid] = 1;
  410. Guerranapg = 1;
  411. TempoGuerrapg = SetTimerEx("Guerrapg", 600000, 0, "i", playerid);
  412. return 1;
  413. }
  414. else
  415. {
  416. SendClientMessage(playerid, COLOR_GRAD3, "Você não está em nenhum território!");
  417. }
  418. }
  419.  
  420. // dendê
  421.  
  422. if(PlayerInfo[playerid][pMembro] == 19 || PlayerInfo[playerid][pLider] == 19)
  423. {
  424. if(IsPlayerInFavela(playerid))
  425. {
  426. if(Dominando[playerid] == 1)
  427. {
  428. SendClientMessage(playerid, COLOR_GRAD5, "Você ja está dominando um territorio.");
  429. return 1;
  430. }
  431. if(GuerranaFavela == 1)
  432. {
  433. SendClientMessage(playerid, COLOR_GRAD5, "Já está tendo uma guerra nesse territorio.");
  434. return 1;
  435. }
  436. if(PlayerInfo[playerid][pMembro] == 19 || PlayerInfo[playerid][pLider] == 19 || PlayerInfo[playerid][pMembro] == 20 || PlayerInfo[playerid][pLider] == 20 || PlayerInfo[playerid][pMembro] == 24 || PlayerInfo[playerid][pLider] == 24 || PlayerInfo[playerid][pMembro] == 25 || PlayerInfo[playerid][pLider] == 25)
  437. {
  438. SendClientMessage(playerid, COLOR_LIGHTBLUE, "Os traficantes do CV estão tentando dominar o Morro do Dendê");
  439. PlayAudioStreamForPlayer(playerid,"https://www.dropbox.com/s/s2yvhx3a5jxgj5l/Morro%20do%20Dend%C3%AA%20%28Rap%20das%20Armas%29%20-%20Cidinho%20e%20Doca.mp3?dl=1");
  440. }
  441. SendClientMessage(playerid, COLOR_LIGHTBLUE, "Você está dominando um territorios pra sua equipe, fique nele por 10 minutos.");
  442. GangZoneFlashForAll(GZFavela,COR_CV);
  443. Dominando[playerid] = 1;
  444. ProvocoFavela[playerid] = 19;
  445. GuerranaFavela = 1;
  446. TempoGuerraFavela = SetTimerEx("GuerraFavela", 6000, 0, "i", playerid); // + 2 0
  447. return 1;
  448. }
  449. else
  450. {
  451. SendClientMessage(playerid, COLOR_GRAD3, "Você não está em nenhum território!");
  452. }
  453. }
  454.  
  455. if(PlayerInfo[playerid][pMembro] == 20 || PlayerInfo[playerid][pLider] == 20)
  456. {
  457. if(IsPlayerInFavela(playerid))
  458. {
  459. if(Dominando[playerid] == 1)
  460. {
  461. SendClientMessage(playerid, COLOR_GRAD5, "Você ja está dominando um territorio.");
  462. return 1;
  463. }
  464. if(GuerranaFavela == 1)
  465. {
  466. SendClientMessage(playerid, COLOR_GRAD5, "Já está tendo uma guerra nesse territorio.");
  467. return 1;
  468. }
  469. if(PlayerInfo[playerid][pMembro] == 19 || PlayerInfo[playerid][pLider] == 19 || PlayerInfo[playerid][pMembro] == 20 || PlayerInfo[playerid][pLider] == 20 || PlayerInfo[playerid][pMembro] == 24 || PlayerInfo[playerid][pLider] == 24 || PlayerInfo[playerid][pMembro] == 25 || PlayerInfo[playerid][pLider] == 25)
  470. {
  471. SendClientMessage(playerid, COLOR_LIGHTBLUE, "Os traficantes do PCC estão tentando dominar o Morro do Dendê");
  472. PlayAudioStreamForPlayer(playerid,"https://www.dropbox.com/s/s2yvhx3a5jxgj5l/Morro%20do%20Dend%C3%AA%20%28Rap%20das%20Armas%29%20-%20Cidinho%20e%20Doca.mp3?dl=1");
  473. }
  474. SendClientMessage(playerid, COLOR_LIGHTBLUE, "Você está dominando um territorios pra sua equipe, fique nele por 10 minutos.");
  475. GangZoneFlashForAll(GZFavela,COR_PCC);
  476. Dominando[playerid] = 1;
  477. ProvocoFavela[playerid] = 1;
  478. GuerranaFavela = 1;
  479. TempoGuerraFavela = SetTimerEx("GuerraFavela", 600000, 0, "i", playerid);
  480. return 1;
  481. }
  482. else
  483. {
  484. SendClientMessage(playerid, COLOR_GRAD3, "Você não está em nenhum território!");
  485. }
  486. }
  487.  
  488. if(PlayerInfo[playerid][pMembro] == 24 || PlayerInfo[playerid][pLider] == 24)
  489. {
  490. if(IsPlayerInFavela(playerid))
  491. {
  492. if(Dominando[playerid] == 1)
  493. {
  494. SendClientMessage(playerid, COLOR_GRAD5, "Você ja está dominando um territorio.");
  495. return 1;
  496. }
  497. if(GuerranaFavela == 1)
  498. {
  499. SendClientMessage(playerid, COLOR_GRAD5, "Já está tendo uma guerra nesse territorio.");
  500. return 1;
  501. }
  502. if(PlayerInfo[playerid][pMembro] == 19 || PlayerInfo[playerid][pLider] == 19 || PlayerInfo[playerid][pMembro] == 20 || PlayerInfo[playerid][pLider] == 20 || PlayerInfo[playerid][pMembro] == 24 || PlayerInfo[playerid][pLider] == 24 || PlayerInfo[playerid][pMembro] == 25 || PlayerInfo[playerid][pLider] == 25)
  503. {
  504. SendClientMessage(playerid, COLOR_LIGHTBLUE, "Os traficantes do TCP estão tentando dominar o Morro do Dendê");
  505. PlayAudioStreamForPlayer(playerid,"https://www.dropbox.com/s/s2yvhx3a5jxgj5l/Morro%20do%20Dend%C3%AA%20%28Rap%20das%20Armas%29%20-%20Cidinho%20e%20Doca.mp3?dl=1");
  506. }
  507. SendClientMessage(playerid, COLOR_LIGHTBLUE, "Você está dominando um territorios pra sua equipe, fique nele por 10 minutos.");
  508. GangZoneFlashForAll(GZFavela,COR_TCP);
  509. Dominando[playerid] = 1;
  510. ProvocoFavela[playerid] = 1;
  511. GuerranaFavela = 1;
  512. TempoGuerraFavela = SetTimerEx("GuerraFavela", 600000, 0, "i", playerid);
  513. return 1;
  514. }
  515. else
  516. {
  517. SendClientMessage(playerid, COLOR_GRAD3, "Você não está em nenhum território!");
  518. }
  519. }
  520.  
  521. if(PlayerInfo[playerid][pMembro] == 25 || PlayerInfo[playerid][pLider] == 25)
  522. {
  523. if(IsPlayerInFavela(playerid))
  524. {
  525. if(Dominando[playerid] == 1)
  526. {
  527. SendClientMessage(playerid, COLOR_GRAD5, "Você ja está dominando um territorio.");
  528. return 1;
  529. }
  530. if(GuerranaFavela == 1)
  531. {
  532. SendClientMessage(playerid, COLOR_GRAD5, "Já está tendo uma guerra nesse territorio.");
  533. return 1;
  534. }
  535. if(PlayerInfo[playerid][pMembro] == 19 || PlayerInfo[playerid][pLider] == 19 || PlayerInfo[playerid][pMembro] == 20 || PlayerInfo[playerid][pLider] == 20 || PlayerInfo[playerid][pMembro] == 24 || PlayerInfo[playerid][pLider] == 24 || PlayerInfo[playerid][pMembro] == 25 || PlayerInfo[playerid][pLider] == 25)
  536. {
  537. SendClientMessage(playerid, COLOR_LIGHTBLUE, "Os traficantes do ADA estão tentando dominar o Morro do Dendê");
  538. PlayAudioStreamForPlayer(playerid,"https://www.dropbox.com/s/s2yvhx3a5jxgj5l/Morro%20do%20Dend%C3%AA%20%28Rap%20das%20Armas%29%20-%20Cidinho%20e%20Doca.mp3?dl=1");
  539. }
  540. SendClientMessage(playerid, COLOR_LIGHTBLUE, "Você está dominando um territorios pra sua equipe, fique nele por 10 minutos.");
  541. GangZoneFlashForAll(GZFavela,COR_ADA);
  542. Dominando[playerid] = 1;
  543. ProvocoFavela[playerid] = 1;
  544. GuerranaFavela = 1;
  545. TempoGuerraFavela = SetTimerEx("GuerraFavela", 600000, 0, "i", playerid);
  546. return 1;
  547. }
  548. else
  549. {
  550. SendClientMessage(playerid, COLOR_GRAD3, "Você não está em nenhum território!");
  551. }
  552. }
  553.  
  554. //===========================================================================================================================================================================================================
  555. return 1;
  556. //===========================================================================================================================================================================================================
Advertisement
Add Comment
Please, Sign In to add comment