SHARE
TWEET

[GameMode] San Fierro War

a guest May 27th, 2013 407 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ---------- San Fierro War v1.5 ---------- //
  2. // --- GameMode: Lucas Tótola e Bielzera --- //
  3. // ----------- Map: Lucas Tótola ----------- //
  4. // ---- Special Thanks: forum.sa-mp.com ---- //
  5. // ----    Postado Por: Felipe Paiva    ---- //
  6.       // ---- Acessem:HomeHots.net ---- //
  7.  
  8. //----------------{INCLUDES}------------------//
  9. #include <a_samp>
  10. #include <DOF2>
  11. #include <ZCMD>
  12.  
  13. //----------------{CORES}------------------//
  14. #define VERMELHO                     0xEE0000FF
  15. #define COR_VERMELHO                 0xEE0000FF
  16. #define BRANCO                       0xFFFFFFFF
  17. #define VERDE                        0x32CD32FF
  18. #define CORSERVER                    0x1E90FFFF
  19. #define USOCORRETO                   0x008000AA
  20. #define AMARELO                      0xFFFF00AA
  21. #define CINZA                        0xAFAFAFAA
  22. #define COLOR_KICK                   0xFF7777AA
  23. #define LARANJA                      0xFF9900AA
  24. #define LIMAO                        0x32CD32AA
  25. #define COR_ERRO                     0x8B2323AA
  26. #define COR_USOCORRETO               0x2641FEAA
  27. #define AZULCLARO                    0x00FFFFAA
  28. #define ROXO                         0xB360FDFF
  29. #define COR_PROMOVIDO                0xFF5300AA
  30. #define COR_ADM                      0xCECEFF7D
  31. #define COR_NEGATIVO                 0xFF7777AA
  32. #define COLOR_RED                    0xFF0000FF
  33. #define COLOR_DBLUE                  0x2641FEAA
  34. #define COR_PURPLE                   0xAC59FFAA
  35. #define CORRETO                      0x8080FFAA
  36. #define ERRO                         0xFF0000AA
  37. #define COLOR_BLUE                   0x33AAFFFF
  38. #define COLOR_WHITE                  0xFFFFFFAA
  39. #define COR_PRINCIPAL                0x0080FFAA
  40. #define COLOR_YELLOW                 0xFFFF00AA
  41. #define COR_ROXO                                         0xC798FAAA
  42. #define COR_BRANCO                                       0xFFFFFFAA
  43. #define COR_BARRAS                                       0x96D742AA
  44. #define COR_ANONIMO                              0xFFFFFFAA
  45. #define COR_SFPD                     0x8080FFAA
  46. #define COR_GWINFO                   0xFF7777AA
  47. #define COR_CYAN                     0x00FFFFAA
  48. #define COR_GSF                      0x00CC00AA
  49. #define COR_AZUL                     0x33BDFFAA
  50. #define COR_GZINATIVA                0xFFFFFFAA
  51. #define COR_ROSA                     0xFF1493AA
  52.  
  53. //----------------{CORES ORG}------------------//
  54. #define COR_SWAT                     0x27408B88
  55. #define COR_FBI                      0x20B2AA88
  56. #define COR_MAFIA                    0x69696988
  57. #define COR_TRIADS                   0x8B472688
  58. #define COR_RIFA                     0x87CEEB88
  59. #define COR_BOYS                     0xB2222288
  60.  
  61. //----------------{DIALOGOS}------------------//
  62. #define     DIALOG_REGISTRO         1
  63. #define     DIALOG_LOGAR            2
  64. #define     Carros                  3
  65. #define     DIALOG_TEMPO            4
  66. #define     DIALOG_ORG              5
  67. #define     VEST_MAFIA              6
  68. #define     VEST_TRIAD              7
  69. #define     VEST_BOYS               8
  70. #define     VEST_RIFAS              9
  71. #define     VEST_SWAT               10
  72. #define     VEST_FBI                11
  73. #define     LOJA_ARMAS              12
  74. #define     DIALOG_GPS              13
  75. #define     DIALOG_ANIMES           14
  76. #define     DIALOG_LASER            15
  77. #define     DIALOG_MUDAR            16
  78.  
  79. //----------------{DEFINI√á√ĒES}--------------------//
  80. #define CONTAS                       "Contas/%s.ini"
  81. #define ADMIN_SPEC_TYPE_NONE         35
  82. #define pid                          playerid
  83. #define ADMIN_SPEC_TYPE_PLAYER       36
  84. #define CAR_SPAWN                    60
  85. #pragma tabsize                      0
  86. #define Scm                          SendClientMessage
  87. #define Kick(%0) SetTimerEx("Kicka", 100, false, "i", %0)
  88. #define Ban(%0) SetTimerEx("Bana", 100, false, "i", %0)
  89.  
  90. //----------------{TEXTDRAWS}--------------------//
  91. new Text:Textdraw0;
  92. new Text:Textdraw1;
  93. new Text:Textdraw2;
  94. new Text:Textdraw3;
  95. new Text:Textdraw4[MAX_PLAYERS];
  96. new Text:Textdraw5[MAX_PLAYERS];
  97. new Text:Textdraw7[MAX_PLAYERS];
  98. new Text:Textdraw8[MAX_PLAYERS];
  99. new Text:Textdraw9[MAX_PLAYERS];
  100. new Text:Textdraw10;
  101. new Text:Textdraw11;
  102. new Text:Textdraw12;
  103.  
  104. //----------------{GANGZONES}--------------------//
  105. new stuntpark, cpstunt, corstunt;
  106. new casino, cpcasino, corcasino;
  107. new baseball, cpbaseball, corbaseball;
  108. new pracinha, cppracinha, corpracinha;
  109. new obras, cpobras, corobras;
  110. new pierab, cppierab, corpierab;
  111. new pier69, cppier69, corpier69;
  112. /*
  113.  
  114.     {-1532,793,-1484,660},  STUNT PARK
  115.     {-2278,563,-2210,504},  CASINO
  116.     {-2297,219,-2350,71},  CAMPO DE BASEBALL
  117.     {-2739,405,-2674,345},  PRACINHA CENTRAL
  118.     {-2136,311,-2019,120},  CONSTRU√á√ÉO
  119.     {-2060,1334,-2095,1435},  PIER ABANDONADO
  120.     {-1683,1319,-1551,1457}  PIER 69
  121.  
  122. */
  123.  
  124. //----------------{RANDOM MSG'S}------------------//
  125. new Mensagens[6][256] =
  126. {
  127.   "[INFO] Esta Perdido? Utilize /gps",
  128.   "[INFO] O que tem de Novo no Server? /novidades",
  129.   "[INFO] Como fa√ßo para Jogar? | /comandos | /tutorial",
  130.   "[INFO] Para falar no Chat de sua Organiza√ß√£ou, use: ! (texto)",
  131.   "[INFO] Para saber quem criou o GameMod use /creditos",
  132.   "[INFO] Participe do Grupo  https://www.facebook.com/groups/SF.War/"
  133. };
  134.  
  135. new Cores[] = {
  136.     0x7FFF00AA,
  137.     0xCD3333AA,
  138.     0x4682B4AA
  139. };
  140. //----------------{CheckPoint Stream INCLUDE}--------------------//
  141. #define MAX_CHECKPOINTS 500
  142. forward CPSERVICE_Handler();
  143. enum cpinfo
  144. {
  145.         Float:cpX,
  146.         Float:cpY,
  147.         Float:cpZ,
  148.         Float:cpsz,
  149.         cpsd,
  150. };
  151. new CPSERVICE_active;
  152. new Checkpoints[MAX_CHECKPOINTS][cpinfo];
  153. new UsedCPSlot[MAX_CHECKPOINTS];
  154. new CPSERVICE_actualcp[MAX_PLAYERS];
  155.  
  156. //----------------{ENUMERADORES}------------------//
  157. enum Informacoes
  158. {
  159.     Senha,
  160.     Trabalho,
  161.     Matou,
  162.     Morreu,
  163.     Score,
  164.     Dinheiro,
  165.     FBI,
  166.     SWAT,
  167.     Mafia,
  168.         Rifa,
  169.         Triads,
  170.         Boys,
  171.     Admin,
  172.     Laser
  173. }
  174. enum Gangzonesdo
  175. {
  176.    Stunt,
  177.    Casino,
  178.    Baseball,
  179.    Pracinha,
  180.    Obras,
  181.    Pierab,
  182.    Pier69
  183. }
  184. //----------------{NEWS}------------------//
  185. forward MSGRAM();
  186. new PlayerInfo[MAX_PLAYERS][Informacoes];
  187. new PlayerDomi[MAX_PLAYERS][Gangzonesdo];
  188. new Logado[MAX_PLAYERS];
  189. new Float:px, Float:py, Float:pz;
  190. new gSpectateID[MAX_PLAYERS], gSpectateType[MAX_PLAYERS];
  191. new HighestID;
  192. new portaofbi, portaoswat;
  193. new anims[5];
  194. new Equipamentos[MAX_PLAYERS];
  195. new Abordado[MAX_PLAYERS];
  196. new PlayersOnline;
  197. new BaseJump;
  198. new LaserOn[MAX_PLAYERS];
  199. new LaserCor[MAX_PLAYERS];
  200. new PlayerGPS[MAX_PLAYERS];
  201. new gpstimer;
  202. new PlayerChat[MAX_PLAYERS];
  203. new Avisos[MAX_PLAYERS];
  204. main()
  205. {
  206.     print("\n-----------------------------------------");
  207.         print("---------- San Fierro War v1.5 ----------");
  208.         print("--- GameMode: Lucas T√≥tola e Bielzera ---");
  209.         print("----------- Map: Lucas T√≥tola -----------");
  210.         print("---- Special Thanks: forum.sa-mp.com ----");
  211.         print("-----------------------------------------\n");
  212. }
  213.  
  214. public OnGameModeInit()
  215. {
  216.         SetGameModeText("[SF-War] 1.5");
  217.     SetTimer("Dominado",1000,1);
  218.     SetTimer("SendMensagens",200000,1);
  219.         AddPlayerClass(252,1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); // oi + oi = oioi + oi = oioioi seja morena ou... parei
  220.         UsePlayerPedAnims();
  221.         DisableInteriorEnterExits();
  222.  
  223.         //PICK UPS...
  224.         CreatePickup(1275, 0, -2177.2056,718.3109,53.8912, -1); // MAFIA VEST
  225.         CreatePickup(1275, 0, -2141.1375,-125.0661,36.6880, -1); // TRIAD VEST
  226.         CreatePickup(1275, 0, -1522.1389,481.4641,7.1875, -1); // SWAT VEST
  227.         CreatePickup(1275, 0, -2669.4946,1433.5911,7.0938, -1); // BOYS VEST
  228.         CreatePickup(1275, 0, -2510.8689,777.1066,35.1719, -1); // RIFAS VEST
  229.         CreatePickup(1275, 0, -1715.8188,1018.4985,17.9178, -1); // FBI VEST
  230.         CreatePickup(348, 0, -2534.9385,52.2758,16.3554, -1); // LOJA DE ARMAS
  231.        
  232.         //TEXT LABELS...
  233.         Create3DTextLabel("{FFFFFF}Vestiario{0000FF}\nAperte F", 0x000000FF, -2177.2056,718.3109,53.8912, 10.0, 0); // VEST MAFIA
  234.         Create3DTextLabel("{FFFFFF}Vestiario{0000FF}\nAperte F", 0x000000FF, -2141.1375,-125.0661,36.6880, 10.0, 0); // V.TRIAD
  235.         Create3DTextLabel("{FFFFFF}Vestiario{0000FF}\nAperte F", 0x000000FF, -1522.1389,481.4641,7.1875, 10.0, 0); //V.SWAT
  236.         Create3DTextLabel("{FFFFFF}Vestiario{0000FF}\nAperte F", 0x000000FF, -2669.4946,1433.5911,7.0938, 10.0, 0); //V.BOYS
  237.         Create3DTextLabel("{FFFFFF}Vestiario{0000FF}\nAperte F", 0x000000FF, -2510.8689,777.1066,35.1719, 10.0, 0); //V.RIFAS
  238.         Create3DTextLabel("{FFFFFF}Vestiario{0000FF}\nAperte F", 0x000000FF, -1715.8188,1018.4985,17.9178, 10.0, 0); //V.FBI
  239.         Create3DTextLabel("{FFFFFF}Loja de Armas{0000FF}\nAperte F", 0x000000FF, -2534.9385,52.2758,16.3554, 10.0, 0); // ARMAS
  240.  
  241.         //GANG ZONES...
  242.         stuntpark  = GangZoneCreate(-1536.5553,660.7775,-1483.7197,779.9728);
  243.         casino     = GangZoneCreate(-2278.3765,503.3284,-2212.3276,563.9572);
  244.         baseball   = GangZoneCreate(-2354.3286,68.23140,-2293.3713,226.2581);
  245.         pracinha   = GangZoneCreate(-2740.1045,344.5060,-2672.4341,406.0782);
  246.         obras      = GangZoneCreate(-2142.8628,119.8867,-2016.6180,310.4841);
  247.         pierab     = GangZoneCreate(-2096.5974,1336.527,-2059.2861,1437.416);
  248.         pier69     = GangZoneCreate(-1686.3488,1317.923,-1567.4885,1440.063);
  249.         cpstunt    = CPS_AddCheckpoint(-1510.2109,716.5993,7.1875,  4.0,90);
  250.         cpcasino   = CPS_AddCheckpoint(-2245.2844,534.2556,35.7860, 4.0,90);
  251.         cpbaseball = CPS_AddCheckpoint(-2318.9785,155.0639,35.3125, 4.0,90);
  252.         cppracinha = CPS_AddCheckpoint(-2702.9785,370.7349,4.5883,  4.0,90);
  253.         cpobras    = CPS_AddCheckpoint(-2071.5864,218.7448,35.9925, 4.0,90);
  254.     cppierab   = CPS_AddCheckpoint(-2086.0803,1404.8732,7.1016, 4.0,90);
  255.     cppier69   = CPS_AddCheckpoint(-1649.1555,1390.6667,7.1797, 4.0,90);
  256.     #pragma unused cpstunt, cpcasino, cpbaseball, cppracinha, cpobras, cppierab, cppier69
  257.     corstunt    = 0xFFFFFFAA;
  258.     corcasino   = 0xFFFFFFAA;
  259.     corbaseball = 0xFFFFFFAA;
  260.     corpracinha = 0xFFFFFFAA;
  261.     corobras    = 0xFFFFFFAA;
  262.     corpier69   = 0xFFFFFFAA;
  263.     corpierab   = 0xFFFFFFAA;
  264.  
  265.         //TEXT DRAWS...
  266.         Textdraw0 = TextDrawCreate(145.000000, 375.000000, "Matou:");
  267.         TextDrawBackgroundColor(Textdraw0, 255);
  268.         TextDrawFont(Textdraw0, 3);
  269.         TextDrawLetterSize(Textdraw0, 0.469999, 1.299999);
  270.         TextDrawColor(Textdraw0, 0xEE0000FF);
  271.         TextDrawSetOutline(Textdraw0, 1);
  272.         TextDrawSetProportional(Textdraw0, 1);
  273.  
  274.         Textdraw1 = TextDrawCreate(145.000000, 388.000000, "Morreu:");
  275.         TextDrawBackgroundColor(Textdraw1, 255);
  276.         TextDrawFont(Textdraw1, 3);
  277.         TextDrawLetterSize(Textdraw1, 0.469999, 1.299999);
  278.         TextDrawColor(Textdraw1, 0xEE0000FF);
  279.         TextDrawSetOutline(Textdraw1, 1);
  280.         TextDrawSetProportional(Textdraw1, 1);
  281.  
  282.         Textdraw2 = TextDrawCreate(145.000000, 362.000000, "Level:");
  283.         TextDrawBackgroundColor(Textdraw2, 255);
  284.         TextDrawFont(Textdraw2, 3);
  285.         TextDrawLetterSize(Textdraw2, 0.469999, 1.299999);
  286.         TextDrawColor(Textdraw2, 0xEE0000FF);
  287.         TextDrawSetOutline(Textdraw2, 1);
  288.         TextDrawSetProportional(Textdraw2, 1);
  289.  
  290.         Textdraw3 = TextDrawCreate(145.000000, 400.000000, "Org:");
  291.         TextDrawBackgroundColor(Textdraw3, 255);
  292.         TextDrawFont(Textdraw3, 3);
  293.         TextDrawLetterSize(Textdraw3, 0.469999, 1.299999);
  294.         TextDrawColor(Textdraw3, 0xEE0000FF);
  295.         TextDrawSetOutline(Textdraw3, 1);
  296.         TextDrawSetProportional(Textdraw3, 1);
  297.        
  298.         Textdraw10 = TextDrawCreate(598.000000, 400.000000, "SF");
  299.         TextDrawBackgroundColor(Textdraw10, 255);
  300.         TextDrawFont(Textdraw10, 2);
  301.         TextDrawLetterSize(Textdraw10, 0.529999, 1.700000);
  302.         TextDrawColor(Textdraw10, -16776961);
  303.         TextDrawSetOutline(Textdraw10, 0);
  304.         TextDrawSetProportional(Textdraw10, 1);
  305.         TextDrawSetShadow(Textdraw10, 1);
  306.  
  307.         Textdraw11 = TextDrawCreate(573.000000, 407.000000, "War");
  308.         TextDrawBackgroundColor(Textdraw11, 255);
  309.         TextDrawFont(Textdraw11, 0);
  310.         TextDrawLetterSize(Textdraw11, 0.779999, 2.299999);
  311.         TextDrawColor(Textdraw11, -1);
  312.         TextDrawSetOutline(Textdraw11, 0);
  313.         TextDrawSetProportional(Textdraw11, 1);
  314.         TextDrawSetShadow(Textdraw11, 1);
  315.  
  316.         Textdraw12 = TextDrawCreate(507.000000, 429.000000, "facebook.com/groups/SF.War");
  317.         TextDrawBackgroundColor(Textdraw12, 255);
  318.         TextDrawFont(Textdraw12, 2);
  319.         TextDrawLetterSize(Textdraw12, 0.170000, 1.100000);
  320.         TextDrawColor(Textdraw12, -1);
  321.         TextDrawSetOutline(Textdraw12, 1);
  322.         TextDrawSetProportional(Textdraw12, 1);
  323.        
  324.    
  325.         portaoswat = CreateObject(980,-1530.4000244,482.6000061,9.0000000,0.0000000,0.0000000,0.0000000);
  326.         portaofbi = CreateObject(980,-1769.1999512,985.2000122,25.2000008,0.0000000,0.0000000,90.0000000);
  327.  
  328. // ========================= EVENTO BASE JUMP ==========================
  329. AddStaticVehicleEx(522,-2395.1999512,-1599.5999756,775.7999878,181.9998169,215,142,15); //NRG-500
  330. AddStaticVehicleEx(522,-2395.3999023,-1594.3000488,775.7999878,181.9995117,215,142,15); //NRG-500
  331. AddStaticVehicleEx(522,-2378.6000977,-1598.5999756,775.7999878,181.9995117,215,142,15); //NRG-500
  332. AddStaticVehicleEx(522,-2378.6000977,-1594.1999512,775.7999878,181.9995117,215,142,15); //NRG-500
  333. AddStaticVehicleEx(522,-2380.1999512,-1594.0999756,775.7999878,181.9995117,215,142,15); //NRG-500
  334. AddStaticVehicleEx(522,-2380.1999512,-1598.9000244,775.7999878,181.9995117,215,142,15); //NRG-500
  335. AddStaticVehicleEx(522,-2394.0000000,-1594.4000244,775.7999878,181.9995117,215,142,15); //NRG-500
  336. AddStaticVehicleEx(522,-2393.8999023,-1599.8000488,775.7999878,181.9995117,215,142,15); //NRG-500
  337. AddStaticVehicleEx(487,-2318.3999023,-1600.6999512,484.1000061,0.0000000,39,47,15); //Maverick
  338. CreateObject(10357,-2386.1000977,-1598.5000000,585.5999756,0.0000000,0.0000000,0.0000000); //object(transmitter_sfs) (2)
  339. CreateObject(10357,-2386.3000488,-1598.0999756,685.9000244,180.0000000,0.0000000,0.0000000); //object(transmitter_sfs) (3)
  340. CreateObject(3359,-2387.1999512,-1596.5000000,775.0999756,0.0000000,0.0000000,0.0000000); //object(cxrf_savhusgar1_) (1)
  341. CreateObject(10789,-2386.8999023,-1597.5999756,772.5000000,0.0000000,0.0000000,0.0000000); //object(xenonroof_sfse) (1)
  342. CreateObject(10789,-2387.1000977,-1598.0999756,772.5000000,180.0000000,0.0000000,0.0000000); //object(xenonroof_sfse) (2)
  343. CreateObject(3749,-2267.5000000,-1768.9000244,451.5000000,66.0000000,180.0000000,60.0000000); //object(clubgate01_lax) (1)
  344. CreateObject(3749,-2258.3999023,-1774.1999512,456.1000061,65.7500610,0.0000000,59.9913330); //object(clubgate01_lax) (2)
  345. CreateObject(13593,-2377.0000000,-1584.5000000,775.9000244,0.0000000,0.0000000,0.0000000); //object(kickramp03) (1)
  346. CreateObject(13593,-2397.0000000,-1584.5999756,775.9000244,0.0000000,0.0000000,0.0000000); //object(kickramp03) (2)
  347. CreateObject(13593,-2400.3000488,-1588.0000000,775.9000244,0.0000000,0.0000000,90.0000000); //object(kickramp03) (3)
  348. CreateObject(13593,-2399.3999023,-1605.0000000,775.9000244,0.0000000,0.0000000,90.0000000); //object(kickramp03) (4)
  349. CreateObject(13593,-2377.0000000,-1611.0000000,775.9000244,0.0000000,0.0000000,178.0000000); //object(kickramp03) (5)
  350. CreateObject(13593,-2394.8999023,-1611.0000000,775.9000244,0.0000000,0.0000000,177.9949951); //object(kickramp03) (6)
  351. CreateObject(13593,-2374.3999023,-1605.1999512,775.9000244,0.0000000,0.0000000,267.9949951); //object(kickramp03) (7)
  352. CreateObject(13593,-2374.3999023,-1588.0999756,775.9000244,0.0000000,0.0000000,267.9949951); //object(kickramp03) (8)
  353.  
  354.  
  355. // ========================= CARROS PELA CIDADE ==========================
  356. AddStaticVehicleEx(411,-2543.1000977,44.4000015,16.2000008,90.0000000,-1,-1,CAR_SPAWN); //Infernus
  357. AddStaticVehicleEx(411,-2616.3999023,91.3000031,4.0999999,272.0000000,-1,-1,CAR_SPAWN); //Infernus
  358. AddStaticVehicleEx(411,-2599.3000488,-116.0999985,4.0999999,357.9995117,-1,-1,CAR_SPAWN); //Infernus
  359. AddStaticVehicleEx(411,-2701.3000488,-133.8000031,4.0999999,359.9949951,-1,-1,CAR_SPAWN); //Infernus
  360. AddStaticVehicleEx(411,-2769.0000000,-64.9000015,7.0000000,269.9945068,-1,-1,CAR_SPAWN); //Infernus
  361. AddStaticVehicleEx(411,-2717.8000488,2.5000000,4.0999999,269.9945068,-1,-1,CAR_SPAWN); //Infernus
  362. AddStaticVehicleEx(541,-2710.8999023,52.4000015,3.9000001,0.0000000,-1,-1,CAR_SPAWN); //Bullet
  363. AddStaticVehicleEx(541,-2668.3999023,268.2000122,4.0000000,0.0000000,-1,-1,CAR_SPAWN); //Bullet
  364. AddStaticVehicleEx(541,-2814.1000977,239.3999939,6.9000001,0.0000000,-1,-1,CAR_SPAWN); //Bullet
  365. AddStaticVehicleEx(559,-2804.1000977,82.9000015,6.8000002,0.0000000,-1,-1,CAR_SPAWN); //Jester
  366. AddStaticVehicleEx(562,-2814.3000488,-87.0000000,6.9000001,0.0000000,-1,-1,CAR_SPAWN); //Elegy
  367. AddStaticVehicleEx(603,-2745.0000000,-205.8000031,7.0000000,268.0000000,-1,-1,CAR_SPAWN); //Phoenix
  368. AddStaticVehicleEx(603,-2506.3999023,-196.1999969,25.6000004,359.9949951,-1,-1,CAR_SPAWN); //Phoenix
  369. AddStaticVehicleEx(603,-2487.8999023,5.5999999,25.6000004,91.9945068,-1,-1,CAR_SPAWN); //Phoenix
  370. AddStaticVehicleEx(603,-2425.8000488,60.0000000,35.0000000,1.9940186,-1,-1,CAR_SPAWN); //Phoenix
  371. AddStaticVehicleEx(402,-2367.0000000,-56.0999985,35.0999985,0.0000000,-1,-1,CAR_SPAWN); //Buffalo
  372. AddStaticVehicleEx(587,-2311.0000000,-196.0000000,35.0999985,90.0000000,-1,-1,CAR_SPAWN); //Euros
  373. AddStaticVehicleEx(587,-2233.3000488,-75.3000031,35.0999985,270.0000000,-1,-1,CAR_SPAWN); //Euros
  374. AddStaticVehicleEx(429,-2265.8000488,196.3999939,34.9000015,268.0000000,-1,-1,CAR_SPAWN); //Banshee
  375. AddStaticVehicleEx(451,-2246.8999023,94.9000015,35.0999985,0.0000000,-1,-1,CAR_SPAWN); //Turismo
  376. AddStaticVehicleEx(477,-2267.0000000,89.9000015,35.0000000,270.0000000,-1,-1,CAR_SPAWN); //ZR-350
  377. AddStaticVehicleEx(477,-2428.1999512,252.6999969,35.0000000,270.0000000,-1,-1,CAR_SPAWN); //ZR-350
  378. AddStaticVehicleEx(477,-2380.8999023,402.1000061,34.7999992,224.0000000,-1,-1,CAR_SPAWN); //ZR-350
  379. AddStaticVehicleEx(480,-2483.8000488,431.3999939,29.1000004,46.0000000,-1,-1,CAR_SPAWN); //Comet
  380. AddStaticVehicleEx(480,-2544.3000488,328.1000061,19.6000004,1.9997559,-1,-1,CAR_SPAWN); //Comet
  381. AddStaticVehicleEx(555,-2575.8999023,206.5000000,7.8000002,30.0000000,-1,-1,CAR_SPAWN); //Windsor
  382. AddStaticVehicleEx(555,-2652.3999023,362.5000000,4.1999998,29.9981689,-1,-1,CAR_SPAWN); //Windsor
  383. AddStaticVehicleEx(558,-2755.1999512,380.8999939,4.0000000,0.0000000,-1,-1,CAR_SPAWN); //Uranus
  384. AddStaticVehicleEx(558,-2858.8000488,431.3999939,4.1999998,0.0000000,-1,-1,CAR_SPAWN); //Uranus
  385. AddStaticVehicleEx(560,-2818.6000977,587.0000000,5.3000002,0.0000000,-1,-1,CAR_SPAWN); //Sultan
  386. AddStaticVehicleEx(560,-2835.5000000,877.7000122,43.9000015,270.0000000,-1,-1,CAR_SPAWN); //Sultan
  387. AddStaticVehicleEx(562,-2798.3000488,813.2000122,47.2000008,0.0000000,-1,-1,CAR_SPAWN); //Elegy
  388. AddStaticVehicleEx(565,-2852.0000000,963.4000244,43.5999985,296.0000000,-1,-1,CAR_SPAWN); //Flash
  389. AddStaticVehicleEx(565,-2733.5000000,713.7000122,41.0000000,269.9991455,-1,-1,CAR_SPAWN); //Flash
  390. AddStaticVehicleEx(565,-2601.1000977,820.5000000,49.7000008,179.9943848,-1,-1,CAR_SPAWN); //Flash
  391. AddStaticVehicleEx(603,-2721.1999512,804.7999878,52.0999985,0.0000000,-1,-1,CAR_SPAWN); //Phoenix
  392. AddStaticVehicleEx(603,-2546.1999512,913.2999878,65.0000000,272.0000000,-1,-1,CAR_SPAWN); //Phoenix
  393. AddStaticVehicleEx(429,-2635.1999512,930.9000244,71.4000015,192.0000000,-1,-1,CAR_SPAWN); //Banshee
  394. AddStaticVehicleEx(411,-2686.5000000,886.7000122,79.5000000,0.0000000,-1,-1,CAR_SPAWN); //Infernus
  395. AddStaticVehicleEx(411,-2756.1000977,941.4000244,54.2999992,0.0000000,-1,-1,CAR_SPAWN); //Infernus
  396. AddStaticVehicleEx(451,-2735.6999512,1096.9000244,46.2999992,36.0000000,-1,-1,CAR_SPAWN); //Turismo
  397. AddStaticVehicleEx(451,-2644.0000000,1159.1999512,34.9000015,315.9967041,-1,-1,CAR_SPAWN); //Turismo
  398. AddStaticVehicleEx(480,-2579.3000488,1235.5999756,34.9000015,310.0000000,-1,-1,CAR_SPAWN); //Comet
  399. AddStaticVehicleEx(480,-2643.5000000,1332.3000488,7.0000000,269.9957275,-1,-1,CAR_SPAWN); //Comet
  400. AddStaticVehicleEx(587,-2899.8999023,1161.8000488,13.3000002,272.0000000,-1,-1,CAR_SPAWN); //Euros
  401. AddStaticVehicleEx(587,-2816.8999023,1286.9000244,5.3000002,309.9995117,-1,-1,CAR_SPAWN); //Euros
  402. AddStaticVehicleEx(603,-2398.6999512,1385.0000000,7.1999998,270.0000000,-1,-1,CAR_SPAWN); //Phoenix
  403. AddStaticVehicleEx(603,-2377.1000977,1269.3000488,25.2000008,270.0000000,-1,-1,CAR_SPAWN); //Phoenix
  404. AddStaticVehicleEx(402,-2405.6000977,1169.3000488,35.0000000,80.0000000,-1,-1,CAR_SPAWN); //Buffalo
  405. AddStaticVehicleEx(402,-2474.8000488,1285.0000000,23.2000008,87.9969482,-1,-1,CAR_SPAWN); //Buffalo
  406. AddStaticVehicleEx(402,-2511.5000000,1209.4000244,37.4000015,89.9949951,-1,-1,CAR_SPAWN); //Buffalo
  407. AddStaticVehicleEx(415,-2583.3000488,1097.1999512,55.7999992,332.0000000,-1,-1,CAR_SPAWN); //Cheetah
  408. AddStaticVehicleEx(415,-2377.6999512,1122.3000488,55.5999985,163.9957275,-1,-1,CAR_SPAWN); //Cheetah
  409. AddStaticVehicleEx(477,-2379.5000000,929.2999878,45.0999985,0.0000000,-1,-1,CAR_SPAWN); //ZR-350
  410. AddStaticVehicleEx(477,-2327.6000977,799.5000000,44.0000000,0.0000000,-1,-1,CAR_SPAWN); //ZR-350
  411. AddStaticVehicleEx(506,-2248.6999512,783.2999878,49.0999985,180.0000000,-1,-1,CAR_SPAWN); //Super GT
  412. AddStaticVehicleEx(506,-2273.6999512,1020.7000122,83.4000015,180.0000000,-1,-1,CAR_SPAWN); //Super GT
  413. AddStaticVehicleEx(560,-1615.5000000,425.8999939,7.0000000,0.0000000,-1,-1,CAR_SPAWN); //Sultan
  414. AddStaticVehicleEx(560,-2001.0999756,174.1999969,27.5000000,0.0000000,-1,-1,CAR_SPAWN); //Sultan
  415. AddStaticVehicleEx(560,-1987.1999512,105.5999985,27.2999992,0.0000000,-1,-1,CAR_SPAWN); //Sultan
  416. AddStaticVehicleEx(565,-2064.5000000,-83.0000000,34.9000015,0.0000000,-1,-1,CAR_SPAWN); //Flash
  417. AddStaticVehicleEx(587,-2172.1000977,54.5999985,35.0999985,354.0000000,-1,-1,CAR_SPAWN); //Euros
  418. AddStaticVehicleEx(587,-2158.6999512,213.3000031,35.0000000,267.9959717,-1,-1,CAR_SPAWN); //Euros
  419. AddStaticVehicleEx(406,-2128.8999023,208.3000031,36.0000000,88.0000000,-1,-1,CAR_SPAWN); //Dumper
  420. AddStaticVehicleEx(406,-2029.3000488,301.2000122,36.7999992,269.9949951,-1,-1,CAR_SPAWN); //Dumper
  421. AddStaticVehicleEx(408,-2164.1999512,573.0999756,35.7999992,90.0000000,-1,-1,CAR_SPAWN); //Trashmaster
  422. AddStaticVehicleEx(603,-1953.5999756,585.0000000,35.0999985,0.0000000,-1,-1,CAR_SPAWN); //Phoenix
  423. AddStaticVehicleEx(402,-2012.0000000,429.8999939,35.0999985,0.0000000,-1,-1,CAR_SPAWN); //Buffalo
  424. AddStaticVehicleEx(402,-2064.6000977,509.7000122,35.0999985,90.0000000,-1,-1,CAR_SPAWN); //Buffalo
  425. AddStaticVehicleEx(411,-2255.0000000,412.1000061,35.0000000,318.0000000,-1,-1,CAR_SPAWN); //Infernus
  426. AddStaticVehicleEx(429,-2425.3999023,518.0999756,29.7000008,42.0000000,-1,-1,CAR_SPAWN); //Banshee
  427. AddStaticVehicleEx(416,-2665.0000000,616.7000122,14.8000002,270.0000000,1,3,CAR_SPAWN); //Ambulance
  428. AddStaticVehicleEx(416,-2635.6999512,616.5999756,14.8000002,270.0000000,1,3,CAR_SPAWN); //Ambulance
  429. AddStaticVehicleEx(602,-2546.1000977,558.0999756,14.5000000,270.0000000,-1,-1,CAR_SPAWN); //Alpha
  430. AddStaticVehicleEx(602,-2532.0000000,728.0999756,28.7000008,182.0000000,-1,-1,CAR_SPAWN); //Alpha
  431. AddStaticVehicleEx(602,-2394.6000977,665.9000244,35.0999985,179.9995117,-1,-1,CAR_SPAWN); //Alpha
  432.  
  433. // ========================= CASSINO SF ==========================
  434. AddStaticVehicleEx(477,-2274.1999512,523.4000244,35.0999985,0.0000000,-1,-1, CAR_SPAWN);
  435. AddStaticVehicleEx(477,-2269.0000000,523.2999878,35.0999985,0.0000000,-1,-1, CAR_SPAWN);
  436. AddStaticVehicleEx(477,-2264.0000000,523.0999756,35.0999985,0.0000000,-1,-1, CAR_SPAWN);
  437. AddStaticVehicleEx(477,-2258.0000000,522.9000244,35.0999985,0.0000000,-1,-1, CAR_SPAWN);
  438. AddStaticVehicleEx(521,-2274.0000000,544.5000000,34.7999992,180.0000000,32,32, CAR_SPAWN);
  439. AddStaticVehicleEx(521,-2269.1000977,543.9000244,34.7999992,180.0000000,32,32, CAR_SPAWN);
  440. AddStaticVehicleEx(521,-2265.8999023,543.9000244,34.9000015,180.0000000,32,32,CAR_SPAWN);
  441. AddStaticVehicleEx(521,-2261.8000488,543.9000244,34.7999992,180.0000000,32,32,CAR_SPAWN);
  442. CreateObject(10378,-2244.8999023,533.7999878,34.2000008,0.0000000,0.0000000,0.0000000);
  443. CreateObject(3607,-2248.6999512,561.5999756,40.2999992,0.0000000,0.0000000,180.0000000);
  444.  
  445. // ========================= LOJA DE ARMAS ==========================
  446. CreateObject(3095,-2546.1999512,54.0000000,14.8000002,0.0000000,0.0000000,0.0000000); //object(a51_jetdoor) (1)
  447. CreateObject(3095,-2537.1999512,53.2999992,14.8000002,0.0000000,0.0000000,0.0000000); //object(a51_jetdoor) (2)
  448. CreateObject(3095,-2528.3999023,54.0000000,14.8000002,0.0000000,0.0000000,0.0000000); //object(a51_jetdoor) (3)
  449. CreateObject(11494,-2536.8999023,52.7000008,15.3000002,0.0000000,0.0000000,43.7500000); //object(des_rnchbhous) (1)
  450. CreateObject(4100,-2542.0000000,59.2000008,16.8999996,0.0000000,0.0000000,50.0000000); //object(meshfence1_lan) (1)
  451. CreateObject(18044,-2535.0000000,53.7999992,16.0000000,0.0000000,0.0000000,90.0000000); //object(cj_ammun3_extra) (1)
  452. CreateObject(18092,-2536.1000977,50.2000008,15.6999998,0.0000000,0.0000000,0.0000000); //object(ammun3_counter) (1)
  453. CreateObject(321,-2538.1000977,50.7000008,16.2000008,84.9998779,180.0000000,180.0000000); //object(1)
  454. CreateObject(348,-2537.8000488,50.5999985,16.2000008,79.5000305,0.0000000,0.0000000); //object(2)
  455. CreateObject(349,-2537.8000488,50.2999992,16.2000008,85.7206726,276.6996460,87.2818604); //object(3)
  456. CreateObject(351,-2537.3999023,50.7000008,16.2000008,81.9427185,209.8466797,126.3982544); //object(4)
  457. CreateObject(353,-2536.8000488,50.5000000,16.2000008,82.3722839,211.7038727,148.5233765); //object(5)
  458. CreateObject(355,-2536.5000000,50.2000008,16.2000008,81.9976196,165.4814453,194.3831940); //object(6)
  459. CreateObject(356,-2536.0000000,50.5999985,16.2000008,84.8477173,230.9658051,129.1477051); //object(7)
  460. CreateObject(358,-2535.5000000,50.2000008,16.2000008,78.3538208,211.1851654,149.3401489); //object(8)
  461. CreateObject(372,-2534.8000488,50.5999985,16.2000008,82.3723145,211.7043457,122.5228577); //object(9)
  462. CreateObject(373,-2534.0000000,50.0999985,16.5000000,0.0000000,0.0000000,306.0000000); //object(10)
  463. CreateObject(1584,-2540.8000488,55.5000000,15.3999996,0.0000000,0.0000000,0.0000000); //object(tar_gun1) (1)
  464. CreateObject(1583,-2539.5000000,55.5000000,15.3999996,0.0000000,0.0000000,0.0000000); //object(tar_gun2) (1)
  465. CreateObject(3014,-2537.8000488,55.0999985,15.6000004,0.0000000,0.0000000,0.0000000); //object(cr_guncrate) (1)
  466. CreateObject(3014,-2538.5000000,55.0999985,15.6000004,0.0000000,0.0000000,330.0000000); //object(cr_guncrate) (2)
  467. CreateObject(3014,-2537.1999512,54.7999992,15.6000004,0.0000000,0.0000000,329.9963379); //object(cr_guncrate) (3)
  468. CreateObject(3015,-2536.6000977,55.0999985,15.3999996,0.0000000,0.0000000,0.0000000); //object(cr_cratestack) (1)
  469. CreateObject(2969,-2535.8999023,55.0999985,15.5000000,0.0000000,0.0000000,358.0000000); //object(level_ammobox) (1)
  470. CreateObject(1728,-2535.1000977,54.7000008,15.3999996,0.0000000,0.0000000,0.0000000); //object(mrk_seating3) (1)
  471. CreateObject(1594,-2544.1000977,54.2000008,15.8000002,0.0000000,0.0000000,338.0000000); //object(chairsntable) (1)
  472. CreateObject(1594,-2547.6000977,53.9000015,15.8000002,0.0000000,0.0000000,331.9998779); //object(chairsntable) (2)
  473. CreateObject(14532,-2539.0000000,50.2999992,16.2999992,0.0000000,0.0000000,0.0000000); //object(tv_stand_driv) (1)
  474. CreateObject(16779,-2535.8000488,53.0999985,17.8999996,0.0000000,0.0000000,0.0000000); //object(ufo_light02) (1)
  475.  
  476.  
  477. // ========================= HQ's e GZ's ==========================
  478. AddStaticVehicleEx(603,-2185.5000000,645.5999756,49.4000015,90.0000000,0,0,CAR_SPAWN); //Phoenix
  479. AddStaticVehicleEx(560,-2174.0000000,634.7000122,49.2000008,0.0000000,0,0,CAR_SPAWN); //Sultan
  480. AddStaticVehicleEx(405,-2177.8999023,657.5999756,49.4000015,182.0000000,0,0,CAR_SPAWN); //Sentinel
  481. AddStaticVehicleEx(402,-2206.8000488,650.9000244,49.4000015,180.0000000,0,0,CAR_SPAWN); //Buffalo
  482. AddStaticVehicleEx(521,-2173.8999023,657.4000244,49.0999985,180.0000000,0,0,CAR_SPAWN); //FCR-900
  483. AddStaticVehicleEx(521,-2210.1000977,644.7999878,49.0999985,260.0000000,0,0,CAR_SPAWN); //FCR-900
  484. AddStaticVehicleEx(521,-2216.1000977,637.2000122,49.0999985,355.9968262,0,0,CAR_SPAWN); //FCR-900
  485. AddStaticVehicleEx(487,-2181.8000488,705.2999878,54.2000008,0.0000000,0,0,CAR_SPAWN); //Maverick
  486. AddStaticVehicleEx(487,-2718.8000488,1428.5999756,7.4000001,0.0000000,17,3,CAR_SPAWN); //Maverick
  487. AddStaticVehicleEx(603,-2688.6000977,1416.8000488,7.0999999,70.0000000,17,3,CAR_SPAWN); //Phoenix
  488. AddStaticVehicleEx(560,-2690.0000000,1413.3000488,6.9000001,68.0000000,17,3,CAR_SPAWN); //Sultan
  489. AddStaticVehicleEx(402,-2703.8999023,1445.1999512,7.0000000,270.0000000,17,3,CAR_SPAWN); //Buffalo
  490. AddStaticVehicleEx(405,-2709.8999023,1413.0000000,7.0999999,0.0000000,17,3,CAR_SPAWN); //Sentinel
  491. AddStaticVehicleEx(521,-2708.3999023,1444.9000244,6.8000002,180.0000000,17,3,CAR_SPAWN); //FCR-900
  492. AddStaticVehicleEx(521,-2691.1000977,1411.0000000,6.8000002,70.0000000,17,3,CAR_SPAWN); //FCR-900
  493. AddStaticVehicleEx(521,-2707.3999023,1413.0000000,6.8000002,359.9992676,17,3,CAR_SPAWN); //FCR-900
  494. AddStaticVehicleEx(521,-2113.8000488,-112.9000015,35.0000000,173.9996948,123,99,CAR_SPAWN); //FCR-900
  495. AddStaticVehicleEx(521,-2118.6999512,-112.9000015,35.0000000,173.9959717,123,99,CAR_SPAWN); //FCR-900
  496. AddStaticVehicleEx(521,-2124.3999023,-113.0999985,35.0000000,173.9959717,123,99,CAR_SPAWN); //FCR-900
  497. AddStaticVehicleEx(402,-2121.6999512,-114.1999969,35.2999992,180.0000000,123,99,CAR_SPAWN); //Buffalo
  498. AddStaticVehicleEx(603,-2115.8000488,-114.0999985,35.2999992,180.0000000,123,99,CAR_SPAWN); //Phoenix
  499. AddStaticVehicleEx(560,-2126.8000488,-113.9000015,35.0999985,180.0000000,123,99,CAR_SPAWN); //Sultan
  500. AddStaticVehicleEx(405,-2134.1999512,-114.0999985,35.2999992,230.0000000,123,99,CAR_SPAWN); //Sentinel
  501. AddStaticVehicleEx(487,-2130.8000488,-137.6000061,35.5999985,0.0000000,123,99,CAR_SPAWN); //Maverick
  502. AddStaticVehicleEx(487,-2495.1999512,770.4000244,35.4000015,0.0000000,93,94,CAR_SPAWN); //Maverick
  503. AddStaticVehicleEx(405,-2465.5000000,775.7000122,35.2000008,78.0000000,93,94,CAR_SPAWN); //Sentinel
  504. AddStaticVehicleEx(603,-2460.6999512,786.5000000,35.2000008,90.0000000,93,94,CAR_SPAWN); //Phoenix
  505. AddStaticVehicleEx(402,-2460.6999512,780.2999878,35.0999985,90.0000000,93,94,CAR_SPAWN); //Buffalo
  506. AddStaticVehicleEx(560,-2460.1999512,793.5000000,35.0000000,90.0000000,93,94,CAR_SPAWN); //Sultan
  507. AddStaticVehicleEx(521,-2493.3999023,794.7000122,34.7999992,258.0000000,93,94,CAR_SPAWN); //FCR-900
  508. AddStaticVehicleEx(521,-2493.5000000,792.9000244,34.7999992,257.9974365,93,94,CAR_SPAWN); //FCR-900
  509. AddStaticVehicleEx(521,-2493.6999512,791.0999756,34.7999992,257.9974365,93,94,CAR_SPAWN); //FCR-900
  510. AddStaticVehicleEx(490,-1735.3000488,1007.9000244,17.7999992,270.0000000,-1,-1,CAR_SPAWN); //FBI Rancher
  511. AddStaticVehicleEx(490,-1735.3000488,1015.7999878,17.7999992,270.0000000,-1,-1,CAR_SPAWN); //FBI Rancher
  512. AddStaticVehicleEx(490,-1735.1999512,1028.1999512,17.7999992,270.0000000,-1,-1,CAR_SPAWN); //FBI Rancher
  513. AddStaticVehicleEx(597,-1735.5999756,1036.4000244,17.7999992,270.0000000,0,0,CAR_SPAWN); //FBI Rancher
  514. AddStaticVehicleEx(597,-1721.5999756,1032.5000000,17.5000000,90.0000000,0,0,CAR_SPAWN); //Police Car (SFPD)
  515. AddStaticVehicleEx(597,-1721.5999756,1025.0000000,17.5000000,90.0000000,0,0,CAR_SPAWN); //Police Car (SFPD)
  516. AddStaticVehicleEx(597,-1721.4000244,1012.4000244,17.5000000,90.0000000,0,0,CAR_SPAWN); //Police Car (SFPD)
  517. AddStaticVehicleEx(497,-1758.5000000,991.4000244,96.1999969,0.0000000,-1,-1,CAR_SPAWN); //Police Maverick
  518. AddStaticVehicleEx(490,-1528.3000488,452.7000122,7.4000001,0.0000000,-1,-1,CAR_SPAWN); //FBI Rancher
  519. AddStaticVehicleEx(490,-1532.0999756,452.7000122,7.4000001,0.0000000,-1,-1,CAR_SPAWN); //FBI Rancher
  520. AddStaticVehicleEx(490,-1535.6999512,452.6000061,7.4000001,0.0000000,-1,-1,CAR_SPAWN); //FBI Rancher
  521. AddStaticVehicleEx(490,-1539.4000244,452.5000000,7.4000001,0.0000000,-1,-1,CAR_SPAWN); //FBI Rancher
  522. AddStaticVehicleEx(601,-1511.1999512,466.2000122,7.0999999,0.0000000,245,245,CAR_SPAWN); //S.W.A.T. Van
  523. AddStaticVehicleEx(601,-1515.4000244,466.2000122,7.0999999,0.0000000,245,245,CAR_SPAWN); //S.W.A.T. Van
  524. AddStaticVehicleEx(427,-1519.0999756,466.1000061,7.6999998,0.0000000,-1,-1,CAR_SPAWN); //Enforcer
  525. AddStaticVehicleEx(427,-1522.4000244,466.1000061,7.6999998,0.0000000,-1,-1,CAR_SPAWN); //Enforcer
  526. AddStaticVehicleEx(497,-1548.1999512,461.1000061,7.5000000,0.0000000,-1,-1,CAR_SPAWN); //Police Maverick
  527. AddStaticVehicleEx(522,-1519.9000244,662.9000244,6.8000002,0.0000000,189,190,CAR_SPAWN); //NRG-500
  528. AddStaticVehicleEx(522,-1521.4000244,662.9000244,6.8000002,0.0000000,189,190,CAR_SPAWN); //NRG-500
  529. AddStaticVehicleEx(522,-1522.9000244,662.9000244,6.8000002,0.0000000,132,4,CAR_SPAWN); //NRG-500
  530. AddStaticVehicleEx(522,-1524.5000000,662.9000244,6.8000002,0.0000000,132,4,CAR_SPAWN); //NRG-500
  531. AddStaticVehicleEx(522,-1526.1999512,663.0000000,6.8000002,0.0000000,189,190,CAR_SPAWN); //NRG-500
  532. AddStaticVehicleEx(522,-1518.4000244,663.0000000,6.8000002,0.0000000,37,37,CAR_SPAWN); //NRG-500
  533. CreateObject(5020,-2176.0000000,711.7000122,54.5999985,0.0000000,0.0000000,90.0000000); //object(mul_las) (1)
  534. CreateObject(5020,-2182.1999512,711.7000122,54.5999985,0.0000000,0.0000000,90.0000000); //object(mul_las) (2)
  535. CreateObject(5020,-2184.8000488,711.5999756,57.0000000,0.0000000,0.0000000,90.0000000); //object(mul_las) (3)
  536. CreateObject(1499,-2186.6999512,711.5999756,52.9000015,0.0000000,0.0000000,0.0000000); //object(gen_doorint05) (1)
  537. CreateObject(16154,-2182.5000000,714.0000000,52.9000015,0.0000000,0.0000000,92.0000000); //object(ufo_backroom) (1)
  538. CreateObject(1703,-2187.3000488,718.7999878,52.9000015,0.0000000,0.0000000,0.0000000); //object(kb_couch02) (1)
  539. CreateObject(1703,-2184.6999512,718.7999878,52.9000015,0.0000000,0.0000000,0.0000000); //object(kb_couch02) (2)
  540. CreateObject(5020,-2662.5000000,1434.3000488,7.8000002,0.0000000,0.0000000,0.0000000); //object(mul_las) (4)
  541. CreateObject(5020,-2686.1999512,1477.4000244,7.9000001,0.0000000,0.0000000,0.0000000); //object(mul_las) (5)
  542. CreateObject(5020,-2689.3000488,1480.5000000,7.9000001,0.0000000,0.0000000,90.0000000); //object(mul_las) (6)
  543. CreateObject(5020,-2692.3999023,1477.3000488,7.9000001,0.0000000,0.0000000,0.0000000); //object(mul_las) (8)
  544. CreateObject(1499,-2674.8000488,1435.9000244,6.0999999,0.0000000,0.0000000,90.0000000); //object(gen_doorint05) (3)
  545. CreateObject(5020,-2674.8000488,1432.8000488,7.0999999,0.0000000,0.0000000,0.0000000); //object(mul_las) (11)
  546. CreateObject(5020,-2671.8000488,1437.4000244,7.8000002,0.0000000,0.0000000,90.0000000); //object(mul_las) (12)
  547. CreateObject(5020,-2665.5000000,1437.4000244,7.8000002,0.0000000,0.0000000,90.0000000); //object(mul_las) (13)
  548. CreateObject(5020,-2674.0000000,1434.3000488,9.0000000,0.0000000,76.7499390,0.0000000); //object(mul_las) (15)
  549. CreateObject(5020,-2670.8000488,1434.3000488,9.3999996,0.0000000,90.0000000,0.0000000); //object(mul_las) (16)
  550. CreateObject(5020,-2667.5000000,1434.1999512,9.3999996,0.0000000,90.0000000,0.0000000); //object(mul_las) (17)
  551. CreateObject(5020,-2664.1999512,1434.3000488,9.3999996,0.0000000,90.0000000,0.0000000); //object(mul_las) (18)
  552. CreateObject(16154,-2670.3999023,1433.5999756,6.0999999,0.0000000,0.0000000,91.9995117); //object(ufo_backroom) (2)
  553. CreateObject(1499,-2138.1000977,-125.1999969,35.5000000,0.0000000,0.0000000,272.0000000); //object(gen_doorint05) (4)
  554. CreateObject(5020,-2141.5000000,-124.3000031,37.2999992,0.0000000,0.0000000,270.0000000); //object(mul_las) (19)
  555. CreateObject(5020,-2141.5000000,-130.3999939,37.2000008,0.0000000,0.0000000,270.0000000); //object(mul_las) (20)
  556. CreateObject(5020,-2141.6000977,-126.0999985,38.9000015,0.0000000,90.0000000,89.9998779); //object(mul_las) (21)
  557. CreateObject(5020,-2144.6000977,-127.4000015,37.2000008,0.0000000,0.0000000,180.0000000); //object(mul_las) (23)
  558. CreateObject(5020,-2141.6000977,-128.8000031,39.0000000,0.0000000,90.0000000,90.0000000); //object(mul_las) (24)
  559. CreateObject(16154,-2142.1000977,-127.0000000,35.4000015,0.0000000,0.0000000,178.0000000); //object(ufo_backroom) (3)
  560. CreateObject(16154,-2512.6999512,774.7999878,34.2000008,0.0000000,0.0000000,180.0000000); //object(ufo_backroom) (4)
  561. CreateObject(5020,-2512.6000977,772.0000000,35.9000015,0.0000000,0.0000000,270.0000000); //object(mul_las) (25)
  562. CreateObject(5020,-2509.6000977,776.5999756,35.2000008,0.0000000,0.0000000,180.0000000); //object(mul_las) (26)
  563. CreateObject(1499,-2509.6000977,773.5000000,34.2000008,0.0000000,0.0000000,270.0000000); //object(gen_doorint05) (5)
  564. CreateObject(5020,-2510.8000488,775.0999756,37.2999992,0.0000000,72.5000000,179.9945068); //object(mul_las) (27)
  565. CreateObject(5020,-2514.1000977,775.0999756,37.5999985,0.0000000,90.0000000,180.0000000); //object(mul_las) (28)
  566. CreateObject(1999,-1715.3000488,1005.4000244,16.8999996,0.0000000,0.0000000,0.0000000); //object(officedesk2) (1)
  567. CreateObject(1999,-1712.5999756,1005.4000244,16.8999996,0.0000000,0.0000000,0.0000000); //object(officedesk2) (2)
  568. CreateObject(1999,-1709.8000488,1005.4000244,16.8999996,0.0000000,0.0000000,0.0000000); //object(officedesk2) (3)
  569. CreateObject(1999,-1714.3000488,1002.2000122,16.8999996,0.0000000,0.0000000,180.0000000); //object(officedesk2) (4)
  570. CreateObject(1999,-1709.0000000,1002.2000122,16.8999996,0.0000000,0.0000000,179.9945068); //object(officedesk2) (6)
  571. CreateObject(1999,-1711.5999756,1002.2000122,16.8999996,0.0000000,0.0000000,179.9945068); //object(officedesk2) (7)
  572. CreateObject(2356,-1715.0999756,1004.7000122,16.8999996,0.0000000,0.0000000,278.0000000); //object(police_off_chair) (1)
  573. CreateObject(2356,-1711.8000488,1004.5999756,16.8999996,0.0000000,0.0000000,0.0000000); //object(police_off_chair) (2)
  574. CreateObject(2356,-1709.0000000,1004.5999756,16.8999996,0.0000000,0.0000000,0.0000000); //object(police_off_chair) (3)
  575. CreateObject(2356,-1709.3000488,1003.2000122,16.8999996,0.0000000,0.0000000,140.0000000); //object(police_off_chair) (4)
  576. CreateObject(2356,-1711.6999512,1003.0999756,16.8999996,0.0000000,0.0000000,151.9987793); //object(police_off_chair) (5)
  577. CreateObject(2356,-1712.5999756,1003.0999756,16.8999996,0.0000000,0.0000000,177.9958496); //object(police_off_chair) (6)
  578. CreateObject(2356,-1715.0000000,1003.0000000,16.8999996,0.0000000,0.0000000,177.9949951); //object(police_off_chair) (7)
  579. CreateObject(987,-1507.0000000,469.3999939,6.1999998,0.0000000,0.0000000,90.0000000); //object(elecfence_bar) (1)
  580. CreateObject(987,-1507.0000000,457.3999939,6.1999998,0.0000000,0.0000000,90.0000000); //object(elecfence_bar) (3)
  581. CreateObject(987,-1537.0000000,447.3999939,6.1999998,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (4)
  582. CreateObject(987,-1549.0000000,447.3999939,6.1999998,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (5)
  583. CreateObject(987,-1561.0000000,447.3999939,6.1999998,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (6)
  584. CreateObject(987,-1559.8000488,459.2000122,6.1999998,0.0000000,0.0000000,264.0000000); //object(elecfence_bar) (7)
  585. CreateObject(991,-1521.8000488,491.6000061,11.0000000,0.0000000,0.0000000,0.0000000); //object(bar_barriergate1) (2)
  586. CreateObject(991,-1525.6999512,488.3999939,11.0000000,0.0000000,0.0000000,90.0000000); //object(bar_barriergate1) (3)
  587. CreateObject(991,-1525.6999512,485.0000000,11.0000000,0.0000000,0.0000000,90.0000000); //object(bar_barriergate1) (4)
  588. CreateObject(991,-1518.5000000,488.3999939,11.0000000,0.0000000,0.0000000,90.0000000); //object(bar_barriergate1) (5)
  589. CreateObject(991,-1518.5000000,485.1000061,11.0000000,0.0000000,0.0000000,90.0000000); //object(bar_barriergate1) (6)
  590. CreateObject(991,-1522.4000244,491.6000061,11.0000000,0.0000000,0.0000000,0.0000000); //object(bar_barriergate1) (7)
  591. CreateObject(13591,-2335.0000000,101.0999985,34.5999985,0.0000000,0.0000000,0.0000000); //object(kickcar28) (1)
  592. CreateObject(18246,-2313.8999023,109.6999969,37.0000000,0.0000000,0.0000000,270.0000000); //object(cuntwjunk04) (1)
  593. CreateObject(18248,-2337.3999023,97.4000015,42.2000008,0.0000000,0.0000000,164.0000000); //object(cuntwjunk01) (1)
  594. CreateObject(7096,-2311.8000488,133.8000031,38.5000000,0.0000000,0.0000000,270.0000000); //object(vrockstairs) (1)
  595. CreateObject(1225,-2319.5000000,105.1999969,34.7000008,0.0000000,0.0000000,0.0000000); //object(barrel4) (1)
  596. CreateObject(1225,-2301.6000977,116.6999969,34.7000008,0.0000000,0.0000000,0.0000000); //object(barrel4) (2)
  597. CreateObject(1225,-2303.3000488,95.8000031,34.7000008,0.0000000,0.0000000,0.0000000); //object(barrel4) (3)
  598. CreateObject(1225,-2339.0000000,113.9000015,34.7000008,0.0000000,0.0000000,0.0000000); //object(barrel4) (4)
  599. CreateObject(1225,-2338.8999023,85.4000015,34.7000008,0.0000000,0.0000000,0.0000000); //object(barrel4) (5)
  600. CreateObject(1380,-2307.8000488,115.5000000,58.5000000,0.0000000,0.0000000,0.0000000); //object(magnocrane_01) (1)
  601. CreateObject(16337,-2331.8999023,110.3000031,34.2999992,0.0000000,0.0000000,0.0000000); //object(des_cranecontrol) (1)
  602. CreateObject(13591,-2301.3000488,150.0000000,34.4000015,0.0000000,0.0000000,266.0000000); //object(kickcar28) (2)
  603. CreateObject(8873,-2317.5000000,143.6000061,40.4000015,0.0000000,0.0000000,62.0000000); //object(vgsecnstrct12) (1)
  604. CreateObject(934,-2299.6000977,138.3000031,35.5999985,0.0000000,0.0000000,0.0000000); //object(generator_big) (1)
  605. CreateObject(934,-2314.6000977,88.5999985,35.5999985,0.0000000,0.0000000,0.0000000); //object(generator_big) (2)
  606. CreateObject(3214,-2319.0000000,154.8999939,43.2999992,0.0000000,0.0000000,0.0000000); //object(quarry_crusher) (1)
  607. CreateObject(3502,-2307.6000977,150.8000031,36.2000008,0.0000000,0.0000000,0.0000000); //object(vgsn_con_tube) (1)
  608. CreateObject(16342,-2310.6000977,167.3000031,37.5999985,0.0000000,0.0000000,0.0000000); //object(dam_genturbine04) (1)
  609. CreateObject(1225,-2290.3999023,148.8000031,34.7000008,0.0000000,0.0000000,0.0000000); //object(barrel4) (6)
  610. CreateObject(1225,-2313.6000977,155.8000031,34.7000008,0.0000000,0.0000000,0.0000000); //object(barrel4) (7)
  611. CreateObject(1225,-2329.8999023,170.3999939,34.7000008,0.0000000,0.0000000,0.0000000); //object(barrel4) (8)
  612. CreateObject(1225,-2298.6000977,187.8000031,34.7000008,0.0000000,0.0000000,0.0000000); //object(barrel4) (9)
  613. CreateObject(1225,-2315.6000977,198.6999969,34.7999992,0.0000000,0.0000000,0.0000000); //object(barrel4) (10)
  614. CreateObject(1225,-2341.6999512,212.1999969,34.7000008,0.0000000,0.0000000,0.0000000); //object(barrel4) (11)
  615. CreateObject(5244,-2341.6000977,194.3000031,36.7999992,0.0000000,0.0000000,270.0000000); //object(lasntrk1im03) (1)
  616. CreateObject(3378,-2303.5000000,188.8999939,35.5000000,0.0000000,0.0000000,0.0000000); //object(ce_beerpile01) (1)
  617. CreateObject(18257,-2314.6000977,176.6000061,34.2999992,0.0000000,0.0000000,0.0000000); //object(crates) (1)
  618. CreateObject(2669,-2304.0000000,194.6000061,38.0000000,0.0000000,0.0000000,0.0000000); //object(cj_chris_crate) (1)
  619. CreateObject(3573,-2321.1000977,191.0000000,37.0000000,0.0000000,0.0000000,0.0000000); //object(lasdkrtgrp1) (1)
  620. CreateObject(3577,-2311.3999023,174.6000061,35.0999985,0.0000000,0.0000000,0.0000000); //object(dockcrates1_la) (1)
  621. CreateObject(18451,-2313.6999512,204.8000031,34.7999992,0.0000000,0.0000000,230.0000000); //object(cs_oldcarjmp) (1)
  622. CreateObject(18568,-2311.8000488,184.1000061,35.0999985,0.0000000,0.0000000,0.0000000); //object(cs_logs05) (1)
  623. CreateObject(16337,-2326.6999512,206.5000000,34.2999992,0.0000000,0.0000000,0.0000000); //object(des_cranecontrol) (2)
  624. CreateObject(1457,-2325.3000488,201.5000000,36.0000000,0.0000000,0.0000000,0.0000000); //object(dyn_outhouse_2) (1)
  625. CreateObject(1457,-2321.5000000,203.6999969,36.0000000,0.0000000,0.0000000,0.0000000); //object(dyn_outhouse_2) (2)
  626. CreateObject(1457,-2321.1999512,166.6000061,36.0000000,0.0000000,0.0000000,0.0000000); //object(dyn_outhouse_2) (3)
  627. CreateObject(1457,-2313.0000000,100.0000000,36.0000000,0.0000000,0.0000000,0.0000000); //object(dyn_outhouse_2) (4)
  628. CreateObject(1457,-2335.8000488,174.8000031,36.0000000,0.0000000,0.0000000,0.0000000); //object(dyn_outhouse_2) (5)
  629. CreateObject(3359,-2335.3999023,151.0000000,34.2999992,0.0000000,0.0000000,90.0000000); //object(cxrf_savhusgar1_) (1)
  630. CreateObject(5401,-2066.3000488,1395.9000244,8.3000002,0.0000000,0.0000000,94.0000000); //object(laegarages1nw) (1)
  631. CreateObject(11292,-2089.6999512,1360.5000000,7.5999999,0.0000000,0.0000000,60.0000000); //object(gasstatiohut) (1)
  632. CreateObject(7231,-2087.3999023,1375.0000000,27.8999996,0.0000000,0.0000000,30.0000000); //object(clwnpocksgn_d) (1)
  633. CreateObject(10773,-2084.6000977,1409.8000488,8.8000002,0.0000000,0.0000000,90.0000000); //object(dk_fhp2_sfse) (1)
  634. CreateObject(12930,-2089.8000488,1383.5999756,6.8000002,0.0000000,0.0000000,0.0000000); //object(sw_pipepile02) (1)
  635. CreateObject(13489,-2080.1999512,1377.4000244,8.6999998,0.0000000,0.0000000,0.0000000); //object(sw_fueldrum04) (1)
  636. CreateObject(16601,-2082.1999512,1366.4000244,10.8000002,0.0000000,0.0000000,0.0000000); //object(by_fuel07) (1)
  637. CreateObject(18451,-2080.8000488,1357.9000244,6.5999999,0.0000000,0.0000000,0.0000000); //object(cs_oldcarjmp) (2)
  638. CreateObject(18451,-2066.0000000,1379.0999756,6.5999999,0.0000000,0.0000000,220.0000000); //object(cs_oldcarjmp) (3)
  639. CreateObject(18566,-2066.3999023,1366.9000244,7.0000000,0.0000000,0.0000000,0.0000000); //object(cs_logs02) (1)
  640. CreateObject(3594,-2081.0000000,1390.6999512,6.6999998,0.0000000,0.0000000,0.0000000); //object(la_fuckcar1) (1)
  641. CreateObject(3594,-2091.0000000,1375.9000244,6.6999998,0.0000000,0.0000000,300.0000000); //object(la_fuckcar1) (2)
  642. CreateObject(3593,-2088.6999512,1383.5000000,6.8000002,0.0000000,0.0000000,60.0000000); //object(la_fuckcar2) (1)
  643. CreateObject(3593,-2091.1000977,1410.0000000,6.8000002,0.0000000,0.0000000,59.9963379); //object(la_fuckcar2) (2)
  644. CreateObject(18248,-2075.3000488,1422.9000244,14.0000000,0.0000000,0.0000000,320.0000000); //object(cuntwjunk01) (2)
  645. CreateObject(18249,-2066.6999512,1349.5999756,10.3000002,0.0000000,0.0000000,0.0000000); //object(cuntwjunk05) (1)
  646. CreateObject(7096,-2074.3999023,1346.6999512,11.6999998,0.0000000,0.0000000,0.0000000); //object(vrockstairs) (2)
  647. CreateObject(3073,-2087.1999512,1350.6999512,7.8000002,0.0000000,0.0000000,70.0000000); //object(kmb_container_broke) (1)
  648. CreateObject(1571,-2075.5000000,1405.1999512,7.4000001,0.0000000,0.0000000,40.0000000); //object(cj_noodle_1) (1)
  649. CreateObject(1306,-2083.3999023,1394.6999512,13.6000004,0.0000000,0.0000000,60.0000000); //object(tlgraphpolegen) (1)
  650. CreateObject(1257,-2080.6000977,1384.9000244,7.4000001,0.0000000,0.0000000,52.0000000); //object(bustopm) (1)
  651. CreateObject(1257,-2063.8999023,1419.8000488,7.4000001,0.0000000,0.0000000,81.9982910); //object(bustopm) (2)
  652. CreateObject(16442,-2081.6999512,1431.0000000,8.0000000,0.0000000,0.0000000,0.0000000); //object(desn2_stripsigs1) (1)
  653. CreateObject(16442,-2069.1000977,1373.0999756,8.0000000,0.0000000,0.0000000,264.0000000); //object(desn2_stripsigs1) (2)
  654. CreateObject(1694,-2089.6000977,1422.3000488,14.8999996,0.0000000,0.0000000,0.0000000); //object(roofstuff13) (1)
  655. CreateObject(1694,-2074.6999512,1387.3000488,14.8999996,0.0000000,0.0000000,0.0000000); //object(roofstuff13) (2)
  656. CreateObject(1225,-2092.1999512,1349.0999756,6.5000000,0.0000000,0.0000000,0.0000000); //object(barrel4) (12)
  657. CreateObject(1225,-2070.6000977,1368.5000000,6.5000000,0.0000000,0.0000000,0.0000000); //object(barrel4) (13)
  658. CreateObject(1225,-2092.8999023,1379.3000488,6.5000000,0.0000000,0.0000000,0.0000000); //object(barrel4) (14)
  659. CreateObject(1225,-2070.6000977,1403.5000000,6.5000000,0.0000000,0.0000000,0.0000000); //object(barrel4) (15)
  660. CreateObject(1225,-2094.6000977,1401.9000244,6.5000000,0.0000000,0.0000000,0.0000000); //object(barrel4) (16)
  661. CreateObject(1225,-2085.0000000,1425.4000244,6.5000000,0.0000000,0.0000000,0.0000000); //object(barrel4) (17)
  662. CreateObject(1225,-2062.8999023,1435.4000244,6.5000000,0.0000000,0.0000000,0.0000000); //object(barrel4) (18)
  663. CreateObject(1225,-2089.5000000,1432.5999756,6.5000000,0.0000000,0.0000000,0.0000000); //object(barrel4) (19)
  664. CreateObject(2780,-2706.3999023,375.7999878,4.0000000,0.0000000,0.0000000,0.0000000); //object(cj_smoke_mach) (1)
  665. CreateObject(2780,-2067.3000488,1383.0999756,10.1999998,0.0000000,0.0000000,0.0000000); //object(cj_smoke_mach) (2)
  666. CreateObject(2780,-2067.6000977,1352.8000488,16.7000008,0.0000000,0.0000000,0.0000000); //object(cj_smoke_mach) (3)
  667. CreateObject(2780,-2083.3000488,1418.3000488,11.8999996,0.0000000,0.0000000,0.0000000); //object(cj_smoke_mach) (4)
  668. CreateObject(2780,-2296.6999512,174.6000061,34.2999992,0.0000000,0.0000000,0.0000000); //object(cj_smoke_mach) (5)
  669. CreateObject(2780,-2326.1000977,206.6000061,37.2000008,0.0000000,0.0000000,0.0000000); //object(cj_smoke_mach) (6)
  670. CreateObject(2780,-2346.6999512,178.6000061,39.2999992,0.0000000,0.0000000,0.0000000); //object(cj_smoke_mach) (7)
  671. CreateObject(2780,-2331.8000488,110.4000015,37.2000008,0.0000000,0.0000000,0.0000000); //object(cj_smoke_mach) (8)
  672. CreateObject(2780,-2338.0000000,148.0000000,38.0999985,0.0000000,0.0000000,0.0000000); //object(cj_smoke_mach) (9)
  673. CreateObject(2780,-2310.1000977,126.5000000,40.2000008,0.0000000,0.0000000,0.0000000); //object(cj_smoke_mach) (10)
  674. CreateObject(2780,-2727.8000488,354.0000000,3.7000000,0.0000000,0.0000000,0.0000000); //object(cj_smoke_mach) (11)
  675. CreateObject(2780,-2725.6999512,397.8999939,3.7000000,0.0000000,0.0000000,0.0000000); //object(cj_smoke_mach) (12)
  676. CreateObject(2780,-2687.8000488,398.6000061,3.7000000,0.0000000,0.0000000,0.0000000); //object(cj_smoke_mach) (13)
  677. CreateObject(2780,-2684.5000000,354.1000061,4.0000000,0.0000000,0.0000000,0.0000000); //object(cj_smoke_mach) (14)
  678. CreateObject(3374,-2700.0000000,389.2999878,4.9000001,0.0000000,0.0000000,0.0000000); //object(sw_haybreak02) (1)
  679. CreateObject(3374,-2700.0000000,385.2000122,4.9000001,0.0000000,0.0000000,0.0000000); //object(sw_haybreak02) (2)
  680. CreateObject(3374,-2700.1000977,386.7999878,7.9000001,0.0000000,0.0000000,0.0000000); //object(sw_haybreak02) (3)
  681. CreateObject(3425,-2710.8000488,397.2999878,14.8000002,0.0000000,0.0000000,0.0000000); //object(nt_windmill) (1)
  682. CreateObject(3461,-2716.3999023,391.2000122,5.4000001,0.0000000,0.0000000,0.0000000); //object(tikitorch01_lvs) (1)
  683. CreateObject(3461,-2716.6000977,359.0000000,5.5000000,0.0000000,0.0000000,0.0000000); //object(tikitorch01_lvs) (2)
  684. CreateObject(3461,-2696.1000977,360.1000061,5.5000000,0.0000000,0.0000000,0.0000000); //object(tikitorch01_lvs) (3)
  685. CreateObject(3461,-2695.8000488,390.8999939,5.4000001,0.0000000,0.0000000,0.0000000); //object(tikitorch01_lvs) (4)
  686. CreateObject(3528,-2706.5000000,372.2999878,6.9000001,0.0000000,0.0000000,264.0000000); //object(vgsedragon) (1)
  687. CreateObject(3528,-2709.6000977,376.3999939,6.9000001,0.0000000,0.0000000,173.9959717); //object(vgsedragon) (2)
  688. CreateObject(3528,-2706.1000977,380.1000061,6.9000001,0.0000000,0.0000000,87.9959717); //object(vgsedragon) (3)
  689. CreateObject(3528,-2702.3000488,376.0000000,6.9000001,0.0000000,0.0000000,351.9949951); //object(vgsedragon) (4)
  690. CreateObject(7392,-2731.6000977,365.7999878,11.1000004,0.0000000,0.0000000,46.0000000); //object(vegcandysign1) (1)
  691. CreateObject(13562,-2690.0000000,362.6000061,3.4000001,0.0000000,0.0000000,0.0000000); //object(bigsprunkpole) (1)
  692. CreateObject(16778,-2714.8999023,353.3999939,3.4000001,0.0000000,0.0000000,0.0000000); //object(des_ufosign) (1)
  693. CreateObject(16776,-2681.1999512,383.7999878,3.4000001,0.0000000,0.0000000,0.0000000); //object(des_cockbody) (1)
  694. CreateObject(3884,-2675.0000000,362.7999878,3.4000001,0.0000000,0.0000000,62.0000000); //object(samsite_sfxrf) (1)
  695. CreateObject(16337,-2701.6000977,355.7000122,3.4000001,0.0000000,0.0000000,0.0000000); //object(des_cranecontrol) (3)
  696. CreateObject(16337,-2732.8999023,394.5000000,3.7000000,0.0000000,0.0000000,0.0000000); //object(des_cranecontrol) (4)
  697. CreateObject(3625,-2728.1000977,383.1000061,6.1999998,0.0000000,0.0000000,0.0000000); //object(crgostntrmp) (1)
  698. CreateObject(18569,-2708.5000000,388.0000000,4.6999998,0.0000000,0.0000000,0.0000000); //object(cs_logs01) (1)
  699. CreateObject(16342,-2688.8999023,369.5000000,6.6999998,0.0000000,0.0000000,0.0000000); //object(dam_genturbine04) (2)
  700. CreateObject(3575,-2710.3000488,354.6000061,6.0999999,0.0000000,0.0000000,0.0000000); //object(lasdkrt05) (1)
  701. CreateObject(3630,-2723.5000000,369.1000061,4.9000001,0.0000000,0.0000000,320.0000000); //object(crdboxes2_las) (1)
  702. CreateObject(3632,-2695.3999023,375.7999878,3.8000000,0.0000000,0.0000000,0.0000000); //object(imoildrum_las) (1)
  703. CreateObject(8886,-2691.3000488,383.5000000,6.8000002,0.0000000,0.0000000,106.0000000); //object(vgsefrght04) (1)
  704. CreateObject(12913,-2699.8000488,398.6000061,6.0000000,0.0000000,0.0000000,0.0000000); //object(sw_fueldrum03) (1)
  705. CreateObject(12913,-2676.5000000,353.3999939,6.3000002,0.0000000,0.0000000,0.0000000); //object(sw_fueldrum03) (2)
  706. CreateObject(1225,-2679.1000977,362.5000000,3.8000000,0.0000000,0.0000000,0.0000000); //object(barrel4) (20)
  707. CreateObject(1225,-2695.1999512,375.7999878,4.6999998,0.0000000,0.0000000,0.0000000); //object(barrel4) (21)
  708. CreateObject(1225,-2706.6000977,358.2999878,6.5000000,0.0000000,0.0000000,0.0000000); //object(barrel4) (22)
  709. CreateObject(1225,-2729.1999512,363.7999878,3.8000000,0.0000000,0.0000000,0.0000000); //object(barrel4) (23)
  710. CreateObject(1225,-2723.6000977,387.0000000,3.8000000,0.0000000,0.0000000,0.0000000); //object(barrel4) (24)
  711. CreateObject(1225,-2694.8999023,400.2000122,4.0999999,0.0000000,0.0000000,0.0000000); //object(barrel4) (25)
  712. CreateObject(1225,-2700.0000000,386.5000000,9.8000002,0.0000000,0.0000000,0.0000000); //object(barrel4) (26)
  713. CreateObject(3866,-2090.3999023,178.6999969,41.9000015,0.0000000,0.0000000,57.9945068); //object(demolish1_sfxrf) (1)
  714. CreateObject(3866,-2056.3000488,232.3000031,42.7000008,0.0000000,0.0000000,179.9913330); //object(demolish1_sfxrf) (2)
  715. CreateObject(3887,-2096.3000488,203.3000031,43.0999985,0.0000000,0.0000000,270.0000000); //object(demolish4_sfxrf) (1)
  716. CreateObject(5126,-2108.1000977,247.0000000,50.0000000,0.0000000,0.0000000,266.0000000); //object(dockcranescale0) (1)
  717. CreateObject(3474,-2087.8000488,136.3999939,41.0000000,0.0000000,0.0000000,0.0000000); //object(freightcrane1) (1)
  718. CreateObject(16337,-2113.6000977,157.3999939,34.2000008,0.0000000,0.0000000,0.0000000); //object(des_cranecontrol) (5)
  719. CreateObject(16337,-2054.0000000,202.1000061,34.5000000,0.0000000,0.0000000,0.0000000); //object(des_cranecontrol) (6)
  720. CreateObject(16337,-2071.3000488,267.7999878,34.4000015,0.0000000,0.0000000,0.0000000); //object(des_cranecontrol) (7)
  721. CreateObject(3865,-2045.8000488,285.0000000,35.5999985,0.0000000,0.0000000,60.0000000); //object(concpipe_sfxrf) (1)
  722. CreateObject(3865,-2076.5000000,142.1999969,35.9000015,0.0000000,0.0000000,59.9963379); //object(concpipe_sfxrf) (2)
  723. CreateObject(3594,-2030.0999756,269.2999878,34.2999992,0.0000000,0.0000000,310.0000000); //object(la_fuckcar1) (3)
  724. CreateObject(3594,-2117.6000977,287.5000000,34.7999992,0.0000000,0.0000000,219.9957275); //object(la_fuckcar1) (4)
  725. CreateObject(3594,-2096.6999512,139.0000000,34.7000008,0.0000000,0.0000000,219.9902344); //object(la_fuckcar1) (5)
  726. CreateObject(3593,-2079.6999512,132.3999939,35.2000008,0.0000000,0.0000000,0.0000000); //object(la_fuckcar2) (3)
  727. CreateObject(3593,-2044.5000000,253.5000000,35.5000000,0.0000000,0.0000000,64.0000000); //object(la_fuckcar2) (4)
  728. CreateObject(3593,-2088.3000488,240.3999939,35.2000008,0.0000000,0.0000000,17.9953613); //object(la_fuckcar2) (5)
  729. CreateObject(3593,-2122.3999023,129.1999969,35.0000000,0.0000000,0.0000000,17.9901123); //object(la_fuckcar2) (6)
  730. CreateObject(3593,-2057.6999512,174.1000061,33.7999992,0.0000000,0.0000000,17.9901123); //object(la_fuckcar2) (7)
  731. CreateObject(2780,-2057.6999512,174.1999969,33.5000000,0.0000000,0.0000000,0.0000000); //object(cj_smoke_mach) (15)
  732. CreateObject(2780,-2054.3000488,202.5000000,37.4000015,0.0000000,0.0000000,0.0000000); //object(cj_smoke_mach) (16)
  733. CreateObject(2780,-2042.5999756,283.5000000,34.2000008,0.0000000,0.0000000,0.0000000); //object(cj_smoke_mach) (17)
  734. CreateObject(2780,-2106.6999512,278.2999878,34.0999985,0.0000000,0.0000000,0.0000000); //object(cj_smoke_mach) (18)
  735. CreateObject(2780,-2123.3999023,241.0000000,36.0999985,0.0000000,0.0000000,0.0000000); //object(cj_smoke_mach) (19)
  736. CreateObject(2780,-2131.0000000,206.3999939,34.2999992,0.0000000,0.0000000,0.0000000); //object(cj_smoke_mach) (20)
  737. CreateObject(2780,-2106.6999512,189.8000031,34.2999992,0.0000000,0.0000000,0.0000000); //object(cj_smoke_mach) (21)
  738. CreateObject(2780,-2126.8999023,148.1000061,40.2999992,0.0000000,0.0000000,0.0000000); //object(cj_smoke_mach) (22)
  739. CreateObject(2780,-2104.6000977,122.6999969,34.2999992,0.0000000,0.0000000,0.0000000); //object(cj_smoke_mach) (23)
  740. CreateObject(2780,-2072.3000488,140.1999969,34.5000000,0.0000000,0.0000000,0.0000000); //object(cj_smoke_mach) (24)
  741. CreateObject(1225,-2077.3000488,146.8000031,34.4000015,0.0000000,0.0000000,0.0000000); //object(barrel4) (27)
  742. CreateObject(1225,-2056.6000977,200.8999939,34.5000000,0.0000000,0.0000000,0.0000000); //object(barrel4) (28)
  743. CreateObject(1225,-2126.8999023,123.0000000,34.7000008,0.0000000,0.0000000,0.0000000); //object(barrel4) (29)
  744. CreateObject(1225,-2130.5000000,147.3999939,34.7999992,0.0000000,0.0000000,0.0000000); //object(barrel4) (30)
  745. CreateObject(1225,-2129.3999023,162.6000061,41.7000008,0.0000000,0.0000000,0.0000000); //object(barrel4) (31)
  746. CreateObject(1225,-2119.3999023,200.6000061,34.7000008,0.0000000,0.0000000,0.0000000); //object(barrel4) (32)
  747. CreateObject(1225,-2084.6000977,205.6000061,34.5999985,0.0000000,0.0000000,0.0000000); //object(barrel4) (33)
  748. CreateObject(1225,-2085.5000000,242.1999969,35.0000000,0.0000000,0.0000000,0.0000000); //object(barrel4) (34)
  749. CreateObject(1225,-2048.6000977,287.0000000,34.5999985,0.0000000,0.0000000,0.0000000); //object(barrel4) (35)
  750. CreateObject(1225,-2087.6999512,299.3999939,40.4000015,0.0000000,0.0000000,0.0000000); //object(barrel4) (36)
  751. CreateObject(1225,-2115.1999512,290.8999939,34.5000000,0.0000000,0.0000000,0.0000000); //object(barrel4) (37)
  752. CreateObject(1225,-2119.5000000,265.2000122,35.0999985,0.0000000,0.0000000,0.0000000); //object(barrel4) (38)
  753. CreateObject(5400,-1496.8000488,724.0000000,5.8000002,0.0000000,0.0000000,270.0000000); //object(laeskatetube1) (1)
  754. CreateObject(13590,-1497.1999512,717.7999878,8.6000004,0.0000000,0.0000000,184.0000000); //object(kickbus04) (1)
  755. CreateObject(1634,-1508.6999512,704.7999878,7.5000000,0.0000000,0.0000000,0.0000000); //object(landjump2) (1)
  756. CreateObject(1634,-1508.8000488,724.4000244,7.5000000,0.0000000,0.0000000,182.0000000); //object(landjump2) (2)
  757. CreateObject(12956,-1512.6999512,742.5000000,9.1000004,0.0000000,0.0000000,268.0000000); //object(sw_trailerjump) (1)
  758. CreateObject(13604,-1521.3000488,686.7000122,7.9000001,0.0000000,0.0000000,0.0000000); //object(kickramp05) (1)
  759. CreateObject(13641,-1508.6999512,702.2999878,5.8000002,0.0000000,0.0000000,90.0000000); //object(kickramp04) (1)
  760. CreateObject(13645,-1493.5999756,776.4000244,6.9000001,0.0000000,0.0000000,0.0000000); //object(kickramp06) (1)
  761. CreateObject(13645,-1493.6999512,780.2000122,6.9000001,0.0000000,0.0000000,180.0000000); //object(kickramp06) (2)
  762. CreateObject(1633,-1516.1999512,771.2999878,7.5000000,0.0000000,0.0000000,268.0000000); //object(landjump) (1)
  763. CreateObject(1633,-1509.9000244,771.0000000,7.5000000,0.0000000,0.0000000,87.9949951); //object(landjump) (2)
  764. CreateObject(2931,-1488.0999756,758.2999878,6.0999999,0.0000000,0.0000000,0.0000000); //object(kmb_jump1) (1)
  765. CreateObject(13647,-1488.0000000,776.4000244,6.1999998,0.0000000,0.0000000,90.0000000); //object(wall1) (1)
  766. CreateObject(13643,-1520.5999756,752.0999756,7.5000000,0.0000000,0.0000000,58.0000000); //object(logramps02) (1)
  767. CreateObject(16401,-1510.4000244,738.2999878,6.1999998,0.0000000,0.0000000,91.5000000); //object(desn2_peckjump) (1)
  768.  
  769. // ========================= LS SOUTH ISLAND [LUCASTOTOLA] ==========================
  770. AddStaticVehicleEx(454,2603.5000000,-3397.1999512,0.9000000,0.0000000,165,169,15); //Tropic
  771. AddStaticVehicleEx(472,2320.6999512,-3576.6000977,0.0000000,12.0000000,158,164,15); //Coastguard
  772. AddStaticVehicleEx(510,2465.3999023,-3483.3999023,7.5000000,0.0000000,215,142,15); //Mountain Bike
  773. AddStaticVehicleEx(510,2432.5000000,-3509.8000488,7.5999999,0.0000000,215,142,15); //Mountain Bike
  774. AddStaticVehicleEx(424,2424.3000488,-3516.3000488,7.6999998,346.0000000,156,161,15); //BF Injection
  775. AddStaticVehicleEx(424,2447.5000000,-3497.6000977,7.5999999,345.9979248,156,161,15); //BF Injection
  776. AddStaticVehicleEx(424,2456.3000488,-3491.0000000,7.5999999,345.9979248,199,166,15); //BF Injection
  777. AddStaticVehicleEx(568,2584.5000000,-3443.6999512,7.6999998,0.0000000,45,58,15); //Bandito
  778. AddStaticVehicleEx(424,2580.3999023,-3442.6000977,7.5999999,0.0000000,81,84,15); //BF Injection
  779. AddStaticVehicleEx(468,2577.5000000,-3442.6000977,7.5000000,0.0000000,132,4,15); //Sanchez
  780. AddStaticVehicleEx(471,2320.5000000,-3615.5000000,2.5999999,336.0000000,19,69,15); //Quad
  781. AddStaticVehicleEx(539,2552.6999512,-3497.3999023,0.5000000,90.0000000,133,31,15); //Vortex
  782. AddStaticVehicleEx(568,2422.8000488,-3643.1000977,31.5000000,272.0000000,94,112,15); //Bandito
  783. AddStaticVehicleEx(487,2406.8000488,-3630.1000977,31.0000000,0.0000000,132,4,15); //Maverick
  784. AddStaticVehicleEx(422,2497.8000488,-3603.1999512,36.7999992,92.0000000,106,122,15); //Bobcat
  785. AddStaticVehicleEx(510,2476.8000488,-3591.6000977,39.4000015,308.0000000,134,68,15); //Mountain Bike
  786. AddStaticVehicleEx(510,2482.3000488,-3605.1999512,38.5000000,287.9962158,134,68,15); //Mountain Bike
  787. AddStaticVehicleEx(446,2485.6000977,-2706.5000000,0.0000000,180.0000000,132,4,15); //Squalo
  788. CreateObject(17081,2455.5000000,-3542.0000000,3.5000000,0.0000000,0.0000000,262.7490234); //object(cuntwland06b) (1)
  789. CreateObject(4842,2507.5996094,-3437.1992188,-2.5000000,0.0000000,0.0000000,225.9997559); //object(beach1_las0fg) (1)
  790. CreateObject(745,2551.7998047,-3445.1992188,6.5999999,0.0000000,0.0000000,307.9962158); //object(sm_scrub_rock5) (2)
  791. CreateObject(745,2546.6000977,-3445.0000000,6.6999998,0.0000000,0.0000000,205.9962158); //object(sm_scrub_rock5) (3)
  792. CreateObject(746,2542.6999512,-3444.3000488,7.1999998,0.0000000,0.0000000,80.0000000); //object(sm_scrub_rock2) (1)
  793. CreateObject(746,2535.8999023,-3444.1999512,6.9000001,0.0000000,0.0000000,275.9969482); //object(sm_scrub_rock2) (2)
  794. CreateObject(746,2540.3999023,-3444.6999512,7.0000000,0.0000000,0.0000000,60.0000000); //object(sm_scrub_rock2) (3)
  795. CreateObject(746,2538.1999512,-3444.1999512,7.0999999,0.0000000,0.0000000,299.9963379); //object(sm_scrub_rock2) (4)
  796. CreateObject(748,2533.6999512,-3443.0000000,7.0999999,0.0000000,0.0000000,0.0000000); //object(sm_scrb_grp1) (1)
  797. CreateObject(748,2530.8999023,-3438.0000000,6.5999999,0.0000000,0.0000000,0.0000000); //object(sm_scrb_grp1) (2)
  798. CreateObject(745,2529.1000977,-3441.3000488,6.6999998,0.0000000,0.0000000,141.9936523); //object(sm_scrub_rock5) (4)
  799. CreateObject(896,2478.2998047,-3449.0000000,2.2000000,0.0000000,179.9945068,57.9968262); //object(searock06) (1)
  800. CreateObject(896,2483.7998047,-3436.3994141,2.0000000,0.0000000,179.9945068,233.9923096); //object(searock06) (2)
  801. CreateObject(900,2493.7998047,-3425.0000000,4.9000001,0.0000000,0.0000000,49.9987793); //object(searock04) (1)
  802. CreateObject(896,2500.5000000,-3414.1999512,1.0000000,0.0000000,179.9945068,39.9968262); //object(searock06) (3)
  803. CreateObject(900,2509.3999023,-3400.5000000,3.9000001,0.0000000,0.0000000,257.9987793); //object(searock04) (2)
  804. CreateObject(901,2519.1999512,-3402.3999023,1.7000000,0.0000000,0.0000000,54.0000000); //object(searock05) (1)
  805. CreateObject(901,2514.3000488,-3389.8999023,-0.3000000,0.0000000,0.0000000,103.9978027); //object(searock05) (2)
  806. CreateObject(901,2502.5000000,-3393.6999512,-0.5000000,0.0000000,0.0000000,237.9965820); //object(searock05) (3)
  807. CreateObject(12808,2509.0000000,-3443.1000977,7.8000002,0.0000000,0.0000000,202.0000000); //object(sw_logs3) (1)
  808. CreateObject(770,2596.6999512,-3463.1999512,7.1999998,0.0000000,0.0000000,0.0000000); //object(pinebg_hi) (1)
  809. CreateObject(770,2585.0996094,-3480.1992188,6.5999999,0.0000000,0.0000000,0.0000000); //object(pinebg_hi) (2)
  810. CreateObject(770,2585.0000000,-3508.5000000,5.1999998,0.0000000,0.0000000,0.0000000); //object(pinebg_hi) (3)
  811. CreateObject(770,2535.0000000,-3481.8994141,2.0999999,0.0000000,0.0000000,0.0000000); //object(pinebg_hi) (5)
  812. CreateObject(770,2492.1000977,-3501.8999023,3.4000001,0.0000000,0.0000000,0.0000000); //object(pinebg_hi) (6)
  813. CreateObject(768,2596.0996094,-3527.3994141,5.1999998,0.0000000,0.0000000,0.0000000); //object(elmtreegrn2_hi) (1)
  814. CreateObject(768,2523.1000977,-3500.8999023,0.9000000,0.0000000,0.0000000,0.0000000); //object(elmtreegrn2_hi) (2)
  815. CreateObject(768,2558.2998047,-3563.0996094,3.4000001,0.0000000,0.0000000,0.0000000); //object(elmtreegrn2_hi) (3)
  816. CreateObject(889,2588.1999512,-3466.0000000,7.0000000,0.0000000,0.0000000,0.0000000); //object(pinebg_po) (1)
  817. CreateObject(889,2598.0000000,-3478.8999023,9.1999998,0.0000000,0.0000000,0.0000000); //object(pinebg_po) (2)
  818. CreateObject(889,2513.8000488,-3491.3999023,2.5000000,0.0000000,0.0000000,0.0000000); //object(pinebg_po) (3)
  819. CreateObject(889,2551.5000000,-3480.5996094,1.8000000,0.0000000,0.0000000,0.0000000); //object(pinebg_po) (4)
  820. CreateObject(889,2607.5000000,-3514.1999512,7.9000001,0.0000000,0.0000000,0.0000000); //object(pinebg_po) (5)
  821. CreateObject(895,2590.8000488,-3473.0000000,7.0999999,0.0000000,0.0000000,0.0000000); //object(elmweesm_po) (1)
  822. CreateObject(895,2594.8999023,-3506.5000000,6.5999999,0.0000000,0.0000000,0.0000000); //object(elmweesm_po) (2)
  823. CreateObject(895,2525.1000977,-3483.0000000,2.3000000,0.0000000,0.0000000,0.0000000); //object(elmweesm_po) (3)
  824. CreateObject(736,2599.5000000,-3491.3000488,20.2999992,0.0000000,0.0000000,0.0000000); //object(ceasertree01_lvs) (1)
  825. CreateObject(736,2588.6999512,-3494.3999023,19.1000004,0.0000000,0.0000000,0.0000000); //object(ceasertree01_lvs) (2)
  826. CreateObject(736,2592.8994141,-3562.6992188,22.5000000,0.0000000,0.0000000,0.0000000); //object(ceasertree01_lvs) (3)
  827. CreateObject(715,2600.3000488,-3501.5000000,15.8000002,0.0000000,0.0000000,0.0000000); //object(veg_bevtree3) (1)
  828. CreateObject(715,2593.0996094,-3539.7998047,14.3999996,0.0000000,0.0000000,0.0000000); //object(veg_bevtree3) (2)
  829. CreateObject(715,2591.0000000,-3585.1999512,20.0000000,0.0000000,0.0000000,0.0000000); //object(veg_bevtree3) (3)
  830. CreateObject(715,2592.3999023,-3610.6999512,22.8999996,0.0000000,0.0000000,0.0000000); //object(veg_bevtree3) (4)
  831. CreateObject(715,2566.8999023,-3631.8999023,22.6000004,0.0000000,0.0000000,0.0000000); //object(veg_bevtree3) (5)
  832. CreateObject(715,2547.8999023,-3647.0000000,25.2000008,0.0000000,0.0000000,0.0000000); //object(veg_bevtree3) (6)
  833. CreateObject(11490,2592.3000488,-3452.0000000,6.6999998,0.0000000,0.0000000,180.0000000); //object(des_ranch) (2)
  834. CreateObject(11491,2592.3000488,-3441.0000000,8.1999998,0.0000000,0.0000000,180.0000000); //object(des_ranchbits1) (1)
  835. CreateObject(1637,2550.3994141,-3434.0000000,8.1000004,0.0000000,0.0000000,85.9954834); //object(od_pat_hutb) (1)
  836. CreateObject(1641,2578.3000488,-3433.8000488,6.8000002,0.0000000,0.0000000,0.0000000); //object(beachtowel03) (1)
  837. CreateObject(1640,2576.8000488,-3433.6999512,6.8000002,0.0000000,0.0000000,0.0000000); //object(beachtowel04) (1)
  838. CreateObject(1642,2575.3000488,-3433.6999512,6.8000002,0.0000000,0.0000000,0.0000000); //object(beachtowel02) (1)
  839. CreateObject(1643,2573.6000977,-3433.6999512,6.8000002,0.0000000,0.0000000,0.0000000); //object(beachtowel01) (1)
  840. CreateObject(1461,2552.0996094,-3434.0000000,7.5999999,0.0000000,0.0000000,171.9964600); //object(dyn_life_p) (1)
  841. CreateObject(1255,2580.0996094,-3435.5996094,7.3000002,0.0000000,0.0000000,109.9951477); //object(lounger) (1)
  842. CreateObject(1255,2582.0000000,-3434.8999023,7.3000002,0.0000000,0.0000000,109.9951172); //object(lounger) (2)
  843. CreateObject(1645,2571.3000488,-3434.1999512,7.0999999,0.0000000,0.0000000,168.0000000); //object(lounge_wood_up) (1)
  844. CreateObject(946,2569.3999023,-3442.1000977,9.0000000,0.0000000,0.0000000,270.0000000); //object(bskball_lax) (1)
  845. CreateObject(1723,2588.3000488,-3452.1000977,8.1999998,0.0000000,0.0000000,0.0000000); //object(mrk_seating1) (1)
  846. CreateObject(1724,2591.1999512,-3452.8999023,8.1999998,0.0000000,0.0000000,270.0000000); //object(mrk_seating1b) (1)
  847. CreateObject(2313,2589.6999512,-3455.8000488,8.1999998,0.0000000,0.0000000,180.0000000); //object(cj_tv_table1) (1)
  848. CreateObject(1752,2589.0000000,-3456.0000000,8.6999998,0.0000000,0.0000000,178.0000000); //object(swank_tv_3) (1)
  849. CreateObject(15036,2595.3000488,-3454.0000000,9.3999996,0.0000000,0.0000000,90.0000000); //object(kit_cab_washin_sv) (1)
  850. CreateObject(2637,2594.1000977,-3452.8000488,8.6000004,0.0000000,0.0000000,270.0000000); //object(cj_pizza_table2) (1)
  851. CreateObject(1828,2592.6000977,-3451.3999023,8.1999998,0.0000000,0.0000000,0.0000000); //object(man_sdr_rug) (1)
  852. CreateObject(1840,2589.8000488,-3455.8000488,8.6999998,0.0000000,0.0000000,270.0000000); //object(speaker_2) (1)
  853. CreateObject(1840,2588.1999512,-3455.8000488,8.6999998,0.0000000,0.0000000,270.0000000); //object(speaker_2) (2)
  854. CreateObject(2002,2596.3000488,-3451.5000000,8.1999998,0.0000000,0.0000000,270.0000000); //object(water_coolnu) (1)
  855. CreateObject(2100,2587.8999023,-3450.6999512,8.1999998,0.0000000,0.0000000,90.0000000); //object(med_hi_fi_2) (1)
  856. CreateObject(2029,2590.8000488,-3447.1999512,8.1999998,0.0000000,0.0000000,0.0000000); //object(swank_dinning_1) (2)
  857. CreateObject(2029,2592.8000488,-3447.1999512,8.1999998,0.0000000,0.0000000,0.0000000); //object(swank_dinning_1) (3)
  858. CreateObject(2124,2594.8999023,-3447.1999512,9.0000000,0.0000000,0.0000000,0.0000000); //object(swank_din_chair_1) (1)
  859. CreateObject(2124,2589.8000488,-3447.1999512,9.0000000,0.0000000,0.0000000,180.0000000); //object(swank_din_chair_1) (2)
  860. CreateObject(2124,2591.3999023,-3446.3999023,9.0000000,0.0000000,0.0000000,90.0000000); //object(swank_din_chair_1) (3)
  861. CreateObject(2124,2592.3999023,-3446.3999023,9.0000000,0.0000000,0.0000000,90.0000000); //object(swank_din_chair_1) (6)
  862. CreateObject(2124,2593.3999023,-3446.3999023,9.0000000,0.0000000,0.0000000,90.0000000); //object(swank_din_chair_1) (7)
  863. CreateObject(2124,2593.5000000,-3447.8999023,9.0000000,0.0000000,0.0000000,270.0000000); //object(swank_din_chair_1) (8)
  864. CreateObject(2124,2592.3999023,-3447.8999023,9.0000000,0.0000000,0.0000000,270.0000000); //object(swank_din_chair_1) (9)
  865. CreateObject(2124,2591.3999023,-3447.8999023,9.0000000,0.0000000,0.0000000,270.0000000); //object(swank_din_chair_1) (10)
  866. CreateObject(17026,2632.3000488,-3441.1999512,-4.0000000,0.0000000,0.0000000,284.0000000); //object(cunt_rockgp2_) (1)
  867. CreateObject(17026,2612.6999512,-3478.5000000,-0.2000000,0.0000000,0.0000000,314.0000000); //object(cunt_rockgp2_) (2)
  868. CreateObject(17026,2612.0000000,-3524.7998047,-4.0999999,0.0000000,0.0000000,317.9937744); //object(cunt_rockgp2_) (3)
  869. CreateObject(17026,2607.8000488,-3564.1999512,-0.5000000,0.0000000,0.0000000,329.9937744); //object(cunt_rockgp2_) (4)
  870. CreateObject(18228,2616.0000000,-3612.0000000,4.6999998,0.0000000,0.0000000,57.9968262); //object(cunt_rockgp2_21) (1)
  871. CreateObject(896,2616.0000000,-3626.6992188,16.0000000,0.0000000,0.0000000,353.9959717); //object(searock06) (4)
  872. CreateObject(901,2615.0000000,-3603.0000000,20.3999996,0.0000000,0.0000000,91.9995117); //object(searock05) (4)
  873. CreateObject(880,2612.1999512,-3591.3000488,17.1000004,0.0000000,0.0000000,168.0000000); //object(p_rubble0bcol) (1)
  874. CreateObject(18228,2596.6999512,-3643.3000488,5.1999998,0.0000000,0.0000000,351.9968262); //object(cunt_rockgp2_21) (1)
  875. CreateObject(896,2585.1000977,-3646.1999512,16.5000000,0.0000000,0.0000000,263.9959717); //object(searock06) (4)
  876. CreateObject(901,2604.1000977,-3637.8000488,17.2000008,0.0000000,0.0000000,157.9995117); //object(searock05) (4)
  877. CreateObject(18228,2555.3000488,-3663.3000488,5.5000000,0.0000000,0.0000000,351.9964600); //object(cunt_rockgp2_21) (1)
  878. CreateObject(18228,2513.6999512,-3680.5000000,3.5000000,0.0000000,0.0000000,351.9964600); //object(cunt_rockgp2_21) (1)
  879. CreateObject(18228,2478.1992188,-3692.5000000,0.0000000,0.0000000,0.0000000,301.9921875); //object(cunt_rockgp2_21) (1)
  880. CreateObject(901,2466.3999023,-3688.3000488,15.0000000,6.1371155,82.0895386,208.4192657); //object(searock05) (4)
  881. CreateObject(17031,2444.8999023,-3670.5000000,-0.3000000,0.0000000,0.0000000,228.0000000); //object(cunt_rockgp2_13) (1)
  882. CreateObject(17031,2445.6999512,-3667.8000488,10.0000000,0.0000000,0.0000000,47.9992676); //object(cunt_rockgp2_13) (2)
  883. CreateObject(17071,2441.5000000,-3700.0000000,0.0000000,0.0000000,0.0000000,0.0000000); //object(cunt_rockgp2_25) (1)
  884. CreateObject(17031,2418.1999512,-3656.1000977,0.0000000,0.0000000,0.0000000,257.9992676); //object(cunt_rockgp2_13) (3)
  885. CreateObject(17031,2423.5996094,-3655.5996094,12.0000000,0.0000000,0.0000000,79.9914551); //object(cunt_rockgp2_13) (4)
  886. CreateObject(18228,2383.6000977,-3665.6999512,0.0000000,0.0000000,0.0000000,315.9921875); //object(cunt_rockgp2_21) (1)
  887. CreateObject(901,2435.6000977,-3662.6000977,28.0000000,0.0000000,0.0000000,121.9995117); //object(searock05) (4)
  888. CreateObject(901,2418.3000488,-3660.3999023,25.8999996,0.0000000,0.0000000,345.9976807); //object(searock05) (4)
  889. CreateObject(18228,2394.8000488,-3656.6999512,13.6000004,0.0000000,0.0000000,153.9887695); //object(cunt_rockgp2_21) (1)
  890. CreateObject(4842,2374.8994141,-3590.5996094,-2.4000001,0.0000000,0.0000000,283.9965820); //object(beach1_las0fg) (1)
  891. CreateObject(900,2420.8999023,-3552.3999023,8.1000004,0.0000000,0.0000000,49.9987793); //object(searock04) (1)
  892. CreateObject(900,2441.1000977,-3532.6999512,7.5999999,0.0000000,0.0000000,39.9987793); //object(searock04) (1)
  893. CreateObject(900,2456.0000000,-3515.0996094,6.6999998,0.0000000,0.0000000,9.9920654); //object(searock04) (1)
  894. CreateObject(900,2475.0996094,-3512.7998047,4.5999999,0.0000000,0.0000000,353.9904785); //object(searock04) (1)
  895. CreateObject(901,2361.3000488,-3641.3999023,0.9000000,0.0000000,0.0000000,231.9995117); //object(searock05) (4)
  896. CreateObject(901,2355.0000000,-3652.3000488,1.3000000,0.0000000,0.0000000,231.9982910); //object(searock05) (4)
  897. CreateObject(901,2352.3999023,-3661.0000000,0.7000000,0.0000000,0.0000000,231.9982910); //object(searock05) (4)
  898. CreateObject(901,2352.3999023,-3624.3999023,0.0000000,0.0000000,0.0000000,231.9982910); //object(searock05) (4)
  899. CreateObject(901,2346.6000977,-3631.6000977,0.7000000,0.0000000,0.0000000,231.9982910); //object(searock05) (4)
  900. CreateObject(901,2340.8000488,-3643.1999512,0.6000000,0.0000000,0.0000000,231.9982910); //object(searock05) (4)
  901. CreateObject(901,2338.6000977,-3654.1999512,0.9000000,0.0000000,0.0000000,231.9982910); //object(searock05) (4)
  902. CreateObject(901,2331.0000000,-3656.8000488,0.0000000,0.0000000,0.0000000,131.9982910); //object(searock05) (4)
  903. CreateObject(901,2319.1999512,-3651.5000000,0.0000000,0.0000000,0.0000000,131.9952393); //object(searock05) (4)
  904. CreateObject(901,2309.3000488,-3646.1000977,0.0000000,0.0000000,0.0000000,131.9952393); //object(searock05) (4)
  905. CreateObject(17067,2444.5000000,-3505.6999512,6.5000000,359.2500000,0.0000000,166.0000000); //object(cw2_logcabins) (1)
  906. CreateObject(18259,2330.5000000,-3622.5996094,3.5000000,0.0000000,0.0000000,239.9908447); //object(logcabinn01) (1)
  907. CreateObject(1637,2402.3999023,-3536.1000977,8.1999998,0.0000000,0.0000000,129.9954834); //object(od_pat_hutb) (1)
  908. CreateObject(1461,2403.8999023,-3535.6999512,7.6999998,0.0000000,0.0000000,229.9964600); //object(dyn_life_p) (1)
  909. CreateObject(11495,2608.6000977,-3405.5000000,1.2000000,1.2500000,0.0000000,0.0000000); //object(des_ranchjetty) (1)
  910. CreateObject(12990,2328.6999512,-3587.6999512,2.0000000,0.0000000,0.0000000,192.0000000); //object(sw_jetty) (1)
  911. CreateObject(2404,2467.3999023,-3482.8000488,8.0000000,0.0000000,0.0000000,178.0000000); //object(cj_surf_board) (1)
  912. CreateObject(2404,2443.6000977,-3502.8000488,8.0000000,0.0000000,0.0000000,177.9949951); //object(cj_surf_board) (2)
  913. CreateObject(2405,2451.0000000,-3496.0000000,8.0000000,0.0000000,0.0000000,190.0000000); //object(cj_surf_board2) (1)
  914. CreateObject(2405,2427.1000977,-3516.1999512,8.1000004,0.0000000,0.0000000,189.9975586); //object(cj_surf_board2) (2)
  915. CreateObject(2406,2434.6999512,-3509.1999512,8.1000004,0.0000000,0.0000000,190.0000000); //object(cj_surf_board3) (1)
  916. CreateObject(2406,2460.1000977,-3489.8000488,8.0000000,0.0000000,0.0000000,189.9975586); //object(cj_surf_board3) (2)
  917. CreateObject(2404,2459.3999023,-3489.5000000,8.0000000,0.0000000,0.0000000,177.9949951); //object(cj_surf_board) (3)
  918. CreateObject(2410,2471.6999512,-3483.1000977,6.9000001,0.0000000,0.0000000,0.0000000); //object(cj_surf_board4) (1)
  919. CreateObject(2410,2438.6999512,-3505.6999512,6.9000001,0.0000000,0.0000000,0.0000000); //object(cj_surf_board4) (2)
  920. CreateObject(1794,2335.3999023,-3626.0000000,3.5000000,0.0000000,0.0000000,152.7484131); //object(low_bed_3) (1)
  921. CreateObject(1828,2331.0000000,-3622.1000977,3.5999999,0.0000000,0.0000000,329.9963379); //object(man_sdr_rug) (2)
  922. CreateObject(2091,2336.6999512,-3620.8000488,3.5000000,0.0000000,0.0000000,329.9963379); //object(tv_ward_med_1) (1)
  923. CreateObject(2131,2322.6999512,-3619.1999512,3.5000000,0.0000000,0.0000000,59.9963379); //object(cj_kitch2_fridge) (1)
  924. CreateObject(2132,2321.6999512,-3620.8999023,3.5000000,0.0000000,0.0000000,59.9963379); //object(cj_kitch2_sink) (1)
  925. CreateObject(2132,2323.6999512,-3617.5000000,3.5000000,0.0000000,0.0000000,59.9908447); //object(cj_kitch2_sink) (2)
  926. CreateObject(2226,2337.3999023,-3621.6000977,5.5000000,0.0000000,0.0000000,301.9976807); //object(low_hi_fi_3) (1)
  927. CreateObject(2404,2331.3999023,-3618.0000000,4.8000002,0.0000000,0.0000000,0.0000000); //object(cj_surf_board) (4)
  928. CreateObject(2117,2325.8000488,-3620.3999023,3.5999999,0.0000000,0.0000000,331.9958496); //object(swank_dinning_5) (1)
  929. CreateObject(1720,2326.6000977,-3620.0000000,3.5999999,0.0000000,0.0000000,333.9953613); //object(rest_chair) (1)
  930. CreateObject(1720,2326.0000000,-3621.3000488,3.5000000,0.0000000,0.0000000,150.2435303); //object(rest_chair) (2)
  931. CreateObject(1720,2325.1000977,-3619.3999023,3.5999999,0.0000000,0.0000000,0.0000000); //object(rest_chair) (3)
  932. CreateObject(1720,2327.1999512,-3621.1000977,3.5000000,0.0000000,0.0000000,241.9958496); //object(rest_chair) (4)
  933. CreateObject(1649,2323.1000977,-3624.6000977,5.8000002,0.0000000,0.0000000,332.2500000); //object(wglasssmash) (1)
  934. CreateObject(18228,2404.8999023,-3738.1999512,0.0000000,0.0000000,0.0000000,332.9921875); //object(cunt_rockgp2_21) (1)
  935. CreateObject(18228,2412.8000488,-3700.1999512,0.0000000,0.0000000,0.0000000,60.0000000); //object(cunt_rockgp2_21) (1)
  936. CreateObject(13367,2506.0000000,-3532.6000977,37.7999992,0.0000000,0.0000000,0.0000000); //object(sw_watertower01) (1)
  937. CreateObject(900,2469.1999512,-3503.8999023,5.0000000,0.0000000,0.0000000,203.9904785); //object(searock04) (1)
  938. CreateObject(900,2485.3999023,-3487.3000488,4.1999998,342.0000000,180.0000000,247.9921875); //object(searock04) (1)
  939. CreateObject(900,2500.8000488,-3476.6999512,2.4000001,344.0021973,190.4018860,240.8868713); //object(searock04) (1)
  940. CreateObject(900,2520.8000488,-3467.1000977,2.7000000,343.9984131,190.3985596,230.8862305); //object(searock04) (1)
  941. CreateObject(900,2546.6999512,-3459.6000977,3.5000000,343.7803345,184.1514282,219.1492920); //object(searock04) (1)
  942. CreateObject(896,2570.8999023,-3454.0000000,-1.8000000,323.2500610,179.9931641,99.9927368); //object(searock06) (1)
  943. CreateObject(3171,2499.5000000,-3596.3999023,34.7999992,0.0000000,6.0000000,0.0000000); //object(trailer5_01) (1)
  944. CreateObject(3172,2495.6000977,-3586.8999023,34.7999992,10.5000000,0.0000000,82.0000000); //object(trailer6_01) (1)
  945. CreateObject(3175,2475.3999023,-3588.8999023,38.5999985,0.0000000,0.0000000,0.0000000); //object(sm_airstrm_med_) (1)
  946. CreateObject(3175,2484.5000000,-3607.3000488,37.0999985,357.0018311,2.0027466,268.1047974); //object(sm_airstrm_med_) (2)
  947. CreateObject(2405,2490.6999512,-3587.8000488,37.0999985,0.0000000,0.0000000,0.0000000); //object(cj_surf_board2) (3)
  948. CreateObject(2404,2490.1000977,-3587.6000977,37.2999992,0.0000000,0.0000000,0.0000000); //object(cj_surf_board) (5)
  949. CreateObject(1439,2498.5000000,-3607.6999512,36.0000000,0.0000000,0.0000000,268.0000000); //object(dyn_dumpster_1) (1)
  950. CreateObject(1255,2488.0000000,-3603.8999023,37.4000015,0.0000000,0.0000000,91.9951477); //object(lounger) (1)
  951. CreateObject(1255,2483.1999512,-3603.3999023,38.0000000,0.0000000,0.0000000,91.9940186); //object(lounger) (1)
  952. CreateObject(1255,2495.0000000,-3591.5000000,35.5000000,0.0000000,0.0000000,205.9940186); //object(lounger) (1)
  953. CreateObject(1255,2495.6000977,-3592.8000488,35.5000000,0.0000000,0.0000000,205.9936523); //object(lounger) (1)
  954. CreateObject(1370,2475.6999512,-3583.6000977,39.5000000,0.0000000,0.0000000,0.0000000); //object(cj_flame_drum) (1)
  955. CreateObject(1370,2498.1000977,-3606.5000000,36.5000000,0.0000000,0.0000000,0.0000000); //object(cj_flame_drum) (2)
  956. CreateObject(12957,2483.3000488,-3583.6000977,38.2000008,13.5000000,0.0000000,54.0000000); //object(sw_pickupwreck01) (1)
  957. CreateObject(1432,2491.6999512,-3598.8999023,36.0999985,358.2766113,10.0045776,0.3039856); //object(dyn_table_2) (1)
  958. CreateObject(1432,2484.3999023,-3596.8999023,36.9000015,358.2751465,10.0030518,0.3021240); //object(dyn_table_2) (2)
  959. CreateObject(9241,2406.8000488,-3629.0000000,28.8999996,0.0000000,0.0000000,180.0000000); //object(copbits_sfn) (1)
  960. CreateObject(3666,2418.8999023,-3640.3999023,30.2000008,0.0000000,0.0000000,0.0000000); //object(airuntest_las) (1)
  961. CreateObject(3666,2418.3999023,-3617.0000000,30.2000008,0.0000000,0.0000000,0.0000000); //object(airuntest_las) (2)
  962. CreateObject(3666,2394.8999023,-3616.8999023,30.2000008,0.0000000,0.0000000,0.0000000); //object(airuntest_las) (3)
  963. CreateObject(3666,2394.5000000,-3640.3000488,30.2000008,0.0000000,0.0000000,0.0000000); //object(airuntest_las) (4)
  964. CreateObject(900,2393.3999023,-3632.3999023,24.5000000,0.0000000,0.0000000,264.7421265); //object(searock04) (1)
  965. CreateObject(900,2405.8999023,-3617.3000488,24.0000000,0.0000000,0.0000000,336.7375488); //object(searock04) (1)
  966. CreateObject(900,2406.3000488,-3643.8999023,24.7999992,0.0000000,0.0000000,334.7375488); //object(searock04) (1)
  967. CreateObject(770,2569.3000488,-3529.0000000,0.6000000,0.0000000,0.0000000,0.0000000); //object(pinebg_hi) (2)
  968. CreateObject(770,2578.8000488,-3623.3999023,14.3999996,0.0000000,0.0000000,0.0000000); //object(pinebg_hi) (2)
  969. CreateObject(770,2585.1999512,-3595.8000488,12.1000004,0.0000000,0.0000000,0.0000000); //object(pinebg_hi) (2)
  970. CreateObject(768,2555.3999023,-3639.6000977,17.6000004,0.0000000,0.0000000,0.0000000); //object(elmtreegrn2_hi) (1)
  971. CreateObject(715,2557.8999023,-3586.8999023,14.1000004,0.0000000,0.0000000,0.0000000); //object(veg_bevtree3) (2)
  972. CreateObject(889,2559.6999512,-3540.1999512,0.5000000,0.0000000,0.0000000,0.0000000); //object(pinebg_po) (4)
  973. CreateObject(889,2588.6000977,-3550.6000977,7.6999998,0.0000000,0.0000000,0.0000000); //object(pinebg_po) (4)
  974. CreateObject(889,2594.6000977,-3576.3999023,12.3999996,0.0000000,0.0000000,0.0000000); //object(pinebg_po) (4)
  975. CreateObject(889,2545.8000488,-3597.3000488,6.4000001,0.0000000,0.0000000,0.0000000); //object(pinebg_po) (4)
  976. CreateObject(768,2421.6000977,-3567.1999512,27.1000004,0.0000000,0.0000000,0.0000000); //object(elmtreegrn2_hi) (3)
  977. CreateObject(768,2472.6000977,-3555.1999512,32.5999985,0.0000000,0.0000000,0.0000000); //object(elmtreegrn2_hi) (3)
  978. CreateObject(770,2475.0000000,-3615.5000000,37.2000008,0.0000000,0.0000000,0.0000000); //object(pinebg_hi) (5)
  979. CreateObject(770,2453.8999023,-3574.0000000,36.5000000,0.0000000,0.0000000,0.0000000); //object(pinebg_hi) (5)
  980. CreateObject(770,2517.6999512,-3575.1000977,28.0000000,0.0000000,0.0000000,0.0000000); //object(pinebg_hi) (5)
  981. CreateObject(715,2449.8999023,-3554.8000488,37.7999992,0.0000000,0.0000000,0.0000000); //object(veg_bevtree3) (2)
  982. CreateObject(715,2441.1000977,-3643.0000000,38.2999992,0.0000000,0.0000000,0.0000000); //object(veg_bevtree3) (2)
  983. CreateObject(715,2494.0000000,-3533.3999023,36.7000008,0.0000000,0.0000000,0.0000000); //object(veg_bevtree3) (2)
  984. CreateObject(736,2423.6999512,-3605.3999023,40.9000015,0.0000000,0.0000000,0.0000000); //object(ceasertree01_lvs) (3)
  985. CreateObject(736,2510.1000977,-3554.3000488,37.5999985,0.0000000,0.0000000,0.0000000); //object(ceasertree01_lvs) (3)
  986. CreateObject(770,2445.5000000,-3594.1000977,34.2999992,0.0000000,0.0000000,0.0000000); //object(pinebg_hi) (2)
  987.  
  988.         return 1;
  989. }
  990.  
  991. public OnGameModeExit()
  992. {
  993.     DOF2_Exit();
  994.     TextDrawDestroy(Textdraw0);
  995.     TextDrawDestroy(Textdraw1);
  996.     TextDrawDestroy(Textdraw2);
  997.     TextDrawDestroy(Textdraw3);
  998.     TextDrawDestroy(Textdraw10);
  999.     TextDrawDestroy(Textdraw11);
  1000.     TextDrawDestroy(Textdraw12);
  1001.         return 1;
  1002. }
  1003. public OnPlayerRequestClass(playerid, classid)
  1004. {
  1005.     SetPlayerPos(playerid,-1411.2957,660.1513,78.0507);
  1006.     SetPlayerCameraPos(playerid, -1389.3898,660.3004,84.0078);
  1007.     ApplyAnimation(playerid,"PARK","Tai_Chi_Loop",4.0,1,0,0,0,0);
  1008.     ApplyAnimation(playerid,"PARK","Tai_Chi_Loop",4.0,1,0,0,0,0);
  1009.         SetPlayerCameraLookAt(playerid, -1406.4254,663.5966,80.1042);
  1010.         return 1;
  1011. }
  1012.  
  1013. public OnPlayerConnect(playerid)
  1014. {
  1015.     RemoveBuildingForPlayer(playerid, 10252, -2175.7578, 661.9219, 50.1016, 0.25);
  1016.    
  1017.     GameTextForPlayer(playerid, "~w~Bem Vindo ao ~r~SF~w~War", 6000, 6);
  1018.     PlayersOnline ++;
  1019.  
  1020.     new String[256];
  1021.         if(!DOF2_FileExists(Contas(playerid)))
  1022.         {
  1023.                 format(String, sizeof(String), "{FFFFFF}Nick: {BCD2EE}%s\n{FFFFFF}Status: {F50101}N√£o registrado. \n{FFFFFF}Digite uma senha para registrar:",Nome(playerid));
  1024.                 ShowPlayerDialog(playerid, DIALOG_REGISTRO, DIALOG_STYLE_INPUT, "Registro", String, "Registrar", "Cancelar");
  1025.         }
  1026.         else
  1027.         {
  1028.                 format(String, sizeof(String), "{FFFFFF}Nick: {BCD2EE}%s\n{FFFFFF}Status: {23F516}Registrado.\n{FFFFFF}Digite sua senha para continuar:",Nome(playerid));
  1029.                 ShowPlayerDialog(playerid, DIALOG_LOGAR, DIALOG_STYLE_INPUT, "Login", String, "Logar", "Cancelar");
  1030.         }
  1031.    
  1032.         SendClientMessage(playerid, COR_ADM, "Bem Vindo ao San Fierro War [v1.5] !");
  1033.         SendClientMessage(playerid, COR_ADM, "GM Criado Por T√≥tola e Bielzera !");
  1034.         SendClientMessage(playerid, COR_ADM, "N√£o ofenda ninguem no chat !");
  1035.         SendClientMessage(playerid, COR_ADM, "N√£o use Bots/Xiters/Bugs do SERVER !!");
  1036.         SendClientMessage(playerid, COR_ADM, "Como Jogar no Server: /comandos e /tutorial !");
  1037.         SendClientMessage(playerid, COR_ADM, "N√£o divulgue Hosts/Servers/Links a N√£o Ser Parceiro !");
  1038.         SendClientMessage(playerid, COR_ADM, "San Fierro War | Tenha um Bom Jogo !");
  1039.        
  1040.         new string[100];
  1041.         GetPlayerName(playerid, string, MAX_PLAYER_NAME);
  1042.         format(string, sizeof(string), "%s(%d) {0000FF}Entrou no Servidor {FFFFFF}(%d/50)", string, playerid, PlayersOnline);
  1043.         SendClientMessageToAll(-1, string);
  1044.        
  1045.         SetPlayerMapIcon( playerid, 0, -2534.9385,52.2758,16.3554, 6, 0, MAPICON_LOCAL );
  1046.         SetPlayerMapIcon( playerid, 1, -1944.4500,708.4459,46.5625, 52, 0, MAPICON_LOCAL );
  1047.  
  1048.    
  1049.         Textdraw4[playerid] = TextDrawCreate(208.000000, 375.000000, "0"); // MATOU
  1050.         TextDrawBackgroundColor(Textdraw4[playerid], 255);
  1051.         TextDrawFont(Textdraw4[playerid], 3);
  1052.         TextDrawLetterSize(Textdraw4[playerid], 0.469998, 1.299998);
  1053.         TextDrawColor(Textdraw4[playerid], -1);
  1054.         TextDrawSetOutline(Textdraw4[playerid], 1);
  1055.         TextDrawSetProportional(Textdraw4[playerid], 1);
  1056.  
  1057.         Textdraw5[playerid] = TextDrawCreate(198.000000, 362.000000, "0"); // LEVEL
  1058.         TextDrawBackgroundColor(Textdraw5[playerid], 255);
  1059.         TextDrawFont(Textdraw5[playerid], 3);
  1060.         TextDrawLetterSize(Textdraw5[playerid], 0.469998, 1.299998);
  1061.         TextDrawColor(Textdraw5[playerid], -1);
  1062.         TextDrawSetOutline(Textdraw5[playerid], 1);
  1063.         TextDrawSetProportional(Textdraw5[playerid], 1);
  1064.  
  1065.         Textdraw7[playerid] = TextDrawCreate(216.000000, 388.000000, "0"); // MORREU
  1066.         TextDrawBackgroundColor(Textdraw7[playerid], 255);
  1067.         TextDrawFont(Textdraw7[playerid], 3);
  1068.         TextDrawLetterSize(Textdraw7[playerid], 0.469998, 1.299998);
  1069.         TextDrawColor(Textdraw7[playerid], -1);
  1070.         TextDrawSetOutline(Textdraw7[playerid], 1);
  1071.         TextDrawSetProportional(Textdraw7[playerid], 1);
  1072.  
  1073.         Textdraw8[playerid] = TextDrawCreate(183.000000, 400.000000, "Nenhuma"); // ORGANIZA√á√ÉO
  1074.         TextDrawBackgroundColor(Textdraw8[playerid], 255);
  1075.         TextDrawFont(Textdraw8[playerid], 3);
  1076.         TextDrawLetterSize(Textdraw8[playerid], 0.469998, 1.299998);
  1077.         TextDrawColor(Textdraw8[playerid], -1);
  1078.         TextDrawSetOutline(Textdraw8[playerid], 1);
  1079.         TextDrawSetProportional(Textdraw8[playerid], 1);
  1080.        
  1081.         Textdraw9[playerid] = TextDrawCreate(310.000000, 356.000000, "Voce Matou:"); // MSG DE MORRER
  1082.     TextDrawBackgroundColor(Textdraw9[playerid], 255);
  1083.     TextDrawFont(Textdraw9[playerid], 3);
  1084.     TextDrawLetterSize(Textdraw9[playerid], 0.409999, 1.000000);
  1085.     TextDrawColor(Textdraw9[playerid], -16776961);
  1086.     TextDrawSetOutline(Textdraw9[playerid], 1);
  1087.     TextDrawSetProportional(Textdraw9[playerid], 1);
  1088.  
  1089.     TextDrawShowForPlayer(playerid, Textdraw0);
  1090.         TextDrawShowForPlayer(playerid, Textdraw1);
  1091.         TextDrawShowForPlayer(playerid, Textdraw2);
  1092.         TextDrawShowForPlayer(playerid, Textdraw3);
  1093.         TextDrawShowForPlayer(playerid, Textdraw4[playerid]);
  1094.         TextDrawShowForPlayer(playerid, Textdraw5[playerid]);
  1095.         TextDrawShowForPlayer(playerid, Textdraw7[playerid]);
  1096.         TextDrawShowForPlayer(playerid, Textdraw8[playerid]);
  1097.         TextDrawShowForPlayer(playerid, Textdraw10);
  1098.         TextDrawShowForPlayer(playerid, Textdraw11);
  1099.         TextDrawShowForPlayer(playerid, Textdraw12);
  1100.        
  1101.         //VAMOSVER
  1102.         PlayerInfo[playerid][Admin] = 0;
  1103.         PlayerInfo[playerid][SWAT] = 0;
  1104.     PlayerInfo[playerid][FBI] = 0;
  1105.     PlayerInfo[playerid][Boys] = 0;
  1106.     PlayerInfo[playerid][Triads] = 0;
  1107.     PlayerInfo[playerid][Rifa] = 0;
  1108.     PlayerInfo[playerid][Mafia] = 0;
  1109.     PlayerInfo[playerid][Matou] = 0;
  1110.     PlayerInfo[playerid][Morreu] = 0;
  1111.     PlayerInfo[playerid][Laser] = 0;
  1112.     SetPlayerScore(playerid, 0);
  1113.     Equipamentos[playerid] = 0;
  1114.     LaserOn[playerid] = 0;
  1115.     LaserCor[playerid] = 0;
  1116.     PlayerGPS[playerid] = 0;
  1117.     PlayerChat[playerid] = 0;
  1118.     Logado[playerid] = 1;
  1119.     Avisos[playerid] = 1;
  1120.     return 1;
  1121. }
  1122.  
  1123. public OnPlayerDisconnect(playerid, reason)
  1124. {
  1125.     PlayersOnline --;
  1126.         new string[200], name[MAX_PLAYER_NAME];
  1127.     GetPlayerName(playerid,name,MAX_PLAYER_NAME);
  1128.     switch(reason)
  1129.     {
  1130.         case 0: format(string,sizeof string,"%s(%d) {FF0000}Saiu do Server por Crash ou M√° Conex√£o {FFFFFF}(%d/50)",name, playerid, PlayersOnline);
  1131.         case 1: format(string,sizeof string,"%s(%d) {FF0000}Saiu do Server por conta Pr√≥pria {FFFFFF}(%d/50)",name, playerid, PlayersOnline);
  1132.         case 2: format(string,sizeof string,"%s(%d) {FF0000}Saiu do Server por Kick ou Ban {FFFFFF}(%d/50)",name, playerid, PlayersOnline);
  1133.     }
  1134.     SendClientMessageToAll(0xFFFFFFAA,string);
  1135.         SalvarContas(playerid);
  1136.     TextDrawDestroy(Textdraw4[playerid]);
  1137.     TextDrawDestroy(Textdraw5[playerid]);
  1138.     TextDrawDestroy(Textdraw7[playerid]);
  1139.     TextDrawDestroy(Textdraw8[playerid]);
  1140.     TextDrawDestroy(Textdraw9[playerid]);
  1141.         return 1;
  1142. }
  1143.  
  1144. public OnPlayerSpawn(playerid)
  1145. {
  1146.         //GANGZONES...
  1147.         GangZoneShowForPlayer(playerid, stuntpark, corstunt);
  1148.         GangZoneShowForPlayer(playerid, casino, corcasino);
  1149.         GangZoneShowForPlayer(playerid, baseball, corbaseball);
  1150.         GangZoneShowForPlayer(playerid, pracinha, corpracinha);
  1151.         GangZoneShowForPlayer(playerid, obras, corobras);
  1152.         GangZoneShowForPlayer(playerid, pierab,corpierab);
  1153.         GangZoneShowForPlayer(playerid, pier69, corpier69);
  1154.         //DESBUGAR PLAYER....
  1155.         ClearAnimations(playerid);
  1156.     TogglePlayerControllable(playerid,1);
  1157.         SetPlayerHealth(playerid, 100);
  1158.         SetPlayerInterior(playerid, 0);
  1159.        
  1160.    
  1161.         if(PlayerInfo[playerid][Mafia] >= 1)
  1162.     {
  1163.                 SetPlayerPos(playerid,     -2179.1665,713.6572,53.8906);
  1164.         TextDrawSetString(Textdraw8[playerid], "Mafia");
  1165.         SetPlayerColor(playerid, COR_MAFIA);
  1166.             SetPlayerSkin(playerid, 111);
  1167.         SetPlayerArmour(playerid, 50.0);
  1168.         GivePlayerWeapon(playerid, 24, 500);
  1169.             GivePlayerWeapon(playerid, 25, 500);
  1170.             GivePlayerWeapon(playerid, 30, 500);
  1171.             PlayerChat[playerid] = 1;
  1172.     }
  1173.     if(PlayerInfo[playerid][Triads] >= 1)
  1174.     {
  1175.         SetPlayerPos(playerid,     -2143.1604,-129.1506,36.5156);
  1176.         SetPlayerColor(playerid, COR_TRIADS);
  1177.             SetPlayerSkin(playerid, 117);
  1178.         SetPlayerArmour(playerid, 50.0);
  1179.         GivePlayerWeapon(playerid, 24, 500);
  1180.         GivePlayerWeapon(playerid, 25, 500);
  1181.             GivePlayerWeapon(playerid, 30, 500);
  1182.         TextDrawSetString(Textdraw8[playerid], "Triads");
  1183.         PlayerChat[playerid] = 2;
  1184.     }
  1185.     if(PlayerInfo[playerid][Boys] >= 1)
  1186.     {
  1187.         SetPlayerPos(playerid,     -2665.5684,1434.3109,7.0938);
  1188.         SetPlayerColor(playerid, COR_BOYS);
  1189.                 SetPlayerSkin(playerid, 121);
  1190.                 SetPlayerArmour(playerid, 50.0);
  1191.                 GivePlayerWeapon(playerid, 24, 500);
  1192.                 GivePlayerWeapon(playerid, 25, 500);
  1193.                 GivePlayerWeapon(playerid, 30, 500);
  1194.         TextDrawSetString(Textdraw8[playerid], "Da Nang Boys");
  1195.         PlayerChat[playerid] = 3;
  1196.     }
  1197.     if(PlayerInfo[playerid][Rifa] >= 1)
  1198.     {
  1199.         SetPlayerPos(playerid,     -2514.1770,773.1966,35.1719);
  1200.         SetPlayerColor(playerid, COR_RIFA);
  1201.         SetPlayerSkin(playerid, 173);
  1202.         SetPlayerArmour(playerid, 50.0);
  1203.         GivePlayerWeapon(playerid, 24, 500);
  1204.         GivePlayerWeapon(playerid, 25, 500);
  1205.         GivePlayerWeapon(playerid, 30, 500);
  1206.         TextDrawSetString(Textdraw8[playerid], "SF Rifa");
  1207.         PlayerChat[playerid] = 4;
  1208.     }
  1209.     if(PlayerInfo[playerid][SWAT] >= 1)
  1210.     {
  1211.         SetPlayerPos(playerid,     -1518.0020,476.2436,7.1809);
  1212.         SetPlayerColor(playerid, COR_SWAT);
  1213.         SetPlayerSkin(playerid, 285);
  1214.         SetPlayerArmour(playerid, 50.0);
  1215.         GivePlayerWeapon(playerid, 24, 500);
  1216.         GivePlayerWeapon(playerid, 25, 500);
  1217.         GivePlayerWeapon(playerid, 31, 500);
  1218.         TextDrawSetString(Textdraw8[playerid], "SWAT");
  1219.         PlayerChat[playerid] = 5;
  1220.     }
  1221.     if(PlayerInfo[playerid][FBI] >= 1)
  1222.     {
  1223.         SetPlayerPos(playerid,     -1710.3719,997.4854,17.9141);
  1224.         SetPlayerColor(playerid, COR_FBI);
  1225.                 SetPlayerSkin(playerid, 286);
  1226.                 SetPlayerArmour(playerid, 50.0);
  1227.                 GivePlayerWeapon(playerid, 24, 500);
  1228.                 GivePlayerWeapon(playerid, 25, 500);
  1229.                 GivePlayerWeapon(playerid, 31, 500);
  1230.         TextDrawSetString(Textdraw8[playerid], "FBI");
  1231.         PlayerChat[playerid] = 6;
  1232.     }
  1233.  
  1234.     //SETANDOO LEVEL
  1235.         new Str[10];
  1236.         format(Str,sizeof(Str),"%d", GetPlayerScore(playerid));
  1237.     TextDrawSetString(Textdraw5[playerid], Str);
  1238.  
  1239.         //SETANDOO MATOU
  1240.     new Strr[10];
  1241.     format(Strr,sizeof(Strr),"%d", PlayerInfo[playerid][Matou]);
  1242.     TextDrawSetString(Textdraw4[playerid], Strr);
  1243.  
  1244.         //SETANDO MOREU
  1245.         new Strrr[10];
  1246.     format(Strrr,sizeof(Strrr),"%d", PlayerInfo[playerid][Morreu]);
  1247.     TextDrawSetString(Textdraw7[playerid], Strrr);
  1248.  
  1249.         return 1;
  1250. }
  1251.  
  1252. public OnPlayerDeath(playerid, killerid, reason)
  1253. {
  1254.     SendDeathMessage(killerid, playerid, reason);
  1255.     GivePlayerMoney(killerid, 500);
  1256.     PlayerInfo[killerid][Matou] ++;
  1257.     PlayerInfo[playerid][Morreu] ++;
  1258.     SetPlayerScore(killerid,PlayerInfo[killerid][Matou] / 10);
  1259.  
  1260.     //MATOUtext
  1261.     new Strr[10];
  1262.     format(Strr,sizeof(Strr),"%d", PlayerInfo[killerid][Matou]);
  1263.     TextDrawSetString(Textdraw4[killerid], Strr);
  1264.  
  1265.     //MORREUtext
  1266.     new Strrr[10];
  1267.     format(Strrr,sizeof(Strrr),"%d", PlayerInfo[playerid][Morreu]);
  1268.     TextDrawSetString(Textdraw7[playerid], Strrr);
  1269.    
  1270.     //LEVELtext
  1271.     new Str[10];
  1272.     format(Str,sizeof(Str),"%d", GetPlayerScore(killerid));
  1273.     TextDrawSetString(Textdraw5[killerid], Str);
  1274.        
  1275.         return 1;
  1276. }
  1277.  
  1278. public OnVehicleSpawn(vehicleid)
  1279. {
  1280.     return 1;
  1281. }
  1282.  
  1283. public OnVehicleDeath(vehicleid, killerid)
  1284. {
  1285.     return 1;
  1286. }
  1287.  
  1288. public OnPlayerText(playerid, text[])
  1289. {
  1290.     if(text[0] == '!')
  1291.     {
  1292.                 new string[128];
  1293.         format(string, sizeof(string), "[ORG.CHAT] %s:  %s", Nome(playerid), text[1]);
  1294.         printf("%s", string);
  1295.         for(new i = 0; i < MAX_PLAYERS; i++)
  1296.         {
  1297.                         if(PlayerInfo[playerid][Trabalho] == 1) return Scm(playerid, COR_ERRO, "[ERRO] Voc√™ n√£o pode usar o Chat Gangs enquanto Trabalha"), 0;
  1298.             if(IsPlayerConnected(i) && PlayerChat[i] == PlayerChat[playerid]) SendClientMessage(i, GetPlayerColor(playerid), string);
  1299.         }
  1300.         return 0;
  1301.     }
  1302.     new string[128];
  1303.     format(string,sizeof(string),"[ID:%d]: %s",playerid,text);
  1304.     SendPlayerMessageToAll(playerid,string);
  1305.     return 0;
  1306. }
  1307.  
  1308.  
  1309. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  1310. {
  1311.         return 1;
  1312. }
  1313.  
  1314. public OnPlayerExitVehicle(playerid, vehicleid)
  1315. {
  1316.         return 1;
  1317. }
  1318.  
  1319. public OnPlayerStateChange(playerid, newstate, oldstate)
  1320. {
  1321.         return 1;
  1322. }
  1323. //================= INICIO DO COMANDO /DOMINAR =================//
  1324. /*
  1325.     dominandostunt[playerid] = 1;
  1326.     new striing[204], org[104];
  1327.     if(PlayerInfo[pid][Boys] >= 1) { org = "os Da Nang Boys"; }
  1328.     if(PlayerInfo[pid][Triads] >= 1) { org = "os Triads"; }
  1329.     if(PlayerInfo[pid][FBI] >= 1) { org = "o FBI"; }
  1330.     if(PlayerInfo[pid][SWAT] >= 1) { org = "a SWAT"; }
  1331.     if(PlayerInfo[pid][Rifa] >= 1) { org = "os SF Rifa's"; }
  1332.     if(PlayerInfo[pid][Mafia] >= 1) { org = "a Mafia"; }
  1333.     format(striing, sizeof(striing),"[GZ.INFO]O %s e %s est√£o tentando dominar o Stunt Park | Local: /gps",GetNick(pid), org);
  1334.     SendClientMessageToAll(GetPlayerColor(pid), striing);
  1335.     GangZoneFlashForAll(stuntpark, GetPlayerColor(pid));
  1336.  
  1337.     dominandostunt[playerid] = 0;
  1338.     new striing[204], org[104];
  1339.     if(PlayerInfo[pid][Boys] >= 1) { org = "os Da Nang Boys"; }
  1340.     if(PlayerInfo[pid][Triads] >= 1) { org = "os Triads"; }
  1341.     if(PlayerInfo[pid][FBI] >= 1) { org = "o FBI"; }
  1342.     if(PlayerInfo[pid][SWAT] >= 1) { org = "a SWAT"; }
  1343.     if(PlayerInfo[pid][Rifa] >= 1) { org = "os SF Rifa's"; }
  1344.     if(PlayerInfo[pid][Mafia] >= 1) { org = "a Mafia"; }
  1345.     format(striing, sizeof(striing),"[GZ.INFO]O %s e %s conseguiram o Stunt Park | Local: /gps",GetNick(pid), org);
  1346.     SendClientMessageToAll(GetPlayerColor(pid), striing);
  1347.     GangZoneStopFlashForAll(stuntpark);
  1348. */
  1349. public OnPlayerEnterCheckpoint(playerid)
  1350. {
  1351.     if(CPS_IsPlayerInCheckpoint(playerid,cpstunt))
  1352.     {
  1353.         if(corstunt == GetPlayerColor(playerid)) return SendClientMessage(playerid, VERMELHO, "[GZ.INFO]Essa Gangzone ja √© Sua !");
  1354.         if(PlayerDomi[playerid][Stunt] >= 1) return SendClientMessage(playerid, VERMELHO, "[GZ.INFO]Voc√™ Ja esta Dominando !");
  1355.         if(PlayerGPS[playerid] == 1) { PlayerGPS[playerid] = 0; }
  1356.                 new striing[128], org[20];
  1357.         if(PlayerInfo[playerid][Boys] >= 1) { org = "os Da Nang Boys"; }
  1358.         if(PlayerInfo[playerid][Triads] >= 1) { org = "os Triads"; }
  1359.         if(PlayerInfo[playerid][FBI] >= 1) { org = "o FBI"; }
  1360.         if(PlayerInfo[playerid][SWAT] >= 1) { org = "a SWAT"; }
  1361.         if(PlayerInfo[playerid][Rifa] >= 1) { org = "os SF Rifa's"; }
  1362.         if(PlayerInfo[playerid][Mafia] >= 1) { org = "a Mafia"; }
  1363.         format(striing, sizeof(striing),"[GZ.INFO]O %s e %s est√£o tentando dominar o Stunt Park | Local: /gps",Nome(playerid), org);
  1364.         SendClientMessageToAll(GetPlayerColor(playerid), striing);
  1365.         GangZoneFlashForAll(stuntpark, GetPlayerColor(playerid));
  1366.         GameTextForPlayer(playerid, "~w~Aguarde ~r~20~w~ seg", 3000, 1);
  1367.     }
  1368.     if(CPS_IsPlayerInCheckpoint(playerid,cpcasino))
  1369.     {
  1370.         if(corcasino == GetPlayerColor(playerid)) return SendClientMessage(playerid, VERMELHO, "[GZ.INFO]Essa Gangzone ja √© Sua !");
  1371.         if(PlayerDomi[playerid][Casino] >= 1) return SendClientMessage(playerid, VERMELHO, "[GZ.INFO]Voc√™ Ja esta Dominando !");
  1372.         if(PlayerGPS[playerid] == 1) { PlayerGPS[playerid] = 0; }
  1373.         new striing[128], org[20];
  1374.         if(PlayerInfo[playerid][Boys] >= 1) { org = "os Da Nang Boys"; }
  1375.         if(PlayerInfo[playerid][Triads] >= 1) { org = "os Triads"; }
  1376.         if(PlayerInfo[playerid][FBI] >= 1) { org = "o FBI"; }
  1377.         if(PlayerInfo[playerid][SWAT] >= 1) { org = "a SWAT"; }
  1378.         if(PlayerInfo[playerid][Rifa] >= 1) { org = "os SF Rifa's"; }
  1379.         if(PlayerInfo[playerid][Mafia] >= 1) { org = "a Mafia"; }
  1380.         format(striing, sizeof(striing),"[GZ.INFO]O %s e %s est√£o tentando dominar o Casino | Local: /gps",Nome(playerid), org);
  1381.         SendClientMessageToAll(GetPlayerColor(playerid), striing);
  1382.         GangZoneFlashForAll(casino, GetPlayerColor(playerid));
  1383.         GameTextForPlayer(playerid, "~w~Aguarde ~r~20~w~ seg", 3000, 1);
  1384.     }
  1385.     if(CPS_IsPlayerInCheckpoint(playerid,cpbaseball))
  1386.     {
  1387.         if(corbaseball == GetPlayerColor(playerid)) return SendClientMessage(playerid, VERMELHO, "[GZ.INFO]Essa Gangzone ja √© Sua !");
  1388.         if(PlayerDomi[playerid][Baseball] >= 1) return SendClientMessage(playerid, VERMELHO, "[GZ.INFO]Voc√™ Ja esta Dominando !");
  1389.         if(PlayerGPS[playerid] == 1) { PlayerGPS[playerid] = 0; }
  1390.         new striing[128], org[20];
  1391.         if(PlayerInfo[playerid][Boys] >= 1) { org = "os Da Nang Boys"; }
  1392.         if(PlayerInfo[playerid][Triads] >= 1) { org = "os Triads"; }
  1393.         if(PlayerInfo[playerid][FBI] >= 1) { org = "o FBI"; }
  1394.         if(PlayerInfo[playerid][SWAT] >= 1) { org = "a SWAT"; }
  1395.         if(PlayerInfo[playerid][Rifa] >= 1) { org = "os SF Rifa's"; }
  1396.         if(PlayerInfo[playerid][Mafia] >= 1) { org = "a Mafia"; }
  1397.         format(striing, sizeof(striing),"[GZ.INFO]O %s e %s est√£o tentando dominar o Campo de Baseball | Local: /gps",Nome(playerid), org);
  1398.         SendClientMessageToAll(GetPlayerColor(playerid), striing);
  1399.         GangZoneFlashForAll(baseball, GetPlayerColor(playerid));
  1400.         GameTextForPlayer(playerid, "~w~Aguarde ~r~20~w~ seg", 3000, 1);
  1401.     }
  1402.     if(CPS_IsPlayerInCheckpoint(playerid,cppracinha))
  1403.     {
  1404.         if(corpracinha == GetPlayerColor(playerid)) return SendClientMessage(playerid, VERMELHO, "[GZ.INFO]Essa Gangzone ja √© Sua !");
  1405.         if(PlayerDomi[playerid][Pracinha] >= 1) return SendClientMessage(playerid, VERMELHO, "[GZ.INFO]Voc√™ Ja esta Dominando !");
  1406.         if(PlayerGPS[playerid] == 1) { PlayerGPS[playerid] = 0; }
  1407.         new striing[128], org[20];
  1408.         if(PlayerInfo[playerid][Boys] >= 1) { org = "os Da Nang Boys"; }
  1409.         if(PlayerInfo[playerid][Triads] >= 1) { org = "os Triads"; }
  1410.         if(PlayerInfo[playerid][FBI] >= 1) { org = "o FBI"; }
  1411.         if(PlayerInfo[playerid][SWAT] >= 1) { org = "a SWAT"; }
  1412.         if(PlayerInfo[playerid][Rifa] >= 1) { org = "os SF Rifa's"; }
  1413.         if(PlayerInfo[playerid][Mafia] >= 1) { org = "a Mafia"; }
  1414.         format(striing, sizeof(striing),"[GZ.INFO]O %s e %s est√£o tentando dominar a Pracinha | Local: /gps",Nome(playerid), org);
  1415.         SendClientMessageToAll(GetPlayerColor(playerid), striing);
  1416.         GangZoneFlashForAll(pracinha, GetPlayerColor(playerid));
  1417.         GameTextForPlayer(playerid, "~w~Aguarde ~r~20~w~ seg", 3000, 1);
  1418.     }
  1419.     if(CPS_IsPlayerInCheckpoint(playerid,cpobras))
  1420.     {
  1421.         if(corobras == GetPlayerColor(playerid)) return SendClientMessage(playerid, VERMELHO, "[GZ.INFO]Essa Gangzone ja √© Sua !");
  1422.         if(PlayerDomi[playerid][Obras] >= 1) return SendClientMessage(playerid, VERMELHO, "[GZ.INFO]Voc√™ Ja esta Dominando !");
  1423.         if(PlayerGPS[playerid] == 1) { PlayerGPS[playerid] = 0; }
  1424.         new striing[128], org[20];
  1425.         if(PlayerInfo[playerid][Boys] >= 1) { org = "os Da Nang Boys"; }
  1426.         if(PlayerInfo[playerid][Triads] >= 1) { org = "os Triads"; }
  1427.         if(PlayerInfo[playerid][FBI] >= 1) { org = "o FBI"; }
  1428.         if(PlayerInfo[playerid][SWAT] >= 1) { org = "a SWAT"; }
  1429.         if(PlayerInfo[playerid][Rifa] >= 1) { org = "os SF Rifa's"; }
  1430.         if(PlayerInfo[playerid][Mafia] >= 1) { org = "a Mafia"; }
  1431.         format(striing, sizeof(striing),"[GZ.INFO]O %s e %s est√£o tentando dominar a Area de Obras | Local: /gps",Nome(playerid), org);
  1432.         SendClientMessageToAll(GetPlayerColor(playerid), striing);
  1433.         GangZoneFlashForAll(obras, GetPlayerColor(playerid));
  1434.         GameTextForPlayer(playerid, "~w~Aguarde ~r~20~w~ seg", 3000, 1);
  1435.     }
  1436.     if(CPS_IsPlayerInCheckpoint(playerid,cppierab))
  1437.     {
  1438.         if(corpierab == GetPlayerColor(playerid)) return SendClientMessage(playerid, VERMELHO, "[GZ.INFO]Essa Gangzone ja √© Sua !");
  1439.         if(PlayerDomi[playerid][Pierab] >= 1) return SendClientMessage(playerid, VERMELHO, "[GZ.INFO]Voc√™ Ja esta Dominando !");
  1440.         if(PlayerGPS[playerid] == 1) { PlayerGPS[playerid] = 0; }
  1441.         new striing[128], org[20];
  1442.         if(PlayerInfo[playerid][Boys] >= 1) { org = "os Da Nang Boys"; }
  1443.         if(PlayerInfo[playerid][Triads] >= 1) { org = "os Triads"; }
  1444.         if(PlayerInfo[playerid][FBI] >= 1) { org = "o FBI"; }
  1445.         if(PlayerInfo[playerid][SWAT] >= 1) { org = "a SWAT"; }
  1446.         if(PlayerInfo[playerid][Rifa] >= 1) { org = "os SF Rifa's"; }
  1447.         if(PlayerInfo[playerid][Mafia] >= 1) { org = "a Mafia"; }
  1448.         format(striing, sizeof(striing),"[GZ.INFO]O %s e %s est√£o tentando dominar o Pier Abandonado | Local: /gps",Nome(playerid), org);
  1449.         SendClientMessageToAll(GetPlayerColor(playerid), striing);
  1450.         GangZoneFlashForAll(pierab, GetPlayerColor(playerid));
  1451.         GameTextForPlayer(playerid, "~w~Aguarde ~r~20~w~ seg", 3000, 1);
  1452.     }
  1453.     if(CPS_IsPlayerInCheckpoint(playerid,cppier69))
  1454.     {
  1455.         if(corpier69 == GetPlayerColor(playerid)) return SendClientMessage(playerid, VERMELHO, "[GZ.INFO]Essa Gangzone ja √© Sua !");
  1456.         if(PlayerDomi[playerid][Pier69] >= 1) return SendClientMessage(playerid, VERMELHO, "[GZ.INFO]Voc√™ Ja esta Dominando !");
  1457.         if(PlayerGPS[playerid] == 1) { PlayerGPS[playerid] = 0; }
  1458.         new striing[128], org[20];
  1459.         if(PlayerInfo[playerid][Boys] >= 1) { org = "os Da Nang Boys"; }
  1460.         if(PlayerInfo[playerid][Triads] >= 1) { org = "os Triads"; }
  1461.         if(PlayerInfo[playerid][FBI] >= 1) { org = "o FBI"; }
  1462.         if(PlayerInfo[playerid][SWAT] >= 1) { org = "a SWAT"; }
  1463.         if(PlayerInfo[playerid][Rifa] >= 1) { org = "os SF Rifa's"; }
  1464.         if(PlayerInfo[playerid][Mafia] >= 1) { org = "a Mafia"; }
  1465.         format(striing, sizeof(striing),"[GZ.INFO]O %s e %s est√£o tentando dominar o Pier 69 | Local: /gps",Nome(playerid), org);
  1466.         SendClientMessageToAll(GetPlayerColor(playerid), striing);
  1467.         GangZoneFlashForAll(pier69, GetPlayerColor(playerid));
  1468.         GameTextForPlayer(playerid, "~w~Aguarde ~r~20~w~ seg", 3000, 1);
  1469.     }
  1470.     if(PlayerGPS[playerid] == 1)
  1471.     {
  1472.         gpstimer = SetTimer("GPSTimer", 1000, 0);
  1473.     }
  1474.         return 1;
  1475. }
  1476.  
  1477. public OnPlayerLeaveCheckpoint(playerid)
  1478. {
  1479.     return 1;
  1480. }
  1481.  
  1482. public OnPlayerEnterRaceCheckpoint(playerid)
  1483. {
  1484.         return 1;
  1485. }
  1486.  
  1487. public OnPlayerLeaveRaceCheckpoint(playerid)
  1488. {
  1489.         return 1;
  1490. }
  1491.  
  1492. public OnRconCommand(cmd[])
  1493. {
  1494.         return 1;
  1495. }
  1496.  
  1497. public OnPlayerRequestSpawn(playerid)
  1498. {
  1499.         return 1;
  1500. }
  1501.  
  1502. public OnObjectMoved(objectid)
  1503. {
  1504.         return 1;
  1505. }
  1506.  
  1507. public OnPlayerObjectMoved(playerid, objectid)
  1508. {
  1509.         return 1;
  1510. }
  1511.  
  1512. public OnPlayerPickUpPickup(playerid, pickupid)
  1513. {
  1514.         return 1;
  1515. }
  1516.  
  1517. public OnVehicleMod(playerid, vehicleid, componentid)
  1518. {
  1519.         return 1;
  1520. }
  1521.  
  1522. public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
  1523. {
  1524.         return 1;
  1525. }
  1526.  
  1527. public OnVehicleRespray(playerid, vehicleid, color1, color2)
  1528. {
  1529.         return 1;
  1530. }
  1531.  
  1532. public OnPlayerSelectedMenuRow(playerid, row)
  1533. {
  1534.         return 1;
  1535. }
  1536.  
  1537. public OnPlayerExitedMenu(playerid)
  1538. {
  1539.         return 1;
  1540. }
  1541.  
  1542. public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
  1543. {
  1544.         return 1;
  1545. }
  1546.  
  1547. public OnRconLoginAttempt(ip[], password[], success)
  1548. {
  1549.         return 1;
  1550. }
  1551.  
  1552. public OnPlayerUpdate(playerid)
  1553. {
  1554.     if(LaserOn[playerid] == 0)
  1555.         {
  1556.             RemovePlayerAttachedObject(playerid, 1);
  1557.         RemovePlayerAttachedObject(playerid, 2);
  1558.         }
  1559.         if(LaserOn[playerid] == 1)
  1560.     {
  1561.                 if(LaserCor[playerid] == 0)
  1562.                 {
  1563.                         switch(GetPlayerWeapon(playerid))
  1564.                 {
  1565.                                 case 24:
  1566.                                 {
  1567.                                         RemovePlayerAttachedObject(playerid, 2);
  1568.                                         SetPlayerAttachedObject(playerid, 1, 18643, 6, 0.139999, 0.019999, 0.079999, 0.000000, 3.000000, 0.000000, 1.000000, 1.000000, 1.000000);
  1569.                                 }
  1570.                                 case 25:
  1571.                                 {
  1572.                                         RemovePlayerAttachedObject(playerid, 2);
  1573.                                         SetPlayerAttachedObject(playerid, 1, 18643, 6, 0.400000, -0.000000, 0.110000, 0.000000, -9.000000, -6.000000, 1.000000, 1.000000, 1.000000);
  1574.                                 }
  1575.                         case 27:
  1576.                                 {
  1577.                                         RemovePlayerAttachedObject(playerid, 2);
  1578.                                         SetPlayerAttachedObject(playerid, 1, 18643, 6, 0.200000, 0.019999, 0.139999, 0.000000, -8.000000, -6.000000, 1.000000, 1.000000, 1.000000);
  1579.                                 }
  1580.                                 case 30:
  1581.                                 {
  1582.                                         RemovePlayerAttachedObject(playerid, 2);
  1583.                                         SetPlayerAttachedObject(playerid, 1, 18643, 6, 0.200000, 0.010000, 0.089999, 0.000000, -3.000000, -5.000000, 1.000000, 1.000000, 1.000000);
  1584.                                 }
  1585.                                 case 31:
  1586.                                 {
  1587.                                         RemovePlayerAttachedObject(playerid, 2);
  1588.                                         SetPlayerAttachedObject(playerid, 1, 18643, 6, 0.200000, 0.010000, 0.089999, 0.000000, -3.000000, -5.000000, 1.000000, 1.000000, 1.000000);
  1589.                                 }
  1590.                                 case 34:
  1591.                                 {
  1592.                                         RemovePlayerAttachedObject(playerid, 2);
  1593.                                     SetPlayerAttachedObject(playerid, 1, 18643, 6, -0.199999, 0.050000, 0.040000, 0.000000, -7.000000, -5.000000, 1.000000, 1.000000, 1.000000);
  1594.                                 }
  1595.                                 default:
  1596.                                 {
  1597.                     RemovePlayerAttachedObject(playerid, 1);
  1598.                     RemovePlayerAttachedObject(playerid, 2);
  1599.                 }
  1600.                     }
  1601.                 }
  1602.                 if(LaserCor[playerid] == 1)
  1603.                 {
  1604.                         switch(GetPlayerWeapon(playerid))
  1605.                 {
  1606.                                 case 24:
  1607.                                 {
  1608.                                         RemovePlayerAttachedObject(playerid, 2);
  1609.                                         SetPlayerAttachedObject(playerid, 1, 19083, 6, 0.139999, 0.019999, 0.079999, 0.000000, 3.000000, 0.000000, 1.000000, 1.000000, 1.000000);
  1610.                                 }
  1611.                                 case 25:
  1612.                                 {
  1613.                                         RemovePlayerAttachedObject(playerid, 2);
  1614.                                         SetPlayerAttachedObject(playerid, 1, 19083, 6, 0.400000, -0.000000, 0.110000, 0.000000, -9.000000, -6.000000, 1.000000, 1.000000, 1.000000);
  1615.                                 }
  1616.                         case 27:
  1617.                                 {
  1618.                                         RemovePlayerAttachedObject(playerid, 2);
  1619.                                         SetPlayerAttachedObject(playerid, 1, 19083, 6, 0.200000, 0.019999, 0.139999, 0.000000, -8.000000, -6.000000, 1.000000, 1.000000, 1.000000);
  1620.                                 }
  1621.                                 case 30:
  1622.                                 {
  1623.                                         RemovePlayerAttachedObject(playerid, 2);
  1624.                                         SetPlayerAttachedObject(playerid, 1, 19083, 6, 0.200000, 0.010000, 0.089999, 0.000000, -3.000000, -5.000000, 1.000000, 1.000000, 1.000000);
  1625.                                 }
  1626.                                 case 31:
  1627.                                 {
  1628.                                         RemovePlayerAttachedObject(playerid, 2);
  1629.                                         SetPlayerAttachedObject(playerid, 1, 19083, 6, 0.200000, 0.010000, 0.089999, 0.000000, -3.000000, -5.000000, 1.000000, 1.000000, 1.000000);
  1630.                                 }
  1631.                                 case 34:
  1632.                                 {
  1633.                                         RemovePlayerAttachedObject(playerid, 2);
  1634.                                     SetPlayerAttachedObject(playerid, 1, 19083, 6, -0.199999, 0.050000, 0.040000, 0.000000, -7.000000, -5.000000, 1.000000, 1.000000, 1.000000);
  1635.                                 }
  1636.                                 default:
  1637.                                 {
  1638.                     RemovePlayerAttachedObject(playerid, 1);
  1639.                     RemovePlayerAttachedObject(playerid, 2);
  1640.                 }
  1641.                     }
  1642.                 }
  1643.                 if(LaserCor[playerid] == 2)
  1644.                 {
  1645.                         switch(GetPlayerWeapon(playerid))
  1646.                 {
  1647.                                 case 24:
  1648.                                 {
  1649.                                         RemovePlayerAttachedObject(playerid, 2);
  1650.                                         SetPlayerAttachedObject(playerid, 1, 19080, 6, 0.139999, 0.019999, 0.079999, 0.000000, 3.000000, 0.000000, 1.000000, 1.000000, 1.000000);
  1651.                                 }
  1652.                                 case 25:
  1653.                                 {
  1654.                                         RemovePlayerAttachedObject(playerid, 2);
  1655.                                         SetPlayerAttachedObject(playerid, 1, 19080, 6, 0.400000, -0.000000, 0.110000, 0.000000, -9.000000, -6.000000, 1.000000, 1.000000, 1.000000);
  1656.                                 }
  1657.                         case 27:
  1658.                                 {
  1659.                                         RemovePlayerAttachedObject(playerid, 2);
  1660.                                         SetPlayerAttachedObject(playerid, 1, 19080, 6, 0.200000, 0.019999, 0.139999, 0.000000, -8.000000, -6.000000, 1.000000, 1.000000, 1.000000);
  1661.                                 }
  1662.                                 case 30:
  1663.                                 {
  1664.                                         RemovePlayerAttachedObject(playerid, 2);
  1665.                                         SetPlayerAttachedObject(playerid, 1, 19080, 6, 0.200000, 0.010000, 0.089999, 0.000000, -3.000000, -5.000000, 1.000000, 1.000000, 1.000000);
  1666.                                 }
  1667.                                 case 31:
  1668.                                 {
  1669.                                         RemovePlayerAttachedObject(playerid, 2);
  1670.                                         SetPlayerAttachedObject(playerid, 1, 19080, 6, 0.200000, 0.010000, 0.089999, 0.000000, -3.000000, -5.000000, 1.000000, 1.000000, 1.000000);
  1671.                                 }
  1672.                                 case 34:
  1673.                                 {
  1674.                                         RemovePlayerAttachedObject(playerid, 2);
  1675.                                     SetPlayerAttachedObject(playerid, 1, 19080, 6, -0.199999, 0.050000, 0.040000, 0.000000, -7.000000, -5.000000, 1.000000, 1.000000, 1.000000);
  1676.                                 }
  1677.                                 default:
  1678.                                 {
  1679.                     RemovePlayerAttachedObject(playerid, 1);
  1680.                     RemovePlayerAttachedObject(playerid, 2);
  1681.                 }
  1682.                     }
  1683.                 }
  1684.         }
  1685.         return 1;
  1686. }
  1687.  
  1688. public OnPlayerStreamIn(playerid, forplayerid)
  1689. {
  1690.         return 1;
  1691. }
  1692.  
  1693. public OnPlayerStreamOut(playerid, forplayerid)
  1694. {
  1695.         return 1;
  1696. }
  1697.  
  1698. public OnVehicleStreamIn(vehicleid, forplayerid)
  1699. {
  1700.         return 1;
  1701. }
  1702.  
  1703. public OnVehicleStreamOut(vehicleid, forplayerid)
  1704. {
  1705.         return 1;
  1706. }
  1707.  
  1708. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  1709. {
  1710.     new Str[70], Stri[70], Strin[70], String[70];
  1711.         format(Str, 70, "{1E90FF}Informa√ß√Ķes do player {B0C4DE}%s", Nome(clickedplayerid));
  1712.         format(Stri, 70, "{1E90FF}Level: {B0C4DE}%d", GetPlayerScore(clickedplayerid));
  1713.         format(Strin, 70, "{1E90FF}Matou: {B0C4DE}%d", PlayerInfo[clickedplayerid][Matou]);
  1714.         format(String, 70, "{1E90FF}Morreu: {B0C4DE}%d", PlayerInfo[clickedplayerid][Morreu]);
  1715.         SendClientMessage(playerid, -1, Str);
  1716.         SendClientMessage(playerid, -1, Stri);
  1717.         SendClientMessage(playerid, -1, Strin);
  1718.         SendClientMessage(playerid, -1, String);
  1719.         return 1;
  1720. }
  1721.  
  1722. /*      CreatePickup(1275, 0, -2177.2056,718.3109,53.8912, -1); // MAFIA VEST
  1723.         CreatePickup(1275, 0, -2141.1375,-125.0661,36.6880, -1); // TRIAD VEST
  1724.         CreatePickup(1275, 0, -1522.1389,481.4641,7.1875, -1); // SWAT VEST
  1725.         CreatePickup(1275, 0, -2669.4946,1433.5911,7.0938, -1); // BOYS VEST
  1726.         CreatePickup(1275, 0, -2510.8689,777.1066,35.1719, -1); // RIFAS VEST
  1727.         CreatePickup(1275, 0, -1715.8188,1018.4985,17.9178, -1); // FBI VEST
  1728.         CreatePickup(348, 0, -2534.9385,52.2758,16.3554, -1); // LOJA DE ARMAS
  1729. */
  1730. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  1731. {
  1732.     if ((newkeys==KEY_SECONDARY_ATTACK)) // Key ( F / Enter )
  1733.     {
  1734.                 //VEST MAFIA
  1735.         if(IsPlayerInRangeOfPoint(playerid, 3.0, -2177.2056,718.3109,53.8912))
  1736.         {
  1737.             ShowPlayerDialog(playerid, VEST_MAFIA, DIALOG_STYLE_LIST, "Vestiaio Mafia", "Skin 1 \nSkin 2 \nSkin 3", "Escolher", "Cancelar");
  1738.                 }
  1739.                 //VEST TRIAD
  1740.                 if(IsPlayerInRangeOfPoint(playerid, 3.0, -2141.1375,-125.0661,36.6880))
  1741.         {
  1742.             ShowPlayerDialog(playerid, VEST_TRIAD, DIALOG_STYLE_LIST, "Vestiario Triads", "Terno 1 \nTerno 2 \nTerno 3", "Escolher", "Cancelar");
  1743.                 }
  1744.                 //VEST SWAT
  1745.                 if(IsPlayerInRangeOfPoint(playerid, 3.0, -1522.1389,481.4641,7.1875))
  1746.         {
  1747.             ShowPlayerDialog(playerid, VEST_SWAT, DIALOG_STYLE_LIST, "Vestiaio Swat", "Tatico \nRondas e Outros", "Escolher", "Cancelar");
  1748.                 }
  1749.                 //VEST BOYS
  1750.                 if(IsPlayerInRangeOfPoint(playerid, 3.0, -2669.4946,1433.5911,7.0938))
  1751.         {
  1752.             ShowPlayerDialog(playerid, VEST_BOYS, DIALOG_STYLE_LIST, "Vestiaio Da NangBoys", "Gangster 1 \nGangster 2 \nGangster 3", "Escolher", "Cancelar");
  1753.                 }
  1754.                 //VEST RIFAS
  1755.                 if(IsPlayerInRangeOfPoint(playerid, 3.0, -2510.8689,777.1066,35.1719))
  1756.         {
  1757.             ShowPlayerDialog(playerid, VEST_RIFAS, DIALOG_STYLE_LIST, "Vestiario SF Rifas", "Gangster 1 \nGangster 2 \nGangster 3", "Escolher", "Cancelar");
  1758.                 }
  1759.                 //VEST FBI
  1760.                 if(IsPlayerInRangeOfPoint(playerid, 3.0, -1715.8188,1018.4985,17.9178))
  1761.         {
  1762.             ShowPlayerDialog(playerid, VEST_FBI, DIALOG_STYLE_LIST, "Vestiario FBI", "Terno 1 \nTerno 2 \nPadr√£o", "Escolher", "Cancelar");
  1763.                 }
  1764.                 //LOJA DE ARMAS
  1765.                 if(IsPlayerInRangeOfPoint(playerid, 3.0, -2534.9385,52.2758,16.3554))
  1766.         {
  1767.             ShowPlayerDialog(playerid, LOJA_ARMAS, DIALOG_STYLE_LIST, "Loja de Armas", "{FFFFFF}Combat Shotgun{228B22} $1.500 \n{FFFFFF}Dildo{228B22} $500 \n{FFFFFF}AK47{228B22} $1.200 \n{FFFFFF}M4{228B22} $1.500 \n{FFFFFF}Sniper{228B22} $2.000 \n{FFFFFF}Colete{228B22} $1.000\n{FFFFFF}Laser Eterno{228B22} $5.000 {FF0000}NOVIDADE!","Comprar", "Cancelar");
  1768.                 }
  1769.     }
  1770.         return 1;
  1771. }
  1772.    
  1773. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  1774. {
  1775.     if(dialogid == DIALOG_LASER)
  1776.     {
  1777.         if(response)
  1778.         {
  1779.             if(listitem == 0) // ATIVAR
  1780.             {
  1781.                 LaserOn[playerid] = 1;
  1782.             }
  1783.             if(listitem == 1) // DESATIVAR
  1784.             {
  1785.                 LaserOn[playerid] = 0;
  1786.             }
  1787.             if(listitem == 2) // COR VERMELHO
  1788.             {
  1789.                 LaserCor[playerid] = 0;
  1790.             }
  1791.             if(listitem == 3) // COR VERDE
  1792.             {
  1793.                 LaserCor[playerid] = 1;
  1794.             }
  1795.             if(listitem == 4) // COR AZUL
  1796.             {
  1797.                 LaserCor[playerid] = 2;
  1798.             }
  1799.                 }
  1800.         }
  1801.         if(dialogid == DIALOG_GPS)
  1802.     {
  1803.         if(response)
  1804.         {
  1805.             if(listitem == 0)
  1806.             {
  1807.                 SetPlayerCheckpoint(playerid, -2534.9385,52.2758,16.3554, 10.0);
  1808.                 PlayerGPS[playerid] = 1;
  1809.             }
  1810.             if(listitem == 1)
  1811.             {
  1812.                 SetPlayerCheckpoint(playerid, -1560.2109,716.5993,7.1875, 10.0);
  1813.                 PlayerGPS[playerid] = 1;
  1814.             }
  1815.             if(listitem == 2)
  1816.             {
  1817.                 SetPlayerCheckpoint(playerid, -2295.2844,534.2556,35.7860, 10.0);
  1818.                 PlayerGPS[playerid] = 1;
  1819.             }
  1820.             if(listitem == 3)
  1821.             {
  1822.                 SetPlayerCheckpoint(playerid, -2368.9785,155.0639,35.3125, 10.0);
  1823.                 PlayerGPS[playerid] = 1;
  1824.             }
  1825.             if(listitem == 4)
  1826.             {
  1827.                 SetPlayerCheckpoint(playerid, -2752.9785,370.7349,4.5883, 10.0);
  1828.                 PlayerGPS[playerid] = 1;
  1829.             }
  1830.             if(listitem == 5)
  1831.             {
  1832.                 SetPlayerCheckpoint(playerid, -2101.5864,218.7448,35.9925, 10.0);
  1833.                 PlayerGPS[playerid] = 1;
  1834.             }
  1835.             if(listitem == 6)
  1836.             {
  1837.                 SetPlayerCheckpoint(playerid, -2106.0803,1404.8732,7.1016, 10.0);
  1838.                 PlayerGPS[playerid] = 1;
  1839.             }
  1840.             if(listitem == 7)
  1841.             {
  1842.                 SetPlayerCheckpoint(playerid, -1699.1555,1390.6667,7.1797, 10.0);
  1843.                 PlayerGPS[playerid] = 1;
  1844.             }
  1845.             if(listitem == 8)
  1846.             {
  1847.                 if(PlayerGPS[playerid] == 0) return SendClientMessage(playerid, ERRO, "ERRO: Seu GPS Ja esta Desligado");
  1848.                 DisablePlayerCheckpoint(playerid);
  1849.                 PlayerGPS[playerid] = 0;
  1850.             }
  1851.         }
  1852.     }
  1853.         if(dialogid == VEST_MAFIA)
  1854.     {
  1855.         if(response)
  1856.         {
  1857.             if(listitem == 0)
  1858.             {
  1859.                 SetPlayerSkin(playerid, 112);
  1860.             }
  1861.             if(listitem == 1)
  1862.             {
  1863.                 SetPlayerSkin(playerid, 125);
  1864.             }
  1865.             if(listitem == 2)
  1866.             {
  1867.                 SetPlayerSkin(playerid, 126);
  1868.             }
  1869.         }
  1870.     }
  1871.     if(dialogid == VEST_TRIAD)
  1872.     {
  1873.         if(response)
  1874.         {
  1875.             if(listitem == 0)
  1876.             {
  1877.                 SetPlayerSkin(playerid, 117);
  1878.             }
  1879.             if(listitem == 1)
  1880.             {
  1881.                 SetPlayerSkin(playerid, 120);
  1882.             }
  1883.             if(listitem == 2)
  1884.             {
  1885.                 SetPlayerSkin(playerid, 294);
  1886.             }
  1887.         }
  1888.     }
  1889.     if(dialogid == VEST_SWAT)
  1890.     {
  1891.         if(response)
  1892.         {
  1893.             if(listitem == 0)
  1894.             {
  1895.                 SetPlayerSkin(playerid, 285);
  1896.             }
  1897.             if(listitem == 1)
  1898.             {
  1899.                 SetPlayerSkin(playerid, 281);
  1900.             }
  1901.         }
  1902.     }
  1903.     if(dialogid == VEST_BOYS)
  1904.     {
  1905.         if(response)
  1906.         {
  1907.             if(listitem == 0)
  1908.             {
  1909.                 SetPlayerSkin(playerid, 121);
  1910.             }
  1911.             if(listitem == 1)
  1912.             {
  1913.                 SetPlayerSkin(playerid, 122);
  1914.             }
  1915.             if(listitem == 2)
  1916.             {
  1917.                 SetPlayerSkin(playerid, 123);
  1918.             }
  1919.         }
  1920.     }
  1921.     if(dialogid == VEST_RIFAS)
  1922.     {
  1923.         if(response)
  1924.         {
  1925.             if(listitem == 0)
  1926.             {
  1927.                 SetPlayerSkin(playerid, 173);
  1928.             }
  1929.             if(listitem == 1)
  1930.             {
  1931.                 SetPlayerSkin(playerid, 174);
  1932.             }
  1933.             if(listitem == 2)
  1934.             {
  1935.                 SetPlayerSkin(playerid, 175);
  1936.             }
  1937.         }
  1938.     }
  1939.     if(dialogid == VEST_FBI)
  1940.     {
  1941.         if(response)
  1942.         {
  1943.             if(listitem == 0)
  1944.             {
  1945.                 SetPlayerSkin(playerid, 165);
  1946.             }
  1947.             if(listitem == 1)
  1948.             {
  1949.                 SetPlayerSkin(playerid, 166);
  1950.             }
  1951.             if(listitem == 2)
  1952.             {
  1953.                 SetPlayerSkin(playerid, 286);
  1954.             }
  1955.         }
  1956.     }
  1957.     if(dialogid == LOJA_ARMAS)
  1958.     {
  1959.         if(response)
  1960.         {
  1961.             if(listitem == 0)
  1962.             {
  1963.                 if(GetPlayerMoney(playerid) < 1500) return SendClientMessage(playerid,VERMELHO, "Voc√™ n√£o tem essa grana.");
  1964.                 GivePlayerWeapon(playerid, 27, 500);
  1965.                 SendClientMessage(playerid,CORSERVER, "Voc√™ comprou uma {FFFFFF}Combat Shotgun!");
  1966.                 GivePlayerMoney(playerid, -1500);
  1967.             }
  1968.             if(listitem == 1)
  1969.             {
  1970.                 if(GetPlayerMoney(playerid) < 500) return SendClientMessage(playerid,VERMELHO, "Voc√™ n√£o tem essa grana.");
  1971.                 GivePlayerWeapon(playerid, 10, 500);
  1972.                 SendClientMessage(playerid,CORSERVER, "Voc√™ comprou um {FFFFFF}Dildo!");
  1973.                 GivePlayerMoney(playerid, -1000);
  1974.             }
  1975.             if(listitem == 2)
  1976.             {
  1977.                 if(GetPlayerMoney(playerid) < 1200) return SendClientMessage(playerid,VERMELHO, "Voc√™ n√£o tem essa grana.");
  1978.                 GivePlayerWeapon(playerid, 30, 500);
  1979.                 SendClientMessage(playerid,CORSERVER, "Voc√™ comprou uma {FFFFFF}AK47!");
  1980.                 GivePlayerMoney(playerid, -1200);
  1981.             }
  1982.             if(listitem == 3)
  1983.             {
  1984.                 if(GetPlayerMoney(playerid) < 1500) return SendClientMessage(playerid,VERMELHO, "Voc√™ n√£o tem essa grana.");
  1985.                 GivePlayerWeapon(playerid, 31, 500);
  1986.                 SendClientMessage(playerid,VERMELHO, "Voc√™ comprou uma {FFFFFF}M4!");
  1987.                 GivePlayerMoney(playerid, -1500);
  1988.             }
  1989.             if(listitem == 4)
  1990.             {
  1991.                 if(GetPlayerMoney(playerid) < 2000) return SendClientMessage(playerid,VERMELHO, "Voc√™ n√£o tem essa grana.");
  1992.                 GivePlayerWeapon(playerid, 34, 500);
  1993.                 SendClientMessage(playerid,CORSERVER, "Voc√™ comprou uma {FFFFFF}Sniper!");
  1994.                 GivePlayerMoney(playerid, -2000);
  1995.             }
  1996.             if(listitem == 5)
  1997.             {
  1998.                 if(GetPlayerMoney(playerid) < 1000) return SendClientMessage(playerid,VERMELHO, "Voc√™ n√£o tem essa grana.");
  1999.                 SetPlayerArmour(playerid, 100);
  2000.                 SendClientMessage(playerid,CORSERVER, "Voc√™ comprou um {FFFFFF}Colete!");
  2001.                 GivePlayerMoney(playerid, -1000);
  2002.             }
  2003.             if(listitem == 6)
  2004.             {
  2005.                                 if(PlayerInfo[playerid][Laser] == 1) return SendClientMessage(playerid,VERMELHO, "ERRO: Voc√™ Ja Comprou um Laser, use {FFFFFF} /LASER");
  2006.                 if(GetPlayerMoney(playerid) < 5000) return SendClientMessage(playerid,VERMELHO, "Voc√™ n√£o tem essa grana.");
  2007.                 PlayerInfo[playerid][Laser] = 1;
  2008.                 SendClientMessage(playerid,CORSERVER, "Voc√™ comprou um {FFFFFF}Laser Eterno!{1E90FF} [/laser]");
  2009.                 GivePlayerMoney(playerid, -5000);
  2010.             }
  2011.         }
  2012.     }
  2013.         if(dialogid == DIALOG_REGISTRO)
  2014.         {
  2015.                 if(response)
  2016.                 {
  2017.                         if(!strlen(inputtext))
  2018.                         {
  2019.                                 new String[100];
  2020.                                 format(String, sizeof(String), "Ol√° %s voc√™ ainda n√£o tem uma conta, \nDigite uma senha para continuar:",Nome(playerid));
  2021.                                 ShowPlayerDialog(playerid, DIALOG_REGISTRO, DIALOG_STYLE_INPUT, "Registro", String, "Registrar", "Cancelar");
  2022.                                 SendClientMessage(playerid, VERMELHO,"Senha invalida, digite uma senha v√°lida");
  2023.                                 return 1;
  2024.                         }
  2025.                         DOF2_CreateFile(Contas(playerid));
  2026.             DOF2_SetString(Contas(playerid),"Senha",inputtext);
  2027.             DOF2_SetInt(Contas(playerid),"Admin", 0);
  2028.             DOF2_SetInt(Contas(playerid),"FBI", 0);
  2029.             DOF2_SetInt(Contas(playerid),"Matou", 0);
  2030.                 DOF2_SetInt(Contas(playerid),"Morreu", 0);
  2031.                 DOF2_SetInt(Contas(playerid),"SWAT", 0);
  2032.             DOF2_SetInt(Contas(playerid),"Rifa", 0);
  2033.             DOF2_SetInt(Contas(playerid),"Triads", 0);
  2034.                 DOF2_SetInt(Contas(playerid),"Boys", 0);
  2035.             DOF2_SetInt(Contas(playerid),"Mafia", 0);
  2036.             DOF2_SetInt(Contas(playerid),"Dinheiro", 0);
  2037.             DOF2_SetInt(Contas(playerid),"Score", 0);
  2038.             DOF2_SetInt(Contas(playerid),"Laser", 0);
  2039.                 DOF2_SaveFile();
  2040.                         GivePlayerMoney(playerid,1500); // Dando R$ 1.500 ao registrar
  2041.                         Logado[playerid] = 1;
  2042.                         ShowPlayerDialog(playerid, DIALOG_ORG, DIALOG_STYLE_LIST, "Escolha sua Gang", "{696969}M{FFFFFF}afia\n{8B4726}T{FFFFFF}riads\n{B22222}Da {FFFFFF}Nang Boys\n{87CEEB}San {FFFFFF}Fierro Rifa", "Escolher", "");
  2043.                         new string[128];
  2044.                         format(string, sizeof(string),"[Informa√ß√£o] Sua conta foi registrada com a senha %s, guarde bem ela!",inputtext);
  2045.                         SendClientMessage(playerid,VERDE, string);
  2046.                 }
  2047.                 else
  2048.                 {
  2049.                         SendClientMessage(playerid, VERMELHO, "Voc√™ n√£o quis se registrar, por este motivo foi kickado.");
  2050.                         Kick(playerid);
  2051.                 }
  2052.                 return 1;
  2053.         }
  2054.         if(dialogid == DIALOG_LOGAR)
  2055.         {
  2056.                 if(response)
  2057.                 {
  2058.                         if(!strlen(inputtext))
  2059.                         {
  2060.                                 new String[100];
  2061.                                 format(String, sizeof(String), "Ol√° %s voc√™ j√° tem uma conta, \nDigite sua senha para continuar:",Nome(playerid));
  2062.                                 ShowPlayerDialog(playerid, DIALOG_LOGAR, DIALOG_STYLE_INPUT, "Login", String, "Logar", "Cancelar");
  2063.                                 SendClientMessage(playerid, VERMELHO,"Senha incorreta digite-a novamente.");
  2064.                                 return 1;
  2065.                         }
  2066.                         if(!strcmp(inputtext,DOF2_GetString(Contas(playerid),"Senha"),false))
  2067.                         {
  2068.                                 GivePlayerMoney(playerid, DOF2_GetInt(Contas(playerid),"Dinheiro"));
  2069.                 SetPlayerScore(playerid, DOF2_GetInt(Contas(playerid),"Score"));
  2070.                 PlayerInfo[playerid][Admin] = DOF2_GetInt(Contas(playerid), "Admin");
  2071.                 PlayerInfo[playerid][Matou] = DOF2_GetInt(Contas(playerid), "Matou");
  2072.                 PlayerInfo[playerid][Morreu] = DOF2_GetInt(Contas(playerid), "Morreu");
  2073.                 PlayerInfo[playerid][Mafia] = DOF2_GetInt(Contas(playerid), "Mafia");
  2074.                 PlayerInfo[playerid][Triads] = DOF2_GetInt(Contas(playerid), "Triads");
  2075.                 PlayerInfo[playerid][Boys] = DOF2_GetInt(Contas(playerid), "Boys");
  2076.                 PlayerInfo[playerid][FBI] = DOF2_GetInt(Contas(playerid), "FBI");
  2077.                 PlayerInfo[playerid][Rifa] = DOF2_GetInt(Contas(playerid), "Rifa");
  2078.                 PlayerInfo[playerid][SWAT] = DOF2_GetInt(Contas(playerid), "SWAT");
  2079.                 PlayerInfo[playerid][Laser] = DOF2_GetInt(Contas(playerid), "Laser");
  2080.                                 Logado[playerid] = 1;
  2081.                                 new str[70];
  2082.                                 format(str, sizeof(str), "Bem Vindo Novamente {B0C4DE}%s", Nome(playerid));
  2083.                 SendClientMessage(playerid, CORSERVER, str);
  2084.  
  2085.                                 if(PlayerInfo[playerid][Admin] >= 1)
  2086.                                 {
  2087.                                         new string[128];
  2088.                                         format(string, sizeof(string),"Administrador:{B0C4DE} Level %d", PlayerInfo[playerid][Admin]);
  2089.                                         SendClientMessage(playerid, CORSERVER, string);
  2090.                                 }
  2091.                                 if(PlayerInfo[playerid][Boys] >= 1)
  2092.                                 {
  2093.                                         new string[128];
  2094.                                         format(string, sizeof(string),"Da Nang Boys:{B0C4DE} Level %d", PlayerInfo[playerid][Boys]);
  2095.                                         SendClientMessage(playerid, CORSERVER, string);
  2096.                                 }
  2097.                                 if(PlayerInfo[playerid][Rifa] >= 1)
  2098.                                 {
  2099.                                         new string[128];
  2100.                                         format(string, sizeof(string),"SF:{B0C4DE} Level %d", PlayerInfo[playerid][Rifa]);
  2101.                                         SendClientMessage(playerid, CORSERVER, string);
  2102.                                 }
  2103.                                 if(PlayerInfo[playerid][Mafia] >= 1)
  2104.                                 {
  2105.                                         new string[128];
  2106.                                         format(string, sizeof(string),"Mafia:{B0C4DE} Level %d", PlayerInfo[playerid][Mafia]);
  2107.                                         SendClientMessage(playerid, CORSERVER, string);
  2108.                                 }
  2109.                                 if(PlayerInfo[playerid][Triads] >= 1)
  2110.                                 {
  2111.                                         new string[128];
  2112.                                         format(string, sizeof(string),"Triad:{B0C4DE} Level %d", PlayerInfo[playerid][Triads]);
  2113.                                         SendClientMessage(playerid, CORSERVER, string);
  2114.                                 }
  2115.                                 if(PlayerInfo[playerid][SWAT] >= 1)
  2116.                                 {
  2117.                                         new string[128];
  2118.                                         format(string, sizeof(string),"SWAT:{B0C4DE} Level %d", PlayerInfo[playerid][SWAT]);
  2119.                                         SendClientMessage(playerid, CORSERVER, string);
  2120.                                 }
  2121.                                 if(PlayerInfo[playerid][FBI] >= 1)
  2122.                                 {
  2123.                                         new string[128];
  2124.                                         format(string, sizeof(string),"FBI:{B0C4DE} Level %d", PlayerInfo[playerid][FBI]);
  2125.                                         SendClientMessage(playerid, CORSERVER, string);
  2126.                                 }
  2127.                             return 1;
  2128.                         }
  2129.                         else
  2130.                         {
  2131.                                 new String[128];
  2132.                                 SendClientMessage(playerid, VERMELHO,"Senha incorreta digite-a novamente.");
  2133.                                 format(String, sizeof(String), "Ol√° %s voc√™ j√° tem uma conta, \nDigite sua senha para continuar:",Nome(playerid));
  2134.                                 ShowPlayerDialog(playerid, DIALOG_LOGAR, DIALOG_STYLE_INPUT, "Login", String, "Logar", "Cancelar");
  2135.                         }
  2136.                         return 1;
  2137.                 }
  2138.                 else
  2139.                 {
  2140.                         SendClientMessage(playerid, VERMELHO, "Voc√™ n√£o quis se logar, por este motivo foi kickado.");
  2141.                         Kick(playerid);
  2142.                 }
  2143.                 return 1;
  2144.      }
  2145.     if(dialogid == DIALOG_ORG)
  2146.     {
  2147.         if(response)
  2148.         {
  2149.             if(listitem == 0)
  2150.             {
  2151.                 PlayerInfo[playerid][Mafia] = 1;
  2152.                 SendClientMessage(playerid, COR_MAFIA, "Voc√™ escolheu ser da Mafia!");
  2153.                 SpawnPlayer(playerid);
  2154.             }
  2155.             if(listitem == 1)
  2156.             {
  2157.                 PlayerInfo[playerid][Triads] = 1;
  2158.                 SendClientMessage(playerid, COR_TRIADS, "Voc√™ escolheu ser da Triad!");
  2159.                 SpawnPlayer(playerid);
  2160.             }
  2161.             if(listitem == 2)
  2162.             {
  2163.                 PlayerInfo[playerid][Boys] = 1;
  2164.                 SendClientMessage(playerid, COR_BOYS, "Voc√™ escolheu ser um Da Nang Boys!");
  2165.                 SpawnPlayer(playerid);
  2166.             }
  2167.             if(listitem == 3)
  2168.             {
  2169.                 PlayerInfo[playerid][Rifa] = 1;
  2170.                 SendClientMessage(playerid, COR_RIFA, "Voc√™ escolheu ser da San Fierro Rifa!");
  2171.                 SpawnPlayer(playerid);
  2172.             }
  2173.         }
  2174.         else
  2175.         {
  2176.             ShowPlayerDialog(playerid, DIALOG_ORG, DIALOG_STYLE_LIST, "Escolha sua Gang", "{696969}M{FFFFFF}afia\n{8B4726}T{FFFFFF}riads\n{B22222}Da {FFFFFF}Nang Boys\n{87CEEB}San {FFFFFF}Fierro Rifa", "Escolher", "");
  2177.         }
  2178.         return 1;
  2179.     }
  2180.     if(dialogid == DIALOG_MUDAR)
  2181.     {
  2182.         if(response)
  2183.         {
  2184.             if(listitem == 0)
  2185.             {
  2186.                                 if(PlayerInfo[playerid][Mafia] >= 1) return Scm(pid, COR_ERRO, "[ERRO] Voc√™ ja √© da Mafia !");
  2187.                 PlayerInfo[playerid][Mafia] = 1;
  2188.                 SendClientMessage(playerid, COR_MAFIA, "Voc√™ escolheu ser da Mafia!");
  2189.                 SetPlayerHealth(playerid, 0);
  2190.             }
  2191.             if(listitem == 1)
  2192.             {
  2193.                 if(PlayerInfo[playerid][Triads] >= 1) return Scm(pid, COR_ERRO, "[ERRO] Voc√™ ja √© dos Triads !");
  2194.                 PlayerInfo[playerid][Triads] = 1;
  2195.                 SendClientMessage(playerid, COR_TRIADS, "Voc√™ escolheu ser da Triad!");
  2196.                 SetPlayerHealth(playerid, 0);
  2197.             }
  2198.             if(listitem == 2)
  2199.             {
  2200.                 if(PlayerInfo[playerid][Boys] >= 1) return Scm(pid, COR_ERRO, "[ERRO] Voc√™ ja √© um Da Nang Boys !");
  2201.                 PlayerInfo[playerid][Boys] = 1;
  2202.                 SendClientMessage(playerid, COR_BOYS, "Voc√™ escolheu ser um Da Nang Boys!");
  2203.                 SetPlayerHealth(playerid, 0);
  2204.             }
  2205.             if(listitem == 3)
  2206.             {
  2207.                 if(PlayerInfo[playerid][Rifa] >= 1) return Scm(pid, COR_ERRO, "[ERRO] Voc√™ ja √© um San Fierro Rifa !");
  2208.                 PlayerInfo[playerid][Rifa] = 1;
  2209.                 SendClientMessage(playerid, COR_RIFA, "Voc√™ escolheu ser da San Fierro Rifa!");
  2210.                 SetPlayerHealth(playerid, 0);
  2211.             }
  2212.         }
  2213.         return 1;
  2214.     }
  2215.  
  2216.     if(dialogid == DIALOG_TEMPO)
  2217.     {
  2218.                 if(response)
  2219.                 {
  2220.                         if(listitem == 0)
  2221.                         {
  2222.                          SetWorldTime(1);
  2223.              new cargos[20], string[100];
  2224.              if(PlayerInfo[playerid][Admin] == 1) { cargos = "Moderador"; }
  2225.              if(PlayerInfo[playerid][Admin] == 2) { cargos = "Administrador"; }
  2226.              if(PlayerInfo[playerid][Admin] == 3) { cargos = "Administrador"; }
  2227.              if(PlayerInfo[playerid][Admin] == 4) { cargos = "Sub Game Master"; }
  2228.              if(PlayerInfo[playerid][Admin] == 5) { cargos = "Game Master"; }
  2229.              format(string, sizeof(string), "[SFW.Adm] %s %s mudou o tempo para 01:00.", cargos, Nome(playerid));
  2230.              SendClientMessageToAll(COR_ADM, string);
  2231.                         }
  2232.                         if(listitem == 1)
  2233.                         {
  2234.              SetWorldTime(2);
  2235.              new cargos[64], string[128];
  2236.              if(PlayerInfo[playerid][Admin] == 1) { cargos = "Moderador"; }
  2237.              if(PlayerInfo[playerid][Admin] == 2) { cargos = "Administrador"; }
  2238.              if(PlayerInfo[playerid][Admin] == 3) { cargos = "Administrador"; }
  2239.              if(PlayerInfo[playerid][Admin] == 4) { cargos = "Sub Game Master"; }
  2240.              if(PlayerInfo[playerid][Admin] == 5) { cargos = "Game Master"; }
  2241.              format(string, sizeof(string), "[SFW.Adm] %s %s mudou o tempo para 02:00.", cargos, Nome(playerid));
  2242.              SendClientMessageToAll(COR_ADM, string);
  2243.                         }
  2244.  
  2245.             if(listitem == 2)
  2246.                         {
  2247.                          SetWorldTime(3);
  2248.              new cargos[20], string[100];
  2249.              if(PlayerInfo[playerid][Admin] == 1) { cargos = "Moderador"; }
  2250.              if(PlayerInfo[playerid][Admin] == 2) { cargos = "Administrador"; }
  2251.              if(PlayerInfo[playerid][Admin] == 3) { cargos = "Administrador"; }
  2252.              if(PlayerInfo[playerid][Admin] == 4) { cargos = "Sub Game Master"; }
  2253.              if(PlayerInfo[playerid][Admin] == 5) { cargos = "Game Master"; }
  2254.              format(string, sizeof(string), "[SFW.Adm] %s %s mudou o tempo para 03:00.", cargos, Nome(playerid));
  2255.              SendClientMessageToAll(COR_ADM, string);
  2256.                         }
  2257.                         if(listitem == 3)
  2258.                         {
  2259.                          SetWorldTime(4);
  2260.              new cargos[20], string[100];
  2261.              if(PlayerInfo[playerid][Admin] == 1) { cargos = "Moderador"; }
  2262.              if(PlayerInfo[playerid][Admin] == 2) { cargos = "Administrador"; }
  2263.              if(PlayerInfo[playerid][Admin] == 3) { cargos = "Administrador"; }
  2264.              if(PlayerInfo[playerid][Admin] == 4) { cargos = "Sub Game Master"; }
  2265.              if(PlayerInfo[playerid][Admin] == 5) { cargos = "Game Master"; }
  2266.              format(string, sizeof(string), "[SFW.Adm] %s %s mudou o tempo para 04:00.", cargos, Nome(playerid));
  2267.              SendClientMessageToAll(COR_ADM, string);
  2268.                         }
  2269.                         if(listitem == 4)
  2270.                         {
  2271.                          SetWorldTime(5);
  2272.              new cargos[20], string[100];
  2273.              if(PlayerInfo[playerid][Admin] == 1) { cargos = "Moderador"; }
  2274.              if(PlayerInfo[playerid][Admin] == 2) { cargos = "Administrador"; }
  2275.              if(PlayerInfo[playerid][Admin] == 3) { cargos = "Administrador"; }
  2276.              if(PlayerInfo[playerid][Admin] == 4) { cargos = "Sub Game Master"; }
  2277.              if(PlayerInfo[playerid][Admin] == 5) { cargos = "Game Master"; }
  2278.              format(string, sizeof(string), "[SFW.Adm] %s %s mudou o tempo para 05:00.", cargos, Nome(playerid));
  2279.              SendClientMessageToAll(COR_ADM, string);
  2280.                         }
  2281.                         if(listitem == 5)
  2282.                         {
  2283.                          SetWorldTime(6);
  2284.              new cargos[20], string[100];
  2285.              if(PlayerInfo[playerid][Admin] == 1) { cargos = "Moderador"; }
  2286.              if(PlayerInfo[playerid][Admin] == 2) { cargos = "Administrador"; }
  2287.              if(PlayerInfo[playerid][Admin] == 3) { cargos = "Administrador"; }
  2288.              if(PlayerInfo[playerid][Admin] == 4) { cargos = "Sub Game Master"; }
  2289.              if(PlayerInfo[playerid][Admin] == 5) { cargos = "Game Master"; }
  2290.              format(string, sizeof(string), "[SFW.Adm] %s %s mudou o tempo para 06:00.", cargos, Nome(playerid));
  2291.              SendClientMessageToAll(COR_ADM, string);
  2292.                         }
  2293.                         if(listitem == 6)
  2294.                         {
  2295.                          SetWorldTime(7);
  2296.              new cargos[20], string[100];
  2297.              if(PlayerInfo[playerid][Admin] == 1) { cargos = "Moderador"; }
  2298.              if(PlayerInfo[playerid][Admin] == 2) { cargos = "Administrador"; }
  2299.              if(PlayerInfo[playerid][Admin] == 3) { cargos = "Administrador"; }
  2300.              if(PlayerInfo[playerid][Admin] == 4) { cargos = "Sub Game Master"; }
  2301.              if(PlayerInfo[playerid][Admin] == 5) { cargos = "Game Master"; }
  2302.              format(string, sizeof(string), "[SFW.Adm] %s %s mudou o tempo para 07:00.", cargos, Nome(playerid));
  2303.              SendClientMessageToAll(COR_ADM, string);
  2304.                         }
  2305.                         if(listitem == 7)
  2306.                         {
  2307.              SetWorldTime(8);
  2308.              new cargos[64], string[128];
  2309.              if(PlayerInfo[playerid][Admin] == 1) { cargos = "Moderador"; }
  2310.              if(PlayerInfo[playerid][Admin] == 2) { cargos = "Administrador"; }
  2311.              if(PlayerInfo[playerid][Admin] == 3) { cargos = "Administrador"; }
  2312.              if(PlayerInfo[playerid][Admin] == 4) { cargos = "Sub Game Master"; }
  2313.              if(PlayerInfo[playerid][Admin] == 5) { cargos = "Game Master"; }
  2314.              format(string, sizeof(string), "[SFW.Adm] %s %s mudou o tempo para 08:00.", cargos, Nome(playerid));
  2315.              SendClientMessageToAll(COR_ADM, string);
  2316.                         }
  2317.  
  2318.             if(listitem == 8)
  2319.                         {
  2320.                          SetWorldTime(9);
  2321.              new cargos[20], string[100];
  2322.              if(PlayerInfo[playerid][Admin] == 1) { cargos = "Moderador"; }
  2323.              if(PlayerInfo[playerid][Admin] == 2) { cargos = "Administrador"; }
  2324.              if(PlayerInfo[playerid][Admin] == 3) { cargos = "Administrador"; }
  2325.              if(PlayerInfo[playerid][Admin] == 4) { cargos = "Sub Game Master"; }
  2326.              if(PlayerInfo[playerid][Admin] == 5) { cargos = "Game Master"; }
  2327.              format(string, sizeof(string), "[SFW.Adm] %s %s mudou o tempo para 09:00.", cargos, Nome(playerid));
  2328.              SendClientMessageToAll(COR_ADM, string);
  2329.                         }
  2330.                         if(listitem == 9)
  2331.                         {
  2332.                          SetWorldTime(10);
  2333.              new cargos[20], string[100];
  2334.              if(PlayerInfo[playerid][Admin] == 1) { cargos = "Moderador"; }
  2335.              if(PlayerInfo[playerid][Admin] == 2) { cargos = "Administrador"; }
  2336.              if(PlayerInfo[playerid][Admin] == 3) { cargos = "Administrador"; }
  2337.              if(PlayerInfo[playerid][Admin] == 4) { cargos = "Sub Game Master"; }
  2338.              if(PlayerInfo[playerid][Admin] == 5) { cargos = "Game Master"; }
  2339.              format(string, sizeof(string), "[SFW.Adm] %s %s mudou o tempo para 10:00.", cargos, Nome(playerid));
  2340.              SendClientMessageToAll(COR_ADM, string);
  2341.                         }
  2342.                         if(listitem == 10)
  2343.                         {
  2344.                          SetWorldTime(11);
  2345.              new cargos[20], string[100];
  2346.              if(PlayerInfo[playerid][Admin] == 1) { cargos = "Moderador"; }
  2347.              if(PlayerInfo[playerid][Admin] == 2) { cargos = "Administrador"; }
  2348.              if(PlayerInfo[playerid][Admin] == 3) { cargos = "Administrador"; }
  2349.              if(PlayerInfo[playerid][Admin] == 4) { cargos = "Sub Game Master"; }
  2350.              if(PlayerInfo[playerid][Admin] == 5) { cargos = "Game Master"; }
  2351.              format(string, sizeof(string), "[SFW.Adm] %s %s mudou o tempo para 11:00.", cargos, Nome(playerid));
  2352.              SendClientMessageToAll(COR_ADM, string);
  2353.                         }
  2354.                         if(listitem == 11)
  2355.                         {
  2356.                          SetWorldTime(12);
  2357.              new cargos[20], string[100];
  2358.              if(PlayerInfo[playerid][Admin] == 1) { cargos = "Moderador"; }
  2359.              if(PlayerInfo[playerid][Admin] == 2) { cargos = "Administrador"; }
  2360.              if(PlayerInfo[playerid][Admin] == 3) { cargos = "Administrador"; }
  2361.              if(PlayerInfo[playerid][Admin] == 4) { cargos = "Sub Game Master"; }
  2362.              if(PlayerInfo[playerid][Admin] == 5) { cargos = "Game Master"; }
  2363.              format(string, sizeof(string), "[SFW.Adm] %s %s mudou o tempo para 12:00.", cargos, Nome(playerid));
  2364.              SendClientMessageToAll(COR_ADM, string);
  2365.                         }
  2366.                         if(listitem == 12)
  2367.                         {
  2368.                          SetWorldTime(13);
  2369.              new cargos[20], string[100];
  2370.              if(PlayerInfo[playerid][Admin] == 1) { cargos = "Moderador"; }
  2371.              if(PlayerInfo[playerid][Admin] == 2) { cargos = "Administrador"; }
  2372.              if(PlayerInfo[playerid][Admin] == 3) { cargos = "Administrador"; }
  2373.              if(PlayerInfo[playerid][Admin] == 4) { cargos = "Sub Game Master"; }
  2374.              if(PlayerInfo[playerid][Admin] == 5) { cargos = "Game Master"; }
  2375.              format(string, sizeof(string), "[SFW.Adm] %s %s mudou o tempo para 13:00.", cargos, Nome(playerid));
  2376.              SendClientMessageToAll(COR_ADM, string);
  2377.                         }
  2378.                         if(listitem == 13)
  2379.                         {
  2380.              SetWorldTime(14);
  2381.              new cargos[64], string[128];
  2382.              if(PlayerInfo[playerid][Admin] == 1) { cargos = "Moderador"; }
  2383.              if(PlayerInfo[playerid][Admin] == 2) { cargos = "Administrador"; }
  2384.              if(PlayerInfo[playerid][Admin] == 3) { cargos = "Administrador"; }
  2385.              if(PlayerInfo[playerid][Admin] == 4) { cargos = "Sub Game Master"; }
  2386.              if(PlayerInfo[playerid][Admin] == 5) { cargos = "Game Master"; }
  2387.              format(string, sizeof(string), "[SFW.Adm] %s %s mudou o tempo para 14:00.", cargos, Nome(playerid));
  2388.              SendClientMessageToAll(COR_ADM, string);
  2389.                         }
  2390.  
  2391.             if(listitem == 14)
  2392.                         {
  2393.                          SetWorldTime(15);
  2394.              new cargos[20], string[100];
  2395.              if(PlayerInfo[playerid][Admin] == 1) { cargos = "Moderador"; }
  2396.              if(PlayerInfo[playerid][Admin] == 2) { cargos = "Administrador"; }
  2397.              if(PlayerInfo[playerid][Admin] == 3) { cargos = "Administrador"; }
  2398.              if(PlayerInfo[playerid][Admin] == 4) { cargos = "Sub Game Master"; }
  2399.              if(PlayerInfo[playerid][Admin] == 5) { cargos = "Game Master"; }
  2400.              format(string, sizeof(string), "[SFW.Adm] %s %s mudou o tempo para 15:00.", cargos, Nome(playerid));
  2401.              SendClientMessageToAll(COR_ADM, string);
  2402.                         }
  2403.                         if(listitem == 15)
  2404.                         {
  2405.                          SetWorldTime(16);
  2406.              new cargos[20], string[100];
  2407.              if(PlayerInfo[playerid][Admin] == 1) { cargos = "Moderador"; }
  2408.              if(PlayerInfo[playerid][Admin] == 2) { cargos = "Administrador"; }
  2409.              if(PlayerInfo[playerid][Admin] == 3) { cargos = "Administrador"; }
  2410.              if(PlayerInfo[playerid][Admin] == 4) { cargos = "Sub Game Master"; }
  2411.              if(PlayerInfo[playerid][Admin] == 5) { cargos = "Game Master"; }
  2412.              format(string, sizeof(string), "[SFW.Adm] %s %s mudou o tempo para 16:00.", cargos, Nome(playerid));
  2413.              SendClientMessageToAll(COR_ADM, string);
  2414.                         }
  2415.                         if(listitem == 16)
  2416.                         {
  2417.                          SetWorldTime(17);
  2418.              new cargos[20], string[100];
  2419.              if(PlayerInfo[playerid][Admin] == 1) { cargos = "Moderador"; }
  2420.              if(PlayerInfo[playerid][Admin] == 2) { cargos = "Administrador"; }
  2421.              if(PlayerInfo[playerid][Admin] == 3) { cargos = "Administrador"; }
  2422.              if(PlayerInfo[playerid][Admin] == 4) { cargos = "Sub Game Master"; }
  2423.              if(PlayerInfo[playerid][Admin] == 5) { cargos = "Game Master"; }
  2424.              format(string, sizeof(string), "[SFW.Adm] %s %s mudou o tempo para 17:00.", cargos, Nome(playerid));
  2425.              SendClientMessageToAll(COR_ADM, string);
  2426.                         }
  2427.                         if(listitem == 17)
  2428.                         {
  2429.                          SetWorldTime(18);
  2430.              new cargos[20], string[100];
  2431.              if(PlayerInfo[playerid][Admin] == 1) { cargos = "Moderador"; }
  2432.              if(PlayerInfo[playerid][Admin] == 2) { cargos = "Administrador"; }
  2433.              if(PlayerInfo[playerid][Admin] == 3) { cargos = "Administrador"; }
  2434.              if(PlayerInfo[playerid][Admin] == 4) { cargos = "Sub Game Master"; }
  2435.              if(PlayerInfo[playerid][Admin] == 5) { cargos = "Game Master"; }
  2436.              format(string, sizeof(string), "[SFW.Adm] %s %s mudou o tempo para 18:00.", cargos, Nome(playerid));
  2437.              SendClientMessageToAll(COR_ADM, string);
  2438.                         }
  2439.                         if(listitem == 18)
  2440.                         {
  2441.                          SetWorldTime(19);
  2442.              new cargos[20], string[100];
  2443.              if(PlayerInfo[playerid][Admin] == 1) { cargos = "Moderador"; }
  2444.              if(PlayerInfo[playerid][Admin] == 2) { cargos = "Administrador"; }
  2445.              if(PlayerInfo[playerid][Admin] == 3) { cargos = "Administrador"; }
  2446.              if(PlayerInfo[playerid][Admin] == 4) { cargos = "Sub Game Master"; }
  2447.              if(PlayerInfo[playerid][Admin] == 5) { cargos = "Game Master"; }
  2448.              format(string, sizeof(string), "[SFW.Adm] %s %s mudou o tempo para 19:00.", cargos, Nome(playerid));
  2449.              SendClientMessageToAll(COR_ADM, string);
  2450.                         }
  2451.                         if(listitem == 19)
  2452.                         {
  2453.              SetWorldTime(20);
  2454.              new cargos[64], string[128];
  2455.              if(PlayerInfo[playerid][Admin] == 1) { cargos = "Moderador"; }
  2456.              if(PlayerInfo[playerid][Admin] == 2) { cargos = "Administrador"; }
  2457.              if(PlayerInfo[playerid][Admin] == 3) { cargos = "Administrador"; }
  2458.              if(PlayerInfo[playerid][Admin] == 4) { cargos = "Sub Game Master"; }
  2459.              if(PlayerInfo[playerid][Admin] == 5) { cargos = "Game Master"; }
  2460.              format(string, sizeof(string), "[SFW.Adm] %s %s mudou o tempo para 20:00.", cargos, Nome(playerid));
  2461.              SendClientMessageToAll(COR_ADM, string);
  2462.                         }
  2463.  
  2464.             if(listitem == 20)
  2465.                         {
  2466.                          SetWorldTime(21);
  2467.              new cargos[20], string[100];
  2468.              if(PlayerInfo[playerid][Admin] == 1) { cargos = "Moderador"; }
  2469.              if(PlayerInfo[playerid][Admin] == 2) { cargos = "Administrador"; }
  2470.              if(PlayerInfo[playerid][Admin] == 3) { cargos = "Administrador"; }
  2471.              if(PlayerInfo[playerid][Admin] == 4) { cargos = "Sub Game Master"; }
  2472.              if(PlayerInfo[playerid][Admin] == 5) { cargos = "Game Master"; }
  2473.              format(string, sizeof(string), "[SFW.Adm] %s %s mudou o tempo para 21:00.", cargos, Nome(playerid));
  2474.              SendClientMessageToAll(COR_ADM, string);
  2475.                         }
  2476.                         if(listitem == 21)
  2477.                         {
  2478.                          SetWorldTime(22);
  2479.              new cargos[20], string[100];
  2480.              if(PlayerInfo[playerid][Admin] == 1) { cargos = "Moderador"; }
  2481.              if(PlayerInfo[playerid][Admin] == 2) { cargos = "Administrador"; }
  2482.              if(PlayerInfo[playerid][Admin] == 3) { cargos = "Administrador"; }
  2483.              if(PlayerInfo[playerid][Admin] == 4) { cargos = "Sub Game Master"; }
  2484.              if(PlayerInfo[playerid][Admin] == 5) { cargos = "Game Master"; }
  2485.              format(string, sizeof(string), "[SFW.Adm] %s %s mudou o tempo para 22:00.", cargos, Nome(playerid));
  2486.              SendClientMessageToAll(COR_ADM, string);
  2487.                         }
  2488.                         if(listitem == 22)
  2489.                         {
  2490.                          SetWorldTime(23);
  2491.              new cargos[20], string[100];
  2492.              if(PlayerInfo[playerid][Admin] == 1) { cargos = "Moderador"; }
  2493.              if(PlayerInfo[playerid][Admin] == 2) { cargos = "Administrador"; }
  2494.              if(PlayerInfo[playerid][Admin] == 3) { cargos = "Administrador"; }
  2495.              if(PlayerInfo[playerid][Admin] == 4) { cargos = "Sub Game Master"; }
  2496.              if(PlayerInfo[playerid][Admin] == 5) { cargos = "Game Master"; }
  2497.              format(string, sizeof(string), "[SFW.Adm] %s %s mudou o tempo para 23:00.", cargos, Nome(playerid));
  2498.              SendClientMessageToAll(COR_ADM, string);
  2499.                         }
  2500.                         if(listitem == 23)
  2501.                         {
  2502.                          SetWorldTime(24);
  2503.              new cargos[20], string[100];
  2504.              if(PlayerInfo[playerid][Admin] == 1) { cargos = "Moderador"; }
  2505.              if(PlayerInfo[playerid][Admin] == 2) { cargos = "Administrador"; }
  2506.              if(PlayerInfo[playerid][Admin] == 3) { cargos = "Administrador"; }
  2507.              if(PlayerInfo[playerid][Admin] == 4) { cargos = "Sub Game Master"; }
  2508.              if(PlayerInfo[playerid][Admin] == 5) { cargos = "Game Master"; }
  2509.              format(string, sizeof(string), "[SFW.Adm] %s %s mudou o tempo para 24:00.", cargos, Nome(playerid));
  2510.              SendClientMessageToAll(COR_ADM, string);
  2511.                         }
  2512.                 }
  2513.                 return 1;
  2514.         }
  2515.                 if(dialogid == Carros)
  2516.         {
  2517.                 if(response)
  2518.                 {
  2519.                         new Float:X,Float:Y,Float:Z,Float:Angle;
  2520.                         if(listitem == 0)  // Sultan
  2521.                         {
  2522.                                 GetPlayerPos(playerid, X, Y, Z);
  2523.                                 GetPlayerFacingAngle(playerid, Angle);
  2524.                                 CreateVehicle(560, X+5, Y, Z+1, Angle, random(100), random(100), -1);
  2525.                                 SendClientMessage(playerid, COR_PRINCIPAL, "Voc√™ criou um ve√≠culo, lembre-se de deleta-lo (/dc)!");
  2526.                                 SendClientMessage(playerid, COR_PRINCIPAL, "Mantenha o servidor limpo!");
  2527.                         }
  2528.                         if(listitem == 1)   // Infernus
  2529.                         {
  2530.                                 GetPlayerPos(playerid, X, Y, Z);
  2531.                                 GetPlayerFacingAngle(playerid, Angle);
  2532.                                 CreateVehicle(411, X+5, Y, Z+1, Angle, random(100), random(100), -1);
  2533.                                 SendClientMessage(playerid, COR_PRINCIPAL, "Voc√™ criou um ve√≠culo, lembre-se de deleta-lo (/dc)!");
  2534.                                 SendClientMessage(playerid, COR_PRINCIPAL, "Mantenha o servidor limpo!");
  2535.                         }
  2536.                         if(listitem == 2)   // √Ēnibus 1
  2537.                         {
  2538.                                 GetPlayerPos(playerid, X, Y, Z);
  2539.                                 GetPlayerFacingAngle(playerid, Angle);
  2540.                                 CreateVehicle(437, X+5, Y, Z+1, Angle, random(100), random(100), -1);
  2541.                                 SendClientMessage(playerid, COR_PRINCIPAL, "Voc√™ criou um ve√≠culo, lembre-se de deleta-lo (/dc)!");
  2542.                                 SendClientMessage(playerid, COR_PRINCIPAL, "Mantenha o servidor limpo!");
  2543.                         }
  2544.                         if(listitem == 3)   // BMX
  2545.                         {
  2546.                                 GetPlayerPos(playerid, X, Y, Z);
  2547.                                 GetPlayerFacingAngle(playerid, Angle);
  2548.                                 CreateVehicle(481, X+5, Y, Z+1, Angle, random(100), random(100), -1);
  2549.                                 SendClientMessage(playerid, COR_PRINCIPAL, "Voc√™ criou um ve√≠culo, lembre-se de deleta-lo (/dc)!");
  2550.                                 SendClientMessage(playerid, COR_PRINCIPAL, "Mantenha o servidor limpo!");
  2551.                         }
  2552.                         if(listitem == 4)   // MOUNTAIN BIKE
  2553.                         {
  2554.                                 GetPlayerPos(playerid, X, Y, Z);
  2555.                                 GetPlayerFacingAngle(playerid, Angle);
  2556.                                 CreateVehicle(510, X+5, Y, Z+1, Angle, random(100), random(100), -1);
  2557.                                 SendClientMessage(playerid, COR_PRINCIPAL, "Voc√™ criou um ve√≠culo, lembre-se de deleta-lo (/dc)!");
  2558.                                 SendClientMessage(playerid, COR_PRINCIPAL, "Mantenha o servidor limpo!");
  2559.                         }
  2560.                         if(listitem == 5)   // √ĒNIBUS 2
  2561.                         {
  2562.                                 GetPlayerPos(playerid, X, Y, Z);
  2563.                                 GetPlayerFacingAngle(playerid, Angle);
  2564.                                 CreateVehicle(431, X+5, Y, Z+1, Angle, random(100), random(100), -1);
  2565.                                 SendClientMessage(playerid, COR_PRINCIPAL, "Voc√™ criou um ve√≠culo, lembre-se de deleta-lo (/dc)!");
  2566.                                 SendClientMessage(playerid, COR_PRINCIPAL, "Mantenha o servidor limpo!");
  2567.                         }
  2568.                         if(listitem == 6)   // FAGGIO
  2569.                         {
  2570.                                 GetPlayerPos(playerid, X, Y, Z);
  2571.                                 GetPlayerFacingAngle(playerid, Angle);
  2572.                                 CreateVehicle(462, X+5, Y, Z+1, Angle, random(100), random(100), -1);
  2573.                                 SendClientMessage(playerid, COR_PRINCIPAL, "Voc√™ criou um ve√≠culo, lembre-se de deleta-lo (/dc)!");
  2574.                                 SendClientMessage(playerid, COR_PRINCIPAL, "Mantenha o servidor limpo!");
  2575.                         }
  2576.                         if(listitem == 7)   //S ANCHEZ
  2577.                         {
  2578.                                 GetPlayerPos(playerid, X, Y, Z);
  2579.                                 GetPlayerFacingAngle(playerid, Angle);
  2580.                                 CreateVehicle(468, X+5, Y, Z+1, Angle, random(100), random(100), -1);
  2581.                                 SendClientMessage(playerid, COR_PRINCIPAL, "Voc√™ criou um ve√≠culo, lembre-se de deleta-lo (/dc)!");
  2582.                                 SendClientMessage(playerid, COR_PRINCIPAL, "Mantenha o servidor limpo!");
  2583.                         }
  2584.                         if(listitem == 8)   // QUAD
  2585.                         {
  2586.                                 GetPlayerPos(playerid, X, Y, Z);
  2587.                                 GetPlayerFacingAngle(playerid, Angle);
  2588.                                 CreateVehicle(471, X+5, Y, Z+1, Angle, random(100), random(100), -1);
  2589.                                 SendClientMessage(playerid, COR_PRINCIPAL, "Voc√™ criou um ve√≠culo, lembre-se de deleta-lo (/dc)!");
  2590.                                 SendClientMessage(playerid, COR_PRINCIPAL, "Mantenha o servidor limpo!");
  2591.                         }
  2592.                         if(listitem == 9)   // PACKER
  2593.                         {
  2594.                                 GetPlayerPos(playerid, X, Y, Z);
  2595.                                 GetPlayerFacingAngle(playerid, Angle);
  2596.                                 CreateVehicle(443, X+5, Y, Z+1, Angle, random(100), random(100), -1);
  2597.                                 SendClientMessage(playerid, COR_PRINCIPAL, "Voc√™ criou um ve√≠culo, lembre-se de deleta-lo (/dc)!");
  2598.                                 SendClientMessage(playerid, COR_PRINCIPAL, "Mantenha o servidor limpo!");
  2599.                         }
  2600.                         if(listitem == 10)   // CAMPER
  2601.                         {
  2602.                                 GetPlayerPos(playerid, X, Y, Z);
  2603.                                 GetPlayerFacingAngle(playerid, Angle);
  2604.                                 CreateVehicle(483, X+5, Y, Z+1, Angle, random(100), random(100), -1);
  2605.                                 SendClientMessage(playerid, COR_PRINCIPAL, "Voc√™ criou um ve√≠culo, lembre-se de deleta-lo (/dc)!");
  2606.                                 SendClientMessage(playerid, COR_PRINCIPAL, "Mantenha o servidor limpo!");
  2607.                         }
  2608.                         if(listitem == 11)   // VORTEX .-.
  2609.                         {
  2610.                                 GetPlayerPos(playerid, X, Y, Z);
  2611.                                 GetPlayerFacingAngle(playerid, Angle);
  2612.                                 CreateVehicle(539, X+5, Y, Z+1, Angle, random(100), random(100), -1);
  2613.                                 SendClientMessage(playerid, COR_PRINCIPAL, "Voc√™ criou um ve√≠culo, lembre-se de deleta-lo (/dc)!");
  2614.                                 SendClientMessage(playerid, COR_PRINCIPAL, "Mantenha o servidor limpo!");
  2615.                         }
  2616.                         if(listitem == 12)   // NRG-500
  2617.                         {
  2618.                                 GetPlayerPos(playerid, X, Y, Z);
  2619.                                 GetPlayerFacingAngle(playerid, Angle);
  2620.                                 CreateVehicle(522, X+5, Y, Z+1, Angle, random(100), random(100), -1);
  2621.                                 SendClientMessage(playerid, COR_PRINCIPAL, "Voc√™ criou um ve√≠culo, lembre-se de deleta-lo (/dc)!");
  2622.                                 SendClientMessage(playerid, COR_PRINCIPAL, "Mantenha o servidor limpo!");
  2623.                         }
  2624.                 }
  2625.                 return 1;
  2626.         }
  2627.     return 1;
  2628.  }
  2629.  
  2630. stock Contas(playerid)
  2631. {
  2632.     new arquivo[40], name[MAX_PLAYER_NAME];
  2633.     GetPlayerName(playerid, name, 32);
  2634.     format(arquivo, 40, "Contas/%s.ini", name);
  2635.     return arquivo;
  2636. }
  2637.  
  2638.  
  2639.  
  2640. stock SalvarContas(playerid)
  2641. {
  2642.     if(!DOF2_FileExists(Contas(playerid))) DOF2_CreateFile(Contas(playerid));
  2643.     else
  2644.     {
  2645.         DOF2_SetInt(Contas(playerid),"Admin", PlayerInfo[playerid][Admin]);
  2646.         DOF2_SetInt(Contas(playerid),"FBI", PlayerInfo[playerid][FBI]);
  2647.         DOF2_SetInt(Contas(playerid),"Matou", PlayerInfo[playerid][Matou]);
  2648.         DOF2_SetInt(Contas(playerid),"Morreu", PlayerInfo[playerid][Morreu]);
  2649.         DOF2_SetInt(Contas(playerid),"Laser", PlayerInfo[playerid][Laser]);
  2650.         DOF2_SetInt(Contas(playerid),"SWAT", PlayerInfo[playerid][SWAT]);
  2651.         DOF2_SetInt(Contas(playerid),"Rifa", PlayerInfo[playerid][Rifa]);
  2652.         DOF2_SetInt(Contas(playerid),"Triads", PlayerInfo[playerid][Triads]);
  2653.             DOF2_SetInt(Contas(playerid),"Boys", PlayerInfo[playerid][Boys]);
  2654.         DOF2_SetInt(Contas(playerid),"Mafia", PlayerInfo[playerid][Mafia]);
  2655.         DOF2_SetInt(Contas(playerid),"Dinheiro", GetPlayerMoney(playerid));
  2656.         DOF2_SetInt(Contas(playerid),"Score", GetPlayerScore(playerid));
  2657.             DOF2_SaveFile();
  2658.     }
  2659.     return 1;
  2660. }
  2661.  
  2662. //.
  2663. //..
  2664. //...
  2665. //....
  2666. // ================================= INCLUDE CHECK POINT  ===================================
  2667. stock CPS_AddCheckpoint(Float:X,Float:Y,Float:Z,Float:size,spawn_dist)
  2668. {
  2669.         new cpid=1;
  2670.         while(UsedCPSlot[cpid] == 1) cpid++;
  2671.         if(CPSERVICE_active == 0){
  2672.             SetTimer("CPSERVICE_Handler",500,true);
  2673.             CPSERVICE_active=1;
  2674.         }
  2675.         UsedCPSlot[cpid]=1;
  2676.         Checkpoints[cpid][cpX]=X;
  2677.         Checkpoints[cpid][cpY]=Y;
  2678.         Checkpoints[cpid][cpZ]=Z;
  2679.         Checkpoints[cpid][cpsz]=size;
  2680.         Checkpoints[cpid][cpsd]=spawn_dist;
  2681.         return cpid;
  2682. }
  2683.  
  2684. stock CPS_IsPlayerInCheckpoint(playerid,cpid)
  2685. {
  2686.         if(!IsPlayerInCheckpoint(playerid)) return 0;
  2687.         if(CPSERVICE_actualcp[playerid] == cpid) return 1;
  2688.         else return 0;
  2689. }
  2690.  
  2691. stock CPS_IsPlayerInAnyCheckpoint(playerid)
  2692. {
  2693.         if(!IsPlayerInCheckpoint(playerid)) return 0;
  2694.         if(CPSERVICE_actualcp[playerid] == 0) return 0;
  2695.         else return 1;
  2696. }
  2697.  
  2698. stock CPS_GetPlayerCheckpoint(playerid) if(!IsPlayerInCheckpoint(playerid)) return 0; else return CPSERVICE_actualcp[playerid];
  2699.  
  2700. stock CPS_RemoveCheckpoint(cpid)
  2701. {
  2702.         if(cpid == 0 || UsedCPSlot[cpid] == 0) return 0;
  2703.         UsedCPSlot[cpid]=0;
  2704.         return 1;
  2705. }
  2706.  
  2707. public CPSERVICE_Handler()
  2708. {
  2709.         for(new i; i<MAX_PLAYERS; i++){
  2710.                 new Float:prevdist = 100000.000;
  2711.                 new prevcp;
  2712.                 for(new cpid=1; cpid < MAX_CHECKPOINTS; cpid++){
  2713.                         if(UsedCPSlot[cpid]) {
  2714.                             new Float:dist;
  2715.                             dist = CPSERVICE_getdist(i,Checkpoints[cpid][cpX],Checkpoints[cpid][cpY],Checkpoints[cpid][cpZ]);
  2716.                                 if(dist < prevdist){
  2717.                                 prevdist = dist;
  2718.                                         prevcp = cpid;
  2719.                                 }
  2720.                         }
  2721.                 }
  2722.                 new cpid=prevcp;
  2723.                 if(CPSERVICE_getdist(i,Checkpoints[cpid][cpX],Checkpoints[cpid][cpY],Checkpoints[cpid][cpZ]) < Checkpoints[cpid][cpsd]) {
  2724.                     if(CPSERVICE_actualcp[i] != cpid){
  2725.                             SetPlayerCheckpoint(i,Checkpoints[cpid][cpX],Checkpoints[cpid][cpY],Checkpoints[cpid][cpZ],Checkpoints[cpid][cpsz]);
  2726.                             CPSERVICE_actualcp[i] = cpid;
  2727.                         }
  2728.                 } else {
  2729.                     if(CPSERVICE_actualcp[i] != 0){
  2730.                             CPSERVICE_actualcp[i] = 0;
  2731.                             DisablePlayerCheckpoint(i);
  2732.                         }
  2733.                 }
  2734.         }
  2735.         return 1;
  2736. }
  2737.  
  2738. stock CPSERVICE_getdist(playerid,Float:x2,Float:y2,Float:z2)
  2739. {
  2740.         new Float:x1,Float:y1,Float:z1;
  2741.         new Float:tmpdis;
  2742.         GetPlayerPos(playerid,x1,y1,z1);
  2743.         tmpdis = floatsqroot(floatpower(floatabs(floatsub(x2,x1)),2)+floatpower(floatabs(floatsub(y2,y1)),2)+floatpower(floatabs(floatsub(z2,z1)),2));
  2744.         return floatround(tmpdis);
  2745. }
  2746. //.
  2747. //..
  2748. //...
  2749. //....
  2750. // ================================= SSCANF2 ===================================
  2751. //                           INCLUDE -- SSCANF
  2752. stock sscanf(string[], format[], {Float,_}:...)
  2753. {
  2754.         #if defined isnull
  2755.                 if (isnull(string))
  2756.         #else
  2757.                 if (string[0] == 0 || (string[0] == 1 && string[1] == 0))
  2758.         #endif
  2759.                 {
  2760.                         return format[0];
  2761.                 }
  2762.         #pragma tabsize 4
  2763.         new
  2764.                 formatPos = 0,
  2765.                 stringPos = 0,
  2766.                 paramPos = 2,
  2767.                 paramCount = numargs(),
  2768.                 delim = ' ';
  2769.         while (string[stringPos] && string[stringPos] <= ' ')
  2770.         {
  2771.                 stringPos++;
  2772.         }
  2773.         while (paramPos < paramCount && string[stringPos])
  2774.         {
  2775.                 switch (format[formatPos++])
  2776.                 {
  2777.                         case '\0':
  2778.                         {
  2779.                                 return 0;
  2780.                         }
  2781.                         case 'i', 'd':
  2782.                         {
  2783.                                 new
  2784.                                         neg = 1,
  2785.                                         num = 0,
  2786.                                         ch = string[stringPos];
  2787.                                 if (ch == '-')
  2788.                                 {
  2789.                                         neg = -1;
  2790.                                         ch = string[++stringPos];
  2791.                                 }
  2792.                                 do
  2793.                                 {
  2794.                                         stringPos++;
  2795.                                         if ('0' <= ch <= '9')
  2796.                                         {
  2797.                                                 num = (num * 10) + (ch - '0');
  2798.                                         }
  2799.                                         else
  2800.                                         {
  2801.                                                 return -1;
  2802.                                         }
  2803.                                 }
  2804.                                 while ((ch = string[stringPos]) > ' ' && ch != delim);
  2805.                                 setarg(paramPos, 0, num * neg);
  2806.                         }
  2807.                         case 'h', 'x':
  2808.                         {
  2809.                                 new
  2810.                                         num = 0,
  2811.                                         ch = string[stringPos];
  2812.                                 do
  2813.                                 {
  2814.                                         stringPos++;
  2815.                                         switch (ch)
  2816.                                         {
  2817.                                                 case 'x', 'X':
  2818.                                                 {
  2819.                                                         num = 0;
  2820.                                                         continue;
  2821.                                                 }
  2822.                                                 case '0' .. '9':
  2823.                                                 {
  2824.                                                         num = (num << 4) | (ch - '0');
  2825.                                                 }
  2826.                                                 case 'a' .. 'f':
  2827.                                                 {
  2828.                                                         num = (num << 4) | (ch - ('a' - 10));
  2829.                                                 }
  2830.                                                 case 'A' .. 'F':
  2831.                                                 {
  2832.                                                         num = (num << 4) | (ch - ('A' - 10));
  2833.                                                 }
  2834.                                                 default:
  2835.                                                 {
  2836.                                                         return -1;
  2837.                                                 }
  2838.                                         }
  2839.                                 }
  2840.                                 while ((ch = string[stringPos]) > ' ' && ch != delim);
  2841.                                 setarg(paramPos, 0, num);
  2842.                         }
  2843.                         case 'c':
  2844.                         {
  2845.                                 setarg(paramPos, 0, string[stringPos++]);
  2846.                         }
  2847.                         case 'f':
  2848.                         {
  2849.                                 setarg(paramPos, 0, _:floatstr(string[stringPos]));
  2850.                         }
  2851.                         case 'p':
  2852.                         {
  2853.                                 delim = format[formatPos++];
  2854.                                 continue;
  2855.                         }
  2856.                         case '\'':
  2857.                         {
  2858.                                 new
  2859.                                         end = formatPos - 1,
  2860.                                         ch;
  2861.                                 while ((ch = format[++end]) && ch != '\'') {}
  2862.                                 if (!ch)
  2863.                                 {
  2864.                                         return -1;
  2865.                                 }
  2866.                                 format[end] = '\0';
  2867.                                 if ((ch = strfind(string, format[formatPos], false, stringPos)) == -1)
  2868.                                 {
  2869.                                         if (format[end + 1])
  2870.                                         {
  2871.                                                 return -1;
  2872.                                         }
  2873.                                         return 0;
  2874.                                 }
  2875.                                 format[end] = '\'';
  2876.                                 stringPos = ch + (end - formatPos);
  2877.                                 formatPos = end + 1;
  2878.                         }
  2879.                         case 'u':
  2880.                         {
  2881.                                 new
  2882.                                         end = stringPos - 1,
  2883.                                         id = 0,
  2884.                                         bool:num = true,
  2885.                                         ch;
  2886.                                 while ((ch = string[++end]) && ch != delim)
  2887.                                 {
  2888.                                         if (num)
  2889.                                         {
  2890.                                                 if ('0' <= ch <= '9')
  2891.                                                 {
  2892.                                                         id = (id * 10) + (ch - '0');
  2893.                                                 }
  2894.                                                 else
  2895.                                                 {
  2896.                                                         num = false;
  2897.                                                 }
  2898.                                         }
  2899.                                 }
  2900.                                 if (num && IsPlayerConnected(id))
  2901.                                 {
  2902.                                         setarg(paramPos, 0, id);
  2903.                                 }
  2904.                                 else
  2905.                                 {
  2906.                                         #if !defined foreach
  2907.                                                 #define foreach(%1,%2) for (new %2 = 0; %2 < MAX_PLAYERS; %2++) if (IsPlayerConnected(%2))
  2908.                                                 #define __SSCANF_FOREACH__
  2909.                                         #endif
  2910.                                         string[end] = '\0';
  2911.                                         num = false;
  2912.                                         new
  2913.                                                 name[MAX_PLAYER_NAME];
  2914.                                         id = end - stringPos;
  2915.                                         foreach (Player, playerid)
  2916.                                         {
  2917.                                                 GetPlayerName(playerid, name, sizeof (name));
  2918.                                                 if (!strcmp(name, string[stringPos], true, id))
  2919.                                                 {
  2920.                                                         setarg(paramPos, 0, playerid);
  2921.                                                         num = true;
  2922.                                                         break;
  2923.                                                 }
  2924.                                         }
  2925.                                         if (!num)
  2926.                                         {
  2927.                                                 setarg(paramPos, 0, INVALID_PLAYER_ID);
  2928.                                         }
  2929.                                         string[end] = ch;
  2930.                                         #if defined __SSCANF_FOREACH__
  2931.                                                 #undef foreach
  2932.                                                 #undef __SSCANF_FOREACH__
  2933.                                         #endif
  2934.                                 }
  2935.                                 stringPos = end;
  2936.                         }
  2937.                         case 's', 'z':
  2938.                         {
  2939.                                 new
  2940.                                         i = 0,
  2941.                                         ch;
  2942.                                 if (format[formatPos])
  2943.                                 {
  2944.                                         while ((ch = string[stringPos++]) && ch != delim)
  2945.                                         {
  2946.                                                 setarg(paramPos, i++, ch);
  2947.                                         }
  2948.                                         if (!i)
  2949.                                         {
  2950.                                                 return -1;
  2951.                                         }
  2952.                                 }
  2953.                                 else
  2954.                                 {
  2955.                                         while ((ch = string[stringPos++]))
  2956.                                         {
  2957.                                                 setarg(paramPos, i++, ch);
  2958.                                         }
  2959.                                 }
  2960.                                 stringPos--;
  2961.                                 setarg(paramPos, i, '\0');
  2962.                         }
  2963.                         default:
  2964.                         {
  2965.                                 continue;
  2966.                         }
  2967.                 }
  2968.                 while (string[stringPos] && string[stringPos] != delim && string[stringPos] > ' ')
  2969.                 {
  2970.                         stringPos++;
  2971.                 }
  2972.                 while (string[stringPos] && (string[stringPos] == delim || string[stringPos] <= ' '))
  2973.                 {
  2974.                         stringPos++;
  2975.                 }
  2976.                 paramPos++;
  2977.         }
  2978.         do
  2979.         {
  2980.                 if ((delim = format[formatPos++]) > ' ')
  2981.                 {
  2982.                         if (delim == '\'')
  2983.                         {
  2984.                                 while ((delim = format[formatPos++]) && delim != '\'') {}
  2985.                         }
  2986.                         else if (delim != 'z')
  2987.                         {
  2988.                                 return delim;
  2989.                         }
  2990.                 }
  2991.         }
  2992.         while (delim > ' ');
  2993.         return 0;
  2994. }
  2995. // ================================= STOCKS  ===================================
  2996.  
  2997.  
  2998. public OnPlayerCommandPerformed(playerid, cmdtext[], success)
  2999. {
  3000.      if(!success)
  3001.      {
  3002.            new string[60];
  3003.            format(string,sizeof(string),"[ERRO] O Comando: %s √© inexistente.",cmdtext);
  3004.            SendClientMessage(playerid, COR_ERRO, string);
  3005.            return 1;
  3006.      }
  3007.      return 1;
  3008. }
  3009.  
  3010.  
  3011. stock SendAdminMessage(cor,string[])
  3012. {
  3013.     for(new d; d < GetMaxPlayers(); ++d)
  3014.     {
  3015.         if(IsPlayerConnected(d) && PlayerInfo[d][Admin] > 0)
  3016.         {
  3017.             SendClientMessage(d,cor,string);
  3018.         }
  3019.     }
  3020.     return 1;
  3021. }
  3022.  
  3023. stock Nome(playerid)
  3024. {
  3025.         new name[MAX_PLAYER_NAME];
  3026.         GetPlayerName(playerid, name, MAX_PLAYER_NAME);
  3027.         return name;
  3028. }
  3029.  
  3030. stock GetDistanceBetweenPlayers(playerid,playerid2)
  3031. {
  3032.         new Float:x1,Float:y1,Float:z1,Float:x2,Float:y2,Float:z2;
  3033.         new Float:tmpdis;
  3034.         GetPlayerPos(playerid,x1,y1,z1);
  3035.         GetPlayerPos(playerid2,x2,y2,z2);
  3036.         tmpdis = floatsqroot(floatpower(floatabs(floatsub(x2,x1)),2)+floatpower(floatabs(floatsub(y2,y1)),2)+floatpower(floatabs(floatsub(z2,z1)),2));
  3037.         return floatround(tmpdis);
  3038. }
  3039.  
  3040. stock ResetarCarros(playerid)
  3041. {
  3042.     new string[128];
  3043.     GetPlayerName(playerid, string, MAX_PLAYER_NAME);
  3044.     format(string, sizeof(string), "[SFW.Adm] O Administrador %s respawnou todos os veiculos!", string);
  3045.     SendClientMessageToAll(COR_ADM, string);
  3046.     new bool:inVeh;
  3047.     for( new i = 0; i < MAX_VEHICLES; i++ )
  3048.     {
  3049.         inVeh = false;
  3050.         for( new j = 0; j < MAX_PLAYERS; j++ )
  3051.         {
  3052.             if(IsPlayerInVehicle( j, i ))
  3053.             {
  3054.                 inVeh = true;
  3055.             }
  3056.         }
  3057.         if(!inVeh) SetVehicleToRespawn(i);
  3058.     }
  3059.     return true;
  3060. }
  3061.  
  3062.  
  3063. // ================================= TIMERS ==================================
  3064.  
  3065. forward SendMensagens();
  3066. public SendMensagens()
  3067. {
  3068.     new string[128];
  3069.     new random1 = random(sizeof(Mensagens));
  3070.     new random2 = random(sizeof(Cores));
  3071.     format(string, sizeof(string), "%s", Mensagens[random1]);
  3072.     SendClientMessageToAll(Cores[random2],string);
  3073.     return 1;
  3074. }
  3075.  
  3076. forward GPSTimer();
  3077. public GPSTimer()
  3078. {
  3079.     for(new i = 0; i < MAX_PLAYERS; i++)
  3080.     {
  3081.                 DisablePlayerCheckpoint(i);
  3082.                 PlayerGPS[i] = 0;
  3083.                 KillTimer(gpstimer);
  3084.         }
  3085.     return 1;
  3086. }
  3087.  
  3088.  
  3089. forward fbigate();
  3090. public fbigate()
  3091. {
  3092.     MoveObject(portaofbi,-1769.1999512,985.2000122,25.2000008, 4.0, 0.0000000,0.0000000,90.0000000);
  3093.     return 1;
  3094. }
  3095.  
  3096. forward swatgate();
  3097. public swatgate()
  3098. {
  3099.     MoveObject(portaoswat, -1530.4000244,482.6000061,9.0000000,4.0, 0.0000000,0.0000000,0.0000000);
  3100.         return 1;
  3101. }
  3102.  
  3103. forward Dominado();
  3104. public Dominado()
  3105. {
  3106.     for(new i = 0; i < MAX_PLAYERS; i++)
  3107.     {
  3108.                 if(CPS_IsPlayerInCheckpoint(i,cpstunt))
  3109.         {
  3110.             PlayerDomi[i][Stunt] ++;
  3111.             if(PlayerDomi[i][Stunt] >= 20)
  3112.             {
  3113.                         PlayerDomi[i][Stunt] = 0;
  3114.                         new striing[128], org[20];
  3115.                 if(PlayerInfo[i][Boys] >= 1) { org = "os Da Nang Boys"; }
  3116.                 if(PlayerInfo[i][Triads] >= 1) { org = "os Triads"; }
  3117.                 if(PlayerInfo[i][FBI] >= 1) { org = "o FBI"; }
  3118.                 if(PlayerInfo[i][SWAT] >= 1) { org = "a SWAT"; }
  3119.                 if(PlayerInfo[i][Rifa] >= 1) { org = "os SF Rifa's"; }
  3120.                 if(PlayerInfo[i][Mafia] >= 1) { org = "a Mafia"; }
  3121.                 format(striing, sizeof(striing),"[GZ.INFO]O %s e %s dominaram o Stunt Park | Local: /gps",Nome(i), org);
  3122.                 SendClientMessageToAll(GetPlayerColor(i), striing);
  3123.                 GangZoneStopFlashForAll(stuntpark);
  3124.                 GangZoneHideForAll(stuntpark);
  3125.                 GangZoneShowForAll(stuntpark, GetPlayerColor(i));
  3126.                                 corstunt = GetPlayerColor(i);
  3127.                                 SendClientMessage(i, -1, "[GZ.INFO] Voc√™ Ganhou {00FF00}$250{FFFFFF} por Dominar Essa GangZone");
  3128.                 GivePlayerMoney(i, 250);
  3129.             }
  3130.         }
  3131.         if(CPS_IsPlayerInCheckpoint(i,cpcasino))
  3132.         {
  3133.             PlayerDomi[i][Casino] ++;
  3134.             if(PlayerDomi[i][Casino] >= 20)
  3135.             {
  3136.                         PlayerDomi[i][Casino] = 0;
  3137.                     new striing[128], org[20];
  3138.                     if(PlayerInfo[i][Boys] >= 1) { org = "os Da Nang Boys"; }
  3139.                     if(PlayerInfo[i][Triads] >= 1) { org = "os Triads"; }
  3140.                     if(PlayerInfo[i][FBI] >= 1) { org = "o FBI"; }
  3141.                     if(PlayerInfo[i][SWAT] >= 1) { org = "a SWAT"; }
  3142.                     if(PlayerInfo[i][Rifa] >= 1) { org = "os SF Rifa's"; }
  3143.                     if(PlayerInfo[i][Mafia] >= 1) { org = "a Mafia"; }
  3144.                     format(striing, sizeof(striing),"[GZ.INFO]O %s e %s dominaram o Casino | Local: /gps",Nome(i), org);
  3145.                     SendClientMessageToAll(GetPlayerColor(i), striing);
  3146.                     GangZoneStopFlashForAll(casino);
  3147.                     GangZoneHideForAll(casino);
  3148.                     GangZoneShowForAll(casino, GetPlayerColor(i));
  3149.                     corcasino = GetPlayerColor(i);
  3150.                     SendClientMessage(i, -1, "[GZ.INFO] Voc√™ Ganhou {00FF00}$250{FFFFFF} por Dominar Essa GangZone");
  3151.                 GivePlayerMoney(i, 250);
  3152.                 }
  3153.             }
  3154.         if(CPS_IsPlayerInCheckpoint(i,cpbaseball))
  3155.         {
  3156.             PlayerDomi[i][Baseball] ++;
  3157.             if(PlayerDomi[i][Baseball] >= 20)
  3158.             {
  3159.                         PlayerDomi[i][Baseball] = 0;
  3160.                     new striing[128], org[20];
  3161.                     if(PlayerInfo[i][Boys] >= 1) { org = "os Da Nang Boys"; }
  3162.                     if(PlayerInfo[i][Triads] >= 1) { org = "os Triads"; }
  3163.                     if(PlayerInfo[i][FBI] >= 1) { org = "o FBI"; }
  3164.                     if(PlayerInfo[i][SWAT] >= 1) { org = "a SWAT"; }
  3165.                     if(PlayerInfo[i][Rifa] >= 1) { org = "os SF Rifa's"; }
  3166.                     if(PlayerInfo[i][Mafia] >= 1) { org = "a Mafia"; }
  3167.                     format(striing, sizeof(striing),"[GZ.INFO]O %s e %s dominaram o Campo de Baseball | Local: /gps",Nome(i), org);
  3168.                     SendClientMessageToAll(GetPlayerColor(i), striing);
  3169.                     GangZoneStopFlashForAll(baseball);
  3170.                     GangZoneHideForAll(baseball);
  3171.                     GangZoneShowForAll(baseball, GetPlayerColor(i));
  3172.                     corbaseball = GetPlayerColor(i);
  3173.                     SendClientMessage(i, -1, "[GZ.INFO] Voc√™ Ganhou {00FF00}$250{FFFFFF} por Dominar Essa GangZone");
  3174.                 GivePlayerMoney(i, 250);
  3175.                 }
  3176.         }
  3177.         if(CPS_IsPlayerInCheckpoint(i,cppracinha))
  3178.         {
  3179.             PlayerDomi[i][Pracinha] ++;
  3180.             if(PlayerDomi[i][Pracinha] >= 20)
  3181.             {
  3182.                 PlayerDomi[i][Pracinha] = 0;
  3183.                                 new striing[128], org[20];
  3184.                 if(PlayerInfo[i][Boys] >= 1) { org = "os Da Nang Boys"; }
  3185.                 if(PlayerInfo[i][Triads] >= 1) { org = "os Triads"; }
  3186.                 if(PlayerInfo[i][FBI] >= 1) { org = "o FBI"; }
  3187.                 if(PlayerInfo[i][SWAT] >= 1) { org = "a SWAT"; }
  3188.                 if(PlayerInfo[i][Rifa] >= 1) { org = "os SF Rifa's"; }
  3189.                 if(PlayerInfo[i][Mafia] >= 1) { org = "a Mafia"; }
  3190.                 format(striing, sizeof(striing),"[GZ.INFO]O %s e %s dominaram a Pracinha | Local: /gps",Nome(i), org);
  3191.                 SendClientMessageToAll(GetPlayerColor(i), striing);
  3192.                 GangZoneStopFlashForAll(pracinha);
  3193.                 GangZoneHideForAll(pracinha);
  3194.                 GangZoneShowForAll(pracinha, GetPlayerColor(i));
  3195.                 corpracinha = GetPlayerColor(i);
  3196.                 SendClientMessage(i, -1, "[GZ.INFO] Voc√™ Ganhou {00FF00}$250{FFFFFF} por Dominar Essa GangZone");
  3197.                 GivePlayerMoney(i, 250);
  3198.             }
  3199.         }
  3200.         if(CPS_IsPlayerInCheckpoint(i,cpobras))
  3201.         {
  3202.             PlayerDomi[i][Obras] ++;
  3203.             if(PlayerDomi[i][Obras] >= 20)
  3204.             {
  3205.                 PlayerDomi[i][Obras] = 0;
  3206.                 new striing[128], org[20];
  3207.                 if(PlayerInfo[i][Boys] >= 1) { org = "os Da Nang Boys"; }
  3208.                 if(PlayerInfo[i][Triads] >= 1) { org = "os Triads"; }
  3209.                 if(PlayerInfo[i][FBI] >= 1) { org = "o FBI"; }
  3210.                 if(PlayerInfo[i][SWAT] >= 1) { org = "a SWAT"; }
  3211.                 if(PlayerInfo[i][Rifa] >= 1) { org = "os SF Rifa's"; }
  3212.                 if(PlayerInfo[i][Mafia] >= 1) { org = "a Mafia"; }
  3213.                 format(striing, sizeof(striing),"[GZ.INFO]O %s e %s dominaram as Obras | Local: /gps",Nome(i), org);
  3214.                 SendClientMessageToAll(GetPlayerColor(i), striing);
  3215.                 GangZoneStopFlashForAll(obras);
  3216.                 GangZoneHideForAll(obras);
  3217.                 GangZoneShowForAll(obras, GetPlayerColor(i));
  3218.                 corobras = GetPlayerColor(i);
  3219.                 SendClientMessage(i, -1, "[GZ.INFO] Voc√™ Ganhou {00FF00}$250{FFFFFF} por Dominar Essa GangZone");
  3220.                 GivePlayerMoney(i, 250);
  3221.             }
  3222.         }
  3223.         if(CPS_IsPlayerInCheckpoint(i,cppierab))
  3224.         {
  3225.             PlayerDomi[i][Pierab] ++;
  3226.             if(PlayerDomi[i][Pierab] >= 20)
  3227.             {
  3228.                 PlayerDomi[i][Pierab] = 0;
  3229.                 new striing[128], org[20];
  3230.                 if(PlayerInfo[i][Boys] >= 1) { org = "os Da Nang Boys"; }
  3231.                 if(PlayerInfo[i][Triads] >= 1) { org = "os Triads"; }
  3232.                 if(PlayerInfo[i][FBI] >= 1) { org = "o FBI"; }
  3233.                 if(PlayerInfo[i][SWAT] >= 1) { org = "a SWAT"; }
  3234.                 if(PlayerInfo[i][Rifa] >= 1) { org = "os SF Rifa's"; }
  3235.                 if(PlayerInfo[i][Mafia] >= 1) { org = "a Mafia"; }
  3236.                 format(striing, sizeof(striing),"[GZ.INFO]O %s e %s dominaram o Pier Abandonado | Local: /gps",Nome(i), org);
  3237.                 SendClientMessageToAll(GetPlayerColor(i), striing);
  3238.                 GangZoneStopFlashForAll(pierab);
  3239.                 GangZoneHideForAll(pierab);
  3240.                 GangZoneShowForAll(pierab, GetPlayerColor(i));
  3241.                 corpierab = GetPlayerColor(i);
  3242.                 SendClientMessage(i, -1, "[GZ.INFO] Voc√™ Ganhou {00FF00}$250{FFFFFF} por Dominar Essa GangZone");
  3243.                 GivePlayerMoney(i, 250);
  3244.             }
  3245.         }
  3246.         if(CPS_IsPlayerInCheckpoint(i,cppier69))
  3247.         {
  3248.             PlayerDomi[i][Pier69] ++;
  3249.             if(PlayerDomi[i][Pier69] >= 20)
  3250.             {
  3251.                 PlayerDomi[i][Pier69] = 0;
  3252.                 new striing[128], org[20];
  3253.                 if(PlayerInfo[i][Boys] >= 1) { org = "os Da Nang Boys"; }
  3254.                 if(PlayerInfo[i][Triads] >= 1) { org = "os Triads"; }
  3255.                 if(PlayerInfo[i][FBI] >= 1) { org = "o FBI"; }
  3256.                 if(PlayerInfo[i][SWAT] >= 1) { org = "a SWAT"; }
  3257.                 if(PlayerInfo[i][Rifa] >= 1) { org = "os SF Rifa's"; }
  3258.                 if(PlayerInfo[i][Mafia] >= 1) { org = "a Mafia"; }
  3259.                 format(striing, sizeof(striing),"[GZ.INFO]O %s e %s dominaram o Pier 69 | Local: /gps",Nome(i), org);
  3260.                 SendClientMessageToAll(GetPlayerColor(i), striing);
  3261.                 GangZoneStopFlashForAll(pier69);
  3262.                 GangZoneHideForAll(pier69);
  3263.                 GangZoneShowForAll(pier69, GetPlayerColor(i));
  3264.                 corpier69 = GetPlayerColor(i);
  3265.                 SendClientMessage(i, -1, "[GZ.INFO] Voc√™ Ganhou {00FF00}$250{FFFFFF} por Dominar Essa GangZone");
  3266.                 GivePlayerMoney(i, 250);
  3267.             }
  3268.                 }
  3269.     }
  3270.     return true;
  3271. }
  3272.  
  3273. // ================================= COMANDOS ==================================
  3274. // comando gps
  3275. CMD:gps(playerid)
  3276. {
  3277.     ShowPlayerDialog(playerid, DIALOG_GPS, DIALOG_STYLE_LIST, "Escolha seu Destino:", "Loja de Armas\nStunt Park{228B22} (GANGZONE)\n{FFFFFF}Casino{228B22} (GANGZONE)\n{FFFFFF}Campo de Baseball{228B22} (GANGZONE)\n{FFFFFF}Pracinha{228B22} (GANGZONE)\n{FFFFFF}Obras{228B22} (GANGZONE)\n{FFFFFF}Pier Abandonado{228B22} (GANGZONE)\n{FFFFFF}Pier 69{228B22} (GANGZONE)\n{FF0000}Desligar {FFFFFF} o GPS", "OK", "Cancelar");
  3278.     return 1;
  3279. }
  3280.  
  3281. // comando pfbi
  3282. CMD:pfbi(playerid)
  3283. {
  3284.     if(PlayerInfo[playerid][FBI] >= 1)
  3285.     {
  3286.         MoveObject(portaofbi,-1769.1999512,985.2000122,18.2000008, 4.0, 0.0000000,0.0000000,90.0000000);
  3287.         GameTextForPlayer(playerid,"~w~Portao ~b~FBI ~w~Aberto", 3000, 1);
  3288.         SetTimer("fbigate", 5000, 0);
  3289.     }
  3290.     return 1;
  3291. }
  3292.  
  3293. // comando pswat
  3294. CMD:pswat(playerid)
  3295. {
  3296.     if(PlayerInfo[playerid][SWAT] >= 1)
  3297.     {
  3298.         MoveObject(portaoswat,-1530.4000244,482.6000061,2.5000000,4.0, 0.0000000,0.0000000,0.0000000);
  3299.         GameTextForPlayer(playerid,"~w~Portao ~b~SWAT ~w~Aberto", 3000, 1);
  3300.         SetTimer("swatgate", 5000, 0);
  3301.     }
  3302.     return 1;
  3303. }
  3304.  
  3305. /*
  3306.     {-1532,793,-1484,660},  STUNT PARK
  3307.     {-2278,563,-2210,504},  CASINO
  3308.     {-2297,219,-2350,71},  CAMPO DE BASEBALL
  3309.     {-2739,405,-2674,345},  PRACINHA CENTRAL
  3310.     {-2136,311,-2019,120},  CONSTRU√á√ÉO
  3311.     {-2060,1334,-2095,1435},  PIER ABANDONADO
  3312.     {-1683,1319,-1551,1457}  PIER 69
  3313. */
  3314.  
  3315. // comando setadmin
  3316. CMD:setadmin(playerid,params[])
  3317. {
  3318.     new nivel;
  3319.     new giveplayerid;
  3320.     new name[MAX_PLAYER_NAME], string[128], striing[128];
  3321.     if(!IsPlayerAdmin(playerid) && PlayerInfo[playerid][Admin] < 5) return SendClientMessage(playerid, -1, "ERRO: Voc√™ n√£o √© um administrador ou nem tem level para usar esse comando.");
  3322.     if(sscanf(params, "ud", giveplayerid, nivel)) return SendClientMessage(playerid, AMARELO, "Uso do Comando Correto: /setadmin [ID] [nivel]");
  3323.     if(nivel < 0 || nivel > 5) return SendClientMessage(playerid, COR_VERMELHO, "ERRO: Level Inv√°lido!");
  3324.     PlayerInfo[giveplayerid][Admin] = nivel;
  3325.     if(nivel == 0)
  3326.     {
  3327.         format(striing, sizeof(striing), "[INFO] O jogador %s n√£o √© Mais Administrador !", Nome(giveplayerid));
  3328.         SendClientMessageToAll(AMARELO, striing);
  3329.     }
  3330.     if(nivel == 1 || nivel == 2 || nivel == 3 || nivel == 4 || nivel == 5)
  3331.     {
  3332.         GetPlayerName(giveplayerid, name, sizeof(name));
  3333.         format(string, sizeof(string), "[INFO] O jogador %s √© o novo administrador do servidor, ou Foi Promovido !", name);
  3334.         SendClientMessageToAll(AMARELO, string);
  3335.         SendClientMessage(giveplayerid, CORSERVER, "[SERVER]: Voc√™ foi setado de administrador, parab√©ns.");
  3336.         SendClientMessage(giveplayerid, CORSERVER, "[SERVER]: Administre bem o servidor, aproveite.");
  3337.     }
  3338.     return 1;
  3339. }
  3340.  
  3341. // comando setfbi
  3342. CMD:setfbi(playerid,params[])
  3343. {
  3344.     new nivel;
  3345.     new giveplayerid;
  3346.     if(PlayerInfo[playerid][Admin] < 3 && PlayerInfo[playerid][FBI] < 4) return SendClientMessage(playerid, -1, "ERRO: Voc√™ n√£o √© um administrador ou nem tem level para usar esse comando.");
  3347.     if(sscanf(params, "ud", giveplayerid, nivel)) return SendClientMessage(playerid, AMARELO, "Uso do Comando Correto: /setfbi [ID] [nivel]");
  3348.     if(nivel < 0 || nivel > 4) return SendClientMessage(playerid, COR_VERMELHO, "ERRO: Level Inv√°lido!");
  3349.     PlayerInfo[giveplayerid][SWAT] = 0;
  3350.     PlayerInfo[giveplayerid][FBI] = nivel;
  3351.     PlayerInfo[giveplayerid][Boys] = 0;
  3352.     PlayerInfo[giveplayerid][Triads] = 0;
  3353.     PlayerInfo[giveplayerid][Rifa] = 0;
  3354.     PlayerInfo[giveplayerid][Mafia] = 0;
  3355.     new string[100];
  3356.     format(string, sizeof(string), "[INFO] Voc√™ foi setado de FBI | Level %d.", nivel);
  3357.     SendClientMessage(giveplayerid,COR_FBI, string);
  3358.     format(string, sizeof(string), "[INFO] Player Setado com Sucesso | Level %d.", nivel);
  3359.     SendClientMessage(playerid,COR_FBI, string);
  3360.     return 1;
  3361. }
  3362.  
  3363. // comando setswat
  3364. CMD:setswat(playerid,params[])
  3365. {
  3366.     new nivel;
  3367.     new giveplayerid;
  3368.     if(PlayerInfo[playerid][Admin] < 3 && PlayerInfo[playerid][SWAT] < 4) return SendClientMessage(playerid, -1, "ERRO: Voc√™ n√£o √© um administrador ou nem tem level para usar esse comando.");
  3369.     if(sscanf(params, "ud", giveplayerid, nivel)) return SendClientMessage(playerid, AMARELO, "Uso do Comando Correto: /setswat [ID] [nivel]");
  3370.     if(nivel < 0 || nivel > 4) return SendClientMessage(playerid, COR_VERMELHO, "ERRO: Level Inv√°lido!");
  3371.     PlayerInfo[giveplayerid][SWAT] = nivel;
  3372.     PlayerInfo[giveplayerid][FBI] = 0;
  3373.     PlayerInfo[giveplayerid][Boys] = 0;
  3374.     PlayerInfo[giveplayerid][Triads] = 0;
  3375.     PlayerInfo[giveplayerid][Rifa] = 0;
  3376.     PlayerInfo[giveplayerid][Mafia] = 0;
  3377.     new string[100];
  3378.     format(string, sizeof(string), "[INFO] Voc√™ foi setado de SWAT | Level %d.", nivel);
  3379.     SendClientMessage(giveplayerid,COR_SWAT, string);
  3380.     format(string, sizeof(string), "[INFO] Player Setado com Sucesso | Level %d.", nivel);
  3381.     SendClientMessage(playerid,COR_SWAT, string);
  3382.     return 1;
  3383. }
  3384.  
  3385. // comando setboys
  3386. CMD:setboys(playerid,params[])
  3387. {
  3388.     new nivel;
  3389.     new giveplayerid;
  3390.     if(PlayerInfo[playerid][Admin] < 3 && PlayerInfo[playerid][Boys] < 4) return SendClientMessage(playerid, -1, "ERRO: Voc√™ n√£o √© um administrador ou nem tem level para usar esse comando.");
  3391.     if(sscanf(params, "ud", giveplayerid, nivel)) return SendClientMessage(playerid, AMARELO, "Uso do Comando Correto: /setboys [ID] [nivel]");
  3392.     if(nivel < 0 || nivel > 4) return SendClientMessage(playerid, COR_VERMELHO, "ERRO: Level Inv√°lido!");
  3393.     PlayerInfo[giveplayerid][SWAT] = 0;
  3394.     PlayerInfo[giveplayerid][FBI] = 0;
  3395.     PlayerInfo[giveplayerid][Boys] = nivel;
  3396.     PlayerInfo[giveplayerid][Triads] = 0;
  3397.     PlayerInfo[giveplayerid][Rifa] = 0;
  3398.     PlayerInfo[giveplayerid][Mafia] = 0;
  3399.     new string[100];
  3400.     format(string, sizeof(string), "[INFO] Voc√™ foi setado de Da Nang Boys | Level %d.", nivel);
  3401.     SendClientMessage(giveplayerid,COR_BOYS, string);
  3402.     format(string, sizeof(string), "[INFO] Player Setado com Sucesso | Level %d.", nivel);
  3403.     SendClientMessage(playerid,COR_BOYS, string);
  3404.     return 1;
  3405. }
  3406.  
  3407. // comando settriad
  3408. CMD:settriad(playerid,params[])
  3409. {
  3410.     new nivel;
  3411.     new giveplayerid;
  3412.     if(PlayerInfo[playerid][Admin] < 3 && PlayerInfo[playerid][Triads] < 4) return SendClientMessage(playerid, -1, "ERRO: Voc√™ n√£o √© um administrador ou nem tem level para usar esse comando.");
  3413.     if(sscanf(params, "ud", giveplayerid, nivel)) return SendClientMessage(playerid, AMARELO, "Uso do Comando Correto: /settriad [ID] [nivel]");
  3414.     if(nivel < 0 || nivel > 4) return SendClientMessage(playerid, COR_VERMELHO, "ERRO: Level Inv√°lido!");
  3415.     PlayerInfo[giveplayerid][SWAT] = 0;
  3416.     PlayerInfo[giveplayerid][FBI] = 0;
  3417.     PlayerInfo[giveplayerid][Boys] = 0;
  3418.     PlayerInfo[giveplayerid][Triads] = nivel;
  3419.     PlayerInfo[giveplayerid][Rifa] = 0;
  3420.     PlayerInfo[giveplayerid][Mafia] = 0;
  3421.     new string[100];
  3422.     format(string, sizeof(string), "[INFO] Voc√™ foi setado de TRIAD | Level %d.", nivel);
  3423.     SendClientMessage(giveplayerid,COR_TRIADS, string);
  3424.     format(string, sizeof(string), "[INFO] Player Setado com Sucesso | Level %d.", nivel);
  3425.     SendClientMessage(playerid,COR_TRIADS, string);
  3426.     return 1;
  3427. }
  3428.  
  3429. // comando setmafia
  3430. CMD:setmafia(playerid,params[])
  3431. {
  3432.     new nivel;
  3433.     new giveplayerid;
  3434.     if(PlayerInfo[playerid][Admin] < 3 && PlayerInfo[playerid][Mafia] < 4) return SendClientMessage(playerid, -1, "ERRO: Voc√™ n√£o √© um administrador ou nem tem level para usar esse comando.");
  3435.     if(sscanf(params, "ud", giveplayerid, nivel)) return SendClientMessage(playerid, AMARELO, "Uso do Comando Correto: /setmafia [ID] [nivel]");
  3436.     if(nivel < 0 || nivel > 4) return SendClientMessage(playerid, COR_VERMELHO, "ERRO: Level Inv√°lido!");
  3437.     PlayerInfo[giveplayerid][SWAT] = 0;
  3438.     PlayerInfo[giveplayerid][FBI] = 0;
  3439.     PlayerInfo[giveplayerid][Boys] = 0;
  3440.     PlayerInfo[giveplayerid][Triads] = 0;
  3441.     PlayerInfo[giveplayerid][Rifa] = 0;
  3442.     PlayerInfo[giveplayerid][Mafia] = nivel;
  3443.     new string[100];
  3444.     format(string, sizeof(string), "[INFO] Voc√™ foi setado de Mafia | Level %d.", nivel);
  3445.     SendClientMessage(giveplayerid,COR_MAFIA, string);
  3446.     format(string, sizeof(string), "[INFO] Player Setado com Sucesso | Level %d.", nivel);
  3447.     SendClientMessage(playerid,COR_MAFIA, string);
  3448.     return 1;
  3449. }
  3450.  
  3451. // comando setrifa
  3452. CMD:setrifa(playerid,params[])
  3453. {
  3454.     new nivel;
  3455.     new giveplayerid;
  3456.     if(PlayerInfo[playerid][Admin] < 3 && PlayerInfo[playerid][Rifa] < 4) return SendClientMessage(playerid, -1, "ERRO: Voc√™ n√£o √© um administrador ou nem tem level para usar esse comando.");
  3457.     if(sscanf(params, "ud", giveplayerid, nivel)) return SendClientMessage(playerid, AMARELO, "Uso do Comando Correto: /setrifa [ID] [nivel]");
  3458.     if(nivel < 0 || nivel > 4) return SendClientMessage(playerid, COR_VERMELHO, "ERRO: Level Inv√°lido!");
  3459.     PlayerInfo[giveplayerid][SWAT] = 0;
  3460.     PlayerInfo[giveplayerid][FBI] = 0;
  3461.     PlayerInfo[giveplayerid][Boys] = 0;
  3462.     PlayerInfo[giveplayerid][Triads] = 0;
  3463.     PlayerInfo[giveplayerid][Rifa] = nivel;
  3464.     PlayerInfo[giveplayerid][Mafia] = 0;
  3465.     new string[100];
  3466.     format(string, sizeof(string), "[INFO] Voc√™ foi setado de SF Rifa | Level %d.", nivel);
  3467.     SendClientMessage(giveplayerid,COR_RIFA, string);
  3468.     format(string, sizeof(string), "[INFO] Player Setado com Sucesso | Level %d.", nivel);
  3469.     SendClientMessage(playerid,COR_RIFA, string);
  3470.     return 1;
  3471. }
  3472.  
  3473. // comando vidat
  3474. CMD:vidat(playerid)
  3475. {
  3476.         if(Logado[playerid] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ tem que estar logado para usar este comando.");
  3477.         if(PlayerInfo[playerid][Admin] < 2) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ n√£o tem permiss√£o para usar este comando.");
  3478.         for(new i = 0; i <= MAX_PLAYERS; i ++)
  3479.         if(GetDistanceBetweenPlayers(playerid, i) <= 50)
  3480.         {
  3481.                 new string[70];
  3482.                 SetPlayerHealth(i, 100);
  3483.                 format(string,sizeof(string), "[INFO] %s deu vida para todos perto dele!",Nome(playerid));
  3484.                 SendClientMessage(i,COR_ADM,string);
  3485.         }
  3486.         return 1;
  3487. }
  3488.  
  3489. // comando coletet
  3490. CMD:coletet(playerid)
  3491. {
  3492.         if(Logado[playerid] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ tem que estar logado para usar este comando.");
  3493.         if(PlayerInfo[playerid][Admin] < 2) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ n√£o tem permiss√£o para usar este comando.");
  3494.         for(new i = 0; i <= MAX_PLAYERS; i++)
  3495.         if(GetDistanceBetweenPlayers(playerid, i) <= 50)
  3496.         {
  3497.                 new string[75];
  3498.                 SetPlayerArmour(i, 100);
  3499.                 format(string,sizeof(string), "[INFO] %s deu colete para todos perto dele!",Nome(playerid));
  3500.                 SendClientMessage(i,COR_ADM,string);
  3501.         }
  3502.         return 1;
  3503. }
  3504.  
  3505. //=============== COMANDOS DO EVENTO BASE JUMP ===================//
  3506. // comando bj
  3507. CMD:bj(playerid)
  3508. {
  3509.     if(BaseJump == 0) return SendClientMessage(playerid,COLOR_RED,"Erro: o Evento Base Jump esta Fechado");
  3510.         new string[100];
  3511.         format(string,sizeof(string), "[INFO] %s foi para o Evento {FF0000}Base Jump{FFFFFF} [/BJ]",Nome(playerid));
  3512.         SendClientMessageToAll(-1, string);
  3513.         ResetPlayerWeapons(playerid);
  3514.         GivePlayerWeapon(playerid, 46, 1);
  3515.         SetPlayerPos(playerid, -2386.3308, -1593.5870, 776.1250);
  3516.         return 1;
  3517. }
  3518.  
  3519. // comando abrirbj
  3520. CMD:abrirbj(playerid)
  3521. {
  3522.         if(Logado[playerid] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ tem que estar logado para usar este comando.");
  3523.         if(PlayerInfo[playerid][Admin] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ n√£o tem permiss√£o para usar este comando.");
  3524.     if(BaseJump == 1) return SendClientMessage(playerid,COLOR_RED,"Erro: o Evento Base Jump ja esta Aberto");
  3525.         BaseJump = 1;
  3526.         SendClientMessageToAll(COR_ROSA, "[INFO] O Evento BASE JUMP foi aberto!! [{FFFFFF}Digite /BJ para Participar{FF1493}]");
  3527.         SendClientMessage(playerid, -1, "|| ATEN√á√ÉO ADM! Feche o Evento com /FECHARBJ");
  3528.         return 1;
  3529. }
  3530.  
  3531. // comando fecharbj
  3532. CMD:fecharbj(playerid)
  3533. {
  3534.         if(Logado[playerid] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ tem que estar logado para usar este comando.");
  3535.         if(PlayerInfo[playerid][Admin] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ n√£o tem permiss√£o para usar este comando.");
  3536.     if(BaseJump == 0) return SendClientMessage(playerid,COLOR_RED,"Erro: o Evento Base Jump ja esta Fechado");
  3537.         BaseJump = 0;
  3538.         SendClientMessageToAll(COR_ROSA, "[INFO] O Evento {FFFFFF}BASE JUMP{FF1493} foi Fechado!");
  3539.         return 1;
  3540. }
  3541.  
  3542. //=============== FIM DOS COMANDOS DO EVENTO BASE JUMP ===================//
  3543. // comando jetpack
  3544. CMD:jetpack(playerid)
  3545. {
  3546.         if(Logado[playerid] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ tem que estar logado para usar este comando.");
  3547.         if(PlayerInfo[playerid][Admin] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ n√£o tem permiss√£o para usar este comando.");
  3548.         SetPlayerSpecialAction(playerid, 2);
  3549.         for(new i = 0; i <= MAX_PLAYERS; i++)
  3550.         if(GetDistanceBetweenPlayers(playerid, i) <= 50)
  3551.         {
  3552.                 new string[50];
  3553.                 format(string,sizeof(string), "[INFO] %s Criou um JetPack!",Nome(playerid));
  3554.                 SendClientMessage(i,COR_ADM,string);
  3555.         }
  3556.         return 1;
  3557. }
  3558.  
  3559. // comando cnn
  3560. CMD:cnn(playerid, params[])
  3561. {
  3562.         if(Logado[playerid] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ tem que estar logado para usar este comando.");
  3563.     if(PlayerInfo[playerid][Admin] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ n√£o tem permiss√£o para usar este comando.");
  3564.         if(isnull(params)) return SendClientMessage(playerid, COR_USOCORRETO, "Uso correto: /cnn [texto]");
  3565.         new string[100];
  3566.         format(string, sizeof(string), "~b~%s: ~w~%s",Nome(playerid), params);
  3567.         GameTextForAll(string, 5000, 5);
  3568.         return 1;
  3569. }
  3570.  
  3571. // comando ann
  3572. CMD:ann(playerid, params[])
  3573. {
  3574.         if(Logado[playerid] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ tem que estar logado para usar este comando.");
  3575.     if(PlayerInfo[playerid][Admin] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ n√£o tem permiss√£o para usar este comando.");
  3576.         if(isnull(params)) return SendClientMessage(playerid, COR_USOCORRETO, "Uso correto: /cnn [texto]");
  3577.         new string[100];
  3578.         format(string, sizeof(string), "~w~%s", params);
  3579.         GameTextForAll(string, 5000, 6);
  3580.         return 1;
  3581. }
  3582.  
  3583. // comando tapa
  3584. CMD:tapa(playerid, params[])
  3585. {
  3586.     new giveplayerid;
  3587.         if(Logado[playerid] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ tem que estar logado para usar este comando.");
  3588.         if(PlayerInfo[playerid][Admin] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ n√£o tem permiss√£o para usar este comando.");
  3589.         if(sscanf(params,"u", giveplayerid)) return SendClientMessage(playerid, COR_USOCORRETO, "Uso correto: /tapa [id do player]");
  3590.         new Float:health;
  3591.         if(!IsPlayerConnected(giveplayerid)) return SendClientMessage(playerid,COLOR_RED,"Erro: Este id est√° offline.");
  3592.         GetPlayerHealth(giveplayerid, health);
  3593.         SetPlayerHealth(giveplayerid, health-5);
  3594.         GetPlayerPos(giveplayerid, px, py, pz);
  3595.         SetPlayerPos(giveplayerid, px, py, pz+5);
  3596.         for(new i=0; i <= MAX_PLAYERS; i++)
  3597.         {
  3598.                 if(GetDistanceBetweenPlayers(giveplayerid, i) <= 60)
  3599.                 {
  3600.                         new string[85];
  3601.                         format(string,sizeof(string), "[SFW.Adm] %s levou um tapa de %s",Nome(giveplayerid),Nome(playerid));
  3602.                         SendClientMessage(i,COR_ADM,string);
  3603.                 }
  3604.         }
  3605.         return 1;
  3606. }
  3607.  
  3608. // comando ir
  3609. CMD:ir(playerid, params[])
  3610. {
  3611.     new giveplayerid;
  3612.         if(Logado[playerid] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ tem que estar logado para usar este comando.");
  3613.         if(PlayerInfo[playerid][Admin] < 1 && PlayerInfo[playerid][Mafia] < 3 && PlayerInfo[playerid][Boys] < 3 && PlayerInfo[playerid][Triads] < 3 && PlayerInfo[playerid][Rifa] < 3 && PlayerInfo[playerid][FBI] < 3 && PlayerInfo[playerid][SWAT] < 3) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ n√£o tem permiss√£o para usar este comando.");
  3614.         if(sscanf(params,"u", giveplayerid)) return SendClientMessage(playerid, COR_USOCORRETO, "Uso: /ir [id do player]");
  3615.         if(!IsPlayerConnected(giveplayerid)) return SendClientMessage(playerid,COLOR_RED,"Erro: Este id est√° offline.");
  3616.         for(new i=0; i <= MAX_PLAYERS; i++)
  3617.         {
  3618.                 if(GetDistanceBetweenPlayers(playerid, i) <= 40)
  3619.                 {
  3620.                         new string[85];
  3621.                         format(string,sizeof(string), "[SFW.Adm] %s foi at√© o jogador %s.",Nome(playerid),Nome(giveplayerid));
  3622.                         SendClientMessage(i,COR_ROXO,string);
  3623.                 }
  3624.         }
  3625.         for(new i=0; i <= MAX_PLAYERS; i++)
  3626.         {
  3627.                 if(GetDistanceBetweenPlayers(giveplayerid, i) <= 60)
  3628.                 {
  3629.                         new string[85];
  3630.                         format(string,sizeof(string), "[SFW.Adm] %s veio at√© o jogador %s.",Nome(playerid),Nome(giveplayerid));
  3631.                         SendClientMessage(i,COR_ADM,string);
  3632.                 }
  3633.         }
  3634.         GetPlayerPos(giveplayerid,px,py,pz);
  3635.         new intid = GetPlayerInterior(giveplayerid);
  3636.         SetPlayerInterior(playerid,intid);
  3637.         if(GetPlayerState(playerid) == 2)
  3638.         {
  3639.                 new tmpcar = GetPlayerVehicleID(playerid);
  3640.                 SetVehiclePos(tmpcar,px,py+4,pz);
  3641.         }
  3642.         else
  3643.         {
  3644.                 SetPlayerPos(playerid,px,py+2,pz);
  3645.         }
  3646.         return 1;
  3647. }
  3648.  
  3649. // comando tr
  3650. CMD:tr(playerid, params[])
  3651. {
  3652.         cmd_trazer(playerid, params);
  3653.         return 1;
  3654. }
  3655.  
  3656. // comando trazer
  3657. CMD:trazer(playerid, params[])
  3658. {
  3659.     new giveplayerid;
  3660.         if(Logado[playerid] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ tem que estar logado para usar este comando.");
  3661.         if(PlayerInfo[playerid][Admin] < 1 && PlayerInfo[playerid][Mafia] < 3 && PlayerInfo[playerid][Boys] < 3 && PlayerInfo[playerid][Triads] < 3 && PlayerInfo[playerid][Rifa] < 3 && PlayerInfo[playerid][FBI] < 3 && PlayerInfo[playerid][SWAT] < 3) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ n√£o tem permiss√£o para usar este comando.");
  3662.         if(sscanf(params,"u", giveplayerid)) return SendClientMessage(playerid, COR_USOCORRETO, "Uso correto: /trazer [id do player]");
  3663.         if(!IsPlayerConnected(giveplayerid)) return SendClientMessage(playerid,COLOR_RED,"Erro: Este id est√° offline.");
  3664.         for(new i=0; i <= MAX_PLAYERS; i++)
  3665.         {
  3666.                 if(GetDistanceBetweenPlayers(playerid, i) <= 60)
  3667.                 {
  3668.                         new string[85];
  3669.                         format(string,sizeof(string), "[SFW.Adm] %s trouxe o Jogador %s.",Nome(playerid),Nome(giveplayerid));
  3670.                         SendClientMessage(i,COR_ADM,string);
  3671.                 }
  3672.         }
  3673.         for(new i=0; i <= MAX_PLAYERS; i++)
  3674.         {
  3675.                 if(GetDistanceBetweenPlayers(giveplayerid, i) <= 60)
  3676.                 {
  3677.                         new string[85];
  3678.                         format(string,sizeof(string), "[SFW.Adm] %s levou o Jogador %s.",Nome(playerid),Nome(giveplayerid));
  3679.                         SendClientMessage(i,COR_ADM,string);
  3680.                 }
  3681.         }
  3682.         GetPlayerPos(playerid,px,py,pz);
  3683.         new intid = GetPlayerInterior(playerid);
  3684.         SetPlayerInterior(giveplayerid,intid);
  3685.         if (GetPlayerState(giveplayerid) == 2)
  3686.         {
  3687.                 new tmpcar = GetPlayerVehicleID(giveplayerid);
  3688.                 SetVehiclePos(tmpcar,px,py+4,pz);
  3689.         }
  3690.         else
  3691.         {
  3692.                 SetPlayerPos(giveplayerid,px,py+2,pz);
  3693.         }
  3694.         return 1;
  3695. }
  3696.  
  3697. // comando virar
  3698. CMD:virar(playerid)
  3699. {
  3700.         if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ n√£o est√° em um ve√≠culo.");
  3701.         SetCameraBehindPlayer(playerid);
  3702.         GetPlayerPos(playerid,px,py,pz);
  3703.         SetVehiclePos(GetPlayerVehicleID(playerid),px,py,pz);
  3704.         SetVehicleZAngle(GetPlayerVehicleID(playerid),0);
  3705.         return 1;
  3706. }
  3707.  
  3708. // comando rico
  3709. CMD:rico(playerid)
  3710. {
  3711.         if(PlayerInfo[playerid][Admin] < 4) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ n√£o tem permiss√£o para usar este comando.");
  3712.         RepairVehicle(GetPlayerVehicleID(playerid));
  3713.         Scm(playerid, -1, "Agora compre um Camaro, e Fique do-do-doce!");
  3714.         GivePlayerMoney(playerid, 500000);
  3715.         return 1;
  3716. }
  3717.  
  3718. // comando reparar
  3719. CMD:reparar(playerid)
  3720. {
  3721.         if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ n√£o est√° em um ve√≠culo.");
  3722.         if(PlayerInfo[playerid][Admin] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ n√£o tem permiss√£o para usar este comando.");
  3723.         RepairVehicle(GetPlayerVehicleID(playerid));
  3724.         Scm(playerid, -1, "Veiculo {0000FF} Reparado {FFFFFF}!");
  3725.         return 1;
  3726. }
  3727.  
  3728. // comando laser
  3729. CMD:laser(playerid)
  3730. {
  3731.         if(PlayerInfo[playerid][Laser] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ ainda n√£o Comprou um Laser, Compre-o na Loja de Armas | Local: /gps");
  3732.         ShowPlayerDialog(playerid, DIALOG_LASER, DIALOG_STYLE_LIST, "{FFFFFF}Op√ß√Ķes de Laser", "{FFFFFF}Ativar\n{FFFFFF}Desativar\n{FFFFFF}Cor: {FF0000} Vermelho\n{FFFFFF}Cor: {00FF00} Verde\n{FFFFFF}Cor: {0000FF} Azul", "Escolher", "Cancelar");
  3733.         return 1;
  3734. }
  3735.  
  3736. // comando setskin
  3737. CMD:setskin(playerid, params[])
  3738. {
  3739.         if(Logado[playerid] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ tem que estar logado para usar este comando.");
  3740.         if(PlayerInfo[playerid][Admin] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ n√£o tem permiss√£o para usar este comando.");
  3741.         new id, skin;
  3742.         if(sscanf(params,"ud", id, skin)) return SendClientMessage(playerid, COR_USOCORRETO,"USO: /SetSkin [ID] [Skin]");
  3743.         if(!IsPlayerConnected(id)) return SendClientMessage(playerid,COLOR_RED,"Erro: Este id est√° offline.");
  3744.         if(skin==3 || skin==4 || skin==5 || skin==6 || skin==8 || skin==42 || skin==65 || skin==74 || skin==86 || skin==119 || skin==149 || skin==208 || skin==273 || skin==274 || skin==289 || skin>=300) return SendClientMessage(playerid, COR_ERRO, "ERRO: Skin inv√°lida!");
  3745.         SendClientMessage(playerid, COR_PRINCIPAL, "|| Skin mudada.");
  3746.         SetPlayerSkin(id, skin);
  3747.         return 1;
  3748. }
  3749.  
  3750.  
  3751. // comando id
  3752. CMD:id(playerid, params[])
  3753. {
  3754.         cmd_getid(playerid, params);
  3755.         return 1;
  3756. }
  3757.  
  3758. // comando getid
  3759. CMD:getid(playerid, params[])
  3760. {
  3761.         new tmp[30];
  3762.         if(sscanf(params,"s", tmp)) return SendClientMessage(playerid,COR_USOCORRETO,"Uso: /getid [parte do nick]");
  3763.         new string[80];
  3764.         format(string,sizeof(string),"Procurando por:: \"%s\": ", tmp);
  3765.         SendClientMessage(playerid,VERMELHO,string);
  3766.         new found=0;
  3767.         for(new i=0; i <= MAX_PLAYERS; i++)
  3768.         {
  3769.                 if(IsPlayerConnected(i))
  3770.                 {
  3771.                         new foundname[MAX_PLAYER_NAME];
  3772.                         GetPlayerName(i, foundname, MAX_PLAYER_NAME);
  3773.                         new namelen = strlen(foundname);
  3774.                         new bool:searched=false;
  3775.                         for(new pos=0; pos <= namelen; pos++)
  3776.                         {
  3777.                                 if(searched != true)
  3778.                                 {
  3779.                                         if(strfind(foundname,tmp,true) == pos)
  3780.                                         {
  3781.                                             if(GetPlayerScore(i) <= 1)
  3782.                                             {
  3783.                                                 found++;
  3784.                                                 format(string,sizeof(string),"%d. %s (ID %d) {FF0000}(Level %d)",found, foundname, i, GetPlayerScore(i));
  3785.                                                 SendClientMessage(playerid, 0xE3E3E3FF ,string);
  3786.                                                 searched = true;
  3787.                                             }
  3788.                                             if(GetPlayerScore(i) >= 2)
  3789.                                             {
  3790.                                                 found++;
  3791.                                                 format(string,sizeof(string),"%d. %s (ID %d) {00E800}(Level %d)", found, foundname, i, GetPlayerScore(i));
  3792.                                                 SendClientMessage(playerid, 0xE3E3E3FF ,string);
  3793.                                                 searched = true;
  3794.                                             }
  3795.                     }
  3796.                             }
  3797.                         }
  3798.                 }
  3799.         }
  3800.         return 1;
  3801. }
  3802.  
  3803. // comando abordar
  3804. CMD:abordar(playerid, params[])
  3805. {
  3806.     new giveplayerid;
  3807.     if(PlayerInfo[playerid][SWAT] < 1 && PlayerInfo[playerid][FBI] < 1) return SendClientMessage(playerid, ERRO, "[ERRO] Voc√™ n√£o √© um COP");
  3808.     if(sscanf(params, "u", giveplayerid)) return SendClientMessage(playerid, COR_USOCORRETO, "[USO] /abordar [ID] ");
  3809.     if(!IsPlayerConnected(giveplayerid)) return SendClientMessage(playerid, COR_BRANCO, "[ERRO] ID invalido");
  3810.     new String[100],striing[128];
  3811.     format(String, sizeof(String), "[INFO] O Policial %s Abordou o [%s]", Nome(playerid), Nome(giveplayerid));
  3812.     SendClientMessageToAll(0x4169E1FF, String);
  3813.     SetPlayerSpecialAction(giveplayerid,SPECIAL_ACTION_HANDSUP);
  3814.     format(striing, sizeof(striing), "[INFO] Voc√™ Foi Abordado pelo Policial [%s]", Nome(playerid));
  3815.     SendClientMessage(giveplayerid, 0x4169E1FF, striing);
  3816.     Abordado[giveplayerid] = 1;
  3817.     TogglePlayerControllable(giveplayerid,0);
  3818.     return 1;
  3819. }
  3820.  
  3821. // comando liberar
  3822. CMD:liberar(playerid, params[])
  3823. {
  3824.     new giveplayerid;
  3825.     if(PlayerInfo[playerid][SWAT] < 1 && PlayerInfo[playerid][FBI] < 1) return SendClientMessage(playerid, ERRO, "[ERRO] Voc√™ n√£o √© um COP");
  3826.     if(sscanf(params, "u", giveplayerid)) return SendClientMessage(playerid, COR_USOCORRETO, "[USO] /liberar [ID] ");
  3827.         if(Abordado[giveplayerid] == 0) return SendClientMessage(playerid, ERRO, "[ERRO]Este Player n√£o esta Abordado");
  3828.     if(!IsPlayerConnected(giveplayerid)) return SendClientMessage(playerid, COR_BRANCO, "[ERRO] ID invalido");
  3829.     new String[100],striing[128];
  3830.     format(String, sizeof(String), "[INFO] O Policial %s Liberou o [%s]", Nome(playerid), Nome(giveplayerid));
  3831.     SendClientMessageToAll(0x4169E1FF, String);
  3832.     ClearAnimations(giveplayerid);
  3833.     TogglePlayerControllable(giveplayerid,1);
  3834.     format(striing, sizeof(striing), "[INFO] Voc√™ Foi Liberado pelo Policial [%s]", Nome(playerid));
  3835.     SendClientMessage(giveplayerid, 0x4169E1FF, striing);
  3836.     Abordado[giveplayerid] = 1;
  3837.     return 1;
  3838. }
  3839.    
  3840. // comando escudo
  3841. CMD:escudo(playerid)
  3842. {
  3843.     if(PlayerInfo[playerid][SWAT] < 1 && PlayerInfo[playerid][FBI] < 1) return SendClientMessage(playerid, COR_ERRO, "ERRO: Voc√™ n√£o √© Policial");
  3844.     if(Equipamentos[playerid] == 1) return SendClientMessage(playerid, COR_ERRO, "ERRO: Voc√™ ja esta usando escudo !");
  3845.         SetPlayerAttachedObject(playerid,3,18637,13,0.35,0.0,0.0,0.0,0.0,180.0);
  3846.     SendClientMessage(playerid,COR_ROXO,"|| Escudo Ativado | {FFFFFF} Desativar: /escudooff");
  3847.     Equipamentos[playerid] = 1;
  3848.     return 1;
  3849. }
  3850.  
  3851.  
  3852. //comando escudooff
  3853. CMD:escudooff(playerid)
  3854. {
  3855.     if(PlayerInfo[playerid][SWAT] < 1 && PlayerInfo[playerid][FBI] < 1) return SendClientMessage(playerid, COR_ERRO, "ERRO: Voc√™ n√£o √© Policial");
  3856.     if(Equipamentos[playerid] == 0) return SendClientMessage(playerid, COR_ERRO, "ERRO: Voc√™ n√£o esta usando escudo !");
  3857.     RemovePlayerAttachedObject(playerid,3);
  3858.     SendClientMessage(playerid,COR_ROXO,"|| Escudo Desativado |{FFFFFF} Ativar: /escudo");
  3859.     Equipamentos[playerid] = 0;
  3860.     return 1;
  3861. }
  3862.  
  3863. // comando comandosadmin
  3864. CMD:comandosadmin(playerid)
  3865. {
  3866.         if(PlayerInfo[playerid][Admin] < 1) return SendClientMessage(playerid, COR_ERRO, "ERRO: Voc√™ n√£o tem permiss√£o para usar este comando.");
  3867.         ShowPlayerDialog(playerid,660, DIALOG_STYLE_MSGBOX, "COMANDOS DE ADMINISTRADOR", "{C798FA}[Level 1]:{FFFFFF}/avisar /trabalhar, /jogar, /ann /a, /asay, /tapa, /ir, /trazer, /setskin, /rc, /jetpack, /cnn, /coletet, /vidat, /dc\n{C798FA}[Level 2]:{FFFFFF} /kick, /veh, /limparchat /supertapa, /congelar, /desarmar, /olhar\n{C798FA}[Level 3]:{FFFFFF} /ban\n{C798FA}[Level 4]:{FFFFFF} /rico, /tempo\n{C798FA}[Level 5]:{FFFFFF} /clima, /rtc\n", "OK", "");
  3868.         return 1;
  3869. }
  3870.  
  3871. // comando comandosmafia
  3872. CMD:comandosmafia(playerid)
  3873. {
  3874.         if(PlayerInfo[playerid][Admin] < 1 && PlayerInfo[playerid][Mafia] < 1) return SendClientMessage(playerid, COR_ERRO, "ERRO: Voc√™ n√£o tem permiss√£o para usar este comando.");
  3875.         ShowPlayerDialog(playerid,661, DIALOG_STYLE_MSGBOX, "COMANDOS DA MAFIA", "{C798FA}[Level 1]:{FFFFFF} ! [texto] \n{C798FA}[Level 2]:{FFFFFF} -- \n{C798FA}[Level 3]:{FFFFFF} /trazer, /ir, /rc, /asay\n{C798FA}[Level 4]:{FFFFFF} /setmafia, /kick\n", "OK", "");
  3876.         return 1;
  3877. }
  3878.  
  3879. // comando comandostriad
  3880. CMD:comandostriad(playerid)
  3881. {
  3882.         if(PlayerInfo[playerid][Admin] < 1 && PlayerInfo[playerid][Triads] < 1) return SendClientMessage(playerid, COR_ERRO, "ERRO: Voc√™ n√£o tem permiss√£o para usar este comando.");
  3883.         ShowPlayerDialog(playerid,662, DIALOG_STYLE_MSGBOX, "COMANDOS DOS TRIADS", "{C798FA}[Level 1]:{FFFFFF} ! [texto] \n{C798FA}[Level 2]:{FFFFFF} -- \n{C798FA}[Level 3]:{FFFFFF} /trazer, /ir, /rc, /asay\n{C798FA}[Level 4]:{FFFFFF} /settriad\n", "OK", "");
  3884.         return 1;
  3885. }
  3886.  
  3887. // comando comandosboys
  3888. CMD:comandosboys(playerid)
  3889. {
  3890.         if(PlayerInfo[playerid][Admin] < 1 && PlayerInfo[playerid][Boys] < 1) return SendClientMessage(playerid, COR_ERRO, "ERRO: Voc√™ n√£o tem permiss√£o para usar este comando.");
  3891.     ShowPlayerDialog(playerid,663, DIALOG_STYLE_MSGBOX, "COMANDOS DOS DA NANG BOYS", "{C798FA}[Level 1]:{FFFFFF} ! [texto] \n{C798FA}[Level 2]:{FFFFFF} -- \n{C798FA}[Level 3]:{FFFFFF} /ir, /vidat, /rc, /asay\n{C798FA}[Level 4]:{FFFFFF} /setboys\n", "OK", "");
  3892.         return 1;
  3893. }
  3894.  
  3895. // comando comandosrifa
  3896. CMD:comandosrifa(playerid)
  3897. {
  3898.         if(PlayerInfo[playerid][Admin] < 1 && PlayerInfo[playerid][Rifa] < 1) return SendClientMessage(playerid, COR_ERRO, "ERRO: Voc√™ n√£o tem permiss√£o para usar este comando.");
  3899.         ShowPlayerDialog(playerid,664, DIALOG_STYLE_MSGBOX, "COMANDOS DOS SF RIFAS", "{C798FA}[Level 1]:{FFFFFF} ! [texto] \n{C798FA}[Level 2]:{FFFFFF} -- \n{C798FA}[Level 3]:{FFFFFF} /ir, /vidat, /rc, /asay\n{C798FA}[Level 4]:{FFFFFF} /setrifa\n", "OK", "");
  3900.         return 1;
  3901. }
  3902.  
  3903. // comando comandosswat
  3904. CMD:comandosswat(playerid)
  3905. {
  3906.         if(PlayerInfo[playerid][Admin] < 1 && PlayerInfo[playerid][SWAT] < 1) return SendClientMessage(playerid, COR_ERRO, "ERRO: Voc√™ n√£o tem permiss√£o para usar este comando.");
  3907.         ShowPlayerDialog(playerid,665, DIALOG_STYLE_MSGBOX, "COMANDOS DA SWAT", "{C798FA}[Level 1]:{FFFFFF} ! [texto] /pswat, /escudo, /m \n{C798FA}[Level 2]:{FFFFFF} /abordar, /liberar\n{C798FA}[Level 3]:{FFFFFF} /ir, /trazer, /rc, /asay\n{C798FA}[Level 4]:{FFFFFF} /setswat\n", "OK", "");
  3908.         return 1;
  3909. }
  3910.  
  3911. // comando comandosfbi
  3912. CMD:comandosfbi(playerid)
  3913. {
  3914.         if(PlayerInfo[playerid][Admin] < 1 && PlayerInfo[playerid][FBI] < 1) return SendClientMessage(playerid, COR_ERRO, "ERRO: Voc√™ n√£o tem permiss√£o para usar este comando.");
  3915.         ShowPlayerDialog(playerid,666, DIALOG_STYLE_MSGBOX, "COMANDOS DO FBI", "{C798FA}[Level 1]:{FFFFFF} ! [texto] /pfbi, /escudo, /m \n{C798FA}[Level 2]:{FFFFFF} /abordar, /liberar\n{C798FA}[Level 3]:{FFFFFF} /ir, /trazer, /rc, /asay\n{C798FA}[Level 4]:{FFFFFF} /setfbi\n", "OK", "");
  3916.         return 1;
  3917. }
  3918.  
  3919. // comando comandos
  3920. CMD:comandos(playerid)
  3921. {
  3922.         ShowPlayerDialog(playerid, 667, DIALOG_STYLE_MSGBOX, "COMANDOS GERAL", "{C798FA}/tutorial /creditos /admins /gps /kill /laser\n{C798FA}/desbugar /getid /animes /novidades /pm\n{C798FA}/comandosboys /comandosfbi /comandosswat.\n{C798FA}/comandosmafia /comandostriad /comandosrifa.\n{C798FA}/report {FFFFFF}Para reportar algum player.\n{C798FA}/relatorio {FFFFFF}Caso esteja com d√ļvida.\n", "OK", "");
  3923.         return 1;
  3924. }
  3925.  
  3926. // comando desbugar
  3927. CMD:desbugar(playerid)
  3928. {
  3929.     ClearAnimations(playerid);
  3930.     TogglePlayerControllable(playerid,1);
  3931.         SetPlayerInterior(playerid, 0);
  3932.         SendClientMessage(playerid, VERMELHO, "Voc√™ foi Desbugado [Anima√ß√Ķes Limpadas, Controle de Volta, Interior Setado]");
  3933.         return 1;
  3934. }
  3935.  
  3936. // comando info
  3937. CMD:info(playerid, params[])
  3938. {
  3939.         new clickedplayerid;
  3940.     if(sscanf(params,"u", clickedplayerid)) return SendClientMessage(playerid, COR_USOCORRETO, "Uso correto: /info [id do player]");
  3941.         if(!IsPlayerConnected(clickedplayerid)) return SendClientMessage(playerid,COLOR_RED,"Erro: Este id est√° offline.");
  3942.     new Str[70], Stri[70], Strin[70], String[70];
  3943.         format(Str, 70, "{1E90FF}Informa√ß√Ķes do Player: {B0C4DE}%s", Nome(clickedplayerid));
  3944.         format(Stri, 70, "{1E90FF}Level: {B0C4DE}%d", GetPlayerScore(clickedplayerid));
  3945.         format(Strin, 70, "{1E90FF}Matou: {B0C4DE}%d", PlayerInfo[clickedplayerid][Matou]);
  3946.         format(String, 70, "{1E90FF}Morreu: {B0C4DE}%d", PlayerInfo[clickedplayerid][Morreu]);
  3947.         SendClientMessage(playerid, -1, Str);
  3948.         SendClientMessage(playerid, -1, Stri);
  3949.         SendClientMessage(playerid, -1, Strin);
  3950.         SendClientMessage(playerid, -1, String);
  3951.         return 1;
  3952. }
  3953.  
  3954. // comando tutorial
  3955. CMD:tutorial(playerid)
  3956. {
  3957.         new dialogrande[1024];
  3958.         format(dialogrande, sizeof(dialogrande),"%s%s",dialogrande,"{0000FF}O server:\n");
  3959.         format(dialogrande, sizeof(dialogrande),"%s%s",dialogrande,"{FFFFFF}Nosso Server √© Baseado em guerra de gangs, o seu objetivo √© ser o\n");
  3960.         format(dialogrande, sizeof(dialogrande),"%s%s",dialogrande,"{FFFFFF}melhor, levando sua gang ao Topo\n\n");
  3961.         format(dialogrande, sizeof(dialogrande),"%s%s",dialogrande,"{0000FF}Gang Zones:\n");
  3962.         format(dialogrande, sizeof(dialogrande),"%s%s",dialogrande,"{FFFFFF}Existem GangZones para serem dominadas, use /gps\n\n");
  3963.         format(dialogrande, sizeof(dialogrande),"%s%s",dialogrande,"{0000FF}Armas:\n");
  3964.         format(dialogrande, sizeof(dialogrande),"%s%s",dialogrande,"{FFFFFF}Voc√™ pode comprar melhores armas, use /gps\n\n");
  3965.         format(dialogrande, sizeof(dialogrande),"%s%s",dialogrande,"{0000FF}Policias:\n");
  3966.         format(dialogrande, sizeof(dialogrande),"%s%s",dialogrande,"{FFFFFF}Para ser do FBI/SWAT espere as Inscri√ß√Ķes abrirem\n\n");
  3967.         format(dialogrande, sizeof(dialogrande),"%s%s",dialogrande,"{0000FF}Comandos:\n");
  3968.         format(dialogrande, sizeof(dialogrande),"%s%s",dialogrande,"{FFFFFF}Utilize /comandos para saber todos eles!\n\n");
  3969.         format(dialogrande, sizeof(dialogrande),"%s%s",dialogrande,"{0000FF}Comunidade:\n");
  3970.         format(dialogrande, sizeof(dialogrande),"%s%s",dialogrande,"{FFFFFF}https://www.facebook.com/groups/SF.War/\n");
  3971.         format(dialogrande, sizeof(dialogrande),"%s%s",dialogrande,"{FFFFFF}Voc√™ Vai poder interagir com os players e denunciar xiters e etc.\n");
  3972.         ShowPlayerDialog(playerid, 9594, DIALOG_STYLE_MSGBOX, "{0000FF}Como Jogar", dialogrande, "OK", "");
  3973.         return 1;
  3974. }
  3975.  
  3976. // comando novidades
  3977. CMD:novidades(playerid)
  3978. {
  3979.         new dialogrande[700];
  3980.         format(dialogrande, sizeof(dialogrande),"%s%s",dialogrande,"{0000ff}/mudarorg {FFFFFF}Novo Comando Adicionado ! /gps\n");
  3981.         format(dialogrande, sizeof(dialogrande),"%s%s",dialogrande,"{0000ff}Pre√ßos {FFFFFF}Tudo Mais Barato na Loja De Armas /gps\n");
  3982.         format(dialogrande, sizeof(dialogrande),"%s%s",dialogrande,"{0000ff}Lazer {FFFFFF}Agora √© Possivel Comprar Lazer nas Lojas\n");
  3983.         format(dialogrande, sizeof(dialogrande),"%s%s",dialogrande,"{0000ff}Evento {FFFFFF}Foi Adicionado um Evento (BASE JUMP)\n");
  3984.         format(dialogrande, sizeof(dialogrande),"%s%s",dialogrande,"{0000ff}Interface {FFFFFF}Nova Interface no Server\n");
  3985.         format(dialogrande, sizeof(dialogrande),"%s%s",dialogrande,"{0000ff}CHAT ORG {FFFFFF}Chat de Organiza√ß√£o foi Arrumado\n");
  3986.         ShowPlayerDialog(playerid, 9799, DIALOG_STYLE_MSGBOX, "Novidades [SFW]", dialogrande, "OK", "");
  3987.         return 1;
  3988. }
  3989.  
  3990. // comando creditos
  3991. CMD:creditos(playerid)
  3992. {
  3993.         new dialogrande[700];
  3994.         format(dialogrande, sizeof(dialogrande),"%s%s",dialogrande,"{FF9900}Game Mode: {FFFFFF}Totola e BielZera\n");
  3995.         format(dialogrande, sizeof(dialogrande),"%s%s",dialogrande,"{FF9900}Mapa: {FFFFFF}Totola\n");
  3996.         format(dialogrande, sizeof(dialogrande),"%s%s",dialogrande,"{FF9900}Includes: {FFFFFF}DOF2, ZCMD, SSCANF2, CPStream\n");
  3997.         format(dialogrande, sizeof(dialogrande),"%s%s",dialogrande,"{FF9900}Agradecimentos: {FFFFFF}forum.sa-mp.com\n");
  3998.         ShowPlayerDialog(playerid, 9991, DIALOG_STYLE_MSGBOX, "{FF9900}Cr√©ditos do Server {FFFFFF}", dialogrande, "OK", "");
  3999.         return 1;
  4000. }
  4001.  
  4002. // comando supertapa
  4003. CMD:supertapa(playerid, params[])
  4004. {
  4005.     new giveplayerid;
  4006.         if(Logado[playerid] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ tem que estar logado para usar este comando.");
  4007.         if(PlayerInfo[playerid][Admin] < 2) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ n√£o tem permiss√£o para usar este comando.");
  4008.         new string[90];
  4009.         if(sscanf(params,"u", giveplayerid)) return SendClientMessage(playerid, COR_USOCORRETO, "Uso correto: /supertapa [id do player]");
  4010.         if(!IsPlayerConnected(giveplayerid)) return SendClientMessage(playerid,COLOR_RED,"Erro: Este id est√° offline.");
  4011.         GetPlayerPos(giveplayerid, px, py, pz);
  4012.         SetPlayerPos(giveplayerid, px, py, pz+90);
  4013.         for(new i=0; i <= MAX_PLAYERS; i++)
  4014.         {
  4015.                 if(GetDistanceBetweenPlayers(giveplayerid, i) <= 60)
  4016.                 {
  4017.                         format(string,sizeof(string), "[SFW.Adm] %s levou um super tapa de %s", Nome(giveplayerid), Nome(playerid));
  4018.                         SendClientMessage(i,COR_ADM,string);
  4019.                 }
  4020.         }
  4021.         return 1;
  4022. }
  4023.  
  4024. // comando clima
  4025. CMD:clima(playerid, params[])
  4026. {
  4027.         if(Logado[playerid] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ tem que estar logado para usar este comando.");
  4028.         if(PlayerInfo[playerid][Admin] < 5) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ n√£o tem permiss√£o para usar este comando.");
  4029.         new string[100];
  4030.         if(isnull(params)) return SendClientMessage(playerid, COR_USOCORRETO, "Uso correto: /clima [id do clima]");
  4031.         new weather = strval(params);
  4032.         SetWeather(weather);
  4033.         format(string, sizeof(string), "[SFW.Adm] %s mudou o clima para o id %d.", Nome(playerid),weather);
  4034.         SendClientMessageToAll(COR_ADM, string);
  4035.         return 1;
  4036. }
  4037.  
  4038. // comando weathers
  4039. CMD:wheathers(playerid)
  4040. {
  4041.         cmd_climas(playerid);
  4042.         return 1;
  4043. }
  4044.  
  4045. // comando climas
  4046. CMD:climas(playerid)
  4047. {
  4048.         if(Logado[playerid] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ tem que estar logado para usar este comando.");
  4049.         if(PlayerInfo[playerid][Admin] < 4) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ n√£o tem permiss√£o para usar este comando.");
  4050.         SendClientMessage(playerid, COR_ERRO, ">>+-=================================== [Weather Ids: ] ================================");
  4051.         SendClientMessage(playerid, COLOR_YELLOW, ">>| 1 - Blue | 2 - Lighter Blue | 3 - Light (No color) | 4 - Even more lighter");
  4052.         SendClientMessage(playerid, COLOR_YELLOW, ">>| 5 - Normal Sun | 7 - (My PC = Beeped) | 8 - Rainy | 9 - Foggy | 10 - Standard weather");
  4053.         SendClientMessage(playerid, COLOR_YELLOW, ">>| 12 - Colourless, with alittle fog | 13 - Less foggy  | 15 - Little fog ");
  4054.         SendClientMessage(playerid, COLOR_YELLOW, ">>| 16 - Rainy | 17 - Hot | 19 - Sandstorm | 20 - Dark | 21 - Some very wierd weather ");
  4055.         SendClientMessage(playerid, COLOR_YELLOW, ">>| 23 - Atmosphere style (?) | 25 - Abit foggy | 27 - Abit \"White\" | 30 - Thunderstorm ");
  4056.         SendClientMessage(playerid, COLOR_YELLOW, ">>| 32 - Foggy | 33 - Hot | 35 - City weather | 37 - Warm | 38 - Even more city weather ");
  4057.         SendClientMessage(playerid, COLOR_YELLOW, ">>| 39 - Industrial weather | 40 - Yellow weather | 42 - Black fog | 43 - Industrial fog ");
  4058.         SendClientMessage(playerid, COLOR_YELLOW, ">>| 44 & 45 - Some wierd weather. -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- (c) IDs by PaoloP");
  4059.         SendClientMessage(playerid, COR_ERRO, ">>+-====================================================================================");
  4060.         return 1;
  4061. }
  4062.  
  4063. // comando rtc
  4064. CMD:rtc(playerid)
  4065. {
  4066.         if(PlayerInfo[playerid][Admin] >= 5)
  4067.         {
  4068.                 ResetarCarros(playerid);
  4069.         }
  4070.         return 1;
  4071. }
  4072.  
  4073. // comando olhar
  4074. CMD:olhar(playerid, params[])
  4075. {
  4076.         if(Logado[playerid] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ tem que estar logado para usar este comando.");
  4077.         if(PlayerInfo[playerid][Admin] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ n√£o tem permiss√£o para usar este comando.");
  4078.         new specp;
  4079.         if(sscanf(params,"u", specp)) return SendClientMessage(playerid, COR_USOCORRETO, "Uso correto: /olhar [playerid]");
  4080.         if(!IsPlayerConnected(specp)) return SendClientMessage(playerid, VERMELHO, "ERRO: O Player N√£o Esta Conectado!");
  4081.         new sn[70];
  4082.         GetPlayerName(specp,sn,sizeof(sn));
  4083.         TogglePlayerSpectating(playerid, 1);
  4084.         PlayerSpectatePlayer(playerid, specp);
  4085.         SetPlayerInterior(playerid,GetPlayerInterior(specp));
  4086.         gSpectateID[playerid] = specp;
  4087.         gSpectateType[playerid] = ADMIN_SPEC_TYPE_PLAYER;
  4088.         new String[50];
  4089.         format(String, sizeof(String), CONTAS, Nome(playerid));
  4090.         new st[75];
  4091.         new giveplayerid;
  4092.         format(st,sizeof(st),"Voc√™ est√° de Spectador no Jogador %s (ID %i)",Nome(giveplayerid),giveplayerid);
  4093.         SendClientMessage(playerid,0x33AAFFFF,st);
  4094.         format(st,sizeof(st),"Para sair do olhar, Digite: /olharoff.",sn);
  4095.         SendClientMessage(playerid,0x33AAFFFF,st);
  4096.         return 1;
  4097. }
  4098.  
  4099. // comando olharoff
  4100. CMD:olharoff(playerid)
  4101. {
  4102.         if(Logado[playerid] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ tem que estar logado para usar este comando.");
  4103.         if(PlayerInfo[playerid][Admin] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ n√£o tem permiss√£o para usar este comando.");
  4104.         TogglePlayerSpectating(playerid, 0);
  4105.         gSpectateID[playerid] = INVALID_PLAYER_ID;
  4106.         gSpectateType[playerid] = ADMIN_SPEC_TYPE_NONE;
  4107.         new String[50];
  4108.         format(String, sizeof(String), CONTAS, Nome(playerid));
  4109.         SendClientMessage(playerid,BRANCO,"SERVER: Suas ultimas cordenadas foram salvas.");
  4110.         return 1;
  4111. }
  4112.  
  4113. // comando desarmar
  4114. CMD:desarmar(playerid, params[])
  4115. {
  4116.     new giveplayerid;
  4117.         if(Logado[playerid] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ tem que estar logado para usar este comando.");
  4118.         if(PlayerInfo[playerid][Admin] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ n√£o tem permiss√£o para usar este comando.");
  4119.         new string[128];
  4120.         if(sscanf(params,"u", giveplayerid)) return SendClientMessage(playerid, COR_USOCORRETO, "Uso correto: /desarmar [id do player]");
  4121.         if(!IsPlayerConnected(giveplayerid)) return SendClientMessage(playerid,COLOR_RED,"Erro: Este id est√° offline.");
  4122.         ResetPlayerWeapons(giveplayerid);
  4123.         format(string, sizeof(string), "[SFW.Adm] O Admin %s desarmou %s !", Nome(playerid),Nome(giveplayerid));
  4124.         SendClientMessageToAll(COR_ADM, string);
  4125.         format(string, sizeof(string), "[SFW.Adm] O Admin %s desarmou voc√™ !", Nome(playerid));
  4126.         SendClientMessage(giveplayerid, COR_ADM, string);
  4127.         return 1;
  4128. }
  4129.  
  4130. // comando setlevel
  4131. CMD:setlevel(playerid, params[])
  4132. {
  4133.         cmd_setadmin(playerid, params);
  4134.         return 1;
  4135. }
  4136.  
  4137. // comando asay
  4138. CMD:asay(playerid, params[])
  4139. {
  4140.         if(Logado[playerid] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ tem que estar logado para usar este comando.");
  4141.         if(PlayerInfo[playerid][Admin] < 1 && PlayerInfo[playerid][Mafia] < 3 && PlayerInfo[playerid][Boys] < 3 && PlayerInfo[playerid][Triads] < 3 && PlayerInfo[playerid][Rifa] < 3 && PlayerInfo[playerid][FBI] < 3 && PlayerInfo[playerid][SWAT] < 3) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ tem que estar logado para usar este comando.");
  4142.         if(isnull(params)) return SendClientMessage(playerid, COR_USOCORRETO, "Uso correto: /asay [texto]");
  4143.     new string[128];
  4144.     if(PlayerInfo[playerid][Admin] >= 1)
  4145.     {
  4146.                 new cargos[20];
  4147.                 if(PlayerInfo[playerid][Admin] == 1) { cargos = "Administrador"; }
  4148.                 if(PlayerInfo[playerid][Admin] == 2) { cargos = "Administrador"; }
  4149.                 if(PlayerInfo[playerid][Admin] == 3) { cargos = "Administrador"; }
  4150.                 if(PlayerInfo[playerid][Admin] == 4) { cargos = "Sub Game Master"; }
  4151.                 if(PlayerInfo[playerid][Admin] == 5) { cargos = "Game Master"; }
  4152.                 format(string, sizeof(string), "[SFW.Adm] %s %s: %s", cargos, Nome(playerid), params);
  4153.                 SendClientMessageToAll(0x3333FF96,string);
  4154.                 return 1;
  4155.         }
  4156.         if(PlayerInfo[playerid][Mafia] >= 3 && PlayerInfo[playerid][Boys] >= 3 && PlayerInfo[playerid][Triads] >= 3 && PlayerInfo[playerid][Rifa] >= 3 )
  4157.         {
  4158.                 format(string, sizeof(string), "[GANGSTER] %s: %s", Nome(playerid), params);
  4159.                 SendClientMessageToAll(0x00A60096,string);
  4160.                 return 1;
  4161.         }
  4162.         if(PlayerInfo[playerid][SWAT] >= 3 && PlayerInfo[playerid][FBI] >= 3 )
  4163.         {
  4164.                 format(string, sizeof(string), "[POLICIAL] %s: %s", Nome(playerid), params);
  4165.                 SendClientMessageToAll(0x00A60096,string);
  4166.                 return 1;
  4167.         }
  4168.         return 1;
  4169. }
  4170.  
  4171. // comando kick
  4172. CMD:kick(playerid, params[])
  4173. {
  4174.     new giveplayerid;
  4175.         if(Logado[playerid] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ tem que estar logado para usar este comando.");
  4176.         if(PlayerInfo[playerid][Admin] < 2)  return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ n√£o tem permiss√£o.");
  4177.         new result[60];
  4178.         if(sscanf(params,"us", giveplayerid, result)) return SendClientMessage(playerid,COR_USOCORRETO, "Uso correto: /kick [id do player] [motivo]");
  4179.         if(!IsPlayerConnected(giveplayerid)) return SendClientMessage(playerid,COLOR_RED,"Erro: Este id est√° offline.");
  4180.         new cargos[20], string[128];
  4181.         if(PlayerInfo[playerid][Admin] == 1) { cargos = "Administrador"; }
  4182.         if(PlayerInfo[playerid][Admin] == 2) { cargos = "Administrador"; }
  4183.         if(PlayerInfo[playerid][Admin] == 3) { cargos = "Administrador"; }
  4184.         if(PlayerInfo[playerid][Admin] == 4) { cargos = "Sub Game Master"; }
  4185.         if(PlayerInfo[playerid][Admin] == 5) { cargos = "Game Master"; }
  4186.         format(string, sizeof(string), "[SFW.Adm] {FFFFFF}%s{4EEE94} foi kickado pelo %s {FFFFFF}%s{4EEE94} | Motivo: {FFFFFF}%s", Nome(giveplayerid),cargos,Nome(playerid),result);
  4187.         SendClientMessageToAll(0x4EEE94AA, string);
  4188.         Kick(giveplayerid);
  4189.         return 1;
  4190. }
  4191.  
  4192. // comando avisar
  4193. CMD:avisar(playerid, params[])
  4194. {
  4195.     new giveplayerid;
  4196.         if(Logado[playerid] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ tem que estar logado para usar este comando.");
  4197.         if(PlayerInfo[playerid][Admin] < 2)  return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ n√£o tem permiss√£o.");
  4198.         new result[60], string[128];
  4199.         if(sscanf(params,"us", giveplayerid, result)) return SendClientMessage(playerid,COR_USOCORRETO, "Uso correto: /avisar [id do player] [motivo]");
  4200.         if(!IsPlayerConnected(giveplayerid)) return SendClientMessage(playerid,COLOR_RED,"Erro: Este id est√° offline.");
  4201.         format(string, sizeof(string), "[SFW.Adm] {FFFFFF}%s{4EEE94} foi Avisado pelo Admin {FFFFFF}%s{4EEE94} [%d/3] Motivo: {FFFFFF}%s", Nome(giveplayerid),Nome(playerid),Avisos[playerid],result);
  4202.         SendClientMessageToAll(0x4EEE90AA, string);
  4203.         Avisos[giveplayerid] ++;
  4204.         if(Avisos[giveplayerid] == 4)
  4205.         {
  4206.                 Kick(giveplayerid);
  4207.                 new str[128];
  4208.                 format(str, sizeof(str), "[SFW.Adm] {FFFFFF}%s{4EEE94} foi kickado pelo %s {FFFFFF}%s{4EEE94} | Motivo: {FFFFFF}3 Avisos", Nome(giveplayerid),Nome(playerid));
  4209.             SendClientMessageToAll(0x4EEE94AA, str);
  4210.         }
  4211.         return 1;
  4212. }
  4213.  
  4214. // comando ban
  4215. CMD:ban(playerid, params[])
  4216. {
  4217.     new giveplayerid;
  4218.         if(Logado[playerid] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ tem que estar logado para usar este comando.");
  4219.         if(PlayerInfo[playerid][Admin] < 3)  return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ n√£o tem permiss√£o.");
  4220.     new result[60];
  4221.         if(sscanf(params,"us", giveplayerid, result)) return SendClientMessage(playerid,COR_USOCORRETO, "Uso correto: /ban [id do player] [motivo]");
  4222.         if(!IsPlayerConnected(giveplayerid)) return SendClientMessage(playerid,COLOR_RED,"Erro: Este id est√° offline.");
  4223.         new cargos[20], string[128];
  4224.         if(PlayerInfo[playerid][Admin] == 1) { cargos = "Administrador"; }
  4225.         if(PlayerInfo[playerid][Admin] == 2) { cargos = "Administrador"; }
  4226.         if(PlayerInfo[playerid][Admin] == 3) { cargos = "Administrador"; }
  4227.         if(PlayerInfo[playerid][Admin] == 4) { cargos = "Sub Game Master"; }
  4228.         if(PlayerInfo[playerid][Admin] == 5) { cargos = "Game Master"; }
  4229.         format(string, sizeof(string), "[SFW.Adm]{FFFFFF} %s{CD96CD} foi banido pelo %s {FFFFFF}%s {CD96CD}| Motivo:{FFFFFF} %s", Nome(giveplayerid),cargos,Nome(playerid),result);
  4230.         SendClientMessageToAll(0xCD96CDAA, string);
  4231.         Ban(giveplayerid);
  4232.         return 1;
  4233. }
  4234.  
  4235. // comando spawnar
  4236. CMD:spawnar(playerid, params[])
  4237. {
  4238.     new giveplayerid;
  4239.         if(Logado[playerid] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ tem que estar logado para usar este comando.");
  4240.         if(PlayerInfo[playerid][Admin] < 1)  return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ n√£o tem permiss√£o.");
  4241.         new aviso[60];
  4242.         if(sscanf(params,"us", giveplayerid, aviso)) return SendClientMessage(playerid,COR_USOCORRETO, "Uso correto: /spawnar [id do player] [motivo]");
  4243.         if(!IsPlayerConnected(giveplayerid)) return SendClientMessage(playerid,COLOR_RED,"Erro: Este id est√° offline.");
  4244.         new cargos[64], string[128];
  4245.         if(PlayerInfo[playerid][Admin] == 1) { cargos = "Administrador"; }
  4246.         if(PlayerInfo[playerid][Admin] == 2) { cargos = "Administrador"; }
  4247.         if(PlayerInfo[playerid][Admin] == 3) { cargos = "Administrador"; }
  4248.         if(PlayerInfo[playerid][Admin] == 4) { cargos = "Sub Game Master"; }
  4249.         if(PlayerInfo[playerid][Admin] == 5) { cargos = "Game Master"; }
  4250.         format(string, sizeof(string), "[SFW.Adm] %s foi Spawnado pelo %s %s | Motivo: %s", Nome(giveplayerid),cargos,Nome(playerid),aviso);
  4251.         SendClientMessageToAll(COR_ADM, string);
  4252.     SpawnPlayer(giveplayerid);
  4253.         return 1;
  4254. }
  4255.  
  4256.  
  4257. // comando dc
  4258. CMD:dc(playerid)
  4259. {
  4260.         cmd_dcarro(playerid);
  4261.         return 1;
  4262. }
  4263.  
  4264. // comando dcarro
  4265. CMD:dcarro(playerid)
  4266. {
  4267.         if(Logado[playerid] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ tem que estar logado para usar este comando.");
  4268.         if(PlayerInfo[playerid][Admin] < 1) return  SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ n√£o tem permiss√£o para usar este comando.");
  4269.         if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ n√£o est√° em um ve√≠culo");
  4270.         new vehicleid;
  4271.         vehicleid = GetPlayerVehicleID(playerid);
  4272.         DestroyVehicle(vehicleid);
  4273.         for(new i = 0; i <= MAX_PLAYERS; i ++)
  4274.         {
  4275.                 if(GetDistanceBetweenPlayers(playerid, i) <= 50)
  4276.                 {
  4277.                         new string[128];
  4278.                         format(string,sizeof(string), "[SFW.Adm] %s deletou um ve√≠culo!",Nome(playerid));
  4279.                         SendClientMessage(i,COR_ADM,string);
  4280.                 }
  4281.         }
  4282.         return 1;
  4283. }
  4284.  
  4285. // comando rc
  4286. CMD:rc(playerid)
  4287. {
  4288.         cmd_respawnarcarro(playerid);
  4289.         return 1;
  4290. }
  4291.  
  4292. // comando respawnarcarro
  4293. CMD:respawnarcarro(playerid)
  4294. {
  4295.         if(Logado[playerid] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ tem que estar logado para usar este comando.");
  4296.         if(PlayerInfo[playerid][Admin] < 1 && PlayerInfo[playerid][Mafia] < 3 && PlayerInfo[playerid][Boys] < 3 && PlayerInfo[playerid][Triads] < 3 && PlayerInfo[playerid][Rifa] < 3 && PlayerInfo[playerid][FBI] < 3 && PlayerInfo[playerid][SWAT] < 3) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ n√£o tem permiss√£o para usar este comando.");
  4297.         new string[128], vehicleid = GetPlayerVehicleID(playerid);
  4298.         SetVehicleToRespawn(vehicleid);
  4299.         for(new i = 0; i <= MAX_PLAYERS; i ++)
  4300.         {
  4301.                 if(GetDistanceBetweenPlayers(playerid, i) <= 50)
  4302.                 {
  4303.                         format(string,sizeof(string), "[SFW.Adm] %s respawnou um ve√≠culo!", Nome(playerid));
  4304.                         SendClientMessage(i,COR_ADM,string);
  4305.                 }
  4306.         }
  4307.         return 1;
  4308. }
  4309.  
  4310. // comando nameoff
  4311. CMD:nameoff(playerid)
  4312. {
  4313.     if(PlayerInfo[playerid][Admin] < 1) return Scm(playerid, COR_ERRO, "[ERRO] Voce n√£o √© Admin");
  4314.     for(new i = 0; i < MAX_PLAYERS; i++) ShowPlayerNameTagForPlayer(playerid, i, false);
  4315.     SendClientMessage(playerid, 0x139700AA, "Agora ningu√©m pode ver o seu nome.");
  4316.     return 1;
  4317. }
  4318.  
  4319. // comando nameon
  4320. CMD:nameon(playerid)
  4321. {
  4322.     if(PlayerInfo[playerid][Admin] < 1) return Scm(playerid, COR_ERRO, "[ERRO] Voce n√£o √© Admin");
  4323.     for(new i = 0; i < MAX_PLAYERS; i++) ShowPlayerNameTagForPlayer(playerid, i, true);
  4324.     SendClientMessage(playerid, 0x139700AA, "Agora ningu√©m pode ver o seu nome.");
  4325.     return 1;
  4326. }
  4327.  
  4328. // comando veh
  4329. CMD:veh(playerid)
  4330. {
  4331.         if(PlayerInfo[playerid][Admin] < 1) return Scm(playerid, COR_ERRO, "[ERRO] Voce n√£o √© Admin");
  4332.         {
  4333.                 ShowPlayerDialog(playerid, Carros, DIALOG_STYLE_LIST, "Carros", "Sultan \nInfernus \n√Ēnibus 1 \nBMX \nMountain Bike \n√Ēnibus 2 \nFaggio \nSanchez \nQuad \nPacker \nCamper \nVortex \nNRG-500", "Criar", "Cancelar");
  4334.         }
  4335.         return 1;
  4336. }
  4337.  
  4338. // comando pm
  4339. CMD:pm(playerid, params[])
  4340. {
  4341.     new giveplayerid;
  4342.         if(Logado[playerid] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ tem que estar logado para usar este comando.");
  4343.         new result[120];
  4344.         if(sscanf(params,"us", giveplayerid, result)) return SendClientMessage(playerid,COR_USOCORRETO, "Uso correto: /pm [id do player] [mensagem]");
  4345.         if(IsPlayerConnected(giveplayerid))
  4346.         {
  4347.                 new string[256];
  4348.                 format(string, sizeof(string), "[PM-Enviado] %s (%d): %s",Nome(giveplayerid),giveplayerid,result);
  4349.                 SendClientMessage(playerid, 0xCD3333FF, string);
  4350.                 GameTextForPlayer(playerid, "~w~Mensagem ~g~Enviada", 1500, 1);
  4351.                 GameTextForPlayer(giveplayerid, "~w~Mensagem ~g~Recebida", 1500, 1);
  4352.                 format(string, sizeof(string), "[PM-Recebido] %s (%d): %s",Nome(playerid),playerid,result);
  4353.                 SendClientMessage(giveplayerid, 0xFF4040FF, string);
  4354.         }
  4355.         return 1;
  4356. }
  4357.  
  4358. // comando tempo
  4359. CMD:tempo(playerid)
  4360. {
  4361.     if(PlayerInfo[playerid][Admin] < 5) return SendClientMessage(playerid,ERRO,"ERRO: Voc√™ n√£o tem acesso ao comando.");
  4362.     if(Logado[playerid] == 0) return SendClientMessage(playerid,ERRO,"ERRO: Voc√™ n√£o logou ainda.");
  4363.     ShowPlayerDialog(playerid, DIALOG_TEMPO, DIALOG_STYLE_LIST, "Escolha o horario:", "01:00\n02:00\n03:00\n04:00\n05:00\n06:00\n07:00\n08:00\n09:00\n10:00\n11:00\n12:00\n13:00\n14:00\n15:00\n16:00\n17:00\n18:00\n19:00\n20:00\n21:00\n22:00\n23:00\n24:00", "OK", "Cancelar");
  4364.     return 1;
  4365. }
  4366.  
  4367.  
  4368. // comando kill
  4369. CMD:kill(playerid)
  4370. {
  4371.     SendClientMessage(playerid, ERRO, "[INFO] Voc√™ Morreu");
  4372.     SetPlayerHealth(playerid, 0);
  4373.     return 1;
  4374. }
  4375.  
  4376. CMD:trabalhar(playerid)
  4377. {
  4378.     if(PlayerInfo[playerid][Admin] < 1) return SendClientMessage(playerid,ERRO,"ERRO: Voc√™ n√£o tem acesso ao comando.");
  4379.     if(Logado[playerid] == 0) return SendClientMessage(playerid,ERRO,"ERRO: Voc√™ n√£o logou ainda.");
  4380.     if(PlayerInfo[playerid][Trabalho] == 1) return SendClientMessage(playerid,ERRO,"ERRO: Voc√™ ja Esta Trabalhando.");
  4381.         new string[175];
  4382.         format(string, sizeof(string), "[INFO] O Administrador %s esta trabalhando | /relatorio [texto] | /report [id] [motivo]",Nome(playerid),playerid);
  4383.         SendClientMessageToAll(COR_ROSA, string);
  4384.         SendClientMessage(playerid, VERMELHO, "|| Voc√™ esta trabalhando, para parar de trabalhar /jogar");
  4385.         ResetPlayerWeapons(playerid);
  4386.         SetPlayerHealth(playerid, 1000000000);
  4387.         GivePlayerWeapon(playerid, 41, 99999);
  4388.         GivePlayerWeapon(playerid, 10, 99999);
  4389.         SetPlayerColor(playerid, COR_ROSA);
  4390.         SetPlayerSkin(playerid, 217);
  4391.         PlayerInfo[playerid][Trabalho] = 1;
  4392.     return 1;
  4393. }
  4394.  
  4395. // comando jogar
  4396. CMD:jogar(playerid)
  4397. {
  4398.     if(PlayerInfo[playerid][Admin] < 1) return SendClientMessage(playerid,ERRO,"ERRO: Voc√™ n√£o tem acesso ao comando.");
  4399.     if(Logado[playerid] == 0) return SendClientMessage(playerid,ERRO,"ERRO: Voc√™ n√£o logou ainda.");
  4400.     if(PlayerInfo[playerid][Trabalho] == 0) return SendClientMessage(playerid,ERRO,"ERRO: Voc√™ ja Esta Jogando.");
  4401.         new string[256];
  4402.         format(string, sizeof(string), "[INFO] %s Parou de trabalhar.",Nome(playerid));
  4403.         SendClientMessageToAll(COR_ROSA, string);
  4404.         SendClientMessage(playerid, VERMELHO, "|| Voc√™ parou de trabalhar, vou Descontar do seu Salario!!");
  4405.         SpawnPlayer(playerid);
  4406.         PlayerInfo[playerid][Trabalho] = 0;
  4407.     return 1;
  4408. }
  4409.  
  4410. // comando report
  4411. CMD:report(playerid, params[])
  4412. {
  4413.     new giveplayerid;
  4414.         if(Logado[playerid] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ tem que estar logado para usar este comando.");
  4415.         new result[80], string[256];
  4416.         if(sscanf(params,"us", giveplayerid, result)) return SendClientMessage(playerid,COR_USOCORRETO, "Uso correto: /report [id do player] [motivo]");
  4417.         if(!IsPlayerConnected(giveplayerid)) return SendClientMessage(playerid,COLOR_RED,"Erro: Este id est√° offline.");
  4418.         format(string, sizeof(string), "|| Aten√ß√£o: %s foi reportado, por %s | Motivo: %s", Nome(giveplayerid) ,Nome(playerid), result);
  4419.         SendAdminMessage(0xFF7777AA, string);
  4420.         return 1;
  4421. }
  4422.  
  4423. // comando relatorio
  4424. CMD:relatorio(playerid, params[])
  4425. {
  4426.         if(Logado[playerid] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ tem que estar logado para usar este comando.");
  4427.         new result[60], string[128];
  4428.         if(sscanf(params,"s", result)) return SendClientMessage(playerid,COR_USOCORRETO, "Uso correto: /relatorio [texto]");
  4429.     format(string, sizeof(string), "|| %s Relatou: %s", Nome(playerid), result);
  4430.         SendAdminMessage(0xFF7777AA, string);
  4431.     SendClientMessage(playerid,COR_PRINCIPAL,"Seu relat√≥rio foi enviado com suc√©sso, aguarde algum administrador atender.");
  4432.         return 1;
  4433. }
  4434.  
  4435. // comando mudarorg
  4436. CMD:mudarorg(playerid)
  4437. {
  4438.         ShowPlayerDialog(playerid, DIALOG_MUDAR, DIALOG_STYLE_LIST, "Escolha sua Gang", "{696969}M{FFFFFF}afia\n{8B4726}T{FFFFFF}riads\n{B22222}Da {FFFFFF}Nang Boys\n{87CEEB}San {FFFFFF}Fierro Rifa", "Escolher", "");
  4439.         return 1;
  4440. }
  4441.  
  4442. // comando m
  4443. CMD:m(playerid, params[])
  4444. {
  4445.         if(Logado[playerid] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ tem que estar logado para usar este comando.");
  4446.         if(PlayerInfo[playerid][SWAT] < 1 && PlayerInfo[playerid][FBI] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ n√£o √© um Policial.");
  4447.         if(isnull(params)) return SendClientMessage(playerid, COR_USOCORRETO, "Uso correto: /m(egafone) [Texto]");
  4448.         new string[128];
  4449.     format(string, sizeof(string), "[MEGAFONE] Policial {FFFFFF}%s: {FFFF00}%s", Nome(playerid), params);
  4450.         for(new i; i <= HighestID; i++)
  4451.         if(GetDistanceBetweenPlayers(playerid, i) <= 50)
  4452.         {
  4453.             SendClientMessage(i,0xFFFF00AA,string);
  4454.         }
  4455.     return 1;
  4456. }
  4457.  
  4458. // comando a.
  4459. CMD:a(playerid, params[])
  4460. {
  4461.         if(Logado[playerid] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ tem que estar logado para usar este comando.");
  4462.         if(PlayerInfo[playerid][Admin] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Voc√™ n√£o tem permiss√£o para usar este comando.");
  4463.         new string[128];
  4464.         if(isnull(params)) return SendClientMessage(playerid, COR_USOCORRETO, "Uso correto: /a [texto]");
  4465.         format(string, sizeof(string), "[CHAT ADM] %s: %s", Nome(playerid), params);
  4466.         for(new i = 0; i <= MAX_PLAYERS; i ++)
  4467.         {
  4468.                 if(IsPlayerConnected(i) && PlayerInfo[i][Admin] >= 1)
  4469.                 {
  4470.                         SendClientMessage(i,0xFF66FFAA, string);
  4471.                 }
  4472.         }
  4473.         return 1;
  4474. }
  4475.  
  4476.  
  4477. // comando pagar
  4478. CMD:pagar(playerid, params[])
  4479. {
  4480.     new id, grana;
  4481.     if(sscanf(params,"ud", id, grana)) return SendClientMessage(playerid,VERDE,"Uso correto: /pagar id quantidade");
  4482.     if(GetPlayerMoney(playerid) < grana) return SendClientMessage(playerid,COR_ERRO,"ERRO: Voc√™ n√£o tem esse dinheiro todo.");
  4483.     new stringui[50];
  4484.     format(stringui,sizeof(stringui), "|| %s pagou $%d para voc√™!", Nome(playerid), grana, id);
  4485.     SendClientMessage(id,COR_AZUL, stringui);
  4486.     GivePlayerMoney(id, grana);
  4487.     GivePlayerMoney(playerid, -grana);
  4488.     return 1;
  4489. }
  4490.  
  4491. // comando admins
  4492. CMD:admins(playerid)
  4493. {
  4494.         SendClientMessage(playerid, 0x0080FFAA, "Administradores Online:");
  4495.         new count = 0, String[100];
  4496.         for(new i=0; i<MAX_PLAYERS; i++)
  4497.         {
  4498.                 if(IsPlayerConnected(i))
  4499.                 {
  4500.                         if(Logado[i] == 1)
  4501.                         {
  4502.                                 if(PlayerInfo[i][Admin] == 1)
  4503.                                 {
  4504.                                 //      new String[100];
  4505.                                         format(String, 256, "Admin %s [Level 1]",Nome(i));
  4506.                                         SendClientMessage(playerid, 0xE3E3E3FF, String);
  4507.                                         count++;
  4508.                                 }
  4509.                                 if(PlayerInfo[i][Admin] == 2)
  4510.                                 {
  4511.                                 //      new String[100];
  4512.                                         format(String, 256, "Admin %s [Level 2]", Nome(i));
  4513.                                         SendClientMessage(playerid, 0xE3E3E3FF, String);
  4514.                                         count++;
  4515.                                 }
  4516.                                 if(PlayerInfo[i][Admin] == 3)
  4517.                                 {
  4518.                                 //      new String[100];
  4519.                                         format(String, 256, "Admin %s [Level 3]",Nome(i));
  4520.                                         SendClientMessage(playerid, 0xE3E3E3FF, String);
  4521.                                         count++;
  4522.                                 }
  4523.                                 if(PlayerInfo[i][Admin] == 4)
  4524.                                 {
  4525.                                         new pname[24];
  4526.                                         GetPlayerName(i, pname, 24);
  4527.                                         format(String, 256, "%s [Sub Game Master]", pname);
  4528.                                         SendClientMessage(playerid, 0xE3E3E3FF, String);
  4529.                                         count++;
  4530.                                 }
  4531.                                 if(PlayerInfo[i][Admin] >= 5)
  4532.                                 {
  4533.                     new pname[24];
  4534.                     GetPlayerName(i, pname, 24);
  4535.                                         format(String, 256, "%s [GameMaster]", pname);
  4536.                                         SendClientMessage(playerid, 0xE3E3E3FF, String);
  4537.                                         count++;
  4538.                                 }
  4539.                         }
  4540.                 }
  4541.         }
  4542.         if(count == 0) return SendClientMessage(playerid, 0xD8D8D8FF, "N√£o tem nenhum Administrador Online agora.");
  4543.         return 1;
  4544. }
  4545.  
  4546. //===================[ANIMES]====================//
  4547. //=============[ANIMES]=============//
  4548. //=======[ANIMES]=======//
  4549. //==[ANIMES]==//
  4550.         CMD:animes(playerid)
  4551.         {
  4552.         new strdialog[1050];
  4553.                 strcat(strdialog, "/fall - /fallback - /injured - /akick - /push - /lowbodypush - /handsup - /bomb - /drunk - /getarrested - /laugh - /sup\n");
  4554.                 strcat(strdialog, "/basket - /headbutt - /medic - /spray - /robman - /taichi - /lookout - /kiss - /cellin - /cellout - /crossarms - /lay\n");
  4555.                 strcat(strdialog, "/deal - /crack - /smoke - /groundsit - /chat - /dance - /fucku - /strip - /hide - /vomit - /eat - /chairsit - /reload\n");
  4556.                 strcat(strdialog, "/koface - /kostomach - /rollfall - /carjacked1 - /carjacked2 - /rcarjack1 - /rcarjack2 - /lcarjack1 - /lcarjack2 - /bat\n");
  4557.                 strcat(strdialog, "/lifejump - /exhaust - /leftslap - /carlock - /hoodfrisked - /lightcig - /tapcig - /box - /lay2 - /chant - finger\n");
  4558.                 strcat(strdialog, "/shouting - /knife - /cop - /elbow - /kneekick - /airkick - /gkick - /gpunch - /fstance - /lowthrow - /highthrow - /aim\n");
  4559.                 strcat(strdialog, "/pee - /lean - /run - /punheta{0000FF}/pararanim\n");
  4560.                 strcat(strdialog, "-----------------------------------------------------------------------------------------------------------------------------------------");
  4561.                 ShowPlayerDialog(playerid, DIALOG_ANIMES, DIALOG_STYLE_MSGBOX, "-------------------------------------------------------- {0000FF}[ ANIMLIST ]{FFFFFF} ------------------------------------------------------------------", strdialog, "OK", "");
  4562.                 return 1;
  4563.         }
  4564.         CMD:carjacked1(playerid)
  4565.         {
  4566.                 ApplyAnimation(playerid,"PED","CAR_jackedLHS",4.0,0,1,1,1,0);
  4567.                 return 1;
  4568.         }
  4569.         CMD:carjacked2(playerid)
  4570.         {
  4571.                 ApplyAnimation(playerid,"PED","CAR_jackedRHS",4.0,0,1,1,1,0);
  4572.                 return 1;
  4573.         }
  4574.         CMD:handsup(playerid)
  4575.         {
  4576.                 ApplyAnimation(playerid, "ROB_BANK","SHP_HandsUp_Scr", 4.0, 0, 1, 1, 1, 0);
  4577.                 return 1;
  4578.         }
  4579.         CMD:cellin(playerid)
  4580.         {
  4581.                 SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USECELLPHONE);
  4582.                 return 1;
  4583.         }
  4584.         CMD:cellout(playerid)
  4585.         {
  4586.                 SetPlayerSpecialAction(playerid,SPECIAL_ACTION_STOPUSECELLPHONE);
  4587.                 return 1;
  4588.         }
  4589.         CMD:drunk(playerid)
  4590.         {
  4591.                 ApplyAnimation(playerid,"PED","WALK_DRUNK",4.1,1,1,1,1,1);
  4592.                 return 1;
  4593.         }
  4594.         CMD:bomb(playerid)
  4595.         {
  4596.                 ClearAnimations(playerid);
  4597.                 ApplyAnimation(playerid, "BOMBER","BOM_Plant_Loop",4.0,1,0,0,1,0);
  4598.                 return 1;
  4599.         }
  4600.         CMD:getarrested(playerid)
  4601.         {
  4602.                 ApplyAnimation(playerid,"ped", "ARRESTgun", 4.0, 0, 1, 1, 1, -1);
  4603.                 return 1;
  4604.         }
  4605.         CMD:laugh(playerid)
  4606.         {
  4607.                 ApplyAnimation(playerid, "RAPPING", "Laugh_01", 4.0, 0, 0, 0, 0, 0);
  4608.                 return 1;
  4609.         }
  4610.         CMD:lookout(playerid)
  4611.         {
  4612.                 ApplyAnimation(playerid, "SHOP", "ROB_Shifty", 4.0, 0, 0, 0, 0, 0);
  4613.                 return 1;
  4614.         }
  4615.         CMD:robman(playerid)
  4616.         {
  4617.                 ApplyAnimation(playerid, "SHOP", "ROB_Loop_Threat", 4.0, 1, 0, 0, 0, 0);
  4618.                 return 1;
  4619.         }
  4620.         CMD:crossarms(playerid)
  4621.         {
  4622.                 ApplyAnimation(playerid, "COP_AMBIENT", "Coplook_loop", 4.0, 0, 1, 1, 1, -1);
  4623.                 return 1;
  4624.         }
  4625.         CMD:lay(playerid)
  4626.         {
  4627.                 ApplyAnimation(playerid,"BEACH", "bather", 4.0, 1, 0, 0, 0, 0);
  4628.                 return 1;
  4629.     }
  4630.         CMD:hide(playerid)
  4631.         {
  4632.                 ApplyAnimation(playerid, "ped", "cower", 3.0, 1, 0, 0, 0, 0);
  4633.                 return 1;
  4634.         }
  4635.         CMD:vomit(playerid)
  4636.         {
  4637.                 ApplyAnimation(playerid, "FOOD", "EAT_Vomit_P", 3.0, 0, 0, 0, 0, 0);
  4638.                 return 1;
  4639.         }
  4640.         CMD:eat(playerid)
  4641.         {
  4642.                 ApplyAnimation(playerid, "FOOD", "EAT_Burger", 3.0, 0, 0, 0, 0, 0);
  4643.                 return 1;
  4644.         }
  4645.         CMD:wave(playerid)
  4646.         {
  4647.                 ApplyAnimation(playerid, "ON_LOOKERS", "wave_loop", 4.0, 1, 0, 0, 0, 0);
  4648.                 return 1;
  4649.         }
  4650.         CMD:slapass(playerid)
  4651.         {
  4652.                 ApplyAnimation(playerid, "SWEET", "sweet_ass_slap", 4.0, 0, 0, 0, 0, 0);
  4653.                 return 1;
  4654.         }
  4655.         CMD:deal(playerid)
  4656.         {
  4657.                 ApplyAnimation(playerid, "DEALER", "DEALER_DEAL", 4.0, 0, 0, 0, 0, 0);
  4658.                 return 1;
  4659.         }
  4660.         CMD:crack(playerid)
  4661.         {
  4662.                 ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0);
  4663.                 return 1;
  4664.         }
  4665.         CMD:gro(playerid)
  4666.         {
  4667.                 ApplyAnimation(playerid,"BEACH", "ParkSit_M_loop", 4.0, 1, 0, 0, 0, 0); // Sit
  4668.                 return 1;
  4669.         }
  4670.         CMD:chat(playerid)
  4671.         {
  4672.                 ApplyAnimation(playerid,"PED","IDLE_CHAT",4.0,1,0,0,1,1);
  4673.                 return 1;
  4674.         }
  4675.         CMD:fucku(playerid)
  4676.         {
  4677.                 ApplyAnimation(playerid,"PED","fucku",4.0,0,0,0,0,0);
  4678.                 return 1;
  4679.         }
  4680.         CMD:taichi(playerid)
  4681.         {
  4682.                 ApplyAnimation(playerid,"PARK","Tai_Chi_Loop",4.0,1,0,0,0,0);
  4683.                 return 1;
  4684.         }
  4685.         CMD:chairsit(playerid)
  4686.         {
  4687.                 ApplyAnimation(playerid,"PED","SEAT_down",4.1,0,1,1,1,0);
  4688.                 return 1;
  4689.         }
  4690.         CMD:fall(playerid)
  4691.         {
  4692.                 ApplyAnimation(playerid,"PED","KO_skid_front",4.1,0,1,1,1,0);
  4693.                 return 1;
  4694.         }
  4695.         CMD:fallback(playerid)
  4696.         {
  4697.                 ApplyAnimation(playerid, "PED","FLOOR_hit_f", 4.0, 1, 0, 0, 0, 0);
  4698.                 return 1;
  4699.         }
  4700.         CMD:kiss(playerid)
  4701.         {
  4702.                 ApplyAnimation(playerid, "KISSING", "Playa_Kiss_02", 3.0, 1, 1, 1, 1, 0);
  4703.                 return 1;
  4704.         }
  4705.         CMD:injured(playerid)
  4706.         {
  4707.                 ApplyAnimation(playerid, "SWEET", "Sweet_injuredloop", 4.0, 1, 0, 0, 0, 0);
  4708.                 return 1;
  4709.         }
  4710.         CMD:push(playerid)
  4711.         {
  4712.                 ApplyAnimation(playerid,"GANGS","shake_cara",4.0,0,0,0,0,0);
  4713.                 return 1;
  4714.         }
  4715.         CMD:akick(playerid)
  4716.         {
  4717.                 ApplyAnimation(playerid,"POLICE","Door_Kick",4.0,0,0,0,0,0);
  4718.                 return 1;
  4719.         }
  4720.         CMD:lowbodypush(playerid)
  4721.         {
  4722.                 ApplyAnimation(playerid,"GANGS","shake_carSH",4.0,0,0,0,0,0);
  4723.                 return 1;
  4724.         }
  4725.         CMD:spray(playerid)
  4726.         {
  4727.                 ApplyAnimation(playerid,"SPRAYCAN","spraycan_full",4.0,0,0,0,0,0);
  4728.                 return 1;
  4729.         }
  4730.         CMD:headbutt(playerid)
  4731.     {
  4732.                 ApplyAnimation(playerid,"WAYFARER","WF_Fwd",4.0,0,0,0,0,0);
  4733.                 return 1;
  4734.     }
  4735.     CMD:hoodfrisked(playerid)
  4736.         {
  4737.                  ApplyAnimation(playerid,"POLICE","crm_drgbst_01",4.0,0,1,1,1,0);
  4738.          return 1;
  4739.     }
  4740.     CMD:lightcig(playerid)
  4741.     {
  4742.                  ApplyAnimation(playerid,"SMOKING","M_smk_in",3.0,0,0,0,0,0);
  4743.          return 1;
  4744.     }
  4745.     CMD:tapcig(playerid)
  4746.     {
  4747.                  ApplyAnimation(playerid,"SMOKING","M_smk_tap",3.0,0,0,0,0,0);
  4748.          return 1;
  4749.     }
  4750.         CMD:bat(playerid)
  4751.         {
  4752.                  ApplyAnimation(playerid,"BASEBALL","Bat_IDLE",4.0,1,1,1,1,0);
  4753.          return 1;
  4754.     }
  4755.         CMD:box(playerid)
  4756.     {
  4757.                  ApplyAnimation(playerid,"GYMNASIUM","GYMshadowbox",4.0,1,1,1,1,0);
  4758.          return 1;
  4759.     }
  4760.         CMD:lay2(playerid)
  4761.     {
  4762.                  ApplyAnimation(playerid,"SUNBATHE","Lay_Bac_in",3.0,0,1,1,1,0);
  4763.          return 1;
  4764.     }
  4765.     CMD:chant(playerid)
  4766.     {
  4767.                  ApplyAnimation(playerid,"RIOT","RIOT_CHANT",4.0,1,1,1,1,0);
  4768.          return 1;
  4769.     }
  4770.     CMD:finger(playerid)
  4771.     {
  4772.                  ApplyAnimation(playerid,"RIOT","RIOT_FUKU",2.0,0,0,0,0,0);
  4773.          return 1;
  4774.     }
  4775.     CMD:shouting(playerid)
  4776.     {
  4777.                  ApplyAnimation(playerid,"RIOT","RIOT_shout",4.0,1,0,0,0,0);
  4778.          return 1;
  4779.     }
  4780.         CMD:cop(playerid)
  4781.     {
  4782.                  ApplyAnimation(playerid,"SWORD","sword_block",50.0,0,1,1,1,1);
  4783.          return 1;
  4784.     }
  4785.     CMD:elbow(playerid)
  4786.     {
  4787.                  ApplyAnimation(playerid,"FIGHT_D","FightD_3",4.0,0,1,1,0,0);
  4788.          return 1;
  4789.     }
  4790.         CMD:kneekick(playerid)
  4791.     {
  4792.                  ApplyAnimation(playerid,"FIGHT_D","FightD_2",4.0,0,1,1,0,0);
  4793.          return 1;
  4794.     }
  4795.     CMD:fstance(playerid)
  4796.     {
  4797.                  ApplyAnimation(playerid,"FIGHT_D","FightD_IDLE",4.0,1,1,1,1,0);
  4798.          return 1;
  4799.     }
  4800.         CMD:gpunch(playerid)
  4801.     {
  4802.                  ApplyAnimation(playerid,"FIGHT_B","FightB_G",4.0,0,0,0,0,0);
  4803.          return 1;
  4804.     }
  4805.         CMD:airkick(playerid)
  4806.     {
  4807.                  ApplyAnimation(playerid,"FIGHT_C","FightC_M",4.0,0,1,1,0,0);
  4808.          return 1;
  4809.     }
  4810.         CMD:gkick(playerid)
  4811.     {
  4812.                  ApplyAnimation(playerid,"FIGHT_D","FightD_G",4.0,0,0,0,0,0);
  4813.          return 1;
  4814.     }
  4815.         CMD:lowthrow(playerid)
  4816.     {
  4817.                  ApplyAnimation(playerid,"GRENADE","WEAPON_throwu",3.0,0,0,0,0,0);
  4818.          return 1;
  4819.     }
  4820.     CMD:highthrow(playerid)
  4821.     {
  4822.                  ApplyAnimation(playerid,"GRENADE","WEAPON_throw",4.0,0,0,0,0,0);
  4823.          return 1;
  4824.     }
  4825.     CMD:dealstance(playerid)
  4826.     {
  4827.                  ApplyAnimation(playerid,"DEALER","DEALER_IDLE",4.0,1,0,0,0,0);
  4828.          return 1;
  4829.     }
  4830.         CMD:pee(playerid)
  4831.     {
  4832.                  SetPlayerSpecialAction(playerid, 68);
  4833.          return 1;
  4834.     }
  4835.     CMD:punheta(playerid)
  4836.     {
  4837.         ApplyAnimation(playerid,"PAULNMAC", "wank_loop", 1.800001, 1, 0, 0, 1, 600);
  4838.         return 1;
  4839.     }
  4840.     CMD:medic(playerid)
  4841.         {
  4842.                 ApplyAnimation(playerid,"MEDIC","CPR",4.0,0,0,0,0,0);
  4843.                 return 1;
  4844.     }
  4845.     CMD:pararanim(playerid)
  4846.         {
  4847.                 ClearAnimations(playerid);
  4848.                 return 1;
  4849.     }
  4850.         CMD:koface(playerid)
  4851.     {
  4852.                 ApplyAnimation(playerid,"PED","KO_shot_face",4.0,0,1,1,1,0);
  4853.                 return 1;
  4854.     }
  4855.         CMD:kostomach(playerid)
  4856.     {
  4857.                 ApplyAnimation(playerid,"PED","KO_shot_stom",4.0,0,1,1,1,0);
  4858.                 return 1;
  4859.     }
  4860.         CMD:lifejump(playerid)
  4861.     {
  4862.                 ApplyAnimation(playerid,"PED","EV_dive",4.0,0,1,1,1,0);
  4863.                 return 1;
  4864.     }
  4865.     CMD:exhaust(playerid)
  4866.     {
  4867.                 ApplyAnimation(playerid,"PED","IDLE_tired",3.0,1,0,0,0,0);
  4868.                 return 1;
  4869.     }
  4870.     CMD:leftslap(playerid)
  4871.     {
  4872.                 ApplyAnimation(playerid,"PED","BIKE_elbowL",4.0,0,0,0,0,0);
  4873.                 return 1;
  4874.     }
  4875.     CMD:rollfall(playerid)
  4876.         {
  4877.                 ApplyAnimation(playerid,"PED","BIKE_fallR",4.0,0,1,1,1,0);
  4878.                 return 1;
  4879.     }
  4880.     CMD:carlock(playerid)
  4881.     {
  4882.                 ApplyAnimation(playerid,"PED","CAR_doorlocked_LHS",4.0,0,0,0,0,0);
  4883.                 return 1;
  4884.     }
  4885.     CMD:rcarjack1(playerid)
  4886.     {
  4887.                 ApplyAnimation(playerid,"PED","CAR_pulloutL_LHS",4.0,0,0,0,0,0);
  4888.                 return 1;
  4889.     }
  4890.         CMD:lcarjack1(playerid)
  4891.         {
  4892.                 ApplyAnimation(playerid,"PED","CAR_pulloutL_RHS",4.0,0,0,0,0,0);
  4893.                 return 1;
  4894.     }
  4895.         CMD:rcarjack2(playerid)
  4896.         {
  4897.                 ApplyAnimation(playerid,"PED","CAR_pullout_LHS",4.0,0,0,0,0,0);
  4898.                 return 1;
  4899.         }
  4900.         CMD:lcarjack2(playerid)
  4901.         {
  4902.                 ApplyAnimation(playerid,"PED","CAR_pullout_RHS",4.0,0,0,0,0,0);
  4903.                 return 1;
  4904.         }
  4905.         CMD:smoke(playerid, params[])
  4906.     {
  4907.                 if(sscanf(params, "s", anims))
  4908.                 {
  4909.                         SendClientMessage(playerid, 0x33AA33AA, "Uso correto: /smoke [1-4]");
  4910.                 }
  4911.                 else
  4912.                 {
  4913.                         if(strcmp(anims, "0", true) == 0)
  4914.                         {
  4915.                                 SendClientMessage(playerid, 0x33AA33AA, "Uso correto: /smoke [1-4]");
  4916.                         }
  4917.                         if(strcmp(anims, "1", true) == 0)
  4918.                         {
  4919.                                 ApplyAnimation(playerid,"SMOKING", "F_smklean_loop", 4.0, 1, 0, 0, 0, 0);
  4920.                         }
  4921.                         if(strcmp(anims, "2", true) == 0)
  4922.                         {
  4923.                                 ApplyAnimation(playerid,"SMOKING", "M_smklean_loop", 4.0, 1, 0, 0, 0, 0);
  4924.                         }
  4925.                         if(strcmp(anims, "3", true) == 0)
  4926.                         {
  4927.                                 ApplyAnimation(playerid,"SMOKING","M_smkstnd_loop", 4.0, 1, 0, 0, 0, 0);
  4928.                         }
  4929.                         if(strcmp(anims, "4", true) == 0)
  4930.                         {
  4931.                                 ApplyAnimation(playerid,"SMOKING","M_smk_out", 4.0, 1, 0, 0, 0, 0);
  4932.                         }
  4933.                 }
  4934.                 return 1;
  4935.         }
  4936.         CMD:sup(playerid, params[])
  4937.     {
  4938.                 if(sscanf(params, "s", anims))
  4939.                 {
  4940.                         SendClientMessage(playerid, 0x33AA33AA, "Uso correto: /sup [1-3]");
  4941.                 }
  4942.                 else
  4943.                 {
  4944.                         if(strcmp(anims, "1", true) == 0)
  4945.                         {
  4946.                                 ApplyAnimation(playerid,"GANGS","hndshkba",4.0,0,0,0,0,0);
  4947.                         }
  4948.                         if(strcmp(anims, "2", true) == 0)
  4949.                         {
  4950.                                 ApplyAnimation(playerid,"GANGS","hndshkda",4.0,0,0,0,0,0);
  4951.                         }
  4952.                         if(strcmp(anims, "3", true) == 0)
  4953.                         {
  4954.                                 ApplyAnimation(playerid,"GANGS","hndshkfa_swt",4.0,0,0,0,0,0);
  4955.                         }
  4956.                 }
  4957.                 return 1;
  4958.         }
  4959.         CMD:rap(playerid, params[])
  4960.     {
  4961.                 if(sscanf(params, "s", anims))
  4962.                 {
  4963.                         SendClientMessage(playerid, 0x33AA33AA, "Uso correto: /rap [1-4]");
  4964.                 }
  4965.                 else
  4966.                 {
  4967.                         if(strcmp(anims, "1", true) == 0)
  4968.                         {
  4969.                                 ApplyAnimation(playerid,"RAPPING","RAP_A_Loop",4.0,1,0,0,0,0);
  4970.                         }
  4971.                         if(strcmp(anims, "2", true) == 0)
  4972.                         {
  4973.                                 ApplyAnimation(playerid,"RAPPING","RAP_C_Loop",4.0,1,0,0,0,0);
  4974.                         }
  4975.                         if(strcmp(anims, "3", true) == 0)
  4976.                         {
  4977.                                 ApplyAnimation(playerid,"GANGS","prtial_gngtlkD",4.0,1,0,0,0,0);
  4978.                         }
  4979.                         if(strcmp(anims, "4", true) == 0)
  4980.                         {
  4981.                                 ApplyAnimation(playerid,"GANGS","prtial_gngtlkH",4.0,1,0,0,1,1);
  4982.                         }
  4983.                 }
  4984.                 return 1;
  4985.         }
  4986.         CMD:knife(playerid, params[])
  4987.     {
  4988.                 if(sscanf(params, "s", anims))
  4989.                 {
  4990.                         SendClientMessage(playerid, 0x33AA33AA, "Uso correto: /knife [1-4]");
  4991.                 }
  4992.                 else
  4993.                 {
  4994.                         if(strcmp(anims, "1", true) == 0)
  4995.                         {
  4996.                                 ApplyAnimation(playerid,"KNIFE","KILL_Knife_Ped_Damage",4.0,0,1,1,1,0);
  4997.                         }
  4998.                         if(strcmp(anims, "2", true) == 0)
  4999.                         {
  5000.                                 ApplyAnimation(playerid,"KNIFE","KILL_Knife_Ped_Die",4.0,0,1,1,1,0);
  5001.                         }
  5002.                         if(strcmp(anims, "3", true) == 0)
  5003.                         {
  5004.                                 ApplyAnimation(playerid,"KNIFE","KILL_Knife_Player",4.0,0,0,0,0,0);
  5005.                         }
  5006.                         if(strcmp(anims, "4", true) == 0)
  5007.                         {
  5008.                                 ApplyAnimation(playerid,"KNIFE","KILL_Partial",4.0,0,1,1,1,1);
  5009.                         }
  5010.                 }
  5011.                 return 1;
  5012.         }
  5013.         CMD:basket(playerid, params[])
  5014.     {
  5015.                 if(sscanf(params, "s", anims))
  5016.                 {
  5017.                         SendClientMessage(playerid, 0x33AA33AA, "Uso correto: /knife [1-6]");
  5018.                 }
  5019.                 else
  5020.                 {
  5021.                         if(strcmp(anims, "1", true) == 0)
  5022.                         {
  5023.                                 ApplyAnimation(playerid,"BSKTBALL","BBALL_idleloop",4.0,1,0,0,0,0);
  5024.                         }
  5025.                         if(strcmp(anims, "2", true) == 0)
  5026.                         {
  5027.                                 ApplyAnimation(playerid,"BSKTBALL","BBALL_Jump_Shot",4.0,0,0,0,0,0);
  5028.                         }
  5029.                         if(strcmp(anims, "3", true) == 0)
  5030.                         {
  5031.                                 ApplyAnimation(playerid,"BSKTBALL","BBALL_pickup",4.0,0,0,0,0,0);
  5032.                         }
  5033.                         if(strcmp(anims, "4", true) == 0)
  5034.                         {
  5035.                                 ApplyAnimation(playerid,"BSKTBALL","BBALL_run",4.1,1,1,1,1,1);
  5036.                         }
  5037.                         if(strcmp(anims, "5", true) == 0)
  5038.                         {
  5039.                                 ApplyAnimation(playerid,"BSKTBALL","BBALL_def_loop",4.0,1,0,0,0,0);
  5040.                         }
  5041.                         if(strcmp(anims, "6", true) == 0)
  5042.                         {
  5043.                                 ApplyAnimation(playerid,"BSKTBALL","BBALL_Dnk",4.0,1,0,0,0,0);
  5044.                         }
  5045.                 }
  5046.                 return 1;
  5047.         }
  5048.         CMD:reload(playerid, params[])
  5049.     {
  5050.                 if(sscanf(params, "s", anims))
  5051.                 {
  5052.                         SendClientMessage(playerid, 0x33AA33AA, "Uso correto: /reload [deagle/smg/ak/m4]");
  5053.                 }
  5054.                 else
  5055.                 {
  5056.                         if(strcmp(anims, "deagle", true) == 0)
  5057.                         {
  5058.                                 ApplyAnimation(playerid,"COLT45","colt45_reload",4.0,0,0,0,0,1);
  5059.                         }
  5060.                         if(strcmp(anims, "smg", true) == 0 || strcmp(anims, "ak", true) == 0 || strcmp(anims, "m4", true) == 0)
  5061.                         {
  5062.                                 ApplyAnimation(playerid,"UZI","UZI_reload",4.0,0,0,0,0,0);
  5063.                         }
  5064.                 }
  5065.                 return 1;
  5066.         }
  5067.         CMD:gwalk(playerid, params[])
  5068.     {
  5069.                 if(sscanf(params, "s", anims))
  5070.                 {
  5071.                         SendClientMessage(playerid, 0x33AA33AA, "Uso correto: /gwalk [1-2]");
  5072.                 }
  5073.                 else
  5074.                 {
  5075.                         if(strcmp(anims, "1", true) == 0)
  5076.                         {
  5077.                                 ApplyAnimation(playerid,"PED","WALK_gang1",4.1,1,1,1,1,1);
  5078.                         }
  5079.                         if(strcmp(anims, "2", true) == 0)
  5080.                         {
  5081.                                 ApplyAnimation(playerid,"PED","WALK_gang2",4.1,1,1,1,1,1);
  5082.                         }
  5083.                 }
  5084.                 return 1;
  5085.         }
  5086.         CMD:aim(playerid, params[])
  5087.     {
  5088.                 if(sscanf(params, "s", anims))
  5089.                 {
  5090.                         SendClientMessage(playerid, 0x33AA33AA, "Uso correto: /aim [1-3]");
  5091.                 }
  5092.                 else
  5093.                 {
  5094.                         if(strcmp(anims, "1", true) == 0)
  5095.                         {
  5096.                                 ApplyAnimation(playerid,"PED","gang_gunstand",4.0,1,1,1,1,1);
  5097.                         }
  5098.                         if(strcmp(anims, "2", true) == 0)
  5099.                         {
  5100.                                 ApplyAnimation(playerid,"PED","Driveby_L",4.0,0,1,1,1,1);
  5101.                         }
  5102.                         if(strcmp(anims, "3", true) == 0)
  5103.                         {
  5104.                                 ApplyAnimation(playerid,"PED","Driveby_R",4.0,0,1,1,1,1);
  5105.                         }
  5106.                 }
  5107.                 return 1;
  5108.         }
  5109.         CMD:lean(playerid, params[])
  5110.     {
  5111.                 if(sscanf(params, "s", anims))
  5112.                 {
  5113.                         SendClientMessage(playerid, 0x33AA33AA, "Uso correto: /lean [1-2]");
  5114.                 }
  5115.                 else
  5116.                 {
  5117.                         if(strcmp(anims, "1", true) == 0)
  5118.                         {
  5119.                                 ApplyAnimation(playerid,"GANGS","leanIDLE",4.0,0,1,1,1,0);
  5120.                         }
  5121.                         if(strcmp(anims, "2", true) == 0)
  5122.                         {
  5123.                                 ApplyAnimation(playerid,"MISC","Plyrlean_loop",4.0,0,1,1,1,0);
  5124.                         }
  5125.                 }
  5126.                 return 1;
  5127.         }
  5128.         CMD:strip(playerid, params[])
  5129.     {
  5130.                 if(sscanf(params, "s", anims))
  5131.                 {
  5132.                         SendClientMessage(playerid, 0x33AA33AA, "Uso correto: /strip [a-g]");
  5133.                 }
  5134.                 else
  5135.                 {
  5136.                         if(strcmp(anims, "a", true) == 0)
  5137.                         {
  5138.                                 ApplyAnimation(playerid,"STRIP", "strip_A", 4.1, 1, 1, 1, 1, 1 );
  5139.                         }
  5140.                         if(strcmp(anims, "b", true) == 0)
  5141.                         {
  5142.                                 ApplyAnimation(playerid,"STRIP", "strip_B", 4.1, 1, 1, 1, 1, 1 );
  5143.                         }
  5144.                         if(strcmp(anims, "c", true) == 0)
  5145.                         {
  5146.                                 ApplyAnimation(playerid,"STRIP", "strip_C", 4.1, 1, 1, 1, 1, 1 );
  5147.                         }
  5148.                         if(strcmp(anims, "d", true) == 0)
  5149.                         {
  5150.                                 ApplyAnimation(playerid,"STRIP", "strip_D", 4.1, 1, 1, 1, 1, 1 );
  5151.                         }
  5152.                         if(strcmp(anims, "e", true) == 0)
  5153.                         {
  5154.                                 ApplyAnimation(playerid,"STRIP", "strip_E", 4.1, 1, 1, 1, 1, 1 );
  5155.                         }
  5156.                         if(strcmp(anims, "f", true) == 0)
  5157.                         {
  5158.                                 ApplyAnimation(playerid,"STRIP", "strip_F", 4.1, 1, 1, 1, 1, 1 );
  5159.                         }
  5160.                         if(strcmp(anims, "g", true) == 0)
  5161.                         {
  5162.                                 ApplyAnimation(playerid,"STRIP", "strip_G", 4.1, 1, 1, 1, 1, 1 );
  5163.                         }
  5164.                 }
  5165.                 return 1;
  5166.         }
  5167.         CMD:dance(playerid, params[])
  5168.     {
  5169.                 if(sscanf(params, "s", anims))
  5170.                 {
  5171.                         SendClientMessage(playerid, 0x33AA33AA, "Uso correto: /dance [1-3]");
  5172.                 }
  5173.                 else
  5174.                 {
  5175.                         if(strcmp(anims, "1", true) == 0)
  5176.                         {
  5177.                                 SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE1);
  5178.                         }
  5179.                         if(strcmp(anims, "2", true) == 0)
  5180.                         {
  5181.                                 SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE2);
  5182.                         }
  5183.                         if(strcmp(anims, "3", true) == 0)
  5184.                         {
  5185.                                 SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE3);
  5186.                         }
  5187.                 }
  5188.                 return 1;
  5189.         }
  5190.        
  5191.        
  5192. // ARRUMANDO O BUG DO BAN E KICK
  5193. //BAN
  5194. forward Bana(p); public Bana(p) {
  5195.     #undef Ban
  5196.     Ban(p);
  5197.     #define Ban(%0) SetTimerEx("Bana", 100, false, "i", %0)
  5198.     return 1;
  5199. }
  5200. //KICK
  5201. forward Kicka(p); public Kicka(p) {
  5202.     #undef Kick
  5203.     Kick(p);
  5204.     #define Kick(%0) SetTimerEx("Kicka", 100, false, "i", %0)
  5205.     return 1;
  5206. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top