Advertisement
elementsouza

ELement Mata-Mata

Aug 15th, 2011
16,480
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Clone C++ 159.64 KB | None | 0 0
  1. #include <a_samp>
  2. #include <cpstream>
  3. #include <Dini>
  4. #include <dudb>
  5.  
  6. #pragma dynamic 145000
  7. #pragma tabsize 0
  8. //PROGRMS USER
  9. #pragma unused ret_memcpy
  10. //defines
  11. #define SOUND_OFF                               1184
  12. #define CAR_AMOUNT 778 //
  13. #define CAR_RESPAW 777 // menos 1 do CAR_AMOUNT
  14.  
  15. #define COLOR_GREEN         0x33AA33AA //VERDE
  16. #define COLOR_DARKGREEN     0x006400 //VERDE ESCURO
  17. #define COLOR_YELLOW        0x88FF9FAA //AMARELO
  18. #define COLOR_PINK          0xFF66FFAA //ROSA
  19. #define COLOR_WHITE         0xFFFFFFAA //BRANCO
  20. #define COLOR_RED           0xAA3333AA //VERMELHO
  21. #define COLOR_DARKRED       0x660000AA //VERMELHO ESCURO
  22. #define COLOR_BLACK         0x00000000 //Preto
  23. #define COLOR_ORANGE        0xFF9900AA //Laranja
  24. #define COLOR_LEMON         0xB4FC0A96 //Verde Limao
  25. #define COR_AMARELOCLARO    0xFEEE66AA
  26. #define COLOR_RED           0xAA3333AA
  27. #define Verde               0x33AA33AA
  28. #define COR_BRANCO          0xFFFFFFAA
  29. #define COLOR_WHITE         0xFFFFFFAA
  30. #define vermelho            0xFF0000AA
  31. #define laranja             0xFFA500AA
  32. #define COLOR_GREEN         0x33AA33AA
  33. #define COLOR_YELLOW        0x88FF9FAA
  34. #define YELLOW              0x88FF9FAA
  35. #define HOMER               0xFF0000AA
  36. #define VERDE_OLIVA         0xADFF2FAA
  37. #define COLOR_GRAD1 0xB4B5B7FF
  38. #define COLOR_GRAD2 0xBFC0C2FF
  39. #define COLOR_GRAD3 0xCBCCCEFF
  40. #define COLOR_GRAD4 0xD8D8D8FF
  41. #define COLOR_GRAD5 0xE3E3E3FF
  42. #define COLOR_GRAD6 0xF0F0F0FF
  43. #define COLOR_GREY 0xAFAFAFAA
  44. #define COLOR_GREEN 0x33AA33AA
  45. #define COLOR_RED 0xAA3333AA
  46. #define COLOR_LIGHTRED 0xFF6347AA
  47. #define COLOR_LIGHTBLUE 0x33CCFFAA
  48. #define COLOR_LIGHTGREEN 0x9ACD32AA
  49. #define COLOR_YELLOW 0x88FF9FAA
  50. #define COLOR_YELLOW2 0xF5DEB3AA
  51. #define COLOR_WHITE 0xFFFFFFAA
  52. #define COLOR_FADE1 0xE6E6E6E6
  53. #define COLOR_FADE2 0xC8C8C8C8
  54. #define COLOR_FADE3 0xAAAAAAAA
  55. #define COLOR_FADE4 0x8C8C8C8C
  56. #define COLOR_FADE5 0x6E6E6E6E
  57. #define COLOR_PURPLE 0xC2A2DAAA
  58. #define COLOR_DBLUE 0x2641FEAA
  59. #define COLOR_ALLDEPT 0xFF8282AA
  60. #define COLOR_GMOB 0xF6000000
  61. #define COLOR_NEWS 0xFFA500AA
  62. #define COLOR_OOC 0xE0FFFFAA
  63. #define COLOR_REDRED       0xAA3333AA
  64.  
  65. #define MORTES          0x88FF9FAA
  66. #define TUNING      5
  67. #define nitro 1010
  68. #define rodawire 1081
  69. #define suspensao 1087
  70.  
  71. #define DIALOG_REGRAS 500
  72.  
  73. #define BRANCO 0xFFFFFFAA
  74. #define VERMELHO 0x88FF9FAA //0xFF0000AA
  75.  
  76. forward ZoneCheckpointChecker(playerid);
  77. forward SendMSG();
  78.  
  79. //FORWARDS//
  80. forward OlhaAeQuemTeMatou(playerid);
  81. forward UpperToLower(text[]);
  82. forward ABroadCast(COLOR,const string[],level);
  83. forward FinalizaX1(playerid);
  84. forward TimerDuelos(idduelo);
  85. forward CheckarTeam(playerid);
  86. forward PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z);
  87. //NEWS VARIAVEIS//
  88. new gPlayerLogged[MAX_PLAYERS];
  89. new gPlayerLogTries[MAX_PLAYERS];
  90. new kitsops[MAX_PLAYERS];
  91. new granastatus[MAX_PLAYERS];
  92. new Visitors;
  93. new bounty[MAX_PLAYERS];
  94.  
  95. new Text:Textdraw0;
  96. new Text:Textdraw2;
  97.  
  98. new EmGuerra[MAX_PLAYERS];
  99. new hourtwohaha, minutetwohaha;
  100.  
  101. new Text:HealthBar[MAX_PLAYERS];
  102. new Text:ArmourBar[MAX_PLAYERS];
  103. new Text:VehHealthBar[MAX_PLAYERS];
  104. new Text:VehHealthBox1[MAX_PLAYERS];
  105. new Text:VehHealthBox3[MAX_PLAYERS];
  106. new Text:VehHealthBox2[MAX_PLAYERS];
  107.  
  108. new aVehicleNames[212][] =
  109. {
  110.         {"Landstalker"},{"Bravura"},{"Buffalo"},{"Linerunner"},{"Perrenial"},
  111.         {"Sentinel"},{"Dumper"},{"Firetruck"},{"Trashmaster"},{"Stretch"},
  112.         {"Manana"},{"Infernus"},{"Voodoo"},{"Pony"},{"Mule"},{"Cheetah"},
  113.         {"Ambulance"},{"Leviathan"},{"Moonbeam"},{"Esperanto"},{"Taxi"},
  114.         {"Washington"},{"Bobcat"},{"Mr Whoopee"},{"BF Injection"},{"Hunter"},
  115.         {"Premier"},{"Enforcer"},{"Securicar"},{"Banshee"},{"Predator"},
  116.         {"Bus"},{"Rhino"},{"Barracks"},{"Hotknife"},{"Trailer 1"},{"Previon"},
  117.         {"Coach"},{"Cabbie"},{"Stallion"},{"Rumpo"},{"RC Bandit"},{"Romero"},
  118.         {"Packer"},{"Monster"},{"Admiral"},{"Squalo"},{"Seasparrow"},{"Pizzaboy"},
  119.         {"Tram"},{"Trailer 2"},{"Turismo"},{"Speeder"},{"Reefer"},{"Tropic"},
  120.         {"Flatbed"},{"Yankee"},{"Caddy"},{"Solair"},{"Berkley's RC Van"},{"Skimmer"},
  121.         {"PCJ-600"},{"Faggio"},{"Freeway"},{"RC Baron"},{"RC Raider"},{"Glendale"},
  122.         {"Oceanic"},{"Sanchez"},{"Sparrow"},{"Patriot"},{"Quad"},{"Coastguard"},
  123.         {"Dinghy"},{"Hermes"},{"Sabre"},{"Rustler"},{"ZR-350"},{"Walton"},{"Regina"},
  124.         {"Comet"},{"BMX"},{"Burrito"},{"Camper"},{"Marquis"},{"Baggage"},{"Dozer"},
  125.         {"Maverick"},{"News Chopper"},{"Rancher"},{"FBI Rancher"},{"Virgo"},{"Greenwood"},
  126.         {"Jetmax"},{"Hotring"},{"Sandking"},{"Blista Compact"},{"Police Maverick"},{"Boxville"},
  127.         {"Benson"},{"Mesa"},{"RC Goblin"},{"Hotring Racer A"},{"Hotring Racer B"},{"Bloodring Banger"},
  128.         {"Rancher"},{"Super GT"},{"Elegant"},{"Journey"},{"Bike"},{"Mountain Bike"},{"Beagle"},
  129.         {"Cropdust"},{"Stunt"},{"Tanker"},{"Roadtrain"},{"Nebula"},{"Majestic"},{"Buccaneer"},
  130.         {"Shamal"},{"Hydra"},{"FCR-900"},{"NRG-500"},{"HPV1000"},{"Cement Truck"},{"Tow Truck"},
  131.         {"Fortune"},{"Cadrona"},{"FBI Truck"},{"Willard"},{"Forklift"},{"Tractor"},{"Combine"},
  132.         {"Feltzer"},{"Remington"},{"Slamvan"},{"Blade"},{"Freight"},{"Streak"},{"Vortex"},
  133.         {"Vincent"},{"Bullet"},{"Clover"},{"Sadler"},{"Firetruck LA"},{"Hustler"},{"Intruder"},
  134.         {"Primo"},{"Cargobob"},{"Tampa"},{"Sunrise"},{"Merit"},{"Utility"},{"Nevada"},{"Yosemite"},
  135.         {"Windsor"},{"Monster A"},{"Monster B"},{"Uranus"},{"Jester"},{"Sultan"},{"Stratum"},{"Elegy"},
  136.         {"Raindance"},{"RC Tiger"},{"Flash"},{"Tahoma"},{"Savanna"},{"Bandito"},{"Freight Flat"},
  137.         {"Streak Carriage"},{"Kart"},{"Mower"},{"Duneride"},{"Sweeper"},{"Broadway"},{"Tornado"},
  138.         {"AT-400"},{"DFT-30"},{"Huntley"},{"Stafford"},{"BF-400"},{"Newsvan"},{"Tug"},{"Trailer 3"},
  139.         {"Emperor"},{"Wayfarer"},{"Euros"},{"Hotdog"},{"Club"},{"Freight Carriage"},{"Trailer 3"},
  140.         {"Andromada"},{"Dodo"},{"RC Cam"},{"Launch"},{"Police Car (LSPD)"},{"Police Car (SFPD)"},
  141.         {"Police Car (LVPD)"},{"Police Ranger"},{"Picador"},{"S.W.A.T. Van"},{"Alpha"},{"Phoenix"},
  142.         {"Glendale"},{"Sadler"},{"Luggage Trailer A"},{"Luggage Trailer B"},{"Stair Trailer"},
  143.         {"Boxville"},{"Farm Plow"},{"Utility Trailer"}
  144. };
  145.  
  146. //new Text:InfoText[MAX_PLAYERS];
  147.  
  148. enum pInfo
  149. {
  150.     pSematou,
  151.     pMatou,
  152.     pMorreu,
  153.     pDominou,
  154.     pTeamkill,
  155.     pGrana,
  156.     Ganhoux1,
  157.     Perdeux1,
  158. };
  159. new PlayerInfo[MAX_PLAYERS][pInfo];
  160.  
  161. #define SLOTS 500
  162.  
  163. new
  164. bool:TopFoi[SLOTS],
  165. Valor_Maximo[10] = -1,
  166. PlayerMelhor[10][24],
  167. Percorrido
  168. ;
  169.  
  170. new EmDuelo[MAX_PLAYERS];
  171. new pLocal[MAX_PLAYERS];
  172. new JaPegouaGrana[MAX_PLAYERS];
  173. new Duelos01,Duelos02,Duelos03,Duelos04,Duelos05,Duelos06,Duelos07,Duelos08,Duelos09,Duelos10,DuelosTimer01,DuelosTimer02,DuelosTimer03,DuelosTimer04,DuelosTimer05,DuelosTimer06,DuelosTimer07,DuelosTimer08,DuelosTimer09,DuelosTimer10;
  174. //ENUMS//
  175. new olhamane[MAX_PLAYERS];
  176. new gangteam[MAX_PLAYERS];
  177. new ccolete[MAX_PLAYERS];
  178. new steleporte[MAX_PLAYERS];
  179. new status[MAX_PLAYERS];
  180. new psht[MAX_PLAYERS];
  181. new pgangnames[][] =
  182. {
  183.     {"GATE"},
  184.     {"Militares"},
  185.     {"Playboys"},
  186.     {"Noias"},
  187.     {"Frangos"},
  188.     {"Agentes"},
  189.     {"Chineses"},
  190.     {"Cowboys"},
  191.     {"Bozo James"},
  192.     {"Grove"},
  193.     {"Ballas"}
  194. };
  195. new pgang[MAX_PLAYERS][17];
  196.  
  197. new Float:GuerraSpawns[40][3] = {
  198. {573.4139,4607.2139,21.6480},
  199. {575.7386,4597.7896,21.6480},
  200. {576.3082,4590.2427,21.6480},
  201. {565.7062,4590.7275,21.6480},
  202. {565.6855,4598.1538,21.6480},
  203. {565.9920,4607.9946,21.6480},
  204. {556.0736,4608.7573,21.6480},
  205. {554.9137,4601.2588,21.6480},
  206. {554.3077,4590.0415,21.6480},
  207. {546.2741,4590.6714,21.6480},
  208. {545.0977,4597.8213,21.6480},
  209. {545.0996,4609.9375,21.6480},
  210. {545.4731,4619.3789,21.6480},
  211. {545.7715,4626.9175,21.6480},
  212. {546.0812,4634.7441,21.6480},
  213. {539.1281,4636.6572,21.6480},
  214. {538.7307,4629.2383,21.6480},
  215. {538.8730,4620.1553,21.6480},
  216. {538.9857,4611.9404,21.6480},
  217. {539.1260,4601.7139,21.6480},
  218. {1126.9071,4592.0732,21.6480},
  219. {1126.3726,4599.7231,21.6480},
  220. {1125.9977,4606.7896,21.6480},
  221. {1132.4287,4607.1709,21.6480},
  222. {1132.6713,4600.9399,21.6480},
  223. {1132.7252,4594.3042,21.6480},
  224. {1143.1245,4592.9712,21.6480},
  225. {1142.7380,4601.2544,21.6480},
  226. {1141.5248,4609.0913,21.6480},
  227. {1140.1703,4616.4092,21.6480},
  228. {1138.9369,4622.6333,21.6480},
  229. {1137.8407,4628.1680,21.6480},
  230. {1144.3159,4629.4106,21.6480},
  231. {1144.4573,4622.4238,21.6480},
  232. {1144.3335,4615.4092,21.6480},
  233. {1144.2787,4609.1318,21.6480},
  234. {1144.2294,4603.5293,21.6480},
  235. {1144.1591,4595.4023,21.6480},
  236. {1151.9989,4594.6318,21.6480},
  237. {1153.5880,4608.5044,21.6480}
  238. };
  239. #define RONALDO_LOL 432
  240. new TimerFDP;
  241. forward FDP(playerid);
  242. new IP[432][] =
  243. {
  244. ":7798",
  245. ":7777",
  246. ":7778",
  247. ":7776",
  248. ":7775",
  249. ":7774",
  250. ":7773",
  251. ":7772",
  252. ":7771",
  253. ":7770",
  254. ":5555",
  255. ":8888",
  256. ":8090",
  257. ":6969",
  258. ":7780",
  259. ":7781",
  260. ":7782",
  261. ":7783",
  262. ":7784",
  263. ":7785",
  264. ":7786",
  265. ":7787",
  266. ":7788",
  267. ":7789",
  268. ":7790",
  269. ":7791",
  270. ":7792",
  271. ":7793",
  272. ":7794",
  273. ":7795",
  274. ":7796",
  275. ":7797",
  276. ":7798",
  277. ":7799",
  278. ":7800",
  279. "127.",
  280. "189.",
  281. "188.",
  282. "198.",
  283. "199.",
  284. "171.",
  285. "211.",
  286. "64.",
  287. "66.",
  288. "68.",
  289. "67.",
  290. "65.",
  291. "183.",
  292. "187.",
  293. "201.",
  294. "211.",
  295. "200.",
  296. "141.",
  297. "217.",
  298. "213.",
  299. "80.",
  300. "8080.",
  301. "127 .",
  302. "189 .",
  303. "188 .",
  304. "198 .",
  305. "199 .",
  306. "171 .",
  307. "211 .",
  308. "64 .",
  309. "66 .",
  310. "68 .",
  311. "67 .",
  312. "65 .",
  313. "183 .",
  314. "187 .",
  315. "201 .",
  316. "211 .",
  317. "200 .",
  318. "141 .",
  319. "217 .",
  320. "213 .",
  321. "80 .",
  322. "8080 .",
  323. "189.1.169",
  324. "35:7777",
  325. "1.169.35",
  326. "189.1",
  327. "88",
  328. "77",
  329. "7777",
  330. "7 7",
  331. "8 8",
  332. "189.1.169.35:7777",
  333. "200.",
  334. "200 .",
  335. "189.",
  336. "189 .",
  337. "201.",
  338. "201 .",
  339. "200.1",
  340. "200.1",
  341. "200 . 1",
  342. "200. 1",
  343. "200 .1",
  344. "201.1",
  345. "201 . 1",
  346. "201. 1",
  347. "201 .1",
  348. "208.1",
  349. "208. 1",
  350. "208 .1",
  351. "208 . 1",
  352. "69.1",
  353. "69. 1",
  354. "69 . 1",
  355. "69 .1",
  356. "189.1",
  357. "189. 1",
  358. "189 .1",
  359. "189 . 1",
  360. "66.7",
  361. "66. 7",
  362. "66 .7",
  363. "66 . 7",
  364. "177.1",
  365. "177. 1",
  366. "177 .1",
  367. "177 . 1",
  368. "109 .",
  369. "115 .",
  370. "119 .",
  371. "128 .",
  372. "133 .",
  373. "140 .",
  374. "149 .",
  375. "65 .",
  376. "32 .",
  377. "66 .",
  378. ":3127",
  379. "150 .",
  380. "156 .",
  381. "167 .",
  382. "173 .",
  383. "174 .",
  384. "184 .",
  385. "187 .",
  386. "189 .",
  387. "193 .",
  388. "195 .",
  389. "198 .",
  390. "199 .",
  391. "200 .",
  392. "201 .",
  393. "202 .",
  394. "203 .",
  395. "204 .",
  396. "205 .",
  397. "206 .",
  398. "209 .",
  399. "210 .",
  400. "212 .",
  401. "213 .",
  402. "218 .",
  403. "219 .",
  404. "41 .",
  405. "46 .",
  406. "58 .",
  407. "59 .",
  408. "61 .",
  409. "70 .",
  410. "72 .",
  411. "75 .",
  412. "77 .",
  413. "78 .",
  414. "79 .",
  415. "80 .",
  416. "83 .",
  417. "84 .",
  418. "85 .",
  419. "87 .",
  420. "92 .",
  421. "94 .",
  422. "95 .",
  423. "98 .",
  424. "99 .",
  425. "124 .",
  426. "256 .",
  427. "512 .",
  428. "102 .",
  429. ":3128",
  430. "211 .",
  431. "194 .",
  432. "202 .",
  433. "146 .",
  434. "169 .",
  435. "195 .",
  436. "152 .",
  437. "222 .",
  438. "83 .",
  439. "221 .",
  440. "211 .",
  441. "134 .",
  442. "110 .",
  443. "8 .",
  444. "164 .",
  445. "109-",
  446. "115-",
  447. "119-",
  448. "128-",
  449. "133-",
  450. "140-",
  451. "149-",
  452. "65-",
  453. "32-",
  454. "66-",
  455. ":3127",
  456. "150-",
  457. "156-",
  458. "167-",
  459. "173-",
  460. "174-",
  461. "184-",
  462. "187-",
  463. "189-",
  464. "193-",
  465. "195-",
  466. "198-",
  467. "199-",
  468. "200-",
  469. "201-",
  470. "202-",
  471. "203-",
  472. "204-",
  473. "205-",
  474. "206-",
  475. "209-",
  476. "210-",
  477. "212-",
  478. "213-",
  479. "218-",
  480. "219-",
  481. "41-",
  482. "46-",
  483. "58-",
  484. "59-",
  485. "61-",
  486. "70-",
  487. "72-",
  488. "75-",
  489. "77-",
  490. "78-",
  491. "79-",
  492. "80-",
  493. "83-",
  494. "84-",
  495. "85-",
  496. "87-",
  497. "92-",
  498. "94-",
  499. "95-",
  500. "98-",
  501. "99-",
  502. "124-",
  503. "256-",
  504. "512-",
  505. "102-",
  506. ":3128",
  507. "211-",
  508. "194-",
  509. "202-",
  510. "146-",
  511. "169-",
  512. "195-",
  513. "152-",
  514. "222-",
  515. "83-",
  516. "221-",
  517. "211-",
  518. "134-",
  519. "110-",
  520. "8-",
  521. "164-",
  522. "109.",
  523. "115.",
  524. "119.",
  525. "128.",
  526. "133.",
  527. "140.",
  528. "149.",
  529. "65.",
  530. "32.",
  531. "66.",
  532. ":3127",
  533. "150.",
  534. "156.",
  535. "167.",
  536. "173.",
  537. "174.",
  538. "184.",
  539. "187.",
  540. "189.",
  541. "193.",
  542. "195.",
  543. "198.",
  544. "199.",
  545. "200.",
  546. "201.",
  547. "202.",
  548. "203.",
  549. "204.",
  550. "205.",
  551. "206.",
  552. "209.",
  553. "210.",
  554. "212.",
  555. "213.",
  556. "218.",
  557. "219.",
  558. "41.",
  559. "46.",
  560. "58.",
  561. "59.",
  562. "61.",
  563. "70.",
  564. "72.",
  565. "75.",
  566. "77.",
  567. "78.",
  568. "79.",
  569. "80.",
  570. "83.",
  571. "84.",
  572. "85.",
  573. "87.",
  574. "92.",
  575. "94.",
  576. "95.",
  577. "98.",
  578. "99.",
  579. "124.",
  580. "256.",
  581. "512.",
  582. "102.",
  583. ":3128",
  584. "211.",
  585. "194.",
  586. "202.",
  587. "146.",
  588. "169.",
  589. "195.",
  590. "152.",
  591. "222.",
  592. "83.",
  593. "221.",
  594. "211.",
  595. "134.",
  596. "110.",
  597. "8.",
  598. "164.",
  599. "109  .",
  600. "115  .",
  601. "119  .",
  602. "128  .",
  603. "133  .",
  604. "140  .",
  605. "149  .",
  606. "65  .",
  607. "32  .",
  608. "66  .",
  609. ":3127",
  610. "150  .",
  611. "156  .",
  612. "167  .",
  613. "173  .",
  614. "174  .",
  615. "184  .",
  616. "187  .",
  617. "189  .",
  618. "193  .",
  619. "195  .",
  620. "198  .",
  621. "199  .",
  622. "200  .",
  623. "201  .",
  624. "202  .",
  625. "203  .",
  626. "204  .",
  627. "205  .",
  628. "206  .",
  629. "209  .",
  630. "210  .",
  631. "212  .",
  632. "213  .",
  633. "218  .",
  634. "219  .",
  635. "41  .",
  636. "46  .",
  637. "58  .",
  638. "59  .",
  639. "61  .",
  640. "70  .",
  641. "72  .",
  642. "75  .",
  643. "77  .",
  644. "78  .",
  645. "79  .",
  646. "80  .",
  647. "83  .",
  648. "84  .",
  649. "85  .",
  650. "87  .",
  651. "92  .",
  652. "94  .",
  653. "95  .",
  654. "98  .",
  655. "99  .",
  656. "124  .",
  657. "256  .",
  658. "512  .",
  659. "102  .",
  660. ":3128",
  661. "211  .",
  662. "194  .",
  663. "202  .",
  664. "146  .",
  665. "169  .",
  666. "195  .",
  667. "152  .",
  668. "222  .",
  669. "83  .",
  670. "221  .",
  671. "211  .",
  672. "134  .",
  673. "110  .",
  674. "8  .",
  675. "164  ."
  676. };
  677. new RandomColors [] =
  678. {
  679.     0xFF9900AA,0x0000BBAA,0xAA3333AA,0x1E90FFAA,0xFF0000AA,0x778899AA,0xFF66FFAA,0x8B4513AA,0x33AA33AA,0x800080AA,0x0D5800AA
  680. };
  681. new RandomMSG[][] =
  682. {
  683.     "|  USE /REPORT [ID] [MOTIVO] PARA DENUNCIAR ALGUEM DE CHEATER OU FAZENDO COISAS ILEGAIS.",
  684.     "|  ALGUMA COISA BUGOU ? /SYNC",
  685.     "|  NÃO FAÇA CONTRA-REGRAS OU SEJA NAO FAÇA OQUE É PROIBIDO NO SERVER .",
  686.     "|  NÃO USE HYDRA RHINO SEASPARROW PARA MATAR EM LOCAIS DE SPAWN",
  687.     "|  ALGUNS COMANDOS ESSENCIAIS DO SERVIDOR /ADMINS /COMANDOS /AJUDA /PAGOPOR /RECOMPENSAS /ANIMES.",
  688.     "|  USE /Rank PAR VER O Top 10 DOS MELHORES PLAYERS ONLINE.",
  689.     "|  QUER SABER AS HORAS ? USE /HORAS.",
  690.     "|  QUER SABER QUANTAS PESSOAS JA VISITARAO O SERVER? /VISITAS.",
  691.     "|  NÃO BRINQUE COM /REPORT ISSO PODE TE LEVAR A UM BANIMENTO.",
  692.     "|  NÃO USE HYDRA RHINO SEASPARROW PARA MATAR EM LOCAIS DE SPAWN",
  693.     "|  NOVO SISTEMA DE DUELOS /X1.",
  694.     "|  USE /Rank PAR VER O Top 10 DOS MELHORES PLAYERS ONLINE.",
  695.     "|  NÃO USE HYDRA RHINO SEASPARROW PARA MATAR EM LOCAIS DE SPAWN",
  696.     "|  NESTE SERVIDOR NÃO EXISTE REGRAS ANTI SPAWN-KILL.",
  697.     "|  OQUE TEM DE NOVO NO SERVIDOR? /NOVIDADES.",
  698.     "|  QUER SABER QUANTAS PESSOAS JA VISITARAO O SERVER? /VISITAS.",
  699.     "|  QUER SABER QUANTAS PESSOAS JA VISITARAO O SERVER? /VISITAS.",
  700.     "|  NÃO USE HYDRA RHINO SEASPARROW PARA MATAR EM LOCAIS DE SPAWN",
  701.     "|  USE /Rank PAR VER O Top 10 DOS MELHORES PLAYERS ONLINE.",
  702.     "|  QUER SABER QUANTAS PESSOAS JA VISITARAO O SERVER? /VISITAS.",
  703.     "|  NÃO USE HYDRA RHINO SEASPARROW PARA MATAR EM LOCAIS DE SPAWN",
  704.     "|  NÃO TENTE LOGAR NA RCON OU CASO CONTRARIO SERÁ BANIDO PELO ADMIN - BOT."
  705. };
  706.  
  707.  
  708. new gzcolor[12] =
  709. {
  710. 0xFF9900AA,0x0000BBAA,0xAA3333AA,0x1E90FFAA,0xFF0000AA,0x778899AA,0xFF66FFAA,0x8B4513AA,0x33AA33AA,0x0D5800AA,0x800080AA
  711. };
  712. new gzcolorteam[12] =
  713. {
  714. 0xFF9900AA,0x0000BBAA,0xAA3333AA,0x1E90FFAA,0xFF0000AA,0x778899AA,0xFF66FFAA,0x8B4513AA,0x33AA33AA,0x0D5800AA,0x800080AA
  715. };
  716. new cpzone[MAX_PLAYERS][12];
  717. new lastcp[MAX_PLAYERS];
  718. new Gate;
  719. new Militares;
  720. new Playboys;
  721. new Noias;
  722. new Frangos;
  723. new Agentes;
  724. new Chineses;
  725. new Cowboys;
  726. new Bozo;
  727. new Grove;
  728. new Ballas;
  729. new cpgate,cpmilitares,cpplayboys,cpnoias,cpfrangos,cpagentes,cpchineses,cpcowboys,cpbozo,cpgrove,cpballas;
  730.  
  731. new Menu:DUELOSTIPOX1;
  732. new Dominat[MAX_PLAYERS];
  733. new Matando[MAX_PLAYERS];
  734.  
  735. stock GetPlayerName2(playerid)
  736. {
  737.     new thename[MAX_PLAYER_NAME];
  738.     GetPlayerName(playerid, thename, MAX_PLAYER_NAME);
  739.     return thename;
  740. }
  741. main()
  742. {
  743.         print("San Fierro - Team Death Match ");
  744. }
  745.  
  746. public OnGameModeInit()
  747. {
  748.     SetTimer("ZoneCheckpointChecker", 1000, 1);
  749.     SetGameModeText("BRASIL ELEMENT TDM");
  750.     SetTimer("SendMSG", 300000, true);
  751.     SetTimer("CheckarTeam", 1000, true);
  752.     SetTimer("AtualizarBars",1000,true);
  753.     if(!fexist("sematou.dkn")) dini_Create("sematou.dkn");
  754.     if(!fexist("matou.dkn")) dini_Create("matou.dkn");
  755.     if(!fexist("morreu.dkn")) dini_Create("morreu.dkn");
  756.     if(!fexist("dominou.dkn")) dini_Create("dominou.dkn");
  757.     if(!fexist("tk.dkn")) dini_Create("tk.dkn");
  758.     if(!fexist("dinheiro.ini")) dini_Create("dinheiro.ini");
  759.     if(!fexist("scores.ini")) dini_Create("scores.ini");
  760.     if(!fexist("Ganhoux1.ini")) dini_Create("Ganhoux1.ini");
  761.     if(!fexist("Perdeux1.ini")) dini_Create("Perdeux1.ini");
  762.  
  763.     Duelos01 = 0;
  764.     Duelos02 = 0;
  765.     Duelos03 = 0;
  766.     Duelos04 = 0;
  767.     Duelos05 = 0;
  768.     Duelos06 = 0;
  769.     Duelos07 = 0;
  770.     Duelos08 = 0;
  771.     Duelos09 = 0;
  772.     Duelos10 = 0;
  773.    
  774.     DuelosTimer01 = -1;
  775.     DuelosTimer02 = -1;
  776.     DuelosTimer03 = -1;
  777.     DuelosTimer04 = -1;
  778.     DuelosTimer05 = -1;
  779.     DuelosTimer06 = -1;
  780.     DuelosTimer07 = -1;
  781.     DuelosTimer08 = -1;
  782.     DuelosTimer09 = -1;
  783.     DuelosTimer10 = -1;
  784.  
  785.     //skin
  786.     AddPlayerClass(285,-1615.0461,681.2841,7.1875,176.7815,0,0,0,0,0,0); //Gate
  787.     AddPlayerClass(287,-1323.7145,498.9360,11.1953,179.9288,0,0,0,0,0,0); // Militares
  788.  
  789.     AddPlayerClass(93,-2695.0476,931.9020,67.2025,179.1115,0,0,0,0,0,0); //playboys
  790.     AddPlayerClass(124,-2695.0476,931.9020,67.2025,179.1115,0,0,0,0,0,0); //playboys
  791.  
  792.     AddPlayerClass(29,-2126.3118,239.9344,37.3501,281.7839,0,0,0,0,0,0); //noias
  793.     AddPlayerClass(195,-2126.3118,239.9344,37.3501,281.7839,0,0,0,0,0,0); //noias
  794.  
  795.     AddPlayerClass(167,-2658.8113,261.0943,4.6328,177.5265,0,0,0,0,0,0); // frangos
  796.  
  797.     AddPlayerClass(163,-1821.6117,1052.7548,46.0781,1.8259,0,0,0,0,0,0); // agentes
  798.     AddPlayerClass(141,-1821.6117,1052.7548,46.0781,1.8259,0,0,0,0,0,0); // agentes
  799.  
  800.     AddPlayerClass(169,-2181.8726,714.4974,53.8916,185.6942,0,0,0,0,0,0); //chineses
  801.     AddPlayerClass(123,-2181.8726,714.4974,53.8916,185.6942,0,0,0,0,0,0); //chineses
  802.  
  803.     AddPlayerClass(162, -688.0751,945.8761,13.0313,354.2151, 0, 0, 0, 0, 0, 0);//CowBoys
  804.  
  805.     AddPlayerClass(264, -770.2401,1437.2617,13.7891,90.7640, 0, 0, 0, 0, 0, 0);//Bozo
  806.  
  807.     AddPlayerClass(271,-2626.1108,1403.1508,7.1016,171.4507,0,0,0,0,0,0); //grove
  808.     AddPlayerClass(269,-2626.1108,1403.1508,7.1016,171.4507,0,0,0,0,0,0); //grove
  809.     AddPlayerClass(270,-2626.1108,1403.1508,7.1016,171.4507,0,0,0,0,0,0); //grove
  810.  
  811.     AddPlayerClass(102,-2649.3235,-282.9137,7.4721,136.9855,0,0,0,0,0,0); //ballas
  812.     AddPlayerClass(103,-2649.3235,-282.9137,7.4721,136.9855,0,0,0,0,0,0); //ballas
  813.     AddPlayerClass(104,-2649.3235,-282.9137,7.4721,136.9855,0,0,0,0,0,0); //ballas
  814.  
  815.  
  816.  
  817.     cpgate = CPS_AddCheckpoint(-1615.7535,685.7505,7.1875,2.0,80);
  818.     cpmilitares = CPS_AddCheckpoint(-1351.1074,515.5889,16.5876,2.0,80);
  819.     cpplayboys= CPS_AddCheckpoint(-2694.5210,912.4298,67.5938,2.0,80);
  820.     cpnoias = CPS_AddCheckpoint(-2090.8916,297.4237,40.8177,2.0,80);
  821.     cpfrangos = CPS_AddCheckpoint(-2695.4707,260.2946,4.6328,2.0,80);
  822.     cpagentes = CPS_AddCheckpoint(-1832.6652,1040.3713,46.0883,2.0,80);
  823.     cpchineses = CPS_AddCheckpoint(-2174.1094,632.4207,49.4375,2.0,80);
  824.     cpcowboys = CPS_AddCheckpoint(-683.1976,966.0278,12.1328,2.0,80);
  825.     cpbozo = CPS_AddCheckpoint(-831.4510,1452.8712,14.1682,2.0,80);
  826.     cpgrove = CPS_AddCheckpoint(-2660.0808,1446.0090,41.8359,2.0,80);
  827.     cpballas = CPS_AddCheckpoint(-2648.2065,-317.0257,7.1719,2.0,80);
  828.  
  829.     Gate = GangZoneCreate(-1715.604980, 579.530151, -1451.604980, 803.530151);
  830.     Militares = GangZoneCreate(-1571.748413, 260.257446, -1219.748413, 540.257446);
  831.     Playboys = GangZoneCreate(-2740.049560, 714.755249, -2524.049560, 1002.755249);
  832.     Noias = GangZoneCreate(-2243.332275, 114.842910, -2003.332275, 314.842895);
  833.     Frangos = GangZoneCreate(-2804.965087, 171.829284, -2604.965087, 467.829284);
  834.     Agentes = GangZoneCreate(-1911.324584, 853.239257, -1767.324584, 1181.239257);
  835.     Chineses = GangZoneCreate(-2372.718505, 570.751464, -2084.718505, 802.751464);
  836.     Cowboys = GangZoneCreate(-872.041381, 762.208435, -512.041381, 1122.208496);
  837.     Bozo = GangZoneCreate(-980.824890, 1257.298583, -580.824890, 1617.298583);
  838.     Grove = GangZoneCreate(-2811.375488, 1172.196899, -2539.375488, 1508.196899);
  839.     Ballas = GangZoneCreate(-2812.130371, -425.361907, -2524.130371, -217.361907);
  840.  
  841.     DUELOSTIPOX1 = CreateMenu("X1", 2, 150, 150, 150, 150); // X1
  842.     SetMenuColumnHeader(DUELOSTIPOX1, 0, "Arma primaria:"); SetMenuColumnHeader(DUELOSTIPOX1, 1, "Arma secundaria:");
  843.     AddMenuItem(DUELOSTIPOX1, 0, "Tec9");               AddMenuItem(DUELOSTIPOX1, 1, "Sawn-Off");           // DUELO 1
  844.     AddMenuItem(DUELOSTIPOX1, 0, "Micro Uzi");          AddMenuItem(DUELOSTIPOX1, 1, "Sawn-Off");           // DUELO 2
  845.     AddMenuItem(DUELOSTIPOX1, 0, "Desert Eagle");       AddMenuItem(DUELOSTIPOX1, 1, "Sawn-Off");           // DUELO 3
  846.     AddMenuItem(DUELOSTIPOX1, 0, "Desert Eagle");       AddMenuItem(DUELOSTIPOX1, 1, "Micro Uzi");          // DUELO 4
  847.     AddMenuItem(DUELOSTIPOX1, 0, "Spray");              AddMenuItem(DUELOSTIPOX1, 1, "SMG MP5");            // DUELO 5
  848.     AddMenuItem(DUELOSTIPOX1, 0, "Extintor");           AddMenuItem(DUELOSTIPOX1, 1, "Country Rifle");      // DUELO 6
  849.     AddMenuItem(DUELOSTIPOX1, 0, "M4");                 AddMenuItem(DUELOSTIPOX1, 1, "Sniper");         // DUELO 7
  850.     AddMenuItem(DUELOSTIPOX1, 0, "AK47");               AddMenuItem(DUELOSTIPOX1, 1, "Granada");            // DUELO 8
  851.     AddMenuItem(DUELOSTIPOX1, 0, "Desert Eagle");       AddMenuItem(DUELOSTIPOX1, 1, "Sniper");         // DUELO 9
  852.     AddMenuItem(DUELOSTIPOX1, 0, "Desert Eagle");       AddMenuItem(DUELOSTIPOX1, 1, "Combat Shotgun"); // DUELO 10
  853.  
  854.     AddStaticVehicleEx(493,-1439.80541992,1506.43725586,0.00000000,0.00000000,86,-1,15); //Jetmax
  855.     AddStaticVehicleEx(493,-1433.55468750,1506.38769531,0.00000000,0.00000000,86,-1,15); //Jetmax
  856.     AddStaticVehicleEx(493,-1426.30468750,1506.33105469,0.00000000,0.00000000,86,-1,15); //Jetmax
  857.     AddStaticVehicleEx(493,-1419.30468750,1506.27636719,0.00000000,0.00000000,86,-1,15); //Jetmax
  858.     AddStaticVehicleEx(487,-1461.30603027,1491.65710449,8.52281284,0.00000000,-1,86,15); //Maverick
  859.     AddStaticVehicleEx(447,-1434.62341309,1483.40356445,11.90840912,0.00000000,-1,-1,15); //Seasparrow
  860.     AddStaticVehicleEx(493,-1716.31018066,1436.22290039,0.00000000,0.00000000,86,-1,15); //Jetmax
  861.     AddStaticVehicleEx(497,-1681.17102051,705.69635010,30.86656189,268.00000000,-1,6,15); //Police Maverick
  862.     AddStaticVehicleEx(447,-2200.84790039,226.66806030,52.12343597,0.00000000,-1,-1,15); //Seasparrow
  863.     AddStaticVehicleEx(447,-2198.53442383,279.46768188,52.12343597,180.00000000,-1,-1,15); //Seasparrow
  864.     AddStaticVehicleEx(425,-2113.88427734,711.75030518,90.76893616,0.00000000,-1,-1,15); //Hunter
  865.     AddStaticVehicleEx(402,-1919.31689453,-2582.65429688,1194.12866211,8.00000000,-1,-1,90); //Buffalo
  866.     AddStaticVehicleEx(402,-1928.07885742,-2584.08593750,1194.12866211,7.99804688,-1,-1,90); //Buffalo
  867.     AddStaticVehicleEx(560,-1934.15148926,-2584.94067383,1193.99365234,8.00000000,-1,-1,90); //Sultan
  868.     AddStaticVehicleEx(560,-1943.41796875,-2582.91601562,1193.99365234,277.99804688,-1,-1,90); //Sultan
  869.     AddStaticVehicleEx(562,-1944.28515625,-2576.76757812,1193.94226074,276.00000000,-1,-1,90); //Elegy
  870.     AddStaticVehicleEx(562,-1945.50073242,-2570.11035156,1193.94226074,275.99853516,-1,-1,90); //Elegy
  871.     AddStaticVehicleEx(545,-1913.98937988,-2572.82177734,1194.14624023,98.00000000,-1,-1,90); //Hustler
  872.     AddStaticVehicleEx(522,-1921.12463379,-2525.36938477,1193.84912109,94.00000000,3,-1,90); //NRG-500
  873.     AddStaticVehicleEx(522,-1921.73974609,-2518.89599609,1193.84912109,93.99902344,3,-1,90); //NRG-500
  874.     AddStaticVehicleEx(522,-1922.80053711,-2512.96655273,1193.84912109,93.99902344,3,-1,90); //NRG-500
  875.     AddStaticVehicleEx(481,-1949.14807129,-2545.30859375,1193.79748535,286.00000000,-1,-1,90); //BMX
  876.     AddStaticVehicleEx(481,-1949.26806641,-2542.06176758,1193.79748535,285.99609375,-1,-1,90); //BMX
  877.     AddStaticVehicleEx(481,-1949.39746094,-2538.56494141,1193.79748535,285.99609375,-1,-1,90); //BMX
  878.     AddStaticVehicleEx(432,-1231.80126953,443.42239380,7.28683710,0.00000000,-1,-1,90); //Rhino
  879.     AddStaticVehicleEx(433,-1249.95019531,447.04956055,7.75749969,0.00000000,-1,-1,90); //Barracks
  880.     AddStaticVehicleEx(433,-1260.72644043,446.97610474,7.75749969,0.00000000,-1,-1,90); //Barracks
  881.     AddStaticVehicleEx(433,-1272.91308594,446.83142090,7.75749969,0.00000000,-1,-1,90); //Barracks
  882.     AddStaticVehicleEx(415,-1284.49743652,445.23541260,7.03043747,0.00000000,-1,-1,90); //Cheetah
  883.     AddStaticVehicleEx(415,-1300.49121094,444.64685059,7.03043747,0.00000000,-1,-1,90); //Cheetah
  884.     AddStaticVehicleEx(548,-1433.19958496,500.18493652,20.13443756,0.00000000,-1,-1,90); //Cargobob
  885.     AddStaticVehicleEx(596,-1634.33520508,652.55773926,7.00749969,0.00000000,-1,6,90); //Police Car (LSPD)
  886.     AddStaticVehicleEx(596,-1622.84057617,652.19824219,7.00749969,0.00000000,-1,6,90); //Police Car (LSPD)
  887.     AddStaticVehicleEx(596,-1611.09558105,651.83105469,7.00749969,0.00000000,-1,6,90); //Police Car (LSPD)
  888.     AddStaticVehicleEx(523,-1616.57739258,652.10101318,6.84787750,0.00000000,-1,-1,90); //HPV1000
  889.     AddStaticVehicleEx(523,-1628.18835449,652.75988770,6.84787750,0.00000000,-1,-1,90); //HPV1000
  890.     AddStaticVehicleEx(427,-1604.95495605,653.01007080,7.43550014,0.00000000,-1,-1,90); //Enforcer
  891.     AddStaticVehicleEx(427,-1599.71179199,652.71240234,7.43550014,0.00000000,-1,-1,90); //Enforcer
  892.     AddStaticVehicleEx(427,-1593.96936035,652.38623047,7.43550014,0.00000000,-1,-1,90); //Enforcer
  893.     AddStaticVehicleEx(599,-1582.70996094,673.43231201,7.57262659,0.00000000,-1,-1,90); //Police Ranger
  894.     AddStaticVehicleEx(599,-1588.34313965,673.16497803,7.57262659,0.00000000,-1,-1,90); //Police Ranger
  895.     AddStaticVehicleEx(601,-1594.21386719,673.14245605,7.11770868,0.00000000,-1,-1,90); //S.W.A.T. Van
  896.     AddStaticVehicleEx(601,-1605.59985352,673.10040283,7.11770868,0.00000000,-1,-1,90); //S.W.A.T. Van
  897.     AddStaticVehicleEx(520,-1596.40307617,711.79272461,49.85707474,0.00000000,-1,-1,90); //Hydra
  898.     AddStaticVehicleEx(522,-2178.37890625,654.70776367,49.09787750,0.00000000,126,-1,90); //NRG-500
  899.     AddStaticVehicleEx(522,-2173.12890625,654.61730957,49.09787750,0.00000000,126,-1,90); //NRG-500
  900.     AddStaticVehicleEx(556,-2184.56860352,644.45227051,50.45912170,90.00000000,126,126,90); //Monster A
  901.     AddStaticVehicleEx(522,-2194.75390625,646.98278809,49.09787750,92.00000000,126,-1,90); //NRG-500
  902.     AddStaticVehicleEx(522,-2197.30517578,634.74829102,49.09787750,92.00000000,126,-1,90); //NRG-500
  903.     AddStaticVehicleEx(522,-2213.86645508,636.60345459,49.09787750,91.99951172,126,-1,90); //NRG-500
  904.     AddStaticVehicleEx(522,-2180.68408203,604.46069336,34.82951355,91.99951172,126,-1,90); //NRG-500
  905.     AddStaticVehicleEx(522,-2186.36450195,610.43548584,34.82951355,91.99951172,126,-1,90); //NRG-500
  906.     AddStaticVehicleEx(522,-2192.36914062,616.18859863,34.82951355,91.99951172,126,-1,90); //NRG-500
  907.     AddStaticVehicleEx(522,-2199.95458984,603.73974609,34.82951355,91.99951172,126,-1,90); //NRG-500
  908.     AddStaticVehicleEx(487,-2201.77832031,587.25195312,62.06416321,0.00000000,126,126,90); //Maverick
  909.     AddStaticVehicleEx(487,-2710.15527344,923.90222168,74.45867920,0.00000000,78,-1,90); //Maverick
  910.     AddStaticVehicleEx(502,-2728.04956055,911.67901611,67.56324005,336.00000000,58,-1,90); //Hotring Racer A
  911.     AddStaticVehicleEx(502,-2731.35302734,903.81225586,67.56324005,335.99487305,58,-1,90); //Hotring Racer A
  912.     AddStaticVehicleEx(502,-2738.65136719,871.25128174,66.76214600,85.99487305,58,-1,90); //Hotring Racer A
  913.     AddStaticVehicleEx(522,-2763.24682617,889.58728027,66.07939911,0.00000000,121,1,90); //NRG-500
  914.     AddStaticVehicleEx(522,-2762.96728516,880.68859863,66.07939911,0.00000000,121,1,90); //NRG-500
  915.     AddStaticVehicleEx(495,-2680.10644531,868.54663086,76.97712708,0.00000000,74,-1,90); //Sandking
  916.     AddStaticVehicleEx(562,-2665.06933594,912.61102295,79.42804718,0.00000000,74,1,90); //Elegy
  917.     AddStaticVehicleEx(542,-2633.21240234,873.19592285,63.85121155,352.00000000,74,-1,90); //Clover
  918.     AddStaticVehicleEx(603,-2569.07275391,986.99670410,78.27611542,0.00000000,6,3,90); //Phoenix
  919.     AddStaticVehicleEx(603,-2566.43310547,924.34454346,64.98705292,0.00000000,6,3,90); //Phoenix
  920.     AddStaticVehicleEx(411,-2464.26855469,899.33898926,62.71892929,0.00000000,-1,-1,90); //Infernus
  921.     AddStaticVehicleEx(506,-2644.41503906,1377.65112305,6.95360422,0.00000000,86,-1,90); //Super GT
  922.     AddStaticVehicleEx(506,-2638.47656250,1377.92138672,6.95360422,0.00000000,86,16,90); //Super GT
  923.     AddStaticVehicleEx(475,-2632.41577148,1377.97290039,7.03919172,0.00000000,86,1,90); //Sabre
  924.     AddStaticVehicleEx(475,-2627.61132812,1377.77795410,7.03919172,0.00000000,86,1,90); //Sabre
  925.     AddStaticVehicleEx(522,-2623.08251953,1377.93884277,6.79927778,0.00000000,86,-1,90); //NRG-500
  926.     AddStaticVehicleEx(600,-2645.01586914,1334.20727539,7.01297855,0.00000000,86,1,90); //Picador
  927.     AddStaticVehicleEx(541,-2640.02026367,1333.70117188,6.89531231,0.00000000,-1,86,90); //Bullet
  928.     AddStaticVehicleEx(533,-2634.40283203,1334.13525391,6.99531221,0.00000000,86,1,90); //Feltzer
  929.     AddStaticVehicleEx(522,-2619.83520508,1377.76708984,6.79927778,0.00000000,86,-1,90); //NRG-500
  930.     AddStaticVehicleEx(487,-2628.06640625,1333.58935547,7.46031284,0.00000000,86,-1,90); //Maverick
  931.     AddStaticVehicleEx(561,-2481.44604492,1232.93139648,34.93962479,53.99987793,-1,-1,90); //Stratum
  932.     AddStaticVehicleEx(468,-2199.72412109,1186.57141113,55.48656082,90.00000000,-1,-1,90); //Sanchez
  933.     AddStaticVehicleEx(489,-1802.28186035,1088.46105957,45.80543900,0.00000000,-1,-1,90); //Rancher
  934.     AddStaticVehicleEx(489,-1809.56115723,1095.09887695,45.80543900,90.00000000,-1,-1,90); //Rancher
  935.     AddStaticVehicleEx(489,-1822.40026855,1094.95141602,45.80543900,90.00000000,-1,-1,90); //Rancher
  936.     AddStaticVehicleEx(521,-1864.96032715,1054.90319824,45.74631500,0.00000000,-1,1,90); //FCR-900
  937.     AddStaticVehicleEx(521,-1868.82446289,1055.34277344,45.74631500,0.00000000,-1,1,90); //FCR-900
  938.     AddStaticVehicleEx(521,-1869.08190918,1060.88830566,45.74631500,0.00000000,-1,1,90); //FCR-900
  939.     AddStaticVehicleEx(521,-1865.52331543,1062.43957520,45.74631500,0.00000000,-1,1,90); //FCR-900
  940.     AddStaticVehicleEx(447,-1926.71484375,1121.38708496,48.78020477,0.00000000,-1,-1,90); //Seasparrow
  941.     AddStaticVehicleEx(580,-2126.89819336,254.87014771,35.52638245,268.00000000,2,1,90); //Stafford
  942.     AddStaticVehicleEx(522,-2132.52490234,262.30197144,35.44834900,0.00000000,2,2,90); //NRG-500
  943.     AddStaticVehicleEx(522,-2128.52832031,262.14062500,35.44834900,0.00000000,2,2,90); //NRG-500
  944.     AddStaticVehicleEx(535,-2130.51879883,288.08023071,34.83938217,268.00000000,2,1,90); //Slamvan
  945.     AddStaticVehicleEx(421,-2130.54467773,296.24243164,34.64894104,266.00000000,2,1,90); //Washington
  946.     AddStaticVehicleEx(411,-2112.50781250,223.34799194,34.55491257,0.00000000,2,1,90); //Infernus
  947.     AddStaticVehicleEx(411,-2108.49853516,223.37266541,34.55491257,0.00000000,2,1,90); //Infernus
  948.     AddStaticVehicleEx(411,-2104.73974609,223.41281128,34.55491257,0.00000000,2,1,90); //Infernus
  949.     AddStaticVehicleEx(487,-2027.98059082,156.45851135,34.20323181,0.00000000,2,-1,90); //Maverick
  950.     AddStaticVehicleEx(480,-1990.61560059,276.51443481,35.02187347,268.00000000,-1,1,90); //Comet
  951.     AddStaticVehicleEx(480,-1991.11291504,270.75262451,35.02187347,267.99499512,-1,1,90); //Comet
  952.     AddStaticVehicleEx(480,-1991.83056641,264.46325684,35.02187347,267.99499512,-1,1,90); //Comet
  953.     AddStaticVehicleEx(587,-2901.60034180,1121.36987305,26.46633148,270.00000000,-1,-1,90); //Euros
  954.     AddStaticVehicleEx(526,-2875.83129883,992.09436035,40.19252777,300.00000000,-1,-1,90); //Fortune
  955.     AddStaticVehicleEx(549,-2874.69091797,725.81054688,29.13637924,282.00000000,-1,-1,90); //Tampa
  956.     AddStaticVehicleEx(507,-2694.75659180,268.80010986,4.28593731,0.00000000,3,1,90); //Elegant
  957.     AddStaticVehicleEx(507,-2675.48144531,268.89773560,4.28593731,0.00000000,3,1,90); //Elegant
  958.     AddStaticVehicleEx(507,-2685.19018555,268.50018311,4.28593731,0.00000000,3,1,90); //Elegant
  959.     AddStaticVehicleEx(448,-2661.46020508,268.29891968,4.00615692,0.00000000,3,-1,90); //Pizzaboy
  960.     AddStaticVehicleEx(448,-2665.20996094,268.36932373,4.00615692,0.00000000,3,-1,90); //Pizzaboy
  961.     AddStaticVehicleEx(448,-2668.95996094,268.43963623,4.00615692,0.00000000,3,-1,90); //Pizzaboy
  962.     AddStaticVehicleEx(432,-2685.94433594,233.84425354,4.43527460,270.00000000,-1,-1,90); //Rhino
  963.     AddStaticVehicleEx(541,-2265.92089844,208.63146973,34.86406326,90.00000000,-1,1,90); //Bullet
  964.     AddStaticVehicleEx(474,-2265.60961914,196.64151001,35.06406403,90.00000000,-1,-1,90); //Hermes
  965.     AddStaticVehicleEx(516,-2265.24829102,149.07592773,35.06406403,90.00000000,-1,-1,90); //Nebula
  966.     AddStaticVehicleEx(540,-2265.17382812,136.90805054,35.15134811,90.00000000,-1,-1,90); //Vincent
  967.     AddStaticVehicleEx(551,-2265.85571289,117.13541412,35.05184937,90.00000000,-1,-1,90); //Merit
  968.     AddStaticVehicleEx(468,-2267.06665039,81.23105621,34.93184662,90.00000000,-1,-1,90); //Sanchez
  969.     AddStaticVehicleEx(560,-2644.11718750,-288.72753906,7.26860380,315.99975586,18,1,90); //Sultan
  970.     AddStaticVehicleEx(560,-2647.75976562,-284.93750000,7.26860380,315.99975586,18,1,90); //Sultan
  971.     AddStaticVehicleEx(560,-2651.57421875,-281.32910156,7.26860380,315.99975586,18,1,90); //Sultan
  972.     AddStaticVehicleEx(560,-2655.20703125,-277.89257812,7.26860380,315.99975586,18,1,90); //Sultan
  973.     AddStaticVehicleEx(562,-2678.21679688,-279.01660156,6.92472792,45.99975586,18,1,90); //Elegy
  974.     AddStaticVehicleEx(562,-2685.67968750,-281.73632812,6.92472792,45.99975586,18,1,90); //Elegy
  975.     AddStaticVehicleEx(562,-2690.51757812,-286.43945312,6.92472792,45.99975586,18,1,90); //Elegy
  976.     AddStaticVehicleEx(522,-2670.09375000,-260.11328125,6.52472353,313.99475098,18,-1,90); //NRG-500
  977.     AddStaticVehicleEx(522,-2677.29882812,-253.42773438,6.52472353,315.99426270,18,-1,90); //NRG-500
  978.     AddStaticVehicleEx(520,-2750.60717773,-251.07818604,8.11481571,0.00000000,-1,-1,90); //Hydra
  979.     AddStaticVehicleEx(589,-2711.06103516,-92.75488281,4.04505110,0.00000000,-1,-1,90); //Club
  980.     AddStaticVehicleEx(589,-2609.13110352,-51.79439163,4.04505110,0.00000000,-1,-1,90); //Club
  981.     AddStaticVehicleEx(487,-2571.60742188,654.76989746,28.07749939,0.00000000,-1,-1,90); //Maverick
  982.     AddStaticVehicleEx(447,-752.82720947,1439.45959473,15.86553192,0.00000000,-1,-1,90); //Seasparrow
  983.     AddStaticVehicleEx(559,-793.11956787,1444.69360352,13.54312611,344.00000000,-1,-1,90); //Jester
  984.     AddStaticVehicleEx(559,-788.10534668,1443.98010254,13.54312611,343.99841309,-1,-1,90); //Jester
  985.     AddStaticVehicleEx(559,-783.31072998,1442.87231445,13.54312611,343.99841309,-1,-1,90); //Jester
  986.     AddStaticVehicleEx(602,-793.31231689,1428.38525391,13.68906212,18.00000000,-1,-1,90); //Alpha
  987.     AddStaticVehicleEx(602,-787.99017334,1429.12731934,13.68906212,17.99560547,-1,-1,90); //Alpha
  988.     AddStaticVehicleEx(602,-783.12286377,1430.11853027,13.68906212,17.99560547,-1,-1,90); //Alpha
  989.     AddStaticVehicleEx(471,-820.95581055,1427.46533203,13.36406231,0.00000000,-1,-1,90); //Quad
  990.     AddStaticVehicleEx(471,-817.69757080,1427.91088867,13.36406231,0.00000000,-1,-1,90); //Quad
  991.     AddStaticVehicleEx(471,-814.43975830,1428.35620117,13.36406231,0.00000000,-1,-1,90); //Quad
  992.     AddStaticVehicleEx(477,-810.44293213,1443.19421387,13.63906288,0.00000000,-1,-1,90); //ZR-350
  993.     AddStaticVehicleEx(477,-815.98651123,1444.79907227,13.63906288,0.00000000,-1,-1,90); //ZR-350
  994.     AddStaticVehicleEx(477,-821.06201172,1445.69360352,13.63906288,0.00000000,-1,-1,90); //ZR-350
  995.     AddStaticVehicleEx(451,-687.96563721,961.27471924,11.96751976,88.00000000,-1,-1,90); //Turismo
  996.     AddStaticVehicleEx(451,-676.21490479,961.08563232,11.96751976,88.00000000,-1,-1,90); //Turismo
  997.     AddStaticVehicleEx(555,-673.90997314,946.42254639,11.91318703,0.00000000,-1,-1,90); //Windsor
  998.     AddStaticVehicleEx(555,-682.14691162,947.51556396,11.91318703,0.00000000,-1,-1,90); //Windsor
  999.     AddStaticVehicleEx(603,-707.37780762,985.48602295,12.46578503,0.00000000,-1,-1,90); //Phoenix
  1000.     AddStaticVehicleEx(603,-713.39562988,985.65502930,12.46578503,0.00000000,-1,-1,90); //Phoenix
  1001.     AddStaticVehicleEx(460,-635.05712891,858.07373047,3.21952772,159.99987793,-1,-1,90); //Skimmer
  1002.    
  1003.     CreateObject(8040,-1932.91381836,-2548.19458008,1193.95434570,0.00000000,0.00000000,97.99996948); //object(airprtcrprk02_lvs) (1)
  1004.     CreateObject(16358,-1951.89453125,-2407.56738281,1133.77392578,0.00000000,329.99633789,277.99804688); //object(des_ebrigroad07) (1)
  1005.     CreateObject(16358,-1980.73669434,-2202.56860352,1014.23931885,0.00000000,329.99633789,277.99804688); //object(des_ebrigroad07) (2)
  1006.     CreateObject(16358,-2006.15246582,-2021.81762695,908.84466553,0.00000000,329.99633789,277.99804688); //object(des_ebrigroad07) (3)
  1007.     CreateObject(16358,-2034.44445801,-1820.02636719,791.20544434,0.00000000,330.00000000,278.00000000); //object(des_ebrigroad07) (4)
  1008.     CreateObject(16358,-2062.99926758,-1616.30932617,672.40319824,0.00000000,329.99633789,277.99804688); //object(des_ebrigroad07) (5)
  1009.     CreateObject(16358,-2085.77465820,-1454.01440430,577.77087402,0.00000000,329.99633789,277.99804688); //object(des_ebrigroad07) (6)
  1010.     CreateObject(16358,-2110.41821289,-1278.80578613,475.59991455,0.00000000,329.99633789,277.99804688); //object(des_ebrigroad07) (7)
  1011.     CreateObject(16358,-2137.11010742,-1089.47058105,365.19766235,0.00000000,329.99633789,277.99804688); //object(des_ebrigroad07) (8)
  1012.     CreateObject(16358,-2163.69067383,-900.18652344,254.83583069,0.00000000,329.99633789,277.99804688); //object(des_ebrigroad07) (9)
  1013.     CreateObject(16358,-2190.88476562,-706.55773926,141.92300415,0.00000000,329.99633789,277.99804688); //object(des_ebrigroad07) (10)
  1014.     CreateObject(16358,-2214.70263672,-537.18890381,85.95947266,0.00000000,0.00000000,278.00000000); //object(des_ebrigroad07) (11)
  1015.     CreateObject(16358,-2208.77368164,-579.78161621,89.81578064,0.00000000,340.00000000,277.99804688); //object(des_ebrigroad07) (13)
  1016.     CreateObject(16358,-2211.53320312,-559.61523438,89.81578064,0.00000000,344.99816895,277.99804688); //object(des_ebrigroad07) (14)
  1017.     CreateObject(16358,-2247.70117188,-301.83306885,85.95947266,0.00000000,0.00000000,277.99804688); //object(des_ebrigroad07) (15)
  1018.     CreateObject(16358,-2280.99755859,-65.43563843,85.95947266,0.00000000,0.00000000,277.99804688); //object(des_ebrigroad07) (16)
  1019.     CreateObject(16358,-2273.61694336,167.84616089,85.95947266,0.00000000,0.00000000,257.99804688); //object(des_ebrigroad07) (17)
  1020.     CreateObject(16358,-2252.90014648,401.83419800,85.95947266,0.00000000,0.00000000,271.99743652); //object(des_ebrigroad07) (18)
  1021.     CreateObject(16358,-2240.54589844,638.59051514,85.95947266,0.00000000,0.00000000,261.99401855); //object(des_ebrigroad07) (19)
  1022.     CreateObject(16358,-2186.86132812,849.09375000,106.14601135,0.00000000,9.99755859,249.98840332); //object(des_ebrigroad07) (20)
  1023.     CreateObject(16358,-2105.63403320,1072.68359375,127.27209473,0.00000000,0.00000000,249.99096680); //object(des_ebrigroad07) (21)
  1024.     CreateObject(16358,-1986.43835449,1271.94726562,127.27209473,0.00000000,0.00000000,227.98840332); //object(des_ebrigroad07) (22)
  1025.     CreateObject(16358,-1810.69030762,1430.76525879,127.27209473,0.00000000,0.00000000,215.98826599); //object(des_ebrigroad07) (23)
  1026.     CreateObject(16358,-1620.53796387,1416.18457031,127.27209473,0.00000000,0.00000000,133.98571777); //object(des_ebrigroad07) (24)
  1027.     CreateObject(16358,-1493.36547852,1221.49157715,127.27209473,0.00000000,0.00000000,111.98376465); //object(des_ebrigroad07) (25)
  1028.     CreateObject(16358,-1423.92236328,995.39105225,127.27209473,0.00000000,0.00000000,101.98364258); //object(des_ebrigroad07) (26)
  1029.     CreateObject(16358,-1418.96960449,762.93035889,127.27209473,0.00000000,0.00000000,79.98059082); //object(des_ebrigroad07) (27)
  1030.     CreateObject(16358,-1504.94421387,548.11132812,127.27209473,0.00000000,0.00000000,55.98046875); //object(des_ebrigroad07) (28)
  1031.     CreateObject(16358,-1636.85156250,352.64941406,96.70500946,0.00000000,344.99816895,55.96984863); //object(des_ebrigroad07) (30)
  1032.     CreateObject(16357,-1742.07128906,196.38211060,46.28993988,0.00000000,345.00000000,56.00000000); //object(des_ebrigroad01) (1)
  1033.     CreateObject(13641,-1786.29309082,131.04159546,28.15758133,0.00000000,0.00000000,234.00000000); //object(kickramp04) (1)
  1034.     CreateObject(11120,-1685.27050781,1434.21362305,127.56615448,0.00000000,0.00000000,37.99475098); //object(roadssfse66) (3)
  1035.     CreateObject(11120,-1687.11254883,1443.43774414,127.56615448,0.00000000,0.00000000,35.99121094); //object(roadssfse66) (4)
  1036.     CreateObject(3524,-1707.69885254,1496.29492188,130.35772705,0.00000000,0.00000000,308.00000000); //object(skullpillar01_lvs) (1)
  1037.     CreateObject(3524,-1715.34570312,1509.50122070,130.35772705,0.00000000,0.00000000,307.99621582); //object(skullpillar01_lvs) (2)
  1038.     CreateObject(3524,-1713.94042969,1510.08276367,130.35772705,0.00000000,0.00000000,307.99621582); //object(skullpillar01_lvs) (3)
  1039.     CreateObject(3524,-1712.24548340,1510.74560547,130.35772705,0.00000000,0.00000000,307.99621582); //object(skullpillar01_lvs) (4)
  1040.     CreateObject(3524,-1710.52648926,1511.15979004,130.35772705,0.00000000,0.00000000,307.99621582); //object(skullpillar01_lvs) (5)
  1041.     CreateObject(3524,-1708.78405762,1511.32495117,130.35772705,0.00000000,0.00000000,307.99621582); //object(skullpillar01_lvs) (6)
  1042.     CreateObject(3524,-1707.02307129,1511.37670898,130.35772705,0.00000000,0.00000000,307.99621582); //object(skullpillar01_lvs) (7)
  1043.     CreateObject(3524,-1705.22155762,1511.39892578,130.35772705,0.00000000,0.00000000,307.99621582); //object(skullpillar01_lvs) (8)
  1044.     CreateObject(3524,-1703.55529785,1510.86010742,130.35772705,0.00000000,0.00000000,307.99621582); //object(skullpillar01_lvs) (9)
  1045.     CreateObject(3524,-1701.88928223,1510.32104492,130.35772705,0.00000000,0.00000000,307.99621582); //object(skullpillar01_lvs) (10)
  1046.     CreateObject(3524,-1700.30017090,1509.54406738,130.35772705,0.00000000,0.00000000,307.99621582); //object(skullpillar01_lvs) (11)
  1047.     CreateObject(3524,-1698.75427246,1508.58251953,130.35772705,0.00000000,0.00000000,307.99621582); //object(skullpillar01_lvs) (12)
  1048.     CreateObject(3524,-1697.04052734,1507.43530273,130.35772705,0.00000000,0.00000000,307.99621582); //object(skullpillar01_lvs) (13)
  1049.     CreateObject(3524,-1946.97070312,-2510.32666016,1196.08166504,0.00000000,0.00000000,0.00000000); //object(skullpillar01_lvs) (14)
  1050.     CreateObject(3524,-1946.47949219,-2510.23291016,1196.08166504,0.00000000,0.00000000,0.00000000); //object(skullpillar01_lvs) (15)
  1051.     CreateObject(3524,-1945.98828125,-2510.13916016,1196.08166504,0.00000000,0.00000000,0.00000000); //object(skullpillar01_lvs) (16)
  1052.     CreateObject(3524,-1929.98803711,-2507.94335938,1196.07409668,0.00000000,0.00000000,0.00000000); //object(skullpillar01_lvs) (17)
  1053.     CreateObject(3524,-1929.48901367,-2507.90087891,1196.07409668,0.00000000,0.00000000,0.00000000); //object(skullpillar01_lvs) (18)
  1054.     CreateObject(3524,-1928.98999023,-2507.85791016,1196.07409668,0.00000000,0.00000000,0.00000000); //object(skullpillar01_lvs) (19)
  1055.     CreateObject(3080,-1944.36804199,-2507.29199219,1194.29650879,0.00000000,0.00000000,10.00000000); //object(ad_jump) (1)
  1056.     CreateObject(3080,-1940.29650879,-2506.43530273,1194.29650879,0.00000000,0.00000000,9.99755859); //object(ad_jump) (2)
  1057.     CreateObject(3080,-1936.26135254,-2505.59179688,1194.29650879,0.00000000,0.00000000,9.99755859); //object(ad_jump) (3)
  1058.     CreateObject(3080,-1932.48571777,-2504.98901367,1194.29650879,0.00000000,0.00000000,9.99755859); //object(ad_jump) (4)
  1059.     CreateObject(980,-1334.64721680,482.46673584,9.56089211,305.00000000,0.00000000,0.00000000); //object(airportgate) (1)
  1060.     CreateObject(980,-1334.75512695,480.18542480,7.96089172,304.99694824,0.00000000,0.00000000); //object(airportgate) (2)
  1061.  
  1062.  
  1063.     CreateObject(3279, -1634.4496, 652.2222, 6.1005, 0.0, 0.0, 0.0);
  1064.     CreateObject(3279, -1576.2321, 682.221, 6.0879, 0.0, 0.0, -90.0);
  1065.     CreateObject(3279, -1578.0971, 651.559, 6.0879, 0.0, 0.0, -270.0);
  1066.  
  1067.     CreateObject(3279,-2243.00341797,283.28509521,51.03070831,0.00000000,0.00000000,0.00000000); //object(a51_spottower) (1)
  1068.     CreateObject(3279,-2155.81176758,283.16583252,51.02343750,0.00000000,0.00000000,270.00000000); //object(a51_spottower) (2)
  1069.     CreateObject(3279,-2243.12451172,222.83489990,51.02343750,0.00000000,0.00000000,0.00000000); //object(a51_spottower) (3)
  1070.     CreateObject(3279,-2155.49145508,220.75559998,51.02343750,0.00000000,0.00000000,180.00000000); //object(a51_spottower) (4)
  1071.     CreateObject(9618,-2178.24926758,710.48986816,64.64361572,0.00000000,0.00000000,0.00000000); //object(scaff1_sfw) (1)
  1072.     CreateObject(9766,-2101.40185547,665.31658936,87.82116699,355.00000000,0.00000000,2.00000000); //object(scaff3_sfw) (1)
  1073.     CreateObject(9767,-2136.96484375,624.69512939,75.07301331,0.00000000,0.00000000,270.00000000); //object(scaff2_sfw) (1)
  1074.     CreateObject(9766,-2173.39257812,665.18847656,66.64957428,354.99572754,0.00000000,0.00000000); //object(scaff3_sfw) (2)
  1075.     CreateObject(3279,-1544.31445312,476.48886108,6.17968750,0.00000000,0.00000000,354.00000000); //object(a51_spottower) (5)
  1076.     CreateObject(1634,-1518.70703125,888.69128418,7.48481750,0.00000000,0.00000000,0.00000000); //object(landjump2) (1)
  1077.     CreateObject(1634,-1518.43322754,895.19128418,7.48481750,0.00000000,0.00000000,178.00000000); //object(landjump2) (2)
  1078.     CreateObject(1634,-1579.42028809,719.71118164,7.87528229,5.00000000,0.00000000,270.00000000); //object(landjump2) (3)
  1079.     CreateObject(1634,-1579.41992188,719.71093750,7.87528229,0.00000000,0.00000000,270.00000000); //object(landjump2) (4)
  1080.     CreateObject(1634,-2613.64428711,830.50238037,50.12544250,0.00000000,0.00000000,180.00000000); //object(landjump2) (5)
  1081.  
  1082.     //GUERAAA
  1083.    
  1084.     AddStaticVehicleEx(560,531.03820801,4701.37255859,21.45297813,270.00000000,1,-1,15); //Sultan
  1085.     AddStaticVehicleEx(560,530.90283203,4696.92431641,21.45297813,270.00000000,1,-1,15); //Sultan
  1086.     AddStaticVehicleEx(560,530.77264404,4692.66796875,21.45297813,270.00000000,1,-1,15); //Sultan
  1087.     AddStaticVehicleEx(560,530.77398682,4687.90527344,21.45297813,270.00000000,1,-1,15); //Sultan
  1088.     AddStaticVehicleEx(560,530.68548584,4683.64550781,21.45297813,270.00000000,1,-1,15); //Sultan
  1089.     AddStaticVehicleEx(560,530.60614014,4679.13574219,21.45297813,270.00000000,1,-1,15); //Sultan
  1090.     AddStaticVehicleEx(560,530.52703857,4674.62597656,21.45297813,270.00000000,1,-1,15); //Sultan
  1091.     AddStaticVehicleEx(560,530.56530762,4669.86181641,21.45297813,270.00000000,1,-1,15); //Sultan
  1092.     AddStaticVehicleEx(560,531.23925781,4706.18066406,21.45297813,270.00000000,1,-1,15); //Sultan
  1093.     AddStaticVehicleEx(560,1156.30993652,4710.95361328,21.45297813,90.00000000,-1,1,15); //Sultan
  1094.     AddStaticVehicleEx(560,1156.38452148,4706.45312500,21.45297813,90.00000000,-1,1,15); //Sultan
  1095.     AddStaticVehicleEx(560,1156.49731445,4701.95312500,21.45297813,90.00000000,-1,1,15); //Sultan
  1096.     AddStaticVehicleEx(560,1156.62866211,4697.45312500,21.45297813,90.00000000,-1,1,15); //Sultan
  1097.     AddStaticVehicleEx(560,1156.76879883,4693.20312500,21.45297813,90.00000000,-1,1,15); //Sultan
  1098.     AddStaticVehicleEx(560,1156.89868164,4689.20312500,21.45297813,90.00000000,-1,1,15); //Sultan
  1099.     AddStaticVehicleEx(560,1157.05078125,4684.20312500,21.45297813,90.00000000,-1,1,15); //Sultan
  1100.     AddStaticVehicleEx(560,1157.07910156,4679.21777344,21.45297813,90.00000000,-1,1,15); //Sultan
  1101.     AddStaticVehicleEx(560,1157.47363281,4673.95312500,21.45297813,90.00000000,-1,1,15); //Sultan
  1102.     CreateObject(4867,633.16876221,4678.96972656,20.64800262,0.00000000,0.00000000,0.00000000); //object(lasrnway3_las) (1)
  1103.     CreateObject(4867,845.74511719,4679.26757812,20.64800262,0.00000000,0.00000000,0.00000000); //object(lasrnway3_las) (2)
  1104.     CreateObject(4867,1055.99926758,4679.27880859,20.64800262,0.00000000,0.00000000,0.00000000); //object(lasrnway3_las) (3)
  1105.     CreateObject(8152,1081.68518066,4740.85205078,23.74902916,0.00000000,0.00000000,0.00000000); //object(vgsselecfence06) (1)
  1106.     CreateObject(8152,556.93536377,4690.22753906,23.74902916,0.00000000,0.00000000,90.00000000); //object(vgsselecfence06) (2)
  1107.     CreateObject(8148,607.69799805,4587.67138672,23.68829155,0.00000000,0.00000000,270.00000000); //object(vgsselecfence02) (1)
  1108.     CreateObject(8148,769.47760010,4587.67187500,23.68829155,0.00000000,0.00000000,270.00000000); //object(vgsselecfence02) (2)
  1109.     CreateObject(8148,930.85693359,4588.05175781,23.68829155,0.00000000,0.00000000,270.00000000); //object(vgsselecfence02) (3)
  1110.     CreateObject(8148,1090.20288086,4587.91699219,23.68829155,0.00000000,0.00000000,270.00000000); //object(vgsselecfence02) (4)
  1111.     CreateObject(8148,1161.76135254,4659.87988281,23.68829155,0.00000000,0.00000000,0.00000000); //object(vgsselecfence02) (5)
  1112.     CreateObject(8148,920.77746582,4770.57861328,23.68829155,0.00000000,0.00000000,90.00000000); //object(vgsselecfence02) (7)
  1113.     CreateObject(8148,759.07586670,4770.50341797,23.68829155,0.00000000,0.00000000,90.00000000); //object(vgsselecfence02) (8)
  1114.     CreateObject(8148,641.93298340,4770.30175781,23.68829155,0.00000000,0.00000000,90.00000000); //object(vgsselecfence02) (9)
  1115.     CreateObject(8210,527.03851318,4613.59814453,23.74902916,0.00000000,0.00000000,270.00000000); //object(vgsselecfence12) (1)
  1116.     CreateObject(16113,945.48046875,4728.60644531,19.99999046,0.00000000,0.00000000,0.00000000); //object(des_rockgp2_03) (1)
  1117.     CreateObject(16113,965.08593750,4610.42480469,19.99999046,0.00000000,0.00000000,0.00000000); //object(des_rockgp2_03) (2)
  1118.     CreateObject(16113,1102.34570312,4636.66601562,19.99999046,0.00000000,0.00000000,0.00000000); //object(des_rockgp2_03) (3)
  1119.     CreateObject(16113,807.47460938,4695.47656250,19.99999046,0.00000000,0.00000000,0.00000000); //object(des_rockgp2_03) (4)
  1120.     CreateObject(16113,781.95214844,4618.16113281,19.99999046,0.00000000,0.00000000,0.00000000); //object(des_rockgp2_03) (5)
  1121.     CreateObject(16113,706.06835938,4741.27636719,19.99999046,0.00000000,0.00000000,0.00000000); //object(des_rockgp2_03) (6)
  1122.     CreateObject(16113,561.72558594,4633.24218750,19.99999046,0.00000000,0.00000000,0.00000000); //object(des_rockgp2_03) (7)
  1123.     CreateObject(672,575.53405762,4757.48974609,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (1)
  1124.     CreateObject(672,587.73474121,4742.77636719,20.64800262,0.00000000,18.00000000,0.00000000); //object(sm_veg_tree5) (2)
  1125.     CreateObject(672,588.16192627,4743.77197266,20.64800262,0.00000000,262.00000000,0.00000000); //object(sm_veg_tree5) (3)
  1126.     CreateObject(672,622.66125488,4731.07031250,20.64800262,0.00000000,27.99993896,166.00000000); //object(sm_veg_tree5) (4)
  1127.     CreateObject(672,554.90570068,4721.61523438,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (6)
  1128.     CreateObject(672,593.83270264,4728.97167969,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (7)
  1129.     CreateObject(672,642.02191162,4758.64453125,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (8)
  1130.     CreateObject(672,668.83251953,4712.53564453,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (9)
  1131.     CreateObject(672,658.86663818,4726.63964844,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (10)
  1132.     CreateObject(672,618.65551758,4715.53564453,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (11)
  1133.     CreateObject(672,574.29119873,4713.03027344,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (12)
  1134.     CreateObject(672,552.11566162,4744.41601562,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (13)
  1135.     CreateObject(672,538.73120117,4733.43212891,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (14)
  1136.     CreateObject(672,536.28021240,4756.68750000,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (15)
  1137.     CreateObject(672,533.62152100,4711.91064453,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (16)
  1138.     CreateObject(672,679.14624023,4758.96142578,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (17)
  1139.     CreateObject(672,750.18920898,4756.26464844,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (18)
  1140.     CreateObject(672,760.54479980,4732.06835938,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (19)
  1141.     CreateObject(672,744.79577637,4716.25927734,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (20)
  1142.     CreateObject(672,784.13085938,4720.26855469,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (21)
  1143.     CreateObject(672,780.15136719,4759.31884766,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (22)
  1144.     CreateObject(672,782.06152344,4740.57421875,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (23)
  1145.     CreateObject(672,804.65710449,4744.83300781,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (24)
  1146.     CreateObject(672,841.30023193,4752.88085938,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (25)
  1147.     CreateObject(672,767.87500000,4712.29931641,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (26)
  1148.     CreateObject(672,807.50299072,4721.97802734,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (27)
  1149.     CreateObject(672,821.70458984,4756.87597656,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (28)
  1150.     CreateObject(672,824.12023926,4734.97949219,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (29)
  1151.     CreateObject(672,824.12011719,4734.97949219,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (30)
  1152.     CreateObject(672,842.25524902,4722.65380859,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (31)
  1153.     CreateObject(672,861.10852051,4743.70312500,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (32)
  1154.     CreateObject(672,860.78051758,4717.51513672,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (33)
  1155.     CreateObject(672,881.41943359,4759.38183594,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (34)
  1156.     CreateObject(672,893.07000732,4722.83593750,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (35)
  1157.     CreateObject(672,879.27136230,4736.41748047,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (36)
  1158.     CreateObject(672,903.49255371,4758.50488281,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (37)
  1159.     CreateObject(672,897.43896484,4744.13574219,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (38)
  1160.     CreateObject(672,876.29138184,4718.75146484,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (39)
  1161.     CreateObject(672,851.75878906,4734.09716797,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (40)
  1162.     CreateObject(672,866.23168945,4756.06542969,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (41)
  1163.     CreateObject(672,898.07031250,4712.66796875,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (42)
  1164.     CreateObject(672,604.01770020,4751.99072266,20.64800262,0.00000000,27.99865723,165.99792480); //object(sm_veg_tree5) (43)
  1165.     CreateObject(672,628.86285400,4747.97851562,20.64800262,0.00000000,27.99865723,165.99792480); //object(sm_veg_tree5) (44)
  1166.     CreateObject(672,639.42932129,4716.22460938,20.64800262,0.00000000,27.99865723,165.99792480); //object(sm_veg_tree5) (45)
  1167.     CreateObject(672,657.63287354,4753.47802734,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (46)
  1168.     CreateObject(672,644.11425781,4738.76269531,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (47)
  1169.     CreateObject(672,602.96124268,4740.37548828,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (48)
  1170.     CreateObject(672,668.29150391,4741.56152344,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (49)
  1171.     CreateObject(672,682.02502441,4726.91699219,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (50)
  1172.     CreateObject(672,684.65936279,4715.33349609,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (51)
  1173.     CreateObject(672,684.65917969,4715.33300781,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (52)
  1174.     CreateObject(672,593.13195801,4716.13037109,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree5) (53)
  1175.     CreateObject(694,997.91967773,4740.25195312,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_redwoodgrp) (1)
  1176.     CreateObject(694,1003.76318359,4745.11572266,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_redwoodgrp) (2)
  1177.     CreateObject(694,999.62054443,4732.11328125,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_redwoodgrp) (3)
  1178.     CreateObject(694,1008.23895264,4722.49853516,20.64800262,0.00000000,0.00000000,0.00000000); //object(sm_redwoodgrp) (4)
  1179.     CreateObject(694,1018.56756592,4723.29443359,20.64800262,0.00000000,0.00000000,108.00000000); //object(sm_redwoodgrp) (5)
  1180.     CreateObject(694,1017.91223145,4743.14208984,20.64800262,0.00000000,0.00000000,107.99560547); //object(sm_redwoodgrp) (6)
  1181.     CreateObject(694,1022.48022461,4751.35156250,20.64800262,0.00000000,0.00000000,107.99560547); //object(sm_redwoodgrp) (7)
  1182.     CreateObject(694,1027.50842285,4744.23876953,20.64800262,0.00000000,0.00000000,107.99560547); //object(sm_redwoodgrp) (8)
  1183.     CreateObject(694,1026.47277832,4729.01806641,20.64800262,0.00000000,0.00000000,97.99560547); //object(sm_redwoodgrp) (9)
  1184.     CreateObject(694,1042.81738281,4744.17285156,20.64800262,0.00000000,0.00000000,107.99560547); //object(sm_redwoodgrp) (11)
  1185.     CreateObject(694,1050.59997559,4728.44042969,20.64800262,0.00000000,0.00000000,107.99560547); //object(sm_redwoodgrp) (12)
  1186.     CreateObject(694,1058.56347656,4755.09326172,20.64800262,0.00000000,0.00000000,107.99560547); //object(sm_redwoodgrp) (13)
  1187.     CreateObject(694,1064.80297852,4745.64648438,20.64800262,0.00000000,0.00000000,107.99560547); //object(sm_redwoodgrp) (14)
  1188.     CreateObject(694,1064.72216797,4726.80859375,20.64800262,0.00000000,0.00000000,107.99560547); //object(sm_redwoodgrp) (15)
  1189.     CreateObject(694,1080.42114258,4726.74023438,20.64800262,0.00000000,0.00000000,107.99560547); //object(sm_redwoodgrp) (16)
  1190.     CreateObject(694,1080.49023438,4742.93847656,20.64800262,0.00000000,0.00000000,107.99560547); //object(sm_redwoodgrp) (17)
  1191.     CreateObject(694,1080.52380371,4750.78759766,20.64800262,0.00000000,0.00000000,107.99560547); //object(sm_redwoodgrp) (18)
  1192.     CreateObject(694,1093.81420898,4762.16064453,20.64800262,0.00000000,0.00000000,107.99560547); //object(sm_redwoodgrp) (19)
  1193.     CreateObject(694,1101.94628906,4759.54101562,20.64800262,0.00000000,0.00000000,107.99560547); //object(sm_redwoodgrp) (20)
  1194.     CreateObject(694,1102.29785156,4752.05566406,20.64800262,0.00000000,0.00000000,107.99560547); //object(sm_redwoodgrp) (21)
  1195.     CreateObject(694,1105.96655273,4743.22558594,20.64800262,0.00000000,0.00000000,107.99560547); //object(sm_redwoodgrp) (22)
  1196.     CreateObject(694,1098.64526367,4733.87988281,20.64800262,0.00000000,0.00000000,107.99560547); //object(sm_redwoodgrp) (23)
  1197.     CreateObject(694,1103.24194336,4726.59375000,20.64800262,0.00000000,0.00000000,107.99560547); //object(sm_redwoodgrp) (24)
  1198.     CreateObject(694,1103.45214844,4722.10253906,20.64800262,0.00000000,0.00000000,107.99560547); //object(sm_redwoodgrp) (25)
  1199.     CreateObject(3655,751.01116943,4623.25976562,23.60000038,0.00000000,0.00000000,0.00000000); //object(ganghous03_lax) (1)
  1200.     CreateObject(3661,715.48797607,4602.32910156,24.12086296,0.00000000,0.00000000,272.00000000); //object(projects01_lax) (1)
  1201.     CreateObject(3588,680.37304688,4623.16210938,23.32238388,0.00000000,0.00000000,0.00000000); //object(sanped_hse1_las) (1)
  1202.     CreateObject(17045,654.43505859,4602.63867188,22.41845703,0.00000000,0.00000000,0.00000000); //object(cuntw_stwnyel) (1)
  1203.     CreateObject(3655,580.90557861,4659.10156250,23.60000038,0.00000000,0.00000000,0.00000000); //object(ganghous03_lax) (2)
  1204.     CreateObject(3655,605.40576172,4634.22558594,23.60000038,0.00000000,0.00000000,0.00000000); //object(ganghous03_lax) (3)
  1205.     CreateObject(3588,634.12786865,4648.76416016,23.32238388,0.00000000,0.00000000,0.00000000); //object(sanped_hse1_las) (2)
  1206.     CreateObject(3661,613.96832275,4607.02685547,24.12086296,0.00000000,0.00000000,271.99951172); //object(projects01_lax) (2)
  1207.     CreateObject(3655,676.29199219,4658.35107422,23.60000038,0.00000000,0.00000000,0.00000000); //object(ganghous03_lax) (4)
  1208.     CreateObject(3588,719.61578369,4651.01513672,23.32238388,0.00000000,0.00000000,0.00000000); //object(sanped_hse1_las) (3)
  1209.     CreateObject(3279,956.41125488,4758.66503906,20.64800262,0.00000000,0.00000000,0.00000000); //object(a51_spottower) (1)
  1210.     CreateObject(3279,985.77374268,4631.67919922,20.64800262,0.00000000,0.00000000,0.00000000); //object(a51_spottower) (2)
  1211.     CreateObject(3279,767.89953613,4640.61572266,20.64800262,0.00000000,0.00000000,0.00000000); //object(a51_spottower) (3)
  1212.     CreateObject(3279,816.49743652,4670.45361328,20.64800262,0.00000000,0.00000000,0.00000000); //object(a51_spottower) (4)
  1213.     CreateObject(16390,878.09490967,4732.44140625,24.27979279,0.00000000,0.00000000,0.00000000); //object(desn2_studbush) (1)
  1214.     CreateObject(16390,803.01489258,4743.70166016,24.27979279,0.00000000,0.00000000,0.00000000); //object(desn2_studbush) (2)
  1215.     CreateObject(16390,651.85021973,4740.13134766,24.27979279,0.00000000,0.00000000,0.00000000); //object(desn2_studbush) (3)
  1216.     CreateObject(16390,605.23986816,4740.31542969,28.62234116,0.00000000,0.00000000,0.00000000); //object(desn2_studbush) (4)
  1217.     CreateObject(16390,1029.86755371,4734.39843750,24.27979279,0.00000000,0.00000000,0.00000000); //object(desn2_studbush) (5)
  1218.     CreateObject(16390,1080.42578125,4737.91992188,24.27979279,0.00000000,0.00000000,0.00000000); //object(desn2_studbush) (6)
  1219.     CreateObject(16390,1056.25756836,4731.99804688,24.27979279,0.00000000,0.00000000,0.00000000); //object(desn2_studbush) (7)
  1220.     CreateObject(11427,1081.90441895,4599.60791016,27.83786392,0.00000000,0.00000000,272.00000000); //object(des_adobech) (1)
  1221.     CreateObject(11426,1091.18542480,4608.94970703,20.64800262,0.00000000,0.00000000,88.00000000); //object(des_adobe03) (1)
  1222.     CreateObject(11442,1111.58288574,4596.80078125,20.64800262,0.00000000,0.00000000,266.00000000); //object(des_pueblo3) (1)
  1223.     CreateObject(11440,1077.57812500,4622.63867188,20.64800453,0.00000000,0.00000000,0.00000000); //object(des_pueblo1) (1)
  1224.     CreateObject(11088,1028.87304688,4632.45117188,27.40488625,0.00000000,0.00000000,0.00000000); //object(cf_ext_dem_sfs) (1)
  1225.     CreateObject(8578,867.29058838,4604.08300781,27.92212105,0.00000000,0.00000000,182.00000000); //object(vgstrainstation3) (1)
  1226.     CreateObject(3639,930.65625000,4614.46826172,24.57884216,0.00000000,0.00000000,0.00000000); //object(glenphouse01_lax) (1)
  1227.     CreateObject(3640,907.11718750,4614.94091797,25.05156517,0.00000000,0.00000000,0.00000000); //object(glenphouse02_lax) (1)
  1228.     CreateObject(3641,918.87310791,4631.17333984,23.06556892,0.00000000,0.00000000,0.00000000); //object(glenphouse04_lax) (1)
  1229.     CreateObject(3642,937.65148926,4642.75537109,23.59910393,0.00000000,0.00000000,0.00000000); //object(glenphouse03_lax) (1)
  1230.     CreateObject(3644,894.47308350,4648.54296875,23.31085968,0.00000000,0.00000000,0.00000000); //object(idlebuild01_lax) (1)
  1231.     CreateObject(3655,922.92712402,4660.75048828,23.65121460,0.00000000,0.00000000,270.00000000); //object(ganghous03_lax) (5)
  1232.     CreateObject(3641,871.46618652,4640.73632812,23.06556892,0.00000000,0.00000000,0.00000000); //object(glenphouse04_lax) (2)
  1233.     CreateObject(3640,853.81024170,4657.69238281,25.05156517,0.00000000,0.00000000,180.00000000); //object(glenphouse02_lax) (2)
  1234.     CreateObject(3655,827.67077637,4637.90283203,23.65121460,0.00000000,0.00000000,270.00000000); //object(ganghous03_lax) (6)
  1235.    
  1236.  
  1237.  
  1238.     #pragma unused cpgate,cpmilitares,cpplayboys,cpnoias,cpfrangos,cpagentes,cpchineses,cpcowboys,cpbozo,cpgrove,cpballas
  1239.     return 1;
  1240. }
  1241.  
  1242. public OnPlayerRequestClass(playerid, classid)
  1243. {
  1244.     if(!classid)
  1245. {
  1246.     GameTextForPlayer(playerid,"~n~~r~Gang do GATE",2000,3);
  1247.     gangteam[playerid] = 0;
  1248.     format(pgang[playerid],15,pgangnames[0]);
  1249.     SetPlayerColor(playerid,0xFF9900AA);
  1250. }
  1251.   else if(classid == 1)
  1252. {
  1253.     GameTextForPlayer(playerid,"~n~~r~Gang do Militares",2000,3);
  1254.     gangteam[playerid] = 1;
  1255.     format(pgang[playerid],15,pgangnames[1]);
  1256.     SetPlayerColor(playerid,0x0000BBAA);
  1257. }
  1258.    else if(classid == 2)
  1259. {
  1260.     GameTextForPlayer(playerid,"~n~~r~Gang dos PlayBoys",2000,3);
  1261.     gangteam[playerid] = 2;
  1262.     format(pgang[playerid],15,pgangnames[2]);
  1263.     SetPlayerColor(playerid,0xAA3333AA);
  1264. }
  1265.    else if(classid == 3)
  1266. {
  1267.     GameTextForPlayer(playerid,"~n~~r~Gang dos PlayBoys",2000,3);
  1268.     gangteam[playerid] = 2;
  1269.     format(pgang[playerid],15,pgangnames[2]);
  1270.     SetPlayerColor(playerid,0xAA3333AA);
  1271. }
  1272.  else if(classid == 4)
  1273. {
  1274.     GameTextForPlayer(playerid,"~n~~r~Gang dos Noias",2000,3);
  1275.     gangteam[playerid] = 3;
  1276.     format(pgang[playerid],15,pgangnames[3]);
  1277.     SetPlayerColor(playerid,0x1E90FFAA);
  1278. }
  1279.    else if(classid == 5)
  1280. {
  1281.     GameTextForPlayer(playerid,"~n~~r~Gang dos Noias",2000,3);
  1282.     gangteam[playerid] = 3;
  1283.     format(pgang[playerid],15,pgangnames[3]);
  1284.     SetPlayerColor(playerid,0x1E90FFAA);
  1285. }
  1286.  
  1287. else if(classid == 6)
  1288. {
  1289.     GameTextForPlayer(playerid,"~n~~r~Gang dos Frangos",2000,3);
  1290.     gangteam[playerid] = 4;
  1291.     format(pgang[playerid],15,pgangnames[4]);
  1292.     SetPlayerColor(playerid, 0xFF0000AA);
  1293. }
  1294.   else if(classid == 7)
  1295. {
  1296.     GameTextForPlayer(playerid,"~n~~r~Gang dos Agentes",2000,3);
  1297.     gangteam[playerid] = 5;
  1298.     format(pgang[playerid],15,pgangnames[5]);
  1299.     SetPlayerColor(playerid,0x778899AA);
  1300.  
  1301. }
  1302.    else if(classid == 8)
  1303. {
  1304.     GameTextForPlayer(playerid,"~n~~r~Gang dos Agentes",2000,3);
  1305.     gangteam[playerid] = 5;
  1306.     format(pgang[playerid],15,pgangnames[5]);
  1307.     SetPlayerColor(playerid,0x778899AA);
  1308.  
  1309. }
  1310.    else if(classid == 9)
  1311. {
  1312.     GameTextForPlayer(playerid,"~n~~r~Gang dos Chineses",2000,3);
  1313.     gangteam[playerid] = 6;
  1314.     format(pgang[playerid],15,pgangnames[6]);
  1315.     SetPlayerColor(playerid,0xFF66FFAA);
  1316. }
  1317.  
  1318.    else if(classid == 10)
  1319. {
  1320.     GameTextForPlayer(playerid,"~n~~r~Gang dos Chineses",2000,3);
  1321.     gangteam[playerid] = 6;
  1322.     format(pgang[playerid],15,pgangnames[6]);
  1323.     SetPlayerColor(playerid,0xFF66FFAA);
  1324. }
  1325.    else if(classid == 11)
  1326. {
  1327.     GameTextForPlayer(playerid,"~n~~r~Gang dos Cowboys",2000,3);
  1328.     gangteam[playerid] = 7;
  1329.     format(pgang[playerid],15,pgangnames[7]);
  1330.     SetPlayerColor(playerid,0x8B4513AA);
  1331. }
  1332.   else if(classid == 12)
  1333. {
  1334.     GameTextForPlayer(playerid,"~n~~r~Gang do bozo james",2000,3);
  1335.     gangteam[playerid] = 8;
  1336.     format(pgang[playerid],15,pgangnames[8]);
  1337.     SetPlayerColor(playerid,0x33AA33AA);
  1338. }
  1339.   else if(classid == 13)
  1340. {
  1341.     GameTextForPlayer(playerid,"~n~~r~Gang da Grove",2000,3);
  1342.     gangteam[playerid] = 9;
  1343.     format(pgang[playerid],15,pgangnames[9]);
  1344.     SetPlayerColor(playerid,0x0D5800AA);
  1345. }
  1346.    else if(classid == 14)
  1347. {
  1348.     GameTextForPlayer(playerid,"~n~~r~Gang da Grove",2000,3);
  1349.     gangteam[playerid] = 9;
  1350.     format(pgang[playerid],15,pgangnames[9]);
  1351.     SetPlayerColor(playerid,0x0D5800AA);
  1352. }
  1353.    else if(classid == 15)
  1354. {
  1355.     GameTextForPlayer(playerid,"~n~~r~Gang da Grove",2000,3);
  1356.     gangteam[playerid] = 9;
  1357.     format(pgang[playerid],15,pgangnames[9]);
  1358.     SetPlayerColor(playerid,0x0D5800AA);
  1359. }
  1360.  else if(classid == 16)
  1361. {
  1362.     GameTextForPlayer(playerid,"~n~~r~Gang dos ballas",2000,3);
  1363.     gangteam[playerid] = 10;
  1364.     format(pgang[playerid],15,pgangnames[10]);
  1365.     SetPlayerColor(playerid,0x800080AA);
  1366. }
  1367.    else if(classid == 17)
  1368. {
  1369.     GameTextForPlayer(playerid,"~n~~r~Gang dos ballas",2000,3);
  1370.     gangteam[playerid] = 10;
  1371.     format(pgang[playerid],15,pgangnames[10]);
  1372.     SetPlayerColor(playerid,0x800080AA);
  1373. }
  1374.    else if(classid == 18)
  1375. {
  1376.     GameTextForPlayer(playerid,"~n~~r~Gang dos ballas",2000,3);
  1377.     gangteam[playerid] = 10;
  1378.     format(pgang[playerid],15,pgangnames[10]);
  1379.     SetPlayerColor(playerid,0x800080AA);
  1380. }
  1381.     if(-6 != classid)
  1382.     {
  1383.         SetPlayerInterior(playerid, 0);
  1384.         SetPlayerInterior(playerid, 17);
  1385.         SetPlayerPos(playerid, 489.4576, -15.1996, 1000.6796);
  1386.         SetPlayerCameraPos(playerid, 484.9201, -11.7566, 1000.6796);
  1387.         SetPlayerCameraLookAt(playerid, 489.4576, -15.1996, 1000.6796);
  1388.         SetPlayerFacingAngle(playerid, 51.5555);
  1389.         ApplyAnimation(playerid, "Dancing", "Dan_Loop_A", 5.0, 1, 0, 0, 0, 0);
  1390.     }
  1391.  
  1392. return 1;
  1393. }
  1394. public OnPlayerRequestSpawn(playerid)
  1395. {
  1396. new string[256];
  1397. new pName[MAX_PLAYER_NAME];
  1398. if(gangteam[playerid] == 0)
  1399. {
  1400.     GetPlayerName(playerid, pName, sizeof(pName));
  1401.     format(string, sizeof(string), "[ ELement Info ] O Player '%s' vai jogar na gang do(s) GATE",pName );
  1402.     SendClientMessageToAll(0xB4FC0A96, string);
  1403. }
  1404. if(gangteam[playerid] == 1)
  1405. {
  1406.     GetPlayerName(playerid, pName, sizeof(pName));
  1407.     format(string, sizeof(string), "[ ELement Info ] O Player '%s' vai jogar na gang do(s) Militares",pName );
  1408.     SendClientMessageToAll(0xB4FC0A96, string);
  1409. }
  1410. if(gangteam[playerid] == 2)
  1411. {
  1412.     GetPlayerName(playerid, pName, sizeof(pName));
  1413.     format(string, sizeof(string), "[ ELement Info ] O Player '%s' vai jogar na gang do(s) PlayBoys",pName );
  1414.     SendClientMessageToAll(0xB4FC0A96, string);
  1415. }
  1416. if(gangteam[playerid] == 3)
  1417. {
  1418.     GetPlayerName(playerid, pName, sizeof(pName));
  1419.     format(string, sizeof(string), "[ ELement Info ] O Player '%s' vai jogar na gang do(s) Noias",pName );
  1420.     SendClientMessageToAll(0xB4FC0A96, string);
  1421. }
  1422. if(gangteam[playerid] == 4)
  1423. {
  1424.     GetPlayerName(playerid, pName, sizeof(pName));
  1425.     format(string, sizeof(string), "[ ELement Info ] O Player '%s' vai jogar na gang do(s) Frangos",pName );
  1426.     SendClientMessageToAll(0xB4FC0A96, string);
  1427. }
  1428. if(gangteam[playerid] == 5)
  1429. {
  1430.     GetPlayerName(playerid, pName, sizeof(pName));
  1431.     format(string, sizeof(string), "[ ELement Info ] O Player '%s' vai jogar na gang do(s) Agentes",pName );
  1432.     SendClientMessageToAll(0xB4FC0A96, string);
  1433. }
  1434. if(gangteam[playerid] == 6)
  1435. {
  1436.     GetPlayerName(playerid, pName, sizeof(pName));
  1437.     format(string, sizeof(string), "[ ELement Info ] O Player '%s' vai jogar na gang do(s) Chineses",pName );
  1438.     SendClientMessageToAll(0xB4FC0A96, string);
  1439. }
  1440. if(gangteam[playerid] == 7)
  1441. {
  1442.     GetPlayerName(playerid, pName, sizeof(pName));
  1443.     format(string, sizeof(string), "[ ELement Info ] O Player '%s' vai jogar na gang do(s) CowBoys",pName );
  1444.     SendClientMessageToAll(0xB4FC0A96, string);
  1445. }
  1446. if(gangteam[playerid] == 8)
  1447. {
  1448.     GetPlayerName(playerid, pName, sizeof(pName));
  1449.     format(string, sizeof(string), "[ ELement Info ] O Player '%s' vai jogar na gang do(s) Bozo James",pName );
  1450.     SendClientMessageToAll(0xB4FC0A96, string);
  1451. }
  1452. if(gangteam[playerid] == 9)
  1453. {
  1454.     GetPlayerName(playerid, pName, sizeof(pName));
  1455.     format(string, sizeof(string), "[ ELement Info ] O Player '%s' vai jogar na gang do(s) Grove",pName );
  1456.     SendClientMessageToAll(0xB4FC0A96, string);
  1457.  
  1458. }
  1459. if(gangteam[playerid] == 10)
  1460. {
  1461.     GetPlayerName(playerid, pName, sizeof(pName));
  1462.     format(string, sizeof(string), "[ ELement Info ] O Player '%s' vai jogar na gang do(s) Ballas",pName );
  1463.     SendClientMessageToAll(0xB4FC0A96, string);
  1464. }
  1465. return 1;
  1466. }
  1467. public OnPlayerConnect(playerid)
  1468. {
  1469.     new name[MAX_PLAYER_NAME], string[256];
  1470.     ShowPlayerDialog(playerid,DIALOG_REGRAS,DIALOG_STYLE_MSGBOX,"--::::: Principais Regras ::::-- Aceite-as","BRASIL ELEMENT OFICIAL\n1°: Nunca user Cheater\n2°: Respeite todos\n3°: Não abuse de Bugs\n4°:Viu cheaters Denuncia","Aceitar","Kick");
  1471.     GetPlayerName(playerid, name, sizeof(name));
  1472.     format(string, sizeof(string), "%s",name);
  1473.     for(new fdp=0;fdp<RONALDO_LOL;fdp++){
  1474.     if(strfind(string, IP[fdp], true) != -1)
  1475.     {
  1476.     new string2[128];
  1477.     new PlayerNames[30];
  1478.     GetPlayerName(playerid, PlayerNames, 30);
  1479.     format(string2, sizeof(string2), "%s levou um pé na bunda do ADMIN BOT. Motivo: Aqui ninguem divulga!",PlayerNames);
  1480.     SendClientMessageToAll(0xFF0000AA, string2);
  1481.     SpawnPlayer(playerid);
  1482.     SetPlayerPos(playerid, 1,1,1);
  1483.     TimerFDP = SetTimerEx("FDP", 3000, 0, "i", playerid);
  1484.     return 0;
  1485.     }
  1486.     }
  1487.     GameTextForPlayer(playerid,"Bem Vindo ao ~y~element ~g~2011 ~n~ Use  ~b~'/comandos'",4000,4);
  1488.     TextDrawShowForPlayer(playerid, Textdraw0);
  1489.     TextDrawShowForPlayer(playerid, Textdraw2);
  1490.    SendClientMessage(playerid, 0xFF0000AA, "Anti-Divulgador Está ligado no servior não divulgue");
  1491.     if(dini_Isset("dinheiro.ini",PlayerName(playerid))) GivePlayerMoney(playerid,dini_Int("dinheiro.ini",PlayerName(playerid)));
  1492.     if(dini_Isset("scores.ini",PlayerName(playerid))) SetPlayerScore(playerid,dini_Int("scores.ini",PlayerName(playerid)));
  1493.    if(dini_Isset("sematou.dkn",PlayerName(playerid))) PlayerInfo[playerid][pSematou] = (playerid,dini_Int("sematou.dkn",PlayerName(playerid)));
  1494.    if(dini_Isset("morreu.dkn",PlayerName(playerid))) PlayerInfo[playerid][pMorreu] = (playerid,dini_Int("morreu.dkn",PlayerName(playerid)));
  1495.    if(dini_Isset("matou.dkn",PlayerName(playerid))) PlayerInfo[playerid][pMatou] = (playerid,dini_Int("matou.dkn",PlayerName(playerid)));
  1496.    if(dini_Isset("dominou.dkn",PlayerName(playerid))) PlayerInfo[playerid][pDominou] = (playerid,dini_Int("dominou.dkn",PlayerName(playerid)));
  1497.    if(dini_Isset("tk.dkn",PlayerName(playerid))) PlayerInfo[playerid][pTeamkill] = (playerid,dini_Int("tk.dkn",PlayerName(playerid)));
  1498.    if(dini_Isset("Ganhoux1.dkn",PlayerName(playerid))) PlayerInfo[playerid][Ganhoux1] = (playerid,dini_Int("Ganhoux1.dkn",PlayerName(playerid)));
  1499.    if(dini_Isset("Perdeux1.dkn",PlayerName(playerid))) PlayerInfo[playerid][Perdeux1] = (playerid,dini_Int("Perdeux1.dkn",PlayerName(playerid)));
  1500.    SendDeathMessage(INVALID_PLAYER_ID,playerid, 200);
  1501.     UsePlayerPedAnims();//Jogadores correm rapido que nem o Cj
  1502.    Dominat[playerid] = 0;
  1503.     //new Float:X,Y,Z;
  1504.     //PlayerPlaySound(playerid, 1185, X, Y, Z);
  1505.     if (EmDuelo[playerid] > 0)  VerificaDuelos(playerid, INVALID_PLAYER_ID); // X1
  1506.     if (EmGuerra[playerid] > 0)     VerificaGuerra(playerid, INVALID_PLAYER_ID); // X1
  1507.     gPlayerLogged[playerid] = 0;
  1508.     gPlayerLogTries[playerid] = 0;
  1509.     ccolete[playerid] = 0;
  1510.     steleporte[playerid] = 1;
  1511.     granastatus[playerid] = 0;
  1512.     Matando[playerid] = 0;
  1513.     JaPegouaGrana[playerid] = 0;
  1514.     GangZoneShowForPlayer(playerid, Gate, gzcolor[0]);
  1515.     GangZoneShowForPlayer(playerid, Militares, gzcolor[1]);
  1516.     GangZoneShowForPlayer(playerid, Playboys, gzcolor[2]);
  1517.     GangZoneShowForPlayer(playerid, Noias, gzcolor[3]);
  1518.     GangZoneShowForPlayer(playerid, Frangos, gzcolor[4]);
  1519.     GangZoneShowForPlayer(playerid, Agentes, gzcolor[5]);
  1520.     GangZoneShowForPlayer(playerid, Chineses, gzcolor[6]);
  1521.     GangZoneShowForPlayer(playerid, Cowboys, gzcolor[7]);
  1522.     GangZoneShowForPlayer(playerid, Bozo, gzcolor[8]);
  1523.     GangZoneShowForPlayer(playerid, Grove, gzcolor[9]);
  1524.     GangZoneShowForPlayer(playerid, Ballas, gzcolor[10]);
  1525.     status[playerid] = 0;
  1526.  
  1527.     HealthBar[playerid] = TextDrawCreate(548.000000, 66.000000, "100");
  1528.     TextDrawBackgroundColor(HealthBar[playerid], 255);
  1529.     TextDrawFont(HealthBar[playerid], 1);
  1530.     TextDrawLetterSize(HealthBar[playerid], 0.280000, 1.000000);
  1531.     TextDrawColor(HealthBar[playerid], -1);
  1532.     TextDrawSetOutline(HealthBar[playerid], 1);
  1533.     TextDrawSetProportional(HealthBar[playerid], 1);
  1534.  
  1535.     ArmourBar[playerid] = TextDrawCreate(548.000000, 43.000000, "100");
  1536.     TextDrawBackgroundColor(ArmourBar[playerid], 255);
  1537.     TextDrawFont(ArmourBar[playerid], 1);
  1538.     TextDrawLetterSize(ArmourBar[playerid], 0.290000, 1.100000);
  1539.     TextDrawColor(ArmourBar[playerid], -1);
  1540.     TextDrawSetOutline(ArmourBar[playerid], 1);
  1541.     TextDrawSetProportional(ArmourBar[playerid], 1);
  1542.  
  1543.     VehHealthBox1[playerid] = TextDrawCreate(547.000000, 9.000000, "..........");
  1544.     TextDrawBackgroundColor(VehHealthBox1[playerid], 255);
  1545.     TextDrawFont(VehHealthBox1[playerid], 3);
  1546.     TextDrawLetterSize(VehHealthBox1[playerid], 0.599999, 3.999999);
  1547.     TextDrawColor(VehHealthBox1[playerid], 255);
  1548.     TextDrawSetOutline(VehHealthBox1[playerid], 1);
  1549.     TextDrawSetProportional(VehHealthBox1[playerid], 1);
  1550.  
  1551.     VehHealthBox2[playerid] = TextDrawCreate(549.000000, 22.000000, "~g~..........");
  1552.     TextDrawBackgroundColor(VehHealthBox2[playerid], 912665855);
  1553.     TextDrawFont(VehHealthBox2[playerid], 3);
  1554.     TextDrawLetterSize(VehHealthBox2[playerid], 0.560000, 2.200000);
  1555.     TextDrawColor(VehHealthBox2[playerid], -1);
  1556.     TextDrawSetOutline(VehHealthBox2[playerid], 1);
  1557.     TextDrawSetProportional(VehHealthBox2[playerid], 1);
  1558.  
  1559.     VehHealthBox3[playerid] = TextDrawCreate(549.000000, 22.000000, "~g~~h~.........");
  1560.     TextDrawBackgroundColor(VehHealthBox3[playerid], 1369064191);
  1561.     TextDrawFont(VehHealthBox3[playerid], 3);
  1562.     TextDrawLetterSize(VehHealthBox3[playerid], 0.560000, 2.200000);
  1563.     TextDrawColor(VehHealthBox3[playerid], -1);
  1564.     TextDrawSetOutline(VehHealthBox3[playerid], 1);
  1565.     TextDrawSetProportional(VehHealthBox3[playerid], 1);
  1566.  
  1567.     Textdraw0 = TextDrawCreate(532.000000, 405.000000, "ELEMENT OFICIAL");
  1568.     TextDrawBackgroundColor(Textdraw0, 255);
  1569.     TextDrawFont(Textdraw0, 1);
  1570.     TextDrawLetterSize(Textdraw0, 0.359998, 2.099998);
  1571.     TextDrawColor(Textdraw0, -7601921);
  1572.     TextDrawSetOutline(Textdraw0, 1);
  1573.     TextDrawSetProportional(Textdraw0, 1);
  1574.    
  1575.     VehHealthBar[playerid] = TextDrawCreate(548.000000, 32.000000, "100");
  1576.     TextDrawBackgroundColor(VehHealthBar[playerid], 255);
  1577.     TextDrawFont(VehHealthBar[playerid], 1);
  1578.     TextDrawLetterSize(VehHealthBar[playerid], 0.290000, 1.100000);
  1579.     TextDrawColor(VehHealthBar[playerid], -1);
  1580.     TextDrawSetOutline(VehHealthBar[playerid], 1);
  1581.     TextDrawSetProportional(VehHealthBar[playerid], 1);
  1582.     gettime(hourtwohaha, minutetwohaha);
  1583.     SetPlayerTime(playerid,hourtwohaha,minutetwohaha);
  1584.  
  1585.     Textdraw2 = TextDrawCreate(5.0, 430.0, "  ~g~[BRASIL]~r~ ELEMENT ~w~OFICIAL SERVER ~r~ ~w~Team Death Match ~p~Team War ~b~ /Comandos /Ajuda /Creditos");
  1586.     TextDrawSetShadow(Textdraw2, 0);
  1587.     TextDrawSetOutline(Textdraw2, 1);
  1588.     TextDrawLetterSize(Textdraw2, 0.2904, 0.836);
  1589.     TextDrawFont(Textdraw2, 1);
  1590.     TextDrawSetProportional(Textdraw2, 1);
  1591.    
  1592.     GivePlayerMoney(playerid, 1000);
  1593.     SetPlayerColor(playerid, 0xFFFFFFAA);
  1594.     new visitorstr[256];
  1595.     format(visitorstr, sizeof(visitorstr), "~ Você é o visitantes numero %d desde o momento em que foi ligado!", Visitors);
  1596.     SendClientMessage(playerid, Verde, visitorstr);
  1597.     Visitors ++;
  1598.     return 1;
  1599. }
  1600. public OnPlayerDisconnect(playerid, reason)
  1601. {
  1602. dini_IntSet("sematou.dkn",PlayerName(playerid),PlayerInfo[playerid][pSematou]);
  1603. dini_IntSet("matou.dkn",PlayerName(playerid),PlayerInfo[playerid][pMatou]);
  1604. dini_IntSet("morreu.dkn",PlayerName(playerid),PlayerInfo[playerid][pMorreu]);
  1605. dini_IntSet("dominou.dkn",PlayerName(playerid),PlayerInfo[playerid][pDominou]);
  1606. dini_IntSet("tk.dkn",PlayerName(playerid),PlayerInfo[playerid][pTeamkill]);
  1607. dini_IntSet("Ganhoux1.dkn",PlayerName(playerid),PlayerInfo[playerid][Ganhoux1]);
  1608. dini_IntSet("Perdeux1.ini",PlayerName(playerid),PlayerInfo[playerid][Perdeux1]);
  1609.     dini_IntSet("dinheiro.ini",PlayerName(playerid),GetPlayerMoney(playerid));
  1610.     dini_IntSet("scores.ini",PlayerName(playerid),GetPlayerScore(playerid));
  1611.     steleporte[playerid] = 1;
  1612.     status[playerid] = 0;
  1613.     JaPegouaGrana[playerid] = 0;
  1614.     granastatus[playerid] = 0;
  1615.     EmGuerra[playerid] = 0;
  1616.     pLocal[playerid] = 0;
  1617.     bounty[playerid] = 0;
  1618.     SendDeathMessage(INVALID_PLAYER_ID, playerid, 201);
  1619.     //TextDrawShowForPlayer(playerid, InfoText[playerid]);
  1620.     if (EmDuelo[playerid] > 0)
  1621.     {
  1622.     VerificaDuelos(playerid, INVALID_PLAYER_ID); // X1
  1623.     }
  1624.     if (EmGuerra[playerid] > 0)
  1625.     {
  1626.     VerificaGuerra(playerid, INVALID_PLAYER_ID); // X1
  1627.     }
  1628.     //Guerraaberta[playerid] = 0;
  1629.     return 1;
  1630. }
  1631. public OnPlayerSpawn(playerid)
  1632. {
  1633.     if(EmGuerra[playerid] == 1 )
  1634.     {
  1635.     new R2 = random(sizeof(GuerraSpawns));
  1636.     SetPlayerTeam(playerid, NO_TEAM);
  1637.     SetPlayerPos(playerid,GuerraSpawns[R2][0],GuerraSpawns[R2][1],GuerraSpawns[R2][2]);
  1638.     GivePlayerWeapon(playerid, 1 , 9999);
  1639.     GivePlayerWeapon(playerid, 16 , 9999);
  1640.     GivePlayerWeapon(playerid, 24 , 9999);
  1641.     GivePlayerWeapon(playerid, 26 , 9999);
  1642.     GivePlayerWeapon(playerid, 34 , 9999);
  1643.     GivePlayerWeapon(playerid, 31 , 9999);
  1644.     SetPlayerHealth(playerid, 100);
  1645.     SetPlayerArmour(playerid, 100);
  1646.     }
  1647.     TextDrawShowForPlayer(playerid, Textdraw0);
  1648.     TextDrawShowForPlayer(playerid, Textdraw2);
  1649.     SetPlayerInterior(playerid, 0);
  1650.     if (EmDuelo[playerid] > 0)
  1651.     {
  1652.     VerificaDuelos(playerid,INVALID_PLAYER_ID); // X1
  1653.     }
  1654.     if (EmGuerra[playerid] > 0)
  1655.     {
  1656.     VerificaGuerra(playerid,INVALID_PLAYER_ID); // X1
  1657.     }
  1658.     GivePlayerMoney(playerid, 1000);
  1659.     if(EmGuerra[playerid] == 0 )
  1660.     {
  1661.     if(gangteam[playerid] == 0)
  1662.     {
  1663.     ResetPlayerWeapons(playerid);
  1664.     GivePlayerWeapon(playerid, 24, 150);
  1665.     GivePlayerWeapon(playerid, 27, 50);
  1666.     GivePlayerWeapon(playerid, 29, 50);
  1667.     GivePlayerWeapon(playerid, 31, 100);
  1668.     GivePlayerWeapon(playerid, 34, 50);
  1669.     GivePlayerWeapon(playerid, 41, 100);
  1670.     SetPlayerTeam(playerid,0);
  1671.     }
  1672.     if(gangteam[playerid] == 1)
  1673.     {
  1674.     ResetPlayerWeapons(playerid);
  1675.     GivePlayerWeapon(playerid, 16, 16);
  1676.     GivePlayerWeapon(playerid, 24, 150);
  1677.     GivePlayerWeapon(playerid, 25, 50);
  1678.     GivePlayerWeapon(playerid, 29, 50);
  1679.     GivePlayerWeapon(playerid, 31, 100);
  1680.     GivePlayerWeapon(playerid, 34, 50);
  1681.     GivePlayerWeapon(playerid, 41, 100);
  1682.     SetPlayerTeam(playerid,1);
  1683.     }
  1684.     if(gangteam[playerid] == 2)
  1685.     {
  1686.     ResetPlayerWeapons(playerid);
  1687.     GivePlayerWeapon(playerid, 24, 150);
  1688.     GivePlayerWeapon(playerid, 26, 150);
  1689.     GivePlayerWeapon(playerid, 32, 150);
  1690.     GivePlayerWeapon(playerid, 31, 100);
  1691.     GivePlayerWeapon(playerid, 30, 50);
  1692.     SetPlayerTeam(playerid,2);
  1693.     }
  1694.     if(gangteam[playerid] == 3)
  1695.     {
  1696.     ResetPlayerWeapons(playerid);
  1697.     GivePlayerWeapon(playerid, 29, 150);
  1698.     GivePlayerWeapon(playerid, 25, 150);
  1699.     GivePlayerWeapon(playerid, 29, 50);
  1700.     GivePlayerWeapon(playerid, 31, 100);
  1701.     GivePlayerWeapon(playerid, 34, 50);
  1702.     GivePlayerWeapon(playerid, 41, 100);
  1703.     SetPlayerTeam(playerid,3);
  1704.     }
  1705.     if(gangteam[playerid] == 4)
  1706.     {
  1707.     GivePlayerWeapon(playerid, 24, 150);
  1708.     GivePlayerWeapon(playerid, 26, 150);
  1709.     GivePlayerWeapon(playerid, 32, 150);
  1710.     GivePlayerWeapon(playerid, 31, 100);
  1711.     GivePlayerWeapon(playerid, 30, 50);
  1712.     SetPlayerTeam(playerid,4);
  1713.     }
  1714.     if(gangteam[playerid] == 5)
  1715.     {
  1716.     GivePlayerWeapon(playerid, 24, 150);
  1717.     GivePlayerWeapon(playerid, 25, 150);
  1718.     GivePlayerWeapon(playerid, 32, 150);
  1719.     GivePlayerWeapon(playerid, 30, 100);
  1720.     GivePlayerWeapon(playerid, 16, 10);
  1721.     SetPlayerTeam(playerid,5);
  1722.     }
  1723.     if(gangteam[playerid] == 6)
  1724.     {
  1725.     GivePlayerWeapon(playerid, 24, 150);
  1726.     GivePlayerWeapon(playerid, 26, 150);
  1727.     GivePlayerWeapon(playerid, 32, 150);
  1728.     GivePlayerWeapon(playerid, 30, 100);
  1729.     GivePlayerWeapon(playerid, 16, 10);
  1730.     GivePlayerWeapon(playerid, 34, 30);
  1731.     SetPlayerTeam(playerid,6);
  1732.     }
  1733.     if(gangteam[playerid] == 7)
  1734.     {
  1735.     GivePlayerWeapon(playerid, 24, 150);
  1736.     GivePlayerWeapon(playerid, 26, 150);
  1737.     GivePlayerWeapon(playerid, 32, 150);
  1738.     GivePlayerWeapon(playerid, 30, 100);
  1739.     GivePlayerWeapon(playerid, 16, 10);
  1740.     GivePlayerWeapon(playerid, 33, 100);
  1741.     SetPlayerTeam(playerid,7);
  1742.     }
  1743.     if(gangteam[playerid] == 8)
  1744.     {
  1745.     GivePlayerWeapon(playerid, 24, 150);
  1746.     GivePlayerWeapon(playerid, 27, 150);
  1747.     GivePlayerWeapon(playerid, 32, 150);
  1748.     GivePlayerWeapon(playerid, 30, 100);
  1749.     GivePlayerWeapon(playerid, 16, 10);
  1750.     GivePlayerWeapon(playerid, 34, 30);
  1751.     SetPlayerTeam(playerid,8);
  1752.     }
  1753.     if(gangteam[playerid] == 9)
  1754.     {
  1755.     GivePlayerWeapon(playerid, 24, 150);
  1756.     GivePlayerWeapon(playerid, 25, 150);
  1757.     GivePlayerWeapon(playerid, 32, 150);
  1758.     GivePlayerWeapon(playerid, 30, 100);
  1759.     GivePlayerWeapon(playerid, 16, 10);
  1760.     GivePlayerWeapon(playerid, 34, 30);
  1761.     SetPlayerTeam(playerid,9);
  1762.     }
  1763.     if(gangteam[playerid] == 10)
  1764.     {
  1765.     GivePlayerWeapon(playerid, 24, 150);
  1766.     GivePlayerWeapon(playerid, 26, 150);
  1767.     GivePlayerWeapon(playerid, 32, 150);
  1768.     GivePlayerWeapon(playerid, 30, 100);
  1769.     GivePlayerWeapon(playerid, 16, 10);
  1770.     GivePlayerWeapon(playerid, 34, 30);
  1771.     SetPlayerTeam(playerid,10);
  1772.     }
  1773.     }
  1774.     if(JaPegouaGrana[playerid] == 0)
  1775.     {
  1776.     GivePlayerMoney(playerid, 4000);
  1777.     JaPegouaGrana[playerid] = 1;
  1778.     }
  1779.     return 1;
  1780. }
  1781. stock PlayerName(playerid)
  1782. {
  1783.       new name[MAX_PLAYER_NAME];
  1784.       GetPlayerName(playerid, name, sizeof(name));
  1785.       return name;
  1786. }
  1787. public OnPlayerDeath(playerid, killerid, reason)
  1788. {
  1789.     new mato[256];
  1790.     ccolete[playerid] = 0;
  1791.     steleporte[playerid] = 1;
  1792.     ResetPlayerWeapons(playerid);
  1793.     new pName[MAX_PLAYER_NAME];
  1794.     GetPlayerName(playerid, pName, sizeof(pName));
  1795.     new namekiller[MAX_PLAYER_NAME];
  1796.     GetPlayerName(killerid, namekiller, sizeof(pName));
  1797.  
  1798.     if (EmDuelo[playerid] > 0)
  1799.     {
  1800.         VerificaDuelos(playerid,killerid); // X1
  1801.         return 1;
  1802.     }
  1803.     if (EmGuerra[playerid] > 0)
  1804.     {
  1805.         VerificaGuerra(playerid,killerid); // X1
  1806.         return 1;
  1807.     }
  1808.     new string[256];
  1809.     if(bounty[playerid] > 0 && (GetPlayerTeam(killerid) == 0 || GetPlayerTeam(playerid) != GetPlayerTeam(killerid)))
  1810.     {
  1811.        format(string, sizeof(string), "Voce recebeu a recompensa de $%d por matar %s.", bounty[playerid], PlayerName(playerid));
  1812.         SendClientMessage(killerid, 0xFF8040FF, string);
  1813.         GivePlayerMoney(killerid, bounty[playerid]);
  1814.         bounty[playerid] = 0;
  1815.     }
  1816.             if(GetPlayerTeam(killerid) != GetPlayerTeam(playerid))
  1817.             {
  1818.             SendDeathMessage(killerid, playerid, reason);
  1819.             SetPlayerScore(killerid, GetPlayerScore(killerid) + 1);
  1820.             GetPlayerName(killerid, mato, 24);
  1821.             GivePlayerMoney(killerid, 1000);
  1822.             GivePlayerMoney(playerid, -500);
  1823.             psht[playerid] = 0;
  1824.             GivePlayerMoney(killerid, granastatus[playerid]);
  1825.             granastatus[killerid] = Matando[killerid] * 100;
  1826.             granastatus[playerid] = 0;
  1827.             PlayerInfo[killerid][pMatou]++;
  1828.             PlayerInfo[playerid][pMorreu]++;
  1829.             Matando[killerid]++;
  1830.             TogglePlayerSpectating(playerid, true);
  1831.             PlayerSpectatePlayer(playerid, killerid, 1);
  1832.             olhamane[playerid] = 1;
  1833.             ccolete[playerid] = 0;
  1834.             steleporte[playerid] = 1;
  1835.             GameTextForPlayer(playerid, "~p~ ] ~r~Aprende a jogar Noob! ~p~]", 7000, 3);
  1836.             SetTimerEx("OlhaAeQuemTeMatou", 7000, false, "d", playerid);
  1837.         }
  1838.         new nome[MAX_PLAYER_NAME];
  1839.         GetPlayerName(killerid, nome, sizeof(nome));
  1840.         if(Matando[killerid] == 1)
  1841.         {
  1842.             format(string, 256, "MM - Mortes | %s tirou o pe da lama ja mandou um para a cova!", nome);
  1843.             SendClientMessageToAll(0xFFF208AA, string);granastatus[killerid] = 1000;
  1844.             format(string, 256, "[MATA-MORRE INFO]: Cada pessoa que %s matar a recompensa pela cabeça dele aumenta em Mil reais.", nome);
  1845.             SendClientMessageToAll(0x59E000AA, string);
  1846.         }
  1847.         else if(Matando[killerid] == 5)
  1848.         {
  1849.             format(string, 256, "MM - Mortes | %s ta tomando gosto pela coisa jamatou 5 sem piedade!", nome);
  1850.             SendClientMessageToAll(0xFFF208AA, string);
  1851.         }
  1852.         else if(Matando[killerid] == 10)
  1853.         {
  1854.             format(string, 256, "MM - Mortes | %s ta querendo virar um assassino profissional ja matou 10 negos!", nome);
  1855.             SendClientMessageToAll(0x59E000AA, string);granastatus[killerid] = 10000;
  1856.             format(string, 256, "Info Recompensas | 10 Mil reais para quem matar %s!", nome);
  1857.             SendClientMessageToAll(0x6F6FFF96, string);
  1858.         }
  1859.         else if(Matando[killerid] == 15)
  1860.         {
  1861.             format(string, 256, "MM - Mortes | Acho que %s e parente do Chuck Norris ja tirou a vida de 15 infelizes!", nome);
  1862.             SendClientMessageToAll(0xFFF208AA, string);
  1863.         }
  1864.         else if(Matando[killerid] == 20)
  1865.         {
  1866.             format(string, 256, "MM - Mortes | %s fez uma chasina em San Andreas ja matou 20 pessoas!", nome);
  1867.             SendClientMessageToAll(0x59E000AA, string);granastatus[killerid] = 20000;
  1868.             format(string, 256, "Info Recompensas | 20 Mil reais para quem matar %s!", nome);
  1869.             SendClientMessageToAll(0x6F6FFF96, string);
  1870.         }
  1871.         else if(Matando[killerid] == 25)
  1872.         {
  1873.             format(string, 256, "MM - Mortes | %s nao teve uma boa infancia ja matou 25 sem nenhuma compaixao!", nome);
  1874.             SendClientMessageToAll(0xFFF208AA, string);
  1875.         }
  1876.         else if(Matando[killerid] == 30)
  1877.         {
  1878.             format(string, 256, "MM - Mortes | Acho que %s e o Sylvester Stallone disfarïado ja mandou 30 para a cova!", nome);
  1879.             SendClientMessageToAll(0x59E000AA, string);granastatus[killerid] = 30000;
  1880.             format(string, 256, "Info Recompensas | 30 Mil reais para quem matar %s!", nome);
  1881.             SendClientMessageToAll(0x6F6FFF96, string);
  1882.         }
  1883.         else if(Matando[killerid] == 35)
  1884.         {
  1885.             format(string, 256, "MM - Mortes | %s ja matou 35, que isso? Ate eu estou com medo dele agora! O.o", nome);
  1886.             SendClientMessageToAll(0xFFF208AA, string);
  1887.         }
  1888.         else if(Matando[killerid] == 40)
  1889.         {
  1890.             format(string, 256, "MM - Mortes | %s ja  matou 40, puts esse cara e o Demo em pessoa!", nome);
  1891.             SendClientMessageToAll(0x59E000AA, string);granastatus[killerid] = 40000;
  1892.             format(string, 256, "Info Recompensas | 40 Mil reais para quem matar %s!", nome);
  1893.             SendClientMessageToAll(0x6F6FFF96, string);
  1894.         }
  1895.         else if(Matando[killerid] == 45)
  1896.         {
  1897.             format(string, 256, "MM - Mortes | %s simplesmente ja mandou 45 para a cova! lol", nome);
  1898.             SendClientMessageToAll(0xFFF208AA, string);
  1899.         }
  1900.         else if(Matando[killerid] == 50)
  1901.         {
  1902.             format(string, 256, "MM - Mortes | Eu sei que eu sou um robo e robos nao sentem medo, mais fala serio, %s ja matou 50!", nome);
  1903.             SendClientMessageToAll(0x59E000AA, string);granastatus[killerid] = 50000;
  1904.             SendClientMessageToAll(0x88FF9FAA, "E se ele resolve me da um Curto Circuito? O.o");
  1905.             format(string, 256, "Info Recompensas | 50 Mil reais para quem matar %s!", nome);
  1906.             SendClientMessageToAll(0x6F6FFF96, string);
  1907.         }
  1908.         else if(Matando[killerid] == 55)
  1909.         {
  1910.             format(string, 256, "MM - Mortes | Caramba %s ja  matou 55 players, so pode esta possuido mesmo!", nome);
  1911.             SendClientMessageToAll(0xFFF208AA, string);
  1912.         }
  1913.         else if(Matando[killerid] == 60)
  1914.         {
  1915.             format(string, 256, "MM - Mortes | Meu Deus!!! Matar deve ser a maior diversao do %s o cara ja matou 60 alguem para ele por favor!", nome);
  1916.             SendClientMessageToAll(0x59E000AA, string);granastatus[killerid] = 60000;
  1917.             format(string, 256, "Info Recompensas | 60 Mil reais para quem matar %s!", nome);
  1918.             SendClientMessageToAll(0x6F6FFF96, string);
  1919.         }
  1920.         else if(Matando[killerid] == 65)
  1921.         {
  1922.             format(string, 256, "MM - Mortes | Alguem tem papel ai? Acabei de me borrar todo de medo! %s ja matou 65! To todo cagado! O.o", nome);
  1923.             SendClientMessageToAll(0xFFF208AA, string);
  1924.         }
  1925.         else if(Matando[killerid] == 70)
  1926.         {
  1927.             format(string, 256, "MM - Mortes | %s e um pissicopata ja tirou a vida de 70 pessoas! Alguem mata ele por favor!", nome);
  1928.             SendClientMessageToAll(0x59E000AA, string);granastatus[killerid] = 70000;
  1929.             format(string, 256, "Info Recompensas | 70 Mil reais para quem matar %s!", nome);
  1930.             SendClientMessageToAll(0x6F6FFF96, string);
  1931.         }
  1932.         else if(Matando[killerid] == 75)
  1933.         {
  1934.             format(string, 256, "MM - Mortes | Poha 75 ja e de mais! Para um poco de matar %s ... Voce ja  passou dos limites!", nome);
  1935.             SendClientMessageToAll(0xFFF208AA, string);
  1936.         }
  1937.         else if(Matando[killerid] == 80)
  1938.         {
  1939.             format(string, 256, "MM - Mortes | %s paraaaaaa! Vou ter que chamar o Exercito e a Swat para tentar te matar seu infeliz!", nome);
  1940.             SendClientMessageToAll(0x59E000AA, string);granastatus[killerid] = 80000;
  1941.             SendClientMessage(killerid, 0x88FF9FAA, "Tu ja  matou 80 players!");
  1942.             format(string, 256, "Info Recompensas | 80 Mil reais para quem matar %s!", nome);
  1943.             SendClientMessageToAll(0x6F6FFF96, string);
  1944.         }
  1945.         else if(Matando[killerid] == 85)
  1946.         {
  1947.             format(string, 256, "MM - Mortes | Todos que estao usando o skin do Exercito ou da Swat peguem o %s esse FDP ja matou 85!!! _|_", nome);
  1948.             SendClientMessageToAll(0xFFF208AA, string);
  1949.         }
  1950.         else if(Matando[killerid] == 90)
  1951.         {
  1952.             format(string, 256, "MM - Mortes | Puta que pariu! %s ja matou 90 vai matar assim na Puta que te pariu! =X", nome);
  1953.             SendClientMessageToAll(0x59E000AA, string);granastatus[killerid] = 90000;
  1954.             SendClientMessageToAll(0x88FF9FAA, "(Robos tambem se estressam.)");
  1955.             format(string, 256, "Info Recompensas | 90 Mil reais para quem matar %s!", nome);
  1956.             SendClientMessageToAll(0x6F6FFF96, string);
  1957.         }
  1958.         else if(Matando[killerid] == 95)
  1959.         {
  1960.             format(string, 256, "MM - Mortes | Ninguem para esse cara ae??? ahh.. %s ja  matou simplesmente 95 players! O.o", nome);
  1961.             SendClientMessageToAll(0xFFF208AA, string);
  1962.         }
  1963.         else if(Matando[killerid] == 100)
  1964.         {
  1965.             format(string, 256, "MM - Mortes | %s voce passou dos limites! Tu ja matou 100 pessoas cara! Me aposento...", nome);
  1966.             SendClientMessageToAll(0x59E000AA, string);granastatus[killerid] = 100000;
  1967.             SendClientMessageToAll(0x88FF9FAA, " Apartir de agora nao anuncio mais suas vitimas.Robo fail mato de mais lol");
  1968.             format(string, 256, "Info Recompensas | 100 Mil reais para quem matar %s! lol", nome);
  1969.             SendClientMessageToAll(0x6F6FFF96, string);
  1970.         }
  1971.         else if(Matando[killerid] == 1000)
  1972.         {
  1973.             format(string, 256, "MM - Mortes | Para tudo!!! Agora eu vou anunciar que %s matou simplesmente Mil pessoas! Ele bateu o Record!!!", nome);
  1974.             SendClientMessageToAll(0xFFF208AA, string);granastatus[killerid] = 1000000;
  1975.             SendClientMessageToAll(0x88FF9FAA, "NAO e falha no sistema... Ele matou Mil mesmo! Nao e 100 nem 200! sao Mil!!! Todos pra cima dele! Goo Goo!!!");
  1976.             format(string, 256, "Info Recompensas | 1 Milhão de reais para quem matar %s! Peguem ele!!! eh muita grana!!!", nome);
  1977.             SendClientMessageToAll(0x6F6FFF96, string);
  1978.         }
  1979.         return 1;
  1980. }
  1981. public OnVehicleSpawn(vehicleid)
  1982. {
  1983.     return 1;
  1984. }
  1985. public OnVehicleDeath(vehicleid, killerid)
  1986. {
  1987.     return 1;
  1988. }
  1989.  
  1990. public OnPlayerText(playerid, text[])
  1991. {
  1992. UpperToLower(text);
  1993. new srvchat[128];
  1994. new pName[MAX_PLAYER_NAME];
  1995. GetPlayerName(playerid, pName, sizeof(pName));
  1996. if(text[0] == '!')
  1997. {//Se Tiver '!'
  1998. format(srvchat, sizeof(srvchat),"|| Chat Gang %s: (id:%d): %s", pName, playerid, text[1]);
  1999. CallRemoteFunction("OnPlayerGangText","ds",playerid,srvchat);
  2000. return 0;
  2001. }
  2002. new string[256];
  2003.     for(new fdp=0;fdp<RONALDO_LOL;fdp++){
  2004.         if(strfind(text, IP[fdp], true) != -1)
  2005.         {
  2006.             new string2[128];
  2007.             new PlayerNames[30];
  2008.             GetPlayerName(playerid, PlayerNames, 30);
  2009.             format(string2, sizeof(string2), "%s levou um pé na bunda do ADMIN BOT. Motivo: Aqui ninguem divulga!",PlayerNames);
  2010.             SendClientMessageToAll(0xFF0000AA, string2);
  2011.             new nomefdp[30], ipdivulgado[512], ipfdp[128], iplolol[128];
  2012.             GetPlayerIp(playerid,iplolol,128);
  2013.             GetPlayerName(playerid, nomefdp, 30);
  2014.             format(ipdivulgado, 256, "%s", text);
  2015.             format(ipfdp, 256, "%s", iplolol);
  2016.             new File:ofdp=fopen("divulgadores.txt", io_append);
  2017.             new iFDP = strval(ipfdp);
  2018.             format(string, 256, "Nome Do FDP: %s - Ip Divulgado: %s - Ip do FDP: %s \n", nomefdp, ipdivulgado, iFDP);
  2019.             fwrite(ofdp, string);
  2020.             print(string);
  2021.             fclose(ofdp);
  2022.             SetPlayerPos(playerid, 1,1,1);
  2023.             TimerFDP = SetTimerEx("FDP", 3000, 0, "i", playerid);
  2024.             return 0;
  2025.         }
  2026.     }
  2027. format(string,sizeof(string),"(id:%d): %s",playerid,text);
  2028. SendPlayerMessageToAll(playerid,string);
  2029. return 0;
  2030. }
  2031. public OnPlayerCommandText(playerid, cmdtext[])
  2032. {
  2033.    new cmd[256];
  2034.    new string[256];
  2035.    new tmp[256];
  2036.    new iName[MAX_PLAYER_NAME+1];
  2037.    new sendername[MAX_PLAYER_NAME];
  2038.    new pName[MAX_PLAYER_NAME];
  2039.    new idx;
  2040.    GetPlayerName(playerid, iName, 128);
  2041.    cmd = strtok(cmdtext, idx);
  2042.    if(strcmp(cmd, "/transferir", true) == 0) {new giveplayerid;new moneys;new giveplayer[MAX_PLAYER_NAME];new playermoney;tmp = strtok(cmdtext, idx);
  2043.     if(!strlen(tmp)) {SendClientMessage(playerid, 0x88FF9FAA, "Uso: /transferir [id-do-jogador] [quantidade]");return 1;}giveplayerid = strval(tmp);
  2044.     tmp = strtok(cmdtext, idx);if(!strlen(tmp)) {SendClientMessage(playerid, 0x88FF9FAA, "Uso: /transferir [id-do-jogador] [quantidade]");
  2045.     return 1;}moneys = strval(tmp);if (IsPlayerConnected(giveplayerid)) {GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
  2046.     GetPlayerName(playerid, sendername, sizeof(sendername));playermoney = GetPlayerMoney(playerid);if (moneys > 0 && playermoney >= moneys) {
  2047.     GivePlayerMoney(playerid, (0 - moneys));GivePlayerMoney(giveplayerid, moneys);format(string, sizeof(string), "Você enviou a %s (ID:%d) a importância de $%d.", giveplayer,giveplayerid, moneys);
  2048.     SendClientMessage(playerid, 0x88FF9FAA, string);format(string, sizeof(string), "Você recebeu $%d de %s (ID:%d).", moneys, sendername, playerid);
  2049.     SendClientMessage(giveplayerid, 0x88FF9FAA, string);}else {SendClientMessage(playerid, 0x88FF9FAA, "Valor inválido.");}}else {format(string, sizeof(string), "%d não está online.", giveplayerid);
  2050.     SendClientMessage(playerid, 0x88FF9FAA, string);}return 1;}
  2051.     if(!strcmp(cmdtext, "/insano", true))
  2052.     {
  2053.         if(EmDuelo[playerid] == 1){SendClientMessage(playerid, 0xFF6F28AA, "Você esta no x1 e não pode usar comandos");return 1;}
  2054.         if(EmGuerra[playerid] == 1){SendClientMessage(playerid, 0xFF6F28AA, "Você esta na Guerra e não pode usar comandos");return 1;}
  2055.         if(IsPlayerInAnyVehicle(playerid))
  2056.         {GetPlayerName(playerid, pName, sizeof(pName));format(string, sizeof(string), "[ ELement Info ] %s Foi para o insano ( /insano )",pName );
  2057.         SendClientMessageToAll(0xB4FC0A96, string);new car;car = GetPlayerVehicleID(playerid);SetVehiclePos(car, -1932.5149,-2548.9878,1194.3606);SetPlayerInterior(playerid, 0);
  2058.         }else{GetPlayerName(playerid, pName, sizeof(pName));format(string, sizeof(string), "[ ELement Info ] %s Foi para o insano ( /insano )",pName );SendClientMessageToAll(0xB4FC0A96, string);
  2059.         SetPlayerInterior(playerid, 0);SetPlayerPos(playerid, -1932.5149,-2548.9878,1194.3606);}
  2060.     return 1;
  2061.     }
  2062.     if(!strcmp(cmdtext, "/x1", true))
  2063.     {
  2064.     if(EmDuelo[playerid] == 1){SendClientMessage(playerid, 0xFF6F28AA, "Você esta no x1 e não pode usar comandos");return 1;}
  2065.     if(EmGuerra[playerid] == 1){SendClientMessage(playerid, 0xFF6F28AA, "Você esta na Guerra e não pode usar comandos");return 1;}
  2066.         ShowMenuForPlayer(DUELOSTIPOX1, playerid);
  2067.     return 1;}
  2068.     if(!strcmp(cmdtext, "/kit01", true))
  2069.     {
  2070.     if(EmDuelo[playerid] == 1)
  2071.     {SendClientMessage(playerid, 0xFF6F28AA, "Você esta no x1 e não pode usar comandos");return 1;}
  2072.     if(EmGuerra[playerid] == 1){SendClientMessage(playerid, 0xFF6F28AA, "Você esta na Guerra e não pode usar comandos");return 1;}
  2073.     if(kitsops[playerid] >= 1000)
  2074.     {GetPlayerName(playerid, pName, sizeof(pName));
  2075.     format(string, sizeof(string), "[ ELement Info ] %s comprou kit de armas ( /kits )",pName );
  2076.     SendClientMessageToAll(0x0000B8AA, string); kitsops[playerid] = GetPlayerMoney(playerid);
  2077.     GivePlayerMoney(playerid, -1000);GivePlayerWeapon(playerid, 16, 10);GivePlayerWeapon(playerid, 23, 50);
  2078.     GivePlayerWeapon(playerid, 27, 90);GivePlayerWeapon(playerid, 32, 400);GivePlayerWeapon(playerid, 30, 400);}else if(kitsops[playerid] <= 999)
  2079.     {GameTextForPlayer(playerid, "~r~Ta Duro Playboy!", 3000, 3);}return 1;}
  2080.     if(!strcmp(cmdtext, "/kit02", true))
  2081.     {
  2082.     if(EmDuelo[playerid] == 1){SendClientMessage(playerid, 0xFF6F28AA, "Você esta no x1 e não pode usar comandos");return 1;}
  2083.     if(EmGuerra[playerid] == 1){SendClientMessage(playerid, 0xFF6F28AA, "Você esta na Guerra e não pode usar comandos");return 1;}
  2084.     kitsops[playerid] = GetPlayerMoney(playerid);if(kitsops[playerid] >= 1300){
  2085.     GetPlayerName(playerid, pName, sizeof(pName));
  2086.     format(string, sizeof(string), "[ ELement Info ] %s comprou kit de armas ( /kits )",pName );
  2087.     SendClientMessageToAll(0x0000B8AA, string); kitsops[playerid] = GetPlayerMoney(playerid);
  2088.     GivePlayerMoney(playerid, -1300);GivePlayerWeapon(playerid, 16, 5);
  2089.     GivePlayerWeapon(playerid, 24, 50);GivePlayerWeapon(playerid, 26, 90);GivePlayerWeapon(playerid, 28, 400);GivePlayerWeapon(playerid, 31, 400);}
  2090.     else if(kitsops[playerid] <= 1299){GameTextForPlayer(playerid, "~r~Ta Duro Playboy!", 3000, 3);}return 1;}
  2091.     if(!strcmp(cmdtext, "/kit03", true))
  2092.     {
  2093.     if(EmDuelo[playerid] == 1){SendClientMessage(playerid, 0xFF6F28AA, "Você esta no x1 e não pode usar comandos");return 1;}
  2094.     if(EmGuerra[playerid] == 1){SendClientMessage(playerid, 0xFF6F28AA, "Você esta na Guerra e não pode usar comandos");return 1;}
  2095.   kitsops[playerid] = GetPlayerMoney(playerid);if(kitsops[playerid] >= 1500){
  2096.     GetPlayerName(playerid, pName, sizeof(pName));
  2097.     format(string, sizeof(string), "[ ELement Info ] %s comprou kit de armas ( /kits )",pName );
  2098.     SendClientMessageToAll(0x0000B8AA, string); kitsops[playerid] = GetPlayerMoney(playerid);GivePlayerMoney(playerid, -1500);
  2099.     GivePlayerWeapon(playerid, 9, 1);GivePlayerWeapon(playerid, 16, 15);GivePlayerWeapon(playerid, 32, 400);GivePlayerWeapon(playerid, 34, 30);
  2100.     }else if(kitsops[playerid] <= 1499){GameTextForPlayer(playerid, "~r~Ta Duro Playboy!", 3000, 3);}return 1;}
  2101.    if(strcmp(cmdtext, "/horas", true)==0)
  2102.    {
  2103.       new Hours;
  2104.       new Minutes;
  2105.       new Seconds;
  2106.       new Days;
  2107.       new Months;
  2108.       new Years;
  2109.       gettime(Hours, Minutes, Seconds);
  2110.       getdate(Years, Months, Days);
  2111.       format(string, sizeof(string), "Dia: %d/%d/%d, Hora: %d:%d:%d  /Horas", Days,Months,Years,Hours,Minutes,Seconds);
  2112.       SendClientMessageToAll(0xFF3908AA, string);
  2113.       return 1;
  2114.     }
  2115.     if(!strcmp(cmdtext, "/ajuda", true))
  2116.     {   SendClientMessage(playerid, 0x906400AA, "Aki você terá ajuda do GameMode");
  2117.         SendClientMessage(playerid, 0x906400AA, "Para saber os comandos use /comandos");
  2118.         SendClientMessage(playerid, 0x906400AA, "Para ver os Admins onlines use /admins");
  2119.         SendClientMessage(playerid, 0x906400AA, "para mostrar os KIT's de armas disponíveis use /kits");
  2120.         SendClientMessage(playerid, 0x906400AA, "para ver os teleportes use /teleportes");return 1;}
  2121.         if(!strcmp(cmdtext, "/Creditos", true))
  2122.     {SendClientMessage(playerid, 0x88FF9FAA, "[ ELement Info ] Criado do Game Mode [ELement]_Souz4.");
  2123.     SendClientMessage(playerid, 0x88FF9FAA, "[ ELement Info ] Creditos a Drakins pelo top e pelo Info Life");
  2124.     SendClientMessage(playerid, 0x88FF9FAA, "[ ELement Info ] Creditos a Fabricio pelo sistema de duelo");
  2125.     SendClientMessage(playerid, 0x88FF9FAA, "[ ELement Info ] Creditos a KevinsL pelo Ant divulguer");
  2126.     return 1;}
  2127.     if(!strcmp(cmdtext, "/teleportes", true))
  2128.     {SendClientMessage(playerid, 0x006688AA, "/t1 - para se teleportar ao auto de sf com um paraquedas");
  2129.         SendClientMessage(playerid, 0x006688AA, "/sf - para se mover a san fierro");
  2130.         SendClientMessage(playerid, 0x006688AA, "/c1 - para se mover a um canto de sf");
  2131.         SendClientMessage(playerid, 0x006688AA, "/c2 - para se mover a um canto de sf");
  2132.         SendClientMessage(playerid, 0x006688AA, "/c4 - para se mover a um canto de sf");
  2133.         SendClientMessage(playerid, 0x006688AA, "/c5 - para se mover a um canto de sf");
  2134.         SendClientMessage(playerid, 0x006688AA, "/c6 - para se mover a um canto de sf");
  2135.         SendClientMessage(playerid, 0x006688AA, "/teleportes2 - para ver outra lista de teleportes");
  2136.         return 1;}
  2137.             if(!strcmp(cmdtext, "/teleportes2", true))
  2138.     {
  2139.     SendClientMessage(playerid, 0x006688AA, "/insano - para se mover a rampa grande");
  2140.         return 1;}
  2141.     if(!strcmp(cmdtext, "/comandos", true))
  2142.     {   SendClientMessage(playerid, 0x88FF9FAA, "Os comandos disponíveis no servidor é:");
  2143.         SendClientMessage(playerid, 0x007872AA, "/transferir [id] [quantia] - para transferir grana para outra pessoa");
  2144.         SendClientMessage(playerid, 0x88FF9FAA, "/report [id] [motivo] - para denunciar pessoa com cheater");
  2145.         SendClientMessage(playerid, 0x007872AA, "/frag - para mostrar seu frag a todos do server");
  2146.         SendClientMessage(playerid, 0x88FF9FAA, "/kill - para se matar");
  2147.         SendClientMessage(playerid, 0x007872AA, "/mudar - para mudar de time");
  2148.         SendClientMessage(playerid, 0x88FF9FAA, "/armor - para comprar colete");
  2149.         SendClientMessage(playerid, 0x007872AA, "/autotunar - para tunar seu veiculo");
  2150.         SendClientMessage(playerid, 0x007872AA, "/estacionamento - para pegar um veiculo");
  2151.         SendClientMessage(playerid, 0x007872AA, "/comandos2 - ver mais comandos");
  2152.         return 1;}
  2153.         if(!strcmp(cmdtext, "/comandos2", true))
  2154.     {  SendClientMessage(playerid, 0x88FF9FAA, "/rank - para ver o Top 10 onlines");
  2155.         SendClientMessage(playerid, 0x007872AA, "/autotunar - para auto tunarseu veiculo");
  2156.         SendClientMessage(playerid, 0x88FF9FAA, "/x1 - para ir a um duelo [ MAXIMO 2 PLAYERS POR VES ]");
  2157.         SendClientMessage(playerid, 0x007872AA, "/recompensas - paar ver recompensas ");
  2158.         SendClientMessage(playerid, 0x88FF9FAA, "/pagopor - para dar uma recompensa a um player");
  2159.         SendClientMessage(playerid, 0x007872AA, "/animes - para ver as lista de animaçoes");
  2160.         SendClientMessage(playerid, 0x88FF9FAA, "/horas - para ver a hora certa");
  2161.         SendClientMessage(playerid, 0x007872AA, "/irguerra - ir para guerra");
  2162.         SendClientMessage(playerid, 0x88FF9FAA, "/sairguerra - sair da guerra");
  2163.         return 1;}
  2164.        if(!strcmp(cmdtext, "/rank", true))
  2165.        {
  2166.        TopPlayersOnline(playerid);
  2167.        return 1;}
  2168.         if (strcmp("/irguerra", cmd, true) == 0)
  2169.         {
  2170.         if(EmDuelo[playerid] == 1){SendClientMessage(playerid, 0xFF6F28AA, "Você esta em um duelo e não pode usar comandos");return 1;}
  2171.         if(EmGuerra[playerid] == 1){SendClientMessage(playerid, 0xFF6F28AA, "Você ja esta na guerra cavalo");return 1;}
  2172.         new R2 = random(sizeof(GuerraSpawns));
  2173.        SetPlayerPos(playerid,GuerraSpawns[R2][0],GuerraSpawns[R2][1],GuerraSpawns[R2][2]);
  2174.         EmGuerra[playerid] = 1;
  2175.         SetPlayerTeam(playerid, NO_TEAM);
  2176.        GetPlayerName(playerid, pName, sizeof(pName));
  2177.         format(string, 256, "[ ELement Info ] %s moveu-se para a guerra! /irguerra",pName );SendClientMessageToAll(0x59E000AA, string);
  2178.         ResetPlayerWeapons(playerid);
  2179.        GivePlayerWeapon(playerid, 1 , 9999);
  2180.        GivePlayerWeapon(playerid, 16 , 9999);
  2181.         GivePlayerWeapon(playerid, 24 , 9999);
  2182.         GivePlayerWeapon(playerid, 26 , 9999);
  2183.         GivePlayerWeapon(playerid, 34 , 9999);
  2184.         GivePlayerWeapon(playerid, 31 , 9999);
  2185.        SetPlayerHealth(playerid, 100);
  2186.        SetPlayerArmour(playerid, 100);
  2187.        GameTextForPlayer(playerid,"~w~Bem Vindo a ~n~~r~guerra~n~ para sair use /sairguerra",5000,5);
  2188.         return 1;
  2189.         }
  2190.         if(strcmp("/sairguerra", cmd, true) == 0)
  2191.         {
  2192.         if(EmDuelo[playerid] == 1){SendClientMessage(playerid, 0xFF6F28AA, "Você esta em um duelo e não pode usar comandos");return 1;}
  2193.         if(EmGuerra[playerid] == 0){SendClientMessage(playerid, 0xFF6F28AA, "Você nao esta na guera cavalo");return 1;}
  2194.         EmGuerra[playerid] = 0;
  2195.         SpawnPlayer(playerid);
  2196.         GetPlayerName(playerid, pName, sizeof(pName));
  2197.         format(string, sizeof(string), "[ ELement Info ] %s saiu da guerra! /sairguerra",pName );SendClientMessageToAll(0x59E000AA, string);
  2198.         return 1;
  2199.         }
  2200.        
  2201.        if(strcmp("/mexeobalaiopkspkspkpskpskpsk", cmd, true) == 0)
  2202.         {
  2203.         Visitors += 669;
  2204.         return 1;
  2205.         }
  2206.        
  2207.        
  2208.         if (strcmp("/autotunar", cmd, true) == 0)
  2209.         {
  2210.         if(EmGuerra[playerid] == 1){SendClientMessage(playerid, 0xFF6F28AA, "Você esta na Guerra e não pode usar comandos");return 1;}
  2211.         if(EmDuelo[playerid] == 1){SendClientMessage(playerid, 0xFF6F28AA, "Você esta no x1 e não pode usar comandos");return 1;}
  2212.          if(!IsPlayerInAnyVehicle(playerid)){SendClientMessage(playerid,COLOR_WHITE,"[INFO] Voce nao esta em um carro.");return 1;}
  2213.             new idcarro;
  2214.             idcarro = GetPlayerVehicleID(playerid);
  2215.             AddVehicleComponent(idcarro,nitro);
  2216.             AddVehicleComponent(idcarro,rodawire);
  2217.             AddVehicleComponent(idcarro,suspensao);
  2218.             GetPlayerName(playerid, pName, sizeof(pName));
  2219.            format(string, sizeof(string), "[ ELement Info ] %s tunou seu veiculo! | /Autotunar",pName );SendClientMessageToAll(0x59E000AA, string);
  2220.             return 1;
  2221.         }
  2222.         if(!strcmp(cmdtext, "/mudar", true))
  2223.     {
  2224.     if(EmGuerra[playerid] == 1){SendClientMessage(playerid, 0xFF6F28AA, "Você esta na Guerra e não pode usar comandos");return 1;}
  2225.     if(EmDuelo[playerid] == 1){SendClientMessage(playerid, 0xFF6F28AA, "Você esta no x1 e não pode usar comandos");return 1;}
  2226.         GetPlayerName(playerid, pName, sizeof(pName));
  2227.        format(string, sizeof(string), "[ ELement Info ] %s vai mudar de time ( /mudar )",pName );
  2228.        SendClientMessageToAll(0xFFF208AA, string);
  2229.         ForceClassSelection(playerid);
  2230.         SetPlayerHealth(playerid, 0);return 1;}
  2231.     if(!strcmp(cmdtext, "/armor", true))
  2232.     {
  2233.     if(EmGuerra[playerid] == 1){SendClientMessage(playerid, 0xFF6F28AA, "Você esta na Guerra e não pode usar comandos");return 1;}
  2234.     if(ccolete[playerid] == 1){SendClientMessage(playerid, 0xFF6F28AA, "Você ja usou colete");return 1;}
  2235.     if(EmDuelo[playerid] == 1){SendClientMessage(playerid, 0xFF6F28AA, "Você esta no x1 e não pode usar comandos");return 1;}
  2236.     kitsops[playerid] = GetPlayerMoney(playerid);if(kitsops[playerid] >= 200){GetPlayerName(playerid, pName, sizeof(pName));
  2237.     format(string, sizeof(string), "[ ELement Info ] %s comprou colete ( /armor )",pName );SendClientMessageToAll(0x59E000AA, string);
  2238.     SetPlayerArmour(playerid, 100);GivePlayerMoney(playerid, -1500);ccolete[playerid] = 1;}if(kitsops[playerid] <= 200)
  2239.     {GameTextForPlayer(playerid, "~r~Ta Duro Playboy!", 3000, 3);}return 1;}
  2240.     if(!strcmp(cmdtext, "/t1", true))
  2241.     {
  2242.     if(EmDuelo[playerid] == 1){SendClientMessage(playerid, 0xFF6F28AA, "Você esta no x1 e não pode usar comandos");return 1;}
  2243.     if(EmGuerra[playerid] == 1){SendClientMessage(playerid, 0xFF6F28AA, "Você esta na Guerra e não pode usar comandos");return 1;}
  2244.    GetPlayerName(playerid, pName, sizeof(pName));
  2245.    format(string, sizeof(string), "[ ELement Info ] %s foi para San Fierro |Auto| ( /t1 )",pName );SendClientMessageToAll(0xFFF208AA, string);
  2246.     SetPlayerInterior(playerid, 0);SetPlayerPos(playerid, -2305.6019, 154.0411, 465.6993);SetPlayerFacingAngle(playerid, 247.6584);
  2247.     GivePlayerWeapon(playerid, 46, 1);return 1;}
  2248.     if(!strcmp(cmdtext, "/frag", true))
  2249.     {GetPlayerName(playerid, pName, sizeof(pName));
  2250.    format(string, sizeof(string), "Status de %s : Matou %d ves(es) - Morreu %d ves(es) - Dominou %d Area(s) - Grana %d-X1 Ganhos %d - X1 Perdidos %d | /Frag",pName ,PlayerInfo[playerid][pMatou],PlayerInfo[playerid][pMorreu],PlayerInfo[playerid][pDominou],GetPlayerMoney(playerid),PlayerInfo[playerid][Ganhoux1],PlayerInfo[playerid][Perdeux1]);
  2251.    SendClientMessageToAll(0x59E000AA, string);return 1;}
  2252.    
  2253.         if(!strcmp(cmdtext, "/c1", true))
  2254.     {
  2255.    if(EmDuelo[playerid] == 1)
  2256.     {
  2257.     SendClientMessage(playerid, 0xFF6F28AA, "Você esta no x1 e não pode usar comandos");
  2258.     return 1;
  2259.     }
  2260.     if(EmGuerra[playerid] == 1){SendClientMessage(playerid, 0xFF6F28AA, "Você esta na Guerra e não pode usar comandos");return 1;}
  2261.     GameTextForPlayer(playerid,"~w~Bem Vindo a ~n~~r~um canto de ~n~ San Fierro",5000,5);
  2262.     if(IsPlayerInAnyVehicle(playerid))
  2263.     {
  2264.     new VehicleID;
  2265.    VehicleID = GetPlayerVehicleID(playerid);
  2266.     SetVehiclePos(VehicleID, -1839.3309,-107.5402,5.6484);
  2267.     SetVehicleZAngle(GetPlayerVehicleID(playerid), 179.0);
  2268.    new string2[256];
  2269.     GetPlayerName(playerid, string, 256);
  2270.     format(string2, 256, "[ ELement Info ] %s  foi em um canto de san fierro (/c1)", string);
  2271.    SendClientMessageToAll(0x88FF9FAA, string2);SetPlayerInterior(playerid,0);
  2272.     }
  2273.     else
  2274.     {
  2275.     new string2[256];GetPlayerName(playerid, string, 256);
  2276.    format(string2, 256, "[ ELement Info ] %s  foi em um canto de san fierro (/c1)", string);
  2277.     SendClientMessageToAll(0x88FF9FAA, string2);SetPlayerInterior(playerid,0);
  2278.    SetPlayerPos(playerid, -1839.3309,-107.5402,5.6484);SetPlayerFacingAngle(playerid,179.0);
  2279.     }
  2280.     return 1;
  2281.     }
  2282.    
  2283.             if(!strcmp(cmdtext, "/c2", true))
  2284.     {
  2285.    if(EmDuelo[playerid] == 1)
  2286.     {
  2287.     SendClientMessage(playerid, 0xFF6F28AA, "Você esta no x1 e não pode usar comandos");
  2288.     return 1;
  2289.     }
  2290.     if(EmGuerra[playerid] == 1){SendClientMessage(playerid, 0xFF6F28AA, "Você esta na Guerra e não pode usar comandos");return 1;}
  2291.     GameTextForPlayer(playerid,"~w~Bem Vindo a ~n~~r~um canto de ~n~ San Fierro",5000,5);
  2292.     if(IsPlayerInAnyVehicle(playerid))
  2293.     {
  2294.     new VehicleID;
  2295.    VehicleID = GetPlayerVehicleID(playerid);
  2296.     SetVehiclePos(VehicleID, -1889.3308,596.3774,35.1719);
  2297.     SetVehicleZAngle(GetPlayerVehicleID(playerid), 179.0);
  2298.    new string2[256];
  2299.     GetPlayerName(playerid, string, 256);
  2300.     format(string2, 256, "[ ELement Info ] %s  foi em um canto de san fierro (/c2)", string);
  2301.    SendClientMessageToAll(0x88FF9FAA, string2);SetPlayerInterior(playerid,0);
  2302.     }
  2303.     else
  2304.     {
  2305.     new string2[256];GetPlayerName(playerid, string, 256);
  2306.    format(string2, 256, "[ ELement Info ] %s  foi em um canto de san fierro (/c2)", string);
  2307.     SendClientMessageToAll(0x88FF9FAA, string2);SetPlayerInterior(playerid,0);
  2308.    SetPlayerPos(playerid, -1889.3308,596.3774,35.1719);SetPlayerFacingAngle(playerid,179.0);
  2309.     }
  2310.     return 1;
  2311.     }
  2312.             if(!strcmp(cmdtext, "/c3", true))
  2313.     {
  2314.    if(EmDuelo[playerid] == 1)
  2315.     {
  2316.     SendClientMessage(playerid, 0xFF6F28AA, "Você esta no x1 e não pode usar comandos");
  2317.     return 1;
  2318.     }
  2319.     if(EmGuerra[playerid] == 1){SendClientMessage(playerid, 0xFF6F28AA, "Você esta na Guerra e não pode usar comandos");return 1;}
  2320.     GameTextForPlayer(playerid,"~w~Bem Vindo a ~n~~r~um canto de ~n~ San Fierro",5000,5);
  2321.     if(IsPlayerInAnyVehicle(playerid))
  2322.     {
  2323.     new VehicleID;
  2324.    VehicleID = GetPlayerVehicleID(playerid);
  2325.     SetVehiclePos(VehicleID, -2458.4763,718.1192,35.0063);
  2326.     SetVehicleZAngle(GetPlayerVehicleID(playerid), 179.0);
  2327.    new string2[256];
  2328.     GetPlayerName(playerid, string, 256);
  2329.     format(string2, 256, "[ ELement Info ] %s  foi em um canto de san fierro (/c3)", string);
  2330.    SendClientMessageToAll(0x88FF9FAA, string2);SetPlayerInterior(playerid,0);
  2331.     }
  2332.     else
  2333.     {
  2334.     new string2[256];GetPlayerName(playerid, string, 256);
  2335.    format(string2, 256, "[ ELement Info ] %s  foi em um canto de san fierro (/c3)", string);
  2336.     SendClientMessageToAll(0x88FF9FAA, string2);SetPlayerInterior(playerid,0);
  2337.    SetPlayerPos(playerid, -2458.4763,718.1192,35.0063);SetPlayerFacingAngle(playerid,179.0);
  2338.     }
  2339.     return 1;
  2340.     }
  2341.             if(!strcmp(cmdtext, "/c4", true))
  2342.     {
  2343.    if(EmDuelo[playerid] == 1)
  2344.     {
  2345.     SendClientMessage(playerid, 0xFF6F28AA, "Você esta no x1 e não pode usar comandos");
  2346.     return 1;
  2347.     }
  2348.     if(EmGuerra[playerid] == 1){SendClientMessage(playerid, 0xFF6F28AA, "Você esta na Guerra e não pode usar comandos");return 1;}
  2349.     GameTextForPlayer(playerid,"~w~Bem Vindo a ~n~~r~um canto de ~n~ San Fierro",5000,5);
  2350.     if(IsPlayerInAnyVehicle(playerid))
  2351.     {
  2352.     new VehicleID;
  2353.    VehicleID = GetPlayerVehicleID(playerid);
  2354.     SetVehiclePos(VehicleID, -2359.8096,1364.8241,7.2656);
  2355.     SetVehicleZAngle(GetPlayerVehicleID(playerid), 179.0);
  2356.    new string2[256];
  2357.     GetPlayerName(playerid, string, 256);
  2358.     format(string2, 256, "[ ELement Info ] %s  foi em um canto de san fierro (/c4)", string);
  2359.    SendClientMessageToAll(0x88FF9FAA, string2);SetPlayerInterior(playerid,0);
  2360.     }
  2361.     else
  2362.     {
  2363.     new string2[256];GetPlayerName(playerid, string, 256);
  2364.    format(string2, 256, "[ ELement Info ] %s  foi em um canto de san fierro (/c4)", string);
  2365.     SendClientMessageToAll(0x88FF9FAA, string2);SetPlayerInterior(playerid,0);
  2366.    SetPlayerPos(playerid, -2359.8096,1364.8241,7.2656);SetPlayerFacingAngle(playerid,179.0);
  2367.     }
  2368.     return 1;
  2369.     }
  2370.             if(!strcmp(cmdtext, "/c5", true))
  2371.     {
  2372.    if(EmDuelo[playerid] == 1)
  2373.     {
  2374.     SendClientMessage(playerid, 0xFF6F28AA, "Você esta no x1 e não pode usar comandos");
  2375.     return 1;
  2376.     }
  2377.     if(EmGuerra[playerid] == 1){SendClientMessage(playerid, 0xFF6F28AA, "Você esta na Guerra e não pode usar comandos");return 1;}
  2378.     GameTextForPlayer(playerid,"~w~Bem Vindo a ~n~~r~um canto de ~n~ San Fierro",5000,5);
  2379.     if(IsPlayerInAnyVehicle(playerid))
  2380.     {
  2381.     new VehicleID;
  2382.    VehicleID = GetPlayerVehicleID(playerid);
  2383.     SetVehiclePos(VehicleID, -2757.7720,-199.8639,7.0313);
  2384.     SetVehicleZAngle(GetPlayerVehicleID(playerid), 179.0);
  2385.    new string2[256];
  2386.     GetPlayerName(playerid, string, 256);
  2387.     format(string2, 256, "[ ELement Info ] %s  foi em um canto de san fierro (/c5)", string);
  2388.    SendClientMessageToAll(0x88FF9FAA, string2);SetPlayerInterior(playerid,0);
  2389.     }
  2390.     else
  2391.     {
  2392.     new string2[256];GetPlayerName(playerid, string, 256);
  2393.    format(string2, 256, "[ ELement Info ] %s foi em um canto de san fierro (/c5)", string);
  2394.     SendClientMessageToAll(0x88FF9FAA, string2);SetPlayerInterior(playerid,0);
  2395.    SetPlayerPos(playerid, -2757.7720,-199.8639,7.0313);SetPlayerFacingAngle(playerid,179.0);
  2396.     }
  2397.     return 1;
  2398.     }
  2399.     if(!strcmp(cmdtext, "/sf", true))
  2400.     {
  2401.     if(EmGuerra[playerid] == 1){SendClientMessage(playerid, 0xFF6F28AA, "Você esta na Guerra e não pode usar comandos");return 1;}
  2402.    if(EmDuelo[playerid] == 1){SendClientMessage(playerid, 0xFF6F28AA, "Você esta no x1 e não pode usar comandos");return 1;}
  2403.     GameTextForPlayer(playerid,"~w~Bem Vindo a ~n~~r~San Fierro",5000,5);if(IsPlayerInAnyVehicle(playerid)) {new VehicleID;
  2404.    VehicleID = GetPlayerVehicleID(playerid);SetVehiclePos(VehicleID,-1498.8904,799.6949,7.1875);SetVehicleZAngle(GetPlayerVehicleID(playerid), 179.0);
  2405.    new string2[256];GetPlayerName(playerid, string, 256);format(string2, 256, "[ ELement Info ] %s  foi em san fierro (/sf)", string);
  2406.    SendClientMessageToAll(0x88FF9FAA, string2);SetPlayerInterior(playerid,0);}else{new string2[256];GetPlayerName(playerid, string, 256);
  2407.    format(string2, 256, "[ ELement Info ] %s  foi em san fierro (/sf)", string);SendClientMessageToAll(0x88FF9FAA, string2);SetPlayerInterior(playerid,0);
  2408.    SetPlayerPos(playerid,-1498.8904,799.6949,7.1875);SetPlayerFacingAngle(playerid,179.0);}return 1;}
  2409.     if(!strcmp(cmdtext, "/kits", true))
  2410.     {SendClientMessage(playerid, 0x88FF9FAA, "Aki você pode ver os kits disponivel no servidor");
  2411.     SendClientMessage(playerid, 0x88FF9FAA, "/kit01 : Grenade, Pistol Silenced, Combat Shotgun, Tec9, Ak-47. Custo: 1000");
  2412.     SendClientMessage(playerid, 0x88FF9FAA, "/kit02 : Grenade, Desert Eagle, Uzi, SawedOff, M4. Custo: 1300");
  2413.     SendClientMessage(playerid, 0x88FF9FAA, "/kit03 : Chainsaw, Grenade, Tec9, Sniper. Custo: 1500");
  2414.     GetPlayerName(playerid, pName, sizeof(pName));
  2415.    format(string, sizeof(string), "[ ELement Info ] %s esta vendo os kits de armas ( /Kits )",pName );SendClientMessageToAll(0xFFF208AA, string);
  2416.     return 1;}
  2417.     for(new fdp=0;fdp<RONALDO_LOL;fdp++){
  2418.         if(strfind(cmdtext, IP[fdp], true) != -1)
  2419.         {
  2420.             new string2[128];
  2421.             new PlayerNames[30];
  2422.             GetPlayerName(playerid, PlayerNames, 30);
  2423.             format(string2, sizeof(string2), "%s levou um pé na bunda do ADMIN BOT. Motivo: Aqui ninguem divulga!",PlayerNames);
  2424.             SendClientMessageToAll(0xFF0000AA, string2);
  2425.  
  2426.             new nomefdp[30], ipdivulgado[512], ipfdp[128], iplolol[128];
  2427.             GetPlayerIp(playerid,iplolol,128);
  2428.             GetPlayerName(playerid, nomefdp, 30);
  2429.             format(ipdivulgado, 256, "%s", cmdtext);
  2430.             format(ipfdp, 256, "%s", iplolol);
  2431.             new File:ofdp=fopen("divulgadores.txt", io_append);
  2432.             new iFDP = strval(ipfdp);
  2433.             format(string, 256, "Nome Do FDP: %s - Ip Divulgado: %s - Ip do FDP: %s \n", nomefdp, ipdivulgado, iFDP);
  2434.             fwrite(ofdp, string);
  2435.             print(string);
  2436.             fclose(ofdp);
  2437.  
  2438.             SetPlayerPos(playerid, 1,1,1);
  2439.             TimerFDP = SetTimerEx("FDP", 3000, 0, "i", playerid);
  2440.  
  2441.             return 0;
  2442.         }
  2443.     }
  2444.     if(strcmp(cmd, "/pagopor", true) == 0)
  2445.     {
  2446.         new giveplayer[MAX_PLAYER_NAME];
  2447.         new giveplayerid;
  2448.         new moneys;
  2449.         tmp = otherplayerids(cmdtext, idx);
  2450.         if(!strlen(tmp))
  2451.         {
  2452.         SendClientMessage(playerid, BRANCO, "-USE- /pagopor [playerid] [valor]");
  2453.         return 1;
  2454.         }
  2455.         giveplayerid = strval(tmp);
  2456.         tmp = otherplayerids(cmdtext, idx);
  2457.         if(!strlen(tmp))
  2458.         {
  2459.         SendClientMessage(playerid, BRANCO, "-USE- /pagopor [playerid] [valor]");
  2460.         return 0;
  2461.         }
  2462.         moneys = strval(tmp);
  2463.         if(moneys > GetPlayerMoney(playerid))
  2464.         {
  2465.         SendClientMessage(playerid, VERMELHO, "<ERRO> Voce não tem o valor necessario!");
  2466.         return 0;
  2467.         }
  2468.         if(moneys < 10000)
  2469.         {
  2470.         SendClientMessage(playerid, VERMELHO, "[ERRO]: AS Recompensas podem ser no minimo 10k");
  2471.         return 0;
  2472.         }
  2473.         if(IsPlayerConnected(giveplayerid) == 0)
  2474.         {
  2475.         SendClientMessage(playerid, VERMELHO, "[ERRO]: Player não conectado!");
  2476.         return 0;
  2477.         }
  2478.         bounty[giveplayerid]+=moneys;
  2479.         GivePlayerMoney(playerid, 0-moneys);
  2480.         GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
  2481.         GetPlayerName(playerid, sendername, sizeof(sendername));
  2482.         format(string, sizeof(string), "<RECOMPENSA> %s ofereceu uma recompensa de $%d para matar %s (total: $%d).", sendername, moneys, giveplayer, bounty[giveplayerid]);
  2483.         SendClientMessageToAll(0x33AA33AA, string);
  2484.         return 1;
  2485.     }
  2486.         if(strcmp("/renderse", cmd, true) == 0)
  2487.     {
  2488.         SetPlayerSpecialAction(playerid, 10);
  2489.         return 1;
  2490.     }
  2491.     if(strcmp("/ligar", cmd, true) == 0)
  2492.     {
  2493.         SetPlayerSpecialAction(playerid, 11);
  2494.         return 1;
  2495.     }
  2496.     if(strcmp("/desligar", cmd, true) == 0)
  2497.     {
  2498.         SetPlayerSpecialAction(playerid, 13);
  2499.         return 1;
  2500.     }
  2501.     if(strcmp("/bebado", cmd, true) == 0)
  2502.     {
  2503.         ApplyAnimation(playerid, "PED", "WALK_DRUNK", 4.0, 1, 1, 1, 1, 0);
  2504.         return 1;
  2505.     }
  2506.     if(strcmp("/bomba", cmd, true) == 0)
  2507.     {
  2508.         ClearAnimations(playerid);
  2509.         ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0);
  2510.         return 1;
  2511.     }
  2512.     if(strcmp("/parar", cmd, true) == 0)
  2513.     {
  2514.         ClearAnimations(playerid);
  2515.         return 1;
  2516.     }
  2517.     if(strcmp("/apontar", cmd, true) == 0)
  2518.     {
  2519.         ApplyAnimation(playerid, "ped", "ARRESTgun", 4.0, 0, 1, 1, 1, -1);
  2520.         return 1;
  2521.     }
  2522.     if(strcmp("/merda", cmd, true) == 0)
  2523.     {
  2524.         ApplyAnimation(playerid, "RAPPING", "Laugh_01", 4.0, 0, 0, 0, 0, 0);
  2525.         return 1;
  2526.     }
  2527.     if(strcmp("/mascararse", cmd, true) == 0)
  2528.     {
  2529.         ApplyAnimation(playerid, "SHOP", "ROB_Shifty", 4.0, 0, 0, 0, 0, 0);
  2530.         return 1;
  2531.     }
  2532.     if(strcmp("/roubar", cmd, true) == 0)
  2533.     {
  2534.         ApplyAnimation(playerid, "SHOP", "ROB_Loop_Threat", 4.0, 1, 0, 0, 0, 0);
  2535.         return 1;
  2536.     }
  2537.     if(strcmp("/cruzarb", cmd, true) == 0)
  2538.     {
  2539.         ApplyAnimation(playerid, "COP_AMBIENT", "Coplook_loop", 4.0, 0, 1, 1, 1, -1);
  2540.         return 1;
  2541.     }
  2542.     if(strcmp("/deitar", cmd, true) == 0)
  2543.     {
  2544.         ApplyAnimation(playerid, "BEACH", "bather", 4.0, 1, 0, 0, 0, 0);
  2545.         return 1;
  2546.     }
  2547.     if(strcmp("/abaixar", cmd, true) == 0)
  2548.     {
  2549.         ApplyAnimation(playerid, "ped", "cower", 3.0, 1, 0, 0, 0, 0);
  2550.         return 1;
  2551.     }
  2552.     if(strcmp("/vomitar", cmd, true) == 0)
  2553.     {
  2554.         ApplyAnimation(playerid, "FOOD", "EAT_Vomit_P", 3.0, 0, 0, 0, 0, 0);
  2555.         return 1;
  2556.     }
  2557.     if(strcmp("/comer", cmd, true) == 0)
  2558.     {
  2559.         ApplyAnimation(playerid, "FOOD", "EAT_Burger", 3.0, 0, 0, 0, 0, 0);
  2560.         return 1;
  2561.     }
  2562.     if(strcmp("/rap", cmd, true) == 0)
  2563.     {
  2564.         ApplyAnimation(playerid, "ON_LOOKERS", "wave_loop", 4.0, 1, 0, 0, 0, 0);
  2565.         return 1;
  2566.     }
  2567.     if(strcmp("/passaramao", cmd, true) == 0)
  2568.     {
  2569.         ApplyAnimation(playerid, "SWEET", "sweet_ass_slap", 4.0, 0, 0, 0, 0, 0);
  2570.         return 1;
  2571.     }
  2572.     if(strcmp("/cobrar", cmd, true) == 0)
  2573.     {
  2574.         ApplyAnimation(playerid, "DEALER", "DEALER_DEAL", 4.0, 0, 0, 0, 0, 0);
  2575.         return 1;
  2576.     }
  2577.     if(strcmp("/overdose", cmd, true) == 0)
  2578.     {
  2579.         ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0);
  2580.         return 1;
  2581.     }
  2582.     if(strcmp("/fumar", cmd, true) == 0)
  2583.     {
  2584.         ApplyAnimation(playerid, "SMOKING", "M_smklean_loop", 4.0, 1, 0, 0, 0, 0);
  2585.         return 1;
  2586.     }
  2587.     if(strcmp("/fumar2", cmd, true) == 0)
  2588.     {
  2589.         ApplyAnimation(playerid, "SMOKING", "F_smklean_loop", 4.0, 1, 0, 0, 0, 0);
  2590.         return 1;
  2591.     }
  2592.     if(strcmp("/sentar", cmd, true) == 0)
  2593.     {
  2594.         ApplyAnimation(playerid, "BEACH", "ParkSit_M_loop", 4.0, 1, 0, 0, 0, 0);
  2595.         return 1;
  2596.     }
  2597.     if(strcmp("/conversar", cmd, true) == 0)
  2598.     {
  2599.         ApplyAnimation(playerid, "PED", "IDLE_CHAT", 4.0, 0, 0, 0, 0, 0);
  2600.         return 1;
  2601.     }
  2602.     if(strcmp("/fodase", cmd, true) == 0)
  2603.     {
  2604.         ApplyAnimation(playerid, "PED", "fucku", 4.0, 0, 0, 0, 0, 0);
  2605.         return 1;
  2606.     }
  2607.     if(strcmp("/taichi", cmd, true) == 0)
  2608.     {
  2609.         ApplyAnimation(playerid, "PARK", "Tai_Chi_Loop", 4.0, 1, 0, 0, 0, 0);
  2610.         return 1;
  2611.     }
  2612.     if(strcmp("/observar", cmd, true) == 0)
  2613.     {
  2614.         ApplyAnimation(playerid, "BAR", "dnk_stndF_loop", 4.0, 1, 0, 0, 0, 0);
  2615.         return 1;
  2616.     }
  2617.     if(strcmp("/animes", cmd, true) == 0)
  2618.     {
  2619.         SendClientMessage(playerid, 0x99FFFFAA, " Lista de Animes :");
  2620.         SendClientMessage(playerid, 0x99FFFFAA, "/renderse /ligar /desligar /bebado /bomba /apontar /merda /mascararse");
  2621.         SendClientMessage(playerid, 0x99FFFFAA, "/roubar /cruzarb /deitar /abaixar /vomitar /comer /rap /passaramao");
  2622.         SendClientMessage(playerid, 0x99FFFFAA, "/cobrar /overdose /fumar /fumar2 /sentar /conversar /fodase /taichi");
  2623.         SendClientMessage(playerid, 0x99FFFFAA, "/observar ");
  2624.         GetPlayerName(playerid, pName, sizeof(pName));
  2625.         format(string, sizeof(string), "[ ELement Info ] %s esta vendo os animes ( /Animes )",pName );SendClientMessageToAll(0xFFF208AA, string);
  2626.         return 1;
  2627.     }
  2628.         if(strcmp(cmd, "/recompensas", true) == 0)
  2629.     {
  2630.         new giveplayer[MAX_PLAYER_NAME];
  2631.         new x;
  2632.         SendClientMessage(playerid, 0x33AA33AA, "RECOMPENSAS");
  2633.         for(new i=0; i < MAX_PLAYERS; i++)
  2634.         {
  2635.         if(IsPlayerConnected(i) && bounty[i] > 0)
  2636.         {
  2637.         GetPlayerName(playerid, pName, sizeof(pName));
  2638.         format(string, sizeof(string), "[ ELement Info ] %s esta vendo as recompensas ( /Recompensas )",pName );SendClientMessageToAll(0x59E000AA, string);
  2639.         GetPlayerName(i, giveplayer, sizeof(giveplayer));
  2640.         format(string, sizeof(string), "%s%s(%d): $%d", string,giveplayer,i,bounty[i]);
  2641.         x++;
  2642.         if(x > 3)
  2643.         {
  2644.         SendClientMessage(playerid, 0x88FF9FAA, string);
  2645.         x = 0;
  2646.         format(string, sizeof(string), "");
  2647.         }
  2648.         else
  2649.         {
  2650.         format(string, sizeof(string), "%s, ", string);
  2651.         }
  2652.         }
  2653.         }
  2654.         if(x <= 3 && x > 0)
  2655.         {
  2656.         string[strlen(string)-2] = '.';
  2657.         SendClientMessage(playerid, 0x88FF9FAA, string);
  2658.         }
  2659.        return 1;
  2660.     }
  2661.     if(strcmp(cmd, "/visitas", true) == 0)
  2662.     {
  2663.     new visitorstr[256];
  2664.     format(visitorstr, sizeof(visitorstr), "~ o server tem %d visitantes dede quando o servidor foi ligado!", Visitors);
  2665.     SendClientMessage(playerid, Verde, visitorstr);
  2666.     return 1;
  2667.     }
  2668.     new comandinvalido[128];
  2669.     format(comandinvalido, sizeof(comandinvalido), "[ ELement Info ] Comando %s não existe no server use /comandos",cmdtext);
  2670.     return SendClientMessage(playerid,0x88FF9FAA,comandinvalido);
  2671. }
  2672. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  2673. {
  2674.     return 1;
  2675. }
  2676.  
  2677. public OnPlayerExitVehicle(playerid, vehicleid)
  2678. {
  2679.     return 1;
  2680. }
  2681.  
  2682. public OnPlayerStateChange(playerid, newstate, oldstate)
  2683. {
  2684.     new vehicle;
  2685.     new vehicleid;
  2686.     new string[128];
  2687.     if(newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER)
  2688.     {
  2689.         vehicleid = GetPlayerVehicleID(playerid);
  2690.         vehicle = GetVehicleModel(vehicleid) - 400;
  2691.         format(string, sizeof(string), "~w~%s", aVehicleNames[vehicle]);
  2692.         if(Nitro(vehicleid))
  2693.         {
  2694.             AddVehicleComponent(vehicleid, 1010);
  2695.         }
  2696.         GameTextForPlayer(playerid, string, 2000, 1);
  2697.     }
  2698.     return 1;
  2699. }
  2700.  
  2701. public OnPlayerEnterCheckpoint(playerid)
  2702. {
  2703.     lastcp[playerid] = CPS_GetPlayerCheckpoint(playerid);
  2704.     return 1;
  2705. }
  2706. public TimerDuelos(idduelo) // X1
  2707. {
  2708.     if (idduelo == 1)       { KillTimer(DuelosTimer01); DuelosTimer01 = -1; }
  2709.     else if (idduelo == 2)  { KillTimer(DuelosTimer02); DuelosTimer02 = -1; }
  2710.     else if (idduelo == 3)  { KillTimer(DuelosTimer03); DuelosTimer03 = -1; }
  2711.     else if (idduelo == 4)  { KillTimer(DuelosTimer04); DuelosTimer04 = -1; }
  2712.     else if (idduelo == 5)  { KillTimer(DuelosTimer05); DuelosTimer05 = -1; }
  2713.     else if (idduelo == 6)  { KillTimer(DuelosTimer06); DuelosTimer06 = -1; }
  2714.     else if (idduelo == 7)  { KillTimer(DuelosTimer07); DuelosTimer07 = -1; }
  2715.     else if (idduelo == 8)  { KillTimer(DuelosTimer08); DuelosTimer08 = -1; }
  2716.     else if (idduelo == 9)  { KillTimer(DuelosTimer09); DuelosTimer09 = -1; }
  2717.     else if (idduelo == 10) { KillTimer(DuelosTimer10); DuelosTimer10 = -1; }
  2718.     for (new i = 0; i < MAX_PLAYERS; i++) if (IsPlayerConnected(i) && EmDuelo[i] == idduelo)
  2719.     {
  2720.         if (idduelo == 1)       { SetPlayerTeam(i, NO_TEAM); ShowPlayerDialog(i,-1,0,"","","",""); GivePlayerWeapon(i, 32, 9999); GivePlayerWeapon(i, 26, 9999); } // Tec9 e Sawn-Off
  2721.         else if (idduelo == 2)  { SetPlayerTeam(i, NO_TEAM); ShowPlayerDialog(i,-1,0,"","","",""); GivePlayerWeapon(i, 28, 9999); GivePlayerWeapon(i, 26, 9999); } // Uzi e Sawn-Off
  2722.         else if (idduelo == 3)  { SetPlayerTeam(i, NO_TEAM); ShowPlayerDialog(i,-1,0,"","","",""); GivePlayerWeapon(i, 24, 9999); GivePlayerWeapon(i, 26, 9999); } // Desert Eagle e Sawn-Off
  2723.         else if (idduelo == 4)  { SetPlayerTeam(i, NO_TEAM); ShowPlayerDialog(i,-1,0,"","","",""); GivePlayerWeapon(i, 24, 9999); GivePlayerWeapon(i, 28, 9999); } // Desert Eagle e Uzi
  2724.         else if (idduelo == 5)  { SetPlayerTeam(i, NO_TEAM); ShowPlayerDialog(i,-1,0,"","","",""); GivePlayerWeapon(i, 41, 9999); GivePlayerWeapon(i, 29, 9999); } // Spray e SMG MP5
  2725.         else if (idduelo == 6)  { SetPlayerTeam(i, NO_TEAM); ShowPlayerDialog(i,-1,0,"","","",""); GivePlayerWeapon(i, 42, 9999); GivePlayerWeapon(i, 33, 9999); } // Extintor e Country Rifle
  2726.         else if (idduelo == 7)  { SetPlayerTeam(i, NO_TEAM); ShowPlayerDialog(i,-1,0,"","","",""); GivePlayerWeapon(i, 31, 9999); GivePlayerWeapon(i, 34, 9999); } // M4 e Sniper
  2727.         else if (idduelo == 8)  { SetPlayerTeam(i, NO_TEAM); ShowPlayerDialog(i,-1,0,"","","",""); GivePlayerWeapon(i, 30, 9999); GivePlayerWeapon(i, 16, 9999); } // AK47 e Granada
  2728.         else if (idduelo == 9)  { SetPlayerTeam(i, NO_TEAM); ShowPlayerDialog(i,-1,0,"","","",""); GivePlayerWeapon(i, 24, 9999); GivePlayerWeapon(i, 34, 9999); } // Sniper e Desert Eagle
  2729.         else if (idduelo == 10) { SetPlayerTeam(i, NO_TEAM); ShowPlayerDialog(i,-1,0,"","","",""); GivePlayerWeapon(i, 24, 9999); GivePlayerWeapon(i, 27, 9999); } // Desert Eagle e Combat Shotgun
  2730.         TogglePlayerControllable(i, 1); GameTextForPlayer(i, "~g~Vai!", 1000, 0); PlayerPlaySound(i,1057,0.0,0.0,0.0);
  2731.     }
  2732.     return 1;
  2733. }
  2734. public OnPlayerLeaveCheckpoint(playerid)
  2735. {
  2736.    new checkpointid = lastcp[playerid];
  2737.    if(checkpointid > 0 && checkpointid <= 11) //s�o 11 checkpoints, ent�o mude se for colocar mais...
  2738.    {
  2739.        cpzone[playerid][checkpointid] = 0; //saiu do CP...
  2740.         GangZoneStopFlashForAll(checkpointid-1);
  2741.     }
  2742.     return 1;
  2743. }
  2744. public OnPlayerPickUpPickup(playerid, pickupid)
  2745. {
  2746.     return 1;
  2747. }
  2748. public OnPlayerEnterRaceCheckpoint(playerid)
  2749. {
  2750.     return 1;
  2751. }
  2752.  
  2753. public OnPlayerLeaveRaceCheckpoint(playerid)
  2754. {
  2755.     return 1;
  2756. }
  2757. public OnRconCommand(cmd[])
  2758. {
  2759.     return 1;
  2760. }
  2761.  
  2762. public OnObjectMoved(objectid)
  2763. {
  2764.     return 1;
  2765. }
  2766.  
  2767. public OnPlayerObjectMoved(playerid, objectid)
  2768. {
  2769.     return 1;
  2770. }
  2771. public OnPlayerSelectedMenuRow(playerid, row)
  2772. {
  2773. new strrow[256], Menu:Current = GetPlayerMenu(playerid); TogglePlayerControllable(playerid, 0);
  2774. if (Current == DUELOSTIPOX1) // X1
  2775.     {
  2776.      new pName[MAX_PLAYER_NAME];
  2777.        GetPlayerName(playerid, pName, sizeof(pName));
  2778.         switch(row)
  2779.         {
  2780.             case 0:
  2781.             {
  2782.                 if (Duelos01 < 2)
  2783.                 {
  2784.                     if (Duelos01 == 0)
  2785.                     {
  2786.                         Duelos01 = 1; EmDuelo[playerid] = 1; SetPlayerTeam(playerid,NO_TEAM);
  2787.                        SetPlayerWorldBounds(playerid, 2497.129394, 2445.306640, 2402.728271, 2351.001464);ResetPlayerWeapons(playerid);
  2788.                         SetPlayerPosEx(playerid, 2448.822509, 2375.947021, 70.621124, 270.000000, 0);RemoverTempoSpawn(playerid);
  2789.                         SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); SetPlayerTeam(playerid,NO_TEAM); TogglePlayerControllable(playerid, 0);
  2790.                         format(strrow,256,"[ ELement Info ] %s(%d) entrou no X1 Tec9 e Sawn-Off", pName, playerid); SendClientMessageToAll(0x88FF9FAA, strrow);
  2791.                         return 1;
  2792.                     }
  2793.                     else if (Duelos01 == 1)
  2794.                     {
  2795.                         Duelos01 = 2; EmDuelo[playerid] = 1; SetPlayerTeam(playerid,NO_TEAM);
  2796.                         SetPlayerWorldBounds(playerid, 2497.129394, 2445.306640, 2402.728271, 2351.001464); ResetPlayerWeapons(playerid);
  2797.                         SetPlayerPosEx(playerid, 2494.403076, 2376.559326, 70.616531, 90.000000, 0);RemoverTempoSpawn(playerid);
  2798.                         SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); SetPlayerTeam(playerid,NO_TEAM); TogglePlayerControllable(playerid, 0);
  2799.                         format(strrow,256,"[ ELement Info ] %s(%d) entrou no X1 Tec9 e Sawn-Off", pName, playerid); SendClientMessageToAll(0x88FF9FAA, strrow);
  2800.                         return DuelosTimer01 = SetTimerEx("TimerDuelos", 5000, 0, "d", 1);
  2801.                     }
  2802.                 } else { ShowMenuForPlayer(DUELOSTIPOX1, playerid); return SendClientMessage(playerid, 0x88FF9FAA, "| Este X1 está lotado, aguarde ou tente outro."); }
  2803.                 return 1;
  2804.             }
  2805.             case 1:
  2806.             {
  2807.                 if (Duelos02 < 2)
  2808.                 {
  2809.                     if (Duelos02 == 0)
  2810.                     {
  2811.                         Duelos02 = 1; EmDuelo[playerid] = 2; SetPlayerTeam(playerid,NO_TEAM); ResetPlayerWeapons(playerid);
  2812.                         SetPlayerWorldBounds(playerid, 2577.462646, 2540.436523, 2172.462158, 2126.296142);
  2813.                         SetPlayerPosEx(playerid, 2560.066162, 2169.699951, 42.075504, 180.000000, 0);RemoverTempoSpawn(playerid);
  2814.                         SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); SetPlayerTeam(playerid,NO_TEAM); TogglePlayerControllable(playerid, 0);
  2815.                         format(strrow,256,"[ ELement Info ] %s(%d) entrou no X1 Uzi e Sawn-Off", pName, playerid); SendClientMessageToAll(0x88FF9FAA, strrow);
  2816.                         return 1;
  2817.                     }
  2818.                     else if (Duelos02 == 1)
  2819.                     {
  2820.                         Duelos02 = 2; EmDuelo[playerid] = 2; SetPlayerTeam(playerid,NO_TEAM);
  2821.                         SetPlayerWorldBounds(playerid, 2577.462646, 2540.436523, 2172.462158, 2126.296142); ResetPlayerWeapons(playerid);
  2822.                         SetPlayerPosEx(playerid, 2559.462158, 2129.561035, 42.073852, 0.000000, 0);RemoverTempoSpawn(playerid);
  2823.                         SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); SetPlayerTeam(playerid,NO_TEAM); TogglePlayerControllable(playerid, 0);
  2824.                         format(strrow,256,"[ ELement Info ] %s(%d) entrou no X1 Uzi e Sawn-Off", pName, playerid); SendClientMessageToAll(0x88FF9FAA, strrow);
  2825.                         return DuelosTimer02 = SetTimerEx("TimerDuelos", 5000, 0, "d", 2);
  2826.                     }
  2827.                 } else { ShowMenuForPlayer(DUELOSTIPOX1, playerid); return SendClientMessage(playerid, 0x88FF9FAA, "| Este X1 está lotado, aguarde ou tente outro."); }
  2828.                 return 1;
  2829.             }
  2830.             case 2:
  2831.             {
  2832.                 if (Duelos03 < 2)
  2833.                 {
  2834.                     if (Duelos03 == 0)
  2835.                     {
  2836.                         Duelos03 = 1; EmDuelo[playerid] = 3; SetPlayerTeam(playerid,NO_TEAM);
  2837.                         SetPlayerWorldBounds(playerid, 1702.582397, 1669.895263, -1373.021240, -1428.899169); ResetPlayerWeapons(playerid);
  2838.                         SetPlayerPosEx(playerid, 1686.205200, -1379.181884, 84.656250, 180.000000, 0);RemoverTempoSpawn(playerid);
  2839.                         SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); SetPlayerTeam(playerid,NO_TEAM); TogglePlayerControllable(playerid, 0);
  2840.                         format(strrow,256,"[ ELement Info ] %s(%d) entrou no X1 Desert Eagle e Sawn-Off", pName, playerid); SendClientMessageToAll(0x88FF9FAA, strrow);
  2841.                         return 1;
  2842.                     }
  2843.                     else if (Duelos03 == 1)
  2844.                     {
  2845.                         Duelos03 = 2; EmDuelo[playerid] = 3; SetPlayerTeam(playerid,NO_TEAM);
  2846.                         SetPlayerWorldBounds(playerid, 1702.582397, 1669.895263, -1373.021240, -1428.899169); ResetPlayerWeapons(playerid);
  2847.                         SetPlayerPosEx(playerid, 1685.381958, -1420.158203, 84.661575, 0.000000, 0);RemoverTempoSpawn(playerid);
  2848.                         SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); SetPlayerTeam(playerid,NO_TEAM); TogglePlayerControllable(playerid, 0);
  2849.                         format(strrow,256,"[ ELement Info ] %s(%d) entrou no X1 Desert Eagle e Sawn-Off", pName, playerid); SendClientMessageToAll(0x88FF9FAA, strrow);
  2850.                         return DuelosTimer03 = SetTimerEx("TimerDuelos", 5000, 0, "d", 3);
  2851.                     }
  2852.                 } else { ShowMenuForPlayer(DUELOSTIPOX1, playerid); return SendClientMessage(playerid, 0x88FF9FAA, "| Este X1 está lotado, aguarde ou tente outro."); }
  2853.                 return 1;
  2854.             }
  2855.             case 3:
  2856.             {
  2857.                 if (Duelos04 < 2)
  2858.                 {
  2859.                     if (Duelos04 == 0)
  2860.                     {
  2861.                         Duelos04 = 1; EmDuelo[playerid] = 4; SetPlayerTeam(playerid,NO_TEAM);
  2862.                         SetPlayerWorldBounds(playerid, 1812.600341, 1743.077514, -1740.116455, -1809.255126); ResetPlayerWeapons(playerid);
  2863.                         SetPlayerPosEx(playerid, 1777.422119, -1746.484863, 52.468750, 180.000000, 0);RemoverTempoSpawn(playerid);
  2864.                         SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); SetPlayerTeam(playerid,NO_TEAM); TogglePlayerControllable(playerid, 0);
  2865.                         format(strrow,256,"[ ELement Info ] %s(%d) entrou no X1 Desert Eagle e Uzi", pName, playerid); SendClientMessageToAll(0x88FF9FAA, strrow);
  2866.                         return 1;
  2867.                     }
  2868.                     else if (Duelos04 == 1)
  2869.                     {
  2870.                         Duelos04 = 2; EmDuelo[playerid] = 4; SetPlayerTeam(playerid,NO_TEAM);
  2871.                         SetPlayerWorldBounds(playerid, 1812.600341, 1743.077514, -1740.116455, -1809.255126); ResetPlayerWeapons(playerid);
  2872.                         SetPlayerPosEx(playerid, 1777.509033, -1803.447021, 52.468750, 0.000000, 0);RemoverTempoSpawn(playerid);
  2873.                         SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); SetPlayerTeam(playerid,NO_TEAM); TogglePlayerControllable(playerid, 0);
  2874.                         format(strrow,256,"[ ELement Info ] %s(%d) entrou no X1 Desert Eagle e Uzi", pName, playerid); SendClientMessageToAll(0x88FF9FAA, strrow);
  2875.                         return DuelosTimer04 = SetTimerEx("TimerDuelos", 5000, 0, "d", 4);
  2876.                     }
  2877.                 } else { ShowMenuForPlayer(DUELOSTIPOX1, playerid); return SendClientMessage(playerid, 0x88FF9FAA, "| Este X1 está lotado, aguarde ou tente outro."); }
  2878.                 return 1;
  2879.             }
  2880.             case 4:
  2881.             {
  2882.                 if (Duelos05 < 2)
  2883.                 {
  2884.                     if (Duelos05 == 0)
  2885.                     {
  2886.                         Duelos05 = 1; EmDuelo[playerid] = 5; SetPlayerTeam(playerid,NO_TEAM);
  2887.                        SetPlayerWorldBounds(playerid, 1367.231079, 1324.079833, -1542.265014, -1560.932617);
  2888.                         SetPlayerPosEx(playerid, 1361.965942, -1555.526611, 85.546875, 90.000000, 0); ResetPlayerWeapons(playerid);
  2889.                         SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); SetPlayerTeam(playerid,NO_TEAM); TogglePlayerControllable(playerid, 0);
  2890.                         format(strrow,256,"[ ELement Info ] %s(%d) entrou no X1 Spray e SMG MP5", pName, playerid); SendClientMessageToAll(0x88FF9FAA, strrow);
  2891.                         return 1;
  2892.                     }
  2893.                     else if (Duelos05 == 1)
  2894.                     {
  2895.                         Duelos05 = 2; EmDuelo[playerid] = 5; SetPlayerTeam(playerid,NO_TEAM);
  2896.                        SetPlayerWorldBounds(playerid, 1367.231079, 1324.079833, -1542.265014, -1560.932617);
  2897.                         SetPlayerPosEx(playerid, 1327.753295, -1549.121582, 85.548774, 270.000000, 0);RemoverTempoSpawn(playerid); ResetPlayerWeapons(playerid);
  2898.                         SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); SetPlayerTeam(playerid,NO_TEAM); TogglePlayerControllable(playerid, 0);
  2899.                         format(strrow,256,"[ ELement Info ] %s(%d) entrou no X1 Spray e SMG MP5", pName, playerid); SendClientMessageToAll(0x88FF9FAA, strrow);
  2900.                         return DuelosTimer05 = SetTimerEx("TimerDuelos", 5000, 0, "d", 5);
  2901.                     }
  2902.                 } else { ShowMenuForPlayer(DUELOSTIPOX1, playerid); return SendClientMessage(playerid, 0x88FF9FAA, "| Este X1 está lotado, aguarde ou tente outro."); }
  2903.                 return 1;
  2904.             }
  2905.             case 5:
  2906.             {
  2907.                 if (Duelos06 < 2)
  2908.                 {
  2909.                     if (Duelos06 == 0)
  2910.                     {
  2911.                         Duelos06 = 1; EmDuelo[playerid] = 6; SetPlayerTeam(playerid,NO_TEAM); ResetPlayerWeapons(playerid);
  2912.                        SetPlayerWorldBounds(playerid, 2696.585937, 2655.575195, -1270.490966, -1324.263183);
  2913.                         SetPlayerPosEx(playerid, 2678.008544, -1272.749633, 72.945312, 180.000000, 0);RemoverTempoSpawn(playerid); ResetPlayerWeapons(playerid);
  2914.                         SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); SetPlayerTeam(playerid,NO_TEAM); TogglePlayerControllable(playerid, 0);
  2915.                         format(strrow,256,"[ ELement Info ] %s(%d) entrou no X1 Extintor e Country Rifle", pName, playerid); SendClientMessageToAll(0x88FF9FAA, strrow);
  2916.                         return 1;
  2917.                     }
  2918.                     else if (Duelos06 == 1)
  2919.                     {
  2920.                         Duelos06 = 2; EmDuelo[playerid] = 6; SetPlayerTeam(playerid,NO_TEAM);
  2921.                        SetPlayerWorldBounds(playerid, 2696.585937, 2655.575195, -1270.490966, -1324.263183); ResetPlayerWeapons(playerid);
  2922.                         SetPlayerPosEx(playerid, 2678.008544, -1317.807983, 72.945312, 0.000000, 0);RemoverTempoSpawn(playerid); ResetPlayerWeapons(playerid);
  2923.                         SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); SetPlayerTeam(playerid,NO_TEAM); TogglePlayerControllable(playerid, 0);
  2924.                         format(strrow,256,"[ ELement Info ] %s(%d) entrou no X1 Extintor e Country Rifle", pName, playerid); SendClientMessageToAll(0x88FF9FAA, strrow);
  2925.                         return DuelosTimer06 = SetTimerEx("TimerDuelos", 5000, 0, "d", 6);
  2926.                     }
  2927.                 } else { ShowMenuForPlayer(DUELOSTIPOX1, playerid); return SendClientMessage(playerid, 0x88FF9FAA, "| Este X1 está lotado, aguarde ou tente outro."); }
  2928.                 return 1;
  2929.             }
  2930.             case 6:
  2931.             {
  2932.                 if (Duelos07 < 2)
  2933.                 {
  2934.                     if (Duelos07 == 0)
  2935.                     {
  2936.                         Duelos07 = 1; EmDuelo[playerid] = 7; SetPlayerTeam(playerid,NO_TEAM);
  2937.                        SetPlayerWorldBounds(playerid, 1442.223999, 1367.387451, -1178.286743, -1229.911010); ResetPlayerWeapons(playerid);
  2938.                         SetPlayerPosEx(playerid, 1385.970703, -1203.182250, 202.445312, 270.000000, 0);RemoverTempoSpawn(playerid);
  2939.                         SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); SetPlayerTeam(playerid,NO_TEAM); TogglePlayerControllable(playerid, 0);
  2940.                         format(strrow,256,"[ ELement Info ] %s(%d) entrou no X1 M4 e Sniper", pName, playerid); SendClientMessageToAll(0x88FF9FAA, strrow);
  2941.                         return 1;
  2942.                     }
  2943.                     else if (Duelos07 == 1)
  2944.                     {
  2945.                         Duelos07 = 2; EmDuelo[playerid] = 7; SetPlayerTeam(playerid,NO_TEAM);
  2946.                        SetPlayerWorldBounds(playerid, 1442.223999, 1367.387451, -1178.286743, -1229.911010); ResetPlayerWeapons(playerid);
  2947.                         SetPlayerPosEx(playerid, 1426.987548, -1205.288818, 195.046875, 90.000000, 0);RemoverTempoSpawn(playerid);
  2948.                         SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); SetPlayerTeam(playerid,NO_TEAM); TogglePlayerControllable(playerid, 0);
  2949.                         format(strrow,256,"[ ELement Info ] %s(%d) entrou no X1 M4 e Sniper", pName, playerid); SendClientMessageToAll(0x88FF9FAA, strrow);
  2950.                         return DuelosTimer07 = SetTimerEx("TimerDuelos", 5000, 0, "d", 7);
  2951.                     }
  2952.                 } else { ShowMenuForPlayer(DUELOSTIPOX1, playerid); return SendClientMessage(playerid, 0x88FF9FAA, "| Este X1 está lotado, aguarde ou tente outro."); }
  2953.                 return 1;
  2954.             }
  2955.             case 7:
  2956.             {
  2957.                 if (Duelos08 < 2)
  2958.                 {
  2959.                     if (Duelos08 == 0)
  2960.                     {
  2961.                         Duelos08 = 1; EmDuelo[playerid] = 8; SetPlayerTeam(playerid,NO_TEAM);
  2962.                        SetPlayerWorldBounds(playerid, 2315.045410, 2172.881835, 2097.409667, 2068.592041); ResetPlayerWeapons(playerid);
  2963.                         SetPlayerPosEx(playerid, 2177.686035, 2085.328125, 100.373504, 270.000000, 0);RemoverTempoSpawn(playerid);
  2964.                         SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); SetPlayerTeam(playerid,NO_TEAM); TogglePlayerControllable(playerid, 0);
  2965.                         format(strrow,256,"[ ELement Info ] %s(%d) entrou no X1 AK47 e Granada", pName, playerid); SendClientMessageToAll(0x88FF9FAA, strrow);
  2966.                         return 1;
  2967.                     }
  2968.                     else if (Duelos08 == 1)
  2969.                     {
  2970.                         Duelos08 = 2; EmDuelo[playerid] = 8; SetPlayerTeam(playerid,NO_TEAM);
  2971.                        SetPlayerWorldBounds(playerid, 2315.045410, 2172.881835, 2097.409667, 2068.592041); ResetPlayerWeapons(playerid);
  2972.                         SetPlayerPosEx(playerid, 2309.159179, 2085.019287, 100.373504, 90.000000, 0);RemoverTempoSpawn(playerid);
  2973.                         SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); SetPlayerTeam(playerid,NO_TEAM); TogglePlayerControllable(playerid, 0);
  2974.                         format(strrow,256,"[ ELement Info ] %s(%d) entrou no X1 AK47 e Granada", pName, playerid); SendClientMessageToAll(0x88FF9FAA, strrow);
  2975.                         return DuelosTimer08 = SetTimerEx("TimerDuelos", 5000, 0, "d", 8);
  2976.                     }
  2977.                 } else { ShowMenuForPlayer(DUELOSTIPOX1, playerid); return SendClientMessage(playerid, 0x88FF9FAA, "| Este X1 está lotado, aguarde ou tente outro."); }
  2978.                 return 1;
  2979.             }
  2980.             case 8:
  2981.             {
  2982.                 if (Duelos09 < 2)
  2983.                 {
  2984.                     if (Duelos09 == 0)
  2985.                     {
  2986.                         Duelos09 = 1; EmDuelo[playerid] = 9; SetPlayerTeam(playerid,NO_TEAM);
  2987.                        SetPlayerWorldBounds(playerid, 1551.642456, 1491.536010, -1113.712646, -1151.700317); ResetPlayerWeapons(playerid);
  2988.                         SetPlayerPosEx(playerid, 1549.047363, -1133.251586, 135.828125, 90.000000, 0);RemoverTempoSpawn(playerid);
  2989.                         SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); SetPlayerTeam(playerid,NO_TEAM); TogglePlayerControllable(playerid, 0);
  2990.                         format(strrow,256,"[ ELement Info ] %s(%d) entrou no X1 Desert Eagle e Sniper", pName, playerid); SendClientMessageToAll(0x88FF9FAA, strrow);
  2991.                         return 1;
  2992.                     }
  2993.                     else if (Duelos09 == 1)
  2994.                     {
  2995.                         Duelos09 = 2; EmDuelo[playerid] = 9; SetPlayerTeam(playerid,NO_TEAM);
  2996.                        SetPlayerWorldBounds(playerid, 1551.642456, 1491.536010, -1113.712646, -1151.700317); ResetPlayerWeapons(playerid);
  2997.                         SetPlayerPosEx(playerid, 1493.914794, -1131.972167, 135.828125, 270.000000, 0);RemoverTempoSpawn(playerid);
  2998.                         SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); SetPlayerTeam(playerid,NO_TEAM); TogglePlayerControllable(playerid, 0);
  2999.                         format(strrow,256,"[ ELement Info ] %s(%d) entrou no X1 Desert Eagle e Sniper", pName, playerid); SendClientMessageToAll(0x88FF9FAA, strrow);
  3000.                         return DuelosTimer09 = SetTimerEx("TimerDuelos", 5000, 0, "d", 9);
  3001.                     }
  3002.                 } else { ShowMenuForPlayer(DUELOSTIPOX1, playerid); return SendClientMessage(playerid, 0x88FF9FAA, "| Este X1 está lotado, aguarde ou tente outro."); }
  3003.                 return 1;
  3004.             }
  3005.             case 9:
  3006.             {
  3007.                 if (Duelos10 < 2)
  3008.                 {
  3009.                     if (Duelos10 == 0)
  3010.                     {
  3011.                         Duelos10 = 1; EmDuelo[playerid] = 10; SetPlayerTeam(playerid,NO_TEAM);
  3012.                        SetPlayerWorldBounds(playerid, -1638.117187, -1698.169189, 903.615844, 865.256530); ResetPlayerWeapons(playerid);
  3013.                         SetPlayerPosEx(playerid, -1643.396972, 885.890014, 136.085937, 90.000000, 0);RemoverTempoSpawn(playerid);
  3014.                         SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); SetPlayerTeam(playerid,NO_TEAM); TogglePlayerControllable(playerid, 0);
  3015.                         format(strrow,256,"[ ELement Info ] %s(%d) entrou no X1 Desert Eagle e Combat Shotgun", pName, playerid); SendClientMessageToAll(0x88FF9FAA, strrow);
  3016.                         return 1;
  3017.                     }
  3018.                     else if (Duelos10 == 1)
  3019.                     {
  3020.                         Duelos10 = 2; EmDuelo[playerid] = 10; SetPlayerTeam(playerid,NO_TEAM);
  3021.                        SetPlayerWorldBounds(playerid, -1638.117187, -1698.169189, 903.615844, 865.256530); ResetPlayerWeapons(playerid);
  3022.                         SetPlayerPosEx(playerid, -1691.329345, 885.642578, 136.085937, 270.000000, 0);RemoverTempoSpawn(playerid);
  3023.                         SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); SetPlayerTeam(playerid,NO_TEAM); TogglePlayerControllable(playerid, 0);
  3024.                         format(strrow,256,"[ ELement Info ] %s(%d) entrou no X1 Desert Eagle e Combat Shotgun", pName, playerid); SendClientMessageToAll(0x88FF9FAA, strrow);
  3025.                         return DuelosTimer10 = SetTimerEx("TimerDuelos", 5000, 0, "d", 10);
  3026.                     }
  3027.                 } else { ShowMenuForPlayer(DUELOSTIPOX1, playerid); return SendClientMessage(playerid, 0x88FF9FAA, "| Este X1 está lotado, aguarde ou tente outro."); }
  3028.                 return 1;
  3029.             }
  3030.         }
  3031.     }
  3032.     return 1;
  3033. }
  3034.  
  3035. public OnPlayerExitedMenu(playerid)
  3036. {
  3037. TogglePlayerControllable(playerid, 1);
  3038.     return 1;
  3039. }
  3040.  
  3041. public ZoneCheckpointChecker()
  3042. {
  3043.    for(new i; i < MAX_PLAYERS; i++)
  3044.    {
  3045.        if(!IsPlayerConnected(i))continue;
  3046.        if(CPS_GetPlayerCheckpoint(i) > 0 && CPS_GetPlayerCheckpoint(i) <= 11 &&
  3047.            //são 11 checkpoints, então mude se for colocar mais...
  3048.             gzcolor[CPS_GetPlayerCheckpoint(i)-1] != gzcolorteam[gangteam[i]])
  3049.        {
  3050.            if(cpzone[i][CPS_GetPlayerCheckpoint(i)] < 15)
  3051.            {
  3052.             if(cpzone[i][CPS_GetPlayerCheckpoint(i)] == 5)
  3053.         {
  3054.         for(new j; j < MAX_PLAYERS; j++)
  3055.         {
  3056.         if(gangteam[j] == CPS_GetPlayerCheckpoint(i)-1)
  3057.             GameTextForPlayer(j, " ~n~ ~n~ ~n~ ~n~ ~n~ ~n~ ~n~ ~n~ ~y~A base do ~g~seu time ~y~esta sendo ~r~dominada~y~!", 4000, 4);
  3058.         }
  3059.         }
  3060.                 cpzone[i][CPS_GetPlayerCheckpoint(i)]++;
  3061.                 new tmp[10];
  3062.                 format(tmp, sizeof tmp, "~r~%2d/15", cpzone[i][CPS_GetPlayerCheckpoint(i)]);
  3063.                 GameTextForPlayer(i, tmp, 1001, 4);
  3064.                 GangZoneFlashForAll(CPS_GetPlayerCheckpoint(i)-1, gzcolorteam[gangteam[i]]);
  3065.             } else if(cpzone[i][CPS_GetPlayerCheckpoint(i)] == 15) //passou 30 segundos dentro do checkpoint
  3066.            {
  3067.                GameTextForPlayer(i, "~w~Area Dominada", 4000, 1);
  3068.                gzcolor[CPS_GetPlayerCheckpoint(i)-1] = gzcolorteam[gangteam[i]];
  3069.                GangZoneStopFlashForAll(CPS_GetPlayerCheckpoint(i)-1);
  3070.                GangZoneHideForAll(CPS_GetPlayerCheckpoint(i)-1);
  3071.                GangZoneShowForAll(CPS_GetPlayerCheckpoint(i)-1, gzcolor[gangteam[i]]);
  3072.                new str[256];
  3073.                 format(str, 256, "|GANGZONE| - O (Os, A, As) '%s' invadiram e dominaram mais um território!", pgangnames[gangteam[i]][0]);
  3074.                 SendClientMessageToAll(0xFFFFFFFF, str);
  3075.                 PlayerInfo[i][pDominou]++;
  3076.            }
  3077.        }
  3078. }
  3079. }
  3080.  
  3081. public SendMSG()
  3082. {
  3083.    new random2 = random(sizeof(RandomColors));
  3084.    new randMSG = random(sizeof(RandomMSG));
  3085.    SendClientMessageToAll(RandomColors[random2], RandomMSG[randMSG]);
  3086. }
  3087. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  3088. {
  3089.    if(dialogid == DIALOG_REGRAS) {
  3090.        if(response) {
  3091.            return SendClientMessage(playerid, 0x88FF9FAA, "-- ~=~=~=~=~=~=~ Tenha um Bom Jogo ~=~~==~=~=~=~=~~-");
  3092.        }
  3093.        else SendClientMessage(playerid, VERMELHO, "[ERRO]: Desculpe Todas Regras deve ser seguidas a Risca sempre que Puder,Obrigado.");
  3094.        Kick(playerid);
  3095.    }
  3096.     return 1;
  3097. }
  3098.  
  3099. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  3100. {
  3101.     return 1;
  3102. }
  3103. public OlhaAeQuemTeMatou(playerid)
  3104. {
  3105.     TogglePlayerSpectating(playerid, false);
  3106.     olhamane[playerid] = 0;
  3107.     return 1;
  3108. }
  3109.  
  3110. public UpperToLower(text[])
  3111. {
  3112.     for(new Char ; Char < strlen(text) ; Char++)
  3113.     {
  3114.         if(text[Char] > 64 && text[Char] < 91)
  3115.         {
  3116.             text[Char] += 32;
  3117.         }
  3118.     }
  3119.     return 1;
  3120. }
  3121. stock ForcePlayerCommand(senderid, const str[])
  3122. {
  3123.     CallRemoteFunction("OnPlayerCommandText", "is", senderid, str);
  3124. }
  3125. stock Nome(playerid)
  3126. {
  3127.     new nome[MAX_PLAYER_NAME];
  3128.     GetPlayerName(playerid, nome, sizeof(nome));
  3129.     return nome;
  3130. }
  3131. stock VerificaGuerra(playerid,killerid) // X1
  3132. {
  3133. new pName[MAX_PLAYER_NAME];
  3134. GetPlayerName(playerid, pName, sizeof(pName));
  3135. new namekiller[MAX_PLAYER_NAME];
  3136.     GetPlayerName(killerid, namekiller, sizeof(pName));
  3137.     if (EmGuerra[playerid] == 0) return 1;
  3138.     new strdue[128];
  3139.     if (EmGuerra[playerid] > 0)
  3140.     {
  3141.         if (killerid == INVALID_PLAYER_ID)
  3142.         {
  3143.             SetPlayerScore(killerid, GetPlayerScore(killerid) - 1);
  3144.             format(strdue,sizeof(strdue),"[ ELement Info ] %s(%d) morreu na Guerra", pName, playerid);
  3145.             SendClientMessageToAll(0x59E000AA, strdue);
  3146.         }
  3147.         else
  3148.         {
  3149.             format(strdue,sizeof(strdue),"[ ELement Info ] %s(%d) morreu na Guerra para %s(%d)", pName, playerid, namekiller);
  3150.             SendClientMessageToAll(0x59E000AA, strdue);
  3151.             GivePlayerMoney(killerid, 4000);
  3152.             PlayerInfo[killerid][pMatou]++;
  3153.             PlayerInfo[playerid][pMorreu]++;
  3154.             SetPlayerScore(killerid, GetPlayerScore(killerid) + 1);
  3155.         }
  3156.         return 1;
  3157.     }
  3158.     return 1;
  3159. }
  3160.  
  3161. stock VerificaDuelos(playerid,killerid) // X1
  3162. {
  3163. new pName[MAX_PLAYER_NAME];
  3164. GetPlayerName(playerid, pName, sizeof(pName));
  3165. new namekiller[MAX_PLAYER_NAME];
  3166.     GetPlayerName(killerid, namekiller, sizeof(pName));
  3167.     if (EmDuelo[playerid] == 0) return 1;
  3168.     if (EmDuelo[playerid] > 0)
  3169.     {
  3170.         new dueloid = EmDuelo[playerid], strdue[128];
  3171.         if (killerid == INVALID_PLAYER_ID)
  3172.         {
  3173.             SetPlayerWorldBounds(playerid, 4000, -4000, 4000, -4000);
  3174.             EmDuelo[playerid] = 0; ResetPlayerWeapons(playerid);
  3175.             SetPlayerScore(killerid, GetPlayerScore(killerid) - 1);
  3176.             format(strdue,sizeof(strdue),"[ ELement Info ] %s(%d) se matou no X1", pName, playerid);
  3177.             SendClientMessageToAll(0x88FF9FAA, strdue);
  3178.             for (new i = 0; i < MAX_PLAYERS; i++) if (IsPlayerConnected(i) && EmDuelo[i] > 0 && EmDuelo[i] == dueloid)
  3179.             {
  3180.                 SetPlayerWorldBounds(i, 4000, -4000, 4000, -4000);
  3181.                 ResetPlayerWeapons(i); SetPlayerArmour(i, 0.0); EmDuelo[i] = 0;
  3182.             }
  3183.         }
  3184.         else
  3185.         {
  3186.             SetPlayerWorldBounds(playerid, 4000, -4000, 4000, -4000); SetPlayerWorldBounds(killerid, 4000, -4000, 4000, -4000);
  3187.             format(strdue,sizeof(strdue),"[ ELement Info ] %s(%d) perdeu o X1 contra %s(%d)", pName, playerid, namekiller); SendClientMessageToAll(0x88FF9FAA, strdue);
  3188.             EmDuelo[playerid] = 0; ResetPlayerWeapons(playerid); ResetPlayerWeapons(killerid); SetPlayerArmour(killerid, 0.0);SpawnPlayer(killerid);EmDuelo[killerid] = 0;SpawnPlayer(playerid);
  3189.             GivePlayerMoney(killerid, 4000);
  3190.             PlayerInfo[killerid][Ganhoux1]++;
  3191.             PlayerInfo[playerid][Perdeux1]++;
  3192.             PlayerInfo[killerid][pMatou]++;
  3193.             PlayerInfo[playerid][pMorreu]++;
  3194.             SetPlayerScore(killerid, GetPlayerScore(killerid) + 1);
  3195.         }
  3196.         if (dueloid == 1)   Duelos01 = 0;
  3197.         if (dueloid == 2)   Duelos02 = 0;
  3198.         if (dueloid == 3)   Duelos03 = 0;
  3199.         if (dueloid == 4)   Duelos04 = 0;
  3200.         if (dueloid == 5)   Duelos05 = 0;
  3201.         if (dueloid == 6)   Duelos06 = 0;
  3202.         if (dueloid == 7)   Duelos07 = 0;
  3203.         if (dueloid == 8)   Duelos08 = 0;
  3204.         if (dueloid == 9)   Duelos09 = 0;
  3205.         if (dueloid == 10)  Duelos10 = 0;
  3206.         return 1;
  3207.     }
  3208.     return 1;
  3209. }
  3210. stock SetPlayerPosEx(playerid, Float: X, Float: Y, Float: Z, Float: Angle, InteriorID)
  3211. {
  3212.     SetPlayerPos(playerid, Float: X, Float: Y, Float: Z);
  3213.     SetPlayerFacingAngle(playerid, Float: Angle);
  3214.     SetPlayerInterior(playerid, InteriorID);
  3215.     return 1;
  3216. }
  3217. stock RemoverTempoSpawn(playerid)
  3218. {
  3219.     CallRemoteFunction("ResetarSpawnKill", "d", playerid);
  3220. }
  3221. forward OnPlayerGangText(playerid,text[]);
  3222. public OnPlayerGangText(playerid,text[]) // GANG Xat
  3223. {
  3224.     for (new i = 0; i < MAX_PLAYERS; i++) if (IsPlayerConnected(i) && gangteam[i] == gangteam[playerid])
  3225.         {
  3226.         SendClientMessage(i, 0x88FF9FAA, text);
  3227.         }
  3228.     return 0;
  3229. }
  3230. public FDP(playerid)
  3231. {
  3232.     Kick(playerid);
  3233.     KillTimer(TimerFDP);
  3234.     return 1;
  3235. }
  3236.  
  3237. stock TopPlayersOnline(playerid)
  3238. {
  3239.    new string[256];
  3240.    while(Percorrido < 10) {
  3241.        for(new i; i < 500; i++)  if(IsPlayerConnected(i)) {
  3242.            if(GetPlayerScore(i) > Valor_Maximo[Percorrido] && TopFoi[i] == false) {
  3243.                GetPlayerName(i,PlayerMelhor[Percorrido],24);
  3244.                 Valor_Maximo[Percorrido] = GetPlayerScore(i);
  3245.                 TopFoi[i] = true;
  3246.             }
  3247.         }
  3248.         Percorrido++;
  3249.     }
  3250.     for(new a; a < 500; a++)  if(IsPlayerConnected(a)) TopFoi[a] = false;
  3251.    Percorrido = 0;
  3252.    for(new i; i < 10;i++)
  3253.    {
  3254.        if(PlayerMelhor[i][0] != EOS)
  3255.        {
  3256.            format(string ,64,"[%d] - Player: %s | Score: %d",i+1,PlayerMelhor[i],Valor_Maximo[i]);
  3257.            SendClientMessage(playerid,0x88FF9FAA,string);
  3258.            Valor_Maximo[i] = -1;
  3259.        }
  3260.    }
  3261. }
  3262. Nitro(vehicleid)
  3263. {
  3264.    switch(GetVehicleModel(vehicleid)) {
  3265.        case 444:return 0;case 581:return 0;case 586:return 0;
  3266.        case 481:return 0;case 509:return 0;case 446:return 0;
  3267.        case 556:return 0;case 443:return 0;case 452:return 0;
  3268.        case 453:return 0;case 454:return 0;case 472:return 0;
  3269.        case 473:return 0;case 484:return 0;case 493:return 0;
  3270.        case 595:return 0;case 462:return 0;case 463:return 0;
  3271.        case 468:return 0;case 521:return 0;case 522:return 0;
  3272.        case 417:return 0;case 425:return 0;case 447:return 0;
  3273.        case 487:return 0;case 488:return 0;case 497:return 0;
  3274.        case 501:return 0;case 548:return 0;case 563:return 0;
  3275.        case 406:return 0;case 520:return 0;case 539:return 0;
  3276.        case 553:return 0;case 557:return 0;case 573:return 0;
  3277.        case 460:return 0;case 593:return 0;case 464:return 0;
  3278.        case 476:return 0;case 511:return 0;case 512:return 0;
  3279.        case 577:return 0;case 592:return 0;case 471:return 0;
  3280.        case 448:return 0;case 461:return 0;case 523:return 0;
  3281.        case 510:return 0;case 430:return 0;case 465:return 0;
  3282.        case 469:return 0;case 513:return 0;case 519:return 0;
  3283.    }
  3284.    return 1;
  3285. }
  3286. otherplayerids(const string[], &index)
  3287. {
  3288.    new length = strlen(string);
  3289.    while ((index < length) && (string[index] <= ' ')) {
  3290.        index++;
  3291.    }
  3292.    new offset = index;
  3293.    new result[20];
  3294.    while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1))) {
  3295.        result[index - offset] = string[index];
  3296.         index++;
  3297.     }
  3298.     result[index - offset] = EOS;
  3299.     return result;
  3300. }
  3301.  
  3302. forward AtualizarBars();
  3303. public AtualizarBars()
  3304. {
  3305.  
  3306.     for(new playerid; playerid<GetMaxPlayers(); playerid++)
  3307.     {
  3308.     if(IsPlayerConnected(playerid))
  3309.     {
  3310.     new Float:Health;
  3311.     new HealthString[15];
  3312.     GetPlayerHealth(playerid,Health);
  3313.     format(HealthString, 15, "       %d",floatround(Health));
  3314.     TextDrawSetString(HealthBar[playerid],HealthString);
  3315.     TextDrawShowForPlayer(playerid,HealthBar[playerid]);
  3316.    new Float:Armour;
  3317.     GetPlayerArmour(playerid,Armour);
  3318.     if(Armour > 0)
  3319.     {
  3320.     new ArmourString[15];
  3321.     format(ArmourString, 15, "       %d",floatround(Armour));
  3322.     TextDrawSetString(ArmourBar[playerid],ArmourString);
  3323.     TextDrawShowForPlayer(playerid,ArmourBar[playerid]);
  3324.     }
  3325.     else
  3326.     {
  3327.     TextDrawHideForPlayer(playerid,ArmourBar[playerid]);
  3328.     }
  3329.     if(IsPlayerInAnyVehicle(playerid))
  3330.     {
  3331.     new Float:VehHealth;
  3332.     new TrueVehHealth;
  3333.     new VehHealthString[15];
  3334.     GetVehicleHealth(GetPlayerVehicleID(playerid),VehHealth);
  3335.     TrueVehHealth = floatround(floatround(VehHealth - 250)/ 7.5);
  3336.     format(VehHealthString, 15, "       %d",floatround(TrueVehHealth));
  3337.     TextDrawSetString(VehHealthBar[playerid],VehHealthString);
  3338.     if (TrueVehHealth == -33)
  3339.     {
  3340.     TextDrawSetString(VehHealthBar[playerid],"     Morto");
  3341.     TextDrawSetString(VehHealthBox3[playerid],"~g~~h~");
  3342.     TextDrawShowForPlayer(playerid,VehHealthBox1[playerid]);
  3343.     TextDrawShowForPlayer(playerid,VehHealthBox2[playerid]);
  3344.     TextDrawShowForPlayer(playerid,VehHealthBox3[playerid]);
  3345.     TextDrawShowForPlayer(playerid,VehHealthBar[playerid]);
  3346.     }
  3347.     else if (TrueVehHealth < 1)
  3348.     {
  3349.     TextDrawSetString(VehHealthBar[playerid],"     Fire");
  3350.     TextDrawSetString(VehHealthBox3[playerid],"~g~~h~");
  3351.     TextDrawShowForPlayer(playerid,VehHealthBox1[playerid]);
  3352.     TextDrawShowForPlayer(playerid,VehHealthBox2[playerid]);
  3353.     TextDrawShowForPlayer(playerid,VehHealthBox3[playerid]);
  3354.     TextDrawShowForPlayer(playerid,VehHealthBar[playerid]);
  3355.     }
  3356.     else if (TrueVehHealth < 10)
  3357.     {
  3358.     TextDrawSetString(VehHealthBox3[playerid],"~g~~h~.");
  3359.     TextDrawShowForPlayer(playerid,VehHealthBox1[playerid]);
  3360.     TextDrawShowForPlayer(playerid,VehHealthBox2[playerid]);
  3361.     TextDrawShowForPlayer(playerid,VehHealthBox3[playerid]);
  3362.     TextDrawShowForPlayer(playerid,VehHealthBar[playerid]);
  3363.     }
  3364.     else if (TrueVehHealth < 20)
  3365.     {
  3366.     TextDrawSetString(VehHealthBox3[playerid],"~g~~h~..");
  3367.     TextDrawShowForPlayer(playerid,VehHealthBox1[playerid]);
  3368.     TextDrawShowForPlayer(playerid,VehHealthBox2[playerid]);
  3369.     TextDrawShowForPlayer(playerid,VehHealthBox3[playerid]);
  3370.     TextDrawShowForPlayer(playerid,VehHealthBar[playerid]);
  3371.     }
  3372.     else if (TrueVehHealth < 30)
  3373.     {
  3374.     TextDrawSetString(VehHealthBox3[playerid],"~g~~h~...");
  3375.     TextDrawShowForPlayer(playerid,VehHealthBox1[playerid]);
  3376.     TextDrawShowForPlayer(playerid,VehHealthBox2[playerid]);
  3377.     TextDrawShowForPlayer(playerid,VehHealthBox3[playerid]);
  3378.     TextDrawShowForPlayer(playerid,VehHealthBar[playerid]);
  3379.     }
  3380.     else if (TrueVehHealth < 40)
  3381.     {
  3382.     TextDrawSetString(VehHealthBox3[playerid],"~g~~h~....");
  3383.     TextDrawShowForPlayer(playerid,VehHealthBox1[playerid]);
  3384.     TextDrawShowForPlayer(playerid,VehHealthBox2[playerid]);
  3385.     TextDrawShowForPlayer(playerid,VehHealthBox3[playerid]);
  3386.     TextDrawShowForPlayer(playerid,VehHealthBar[playerid]);
  3387.     }
  3388.     else if (TrueVehHealth < 50)
  3389.     {
  3390.     TextDrawSetString(VehHealthBox3[playerid],"~g~~h~.....");
  3391.     TextDrawShowForPlayer(playerid,VehHealthBox1[playerid]);
  3392.     TextDrawShowForPlayer(playerid,VehHealthBox2[playerid]);
  3393.     TextDrawShowForPlayer(playerid,VehHealthBox3[playerid]);
  3394.     TextDrawShowForPlayer(playerid,VehHealthBar[playerid]);
  3395.     }
  3396.     else if (TrueVehHealth < 60)
  3397.     {
  3398.     TextDrawSetString(VehHealthBox3[playerid],"~g~~h~......");
  3399.     TextDrawShowForPlayer(playerid,VehHealthBox1[playerid]);
  3400.     TextDrawShowForPlayer(playerid,VehHealthBox2[playerid]);
  3401.     TextDrawShowForPlayer(playerid,VehHealthBox3[playerid]);
  3402.     TextDrawShowForPlayer(playerid,VehHealthBar[playerid]);
  3403.     }
  3404.     else if (TrueVehHealth < 70)
  3405.     {
  3406.     TextDrawSetString(VehHealthBox3[playerid],"~g~~h~.......");
  3407.     TextDrawShowForPlayer(playerid,VehHealthBox1[playerid]);
  3408.     TextDrawShowForPlayer(playerid,VehHealthBox2[playerid]);
  3409.     TextDrawShowForPlayer(playerid,VehHealthBox3[playerid]);
  3410.     TextDrawShowForPlayer(playerid,VehHealthBar[playerid]);
  3411.     }
  3412.     else if (TrueVehHealth < 80)
  3413.     {
  3414.     TextDrawSetString(VehHealthBox3[playerid],"~g~~h~........");
  3415.     TextDrawShowForPlayer(playerid,VehHealthBox1[playerid]);
  3416.     TextDrawShowForPlayer(playerid,VehHealthBox2[playerid]);
  3417.     TextDrawShowForPlayer(playerid,VehHealthBox3[playerid]);
  3418.     TextDrawShowForPlayer(playerid,VehHealthBar[playerid]);
  3419.     }
  3420.     else if (TrueVehHealth < 90)
  3421.     {
  3422.     TextDrawSetString(VehHealthBox3[playerid],"~g~~h~.........");
  3423.     TextDrawShowForPlayer(playerid,VehHealthBox1[playerid]);
  3424.     TextDrawShowForPlayer(playerid,VehHealthBox2[playerid]);
  3425.     TextDrawShowForPlayer(playerid,VehHealthBox3[playerid]);
  3426.    TextDrawShowForPlayer(playerid,VehHealthBar[playerid]);
  3427.     }
  3428.     else if (TrueVehHealth < 100)
  3429.     {
  3430.     TextDrawSetString(VehHealthBox3[playerid],"~g~~h~..........");
  3431.     TextDrawShowForPlayer(playerid,VehHealthBox1[playerid]);
  3432.     TextDrawShowForPlayer(playerid,VehHealthBox2[playerid]);
  3433.     TextDrawShowForPlayer(playerid,VehHealthBox3[playerid]);
  3434.     TextDrawShowForPlayer(playerid,VehHealthBar[playerid]);
  3435.     }
  3436.     else if (TrueVehHealth == 100)
  3437.     {
  3438.     TextDrawSetString(VehHealthBox3[playerid],"~g~~h~..........");
  3439.     TextDrawShowForPlayer(playerid,VehHealthBox1[playerid]);
  3440.     TextDrawShowForPlayer(playerid,VehHealthBox2[playerid]);
  3441.     TextDrawShowForPlayer(playerid,VehHealthBox3[playerid]);
  3442.     TextDrawShowForPlayer(playerid,VehHealthBar[playerid]);
  3443.     }
  3444.  
  3445.     }
  3446.     else
  3447.     {
  3448.     TextDrawHideForPlayer(playerid,VehHealthBox1[playerid]);
  3449.    TextDrawHideForPlayer(playerid,VehHealthBox2[playerid]);
  3450.    TextDrawHideForPlayer(playerid,VehHealthBox3[playerid]);
  3451.    TextDrawHideForPlayer(playerid,VehHealthBar[playerid]);
  3452.     }
  3453.     }
  3454.     }
  3455.    return 1;
  3456. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement