Guest User

COK FS

a guest
Jun 12th, 2012
376
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 201.79 KB | None | 0 0
  1. /*
  2.                                      CITY OF KILLERS 1.0 | 0.3e
  3.                                   Gamemode por: [XPG]MarlonCS
  4.                                           Base: LVDM
  5.                           Sistema de admin por: Lethal
  6.                      Tradução sistema de admin: [PCS]IgooR e [PCS]TIOALI
  7.                            Sistema de gang por: SuB_ZeRo0_
  8.                          Sistema de pontos por: Josma_CMD
  9.              Sistemas de DMs baseados no FS do: DJ Bruninho
  10.                              Loja de armas por: SuB_ZeRo0_
  11.         Outros comandos e FS foram tirados do forum Samp ou criados por mim.
  12.        
  13.                                   IP do Server: 67.23.245.164:7777 (0.3e)
  14. */
  15. //----Includes----//
  16. #include <a_samp>
  17. #include <a_objects>
  18. #include <core>
  19. #include <float>
  20. #include <DINI>
  21. #include <armasSZ>
  22. #include <SII>
  23. #include <properties>
  24.  
  25. //----denifes----//
  26. #pragma tabsize 0
  27. #define DialogBoxEx 1
  28. #define DialogBoxExx 2
  29. #define DialogBoxExxx 3
  30. #define DIALOGID 3300
  31. #define AJUDA 3311
  32. #define TUTO 112211
  33. #define XDXD 112212
  34. #define STUNTS 3322
  35. #define DMs 3333
  36. #define MAX 13
  37. #define COR_DELETE 0xFFFF00AA
  38. #define COLOR_GREY 0xAFAFAFAA
  39. #define COLOR_GREEN 0x33AA33AA
  40. #define COLOR_RED 0xAA3333AA
  41. #define COLOR_YELLOW 0xFFFF00AA
  42. #define COLOR_WHITE 0xFFFFFFAA
  43. #define PocketMoney 50000
  44. #define INACTIVE_PLAYER_ID 255
  45. #define GIVECASH_DELAY 5000
  46. #define NUMVALUES 4
  47. #define SEC1 1000
  48. #define SEC2 2000
  49. #define SEC5 5000
  50. #define MAX_ZONE_NAME 28
  51. #define MAXPLAYERS              100
  52. #define MAXPLAYERSS              100
  53. #define COR_CINZA               0xBFC0C2FF
  54. #define COR_AMARELO     0xF5DEB3AA
  55. #define COR_AZULZINHO   0x00A5FFFF
  56. #define COR_BRANCO              0xFAFAFAFF
  57.  
  58. //----forward----//
  59. forward ProcessGameTime(playerid);
  60. forward SalvarInformacoes(playerid);
  61. forward CarregarInformacoes(playerid);
  62. forward sLeuTuto(playerid);
  63. forward LeuTuto(playerid);
  64. forward MoneyGrubScoreUpdate();
  65. forward Givecashdelaytimer(playerid);
  66. forward SetPlayerRandomSpawn(playerid);
  67. forward SetupPlayerForClassSelection(playerid);
  68. forward GameModeExitFunc();
  69. forward SendPlayerFormattedText(playerid, const str[], define);
  70. forward public SendAllFormattedText(playerid, const str[], define);
  71. forward SendMSG();
  72. forward
  73.     Fillup();
  74. forward
  75.     NoPosto(playerid);
  76. forward
  77.     Float:GetDistanceBetweenPlayerToPoint(p1,Float:px,Float:py,Float:pz);
  78. forward
  79.     StoppedVehicle();
  80. forward
  81.     CheckGas();
  82. forward
  83.     Speedo();
  84.  
  85. //----outros----//
  86. const Branco = 0xFFFFFFFF;
  87. enum PInfo { Matou, Morreu, Pontos, Text:TPontos, bool:Connectado, };
  88. #define GasMax 100
  89. #define RefuelWait 5000
  90. #define RunOutTime 15000
  91. enum
  92.     SavePlayerPosEnum
  93. {
  94.     Float:LastX,
  95.     Float:LastY,
  96.     Float:LastZ
  97. };
  98. enum
  99.     SAZONE_MAIN
  100. {
  101.     SAZONE_NAME[28],
  102.     Float:SAZONE_AREA[6]
  103. };
  104.  
  105. //----news----//
  106. new
  107.     Text:Textdraw0,
  108.     Text:Textdraw1,
  109.     Text:Textdraw2,
  110.     Text:Textdraw3,
  111.     Text:Textdraw4,
  112.     Text:Textdraw5,
  113.     Text:Textdraw6,
  114.     Text:Textdraw7,
  115.     checkgastimer,
  116.     stoppedvehtimer,
  117.     Gas[MAX_VEHICLES],
  118.     Refueling[MAX_PLAYERS],
  119.     gGasBiz[MAX_PLAYERS],
  120.     SavePlayerPos[MAX_PLAYERS][SavePlayerPosEnum],
  121.     UpdateSeconds = 1,
  122.     Float:Lataria,
  123.     zone[MAX_ZONE_NAME],
  124.     Float:x1,
  125.     Float:y1,
  126.     Float:z1,
  127.     Float:x2,
  128.     Float:y2,
  129.     Float:z2,
  130.     spe,
  131.     Float:pos[4],
  132.     Float:olddistance,
  133.     Float:newdistance,
  134.     closest = -1,
  135.     Float:GasX,
  136.     Float:GasY,
  137.     Float:GasZ,
  138.     FillUp,
  139.     FillUpPrice,
  140.     Float:x,
  141.     Float:y,
  142.     Float:z,
  143.     TmpZone[MAX_ZONE_NAME],
  144.     Float:distance,
  145.     timerspeedo,
  146.     value,
  147.     Text:txtTimeDisp,
  148.     Text:txtDateDisp,
  149.     Matouu[MAX_PLAYERS],
  150.     Morreuu[MAX_PLAYERS],
  151.     chilliad[52],
  152.     bool:Libero,
  153.     bool:TaX1[MAXPLAYERS],
  154.     Playersx1,
  155.     nome[MAX_PLAYER_NAME],
  156.     bool:Libera,
  157.     bool:TaMG[MAXPLAYERSS],
  158.     Playersmg,
  159.     bool:Liberu,
  160.     bool:TaSN[MAXPLAYERSS],
  161.     Playerssn,
  162.     bool:Libere,
  163.     bool:Ta69[MAXPLAYERSS],
  164.     Players69,
  165.     bool:Liberi,
  166.     bool:TaRPG[MAXPLAYERSS],
  167.     Playersrpg,
  168.     Text3D:TextID[MAX_PLAYERS],
  169.     Leu[MAX_PLAYERS],
  170.     bool:AlreadyGiveWeapons[MAX_PLAYERS],
  171.     ProgressaoInfo[MAX_PLAYERS][PInfo],
  172.     arquivo[50],
  173.     message[256],
  174.     Veiculos[][] =
  175.         {
  176.         "Landstalker", "Bravura", "Buffalo", "Linerunner", "Perrenial", "Sentinel",
  177.         "Dumper", "Firetruck", "Trashmaster", "Stretch", "Manana", "Infernus",
  178.         "Voodoo", "Pony", "Mule", "Cheetah", "Ambulance", "Leviathan", "Moonbeam",
  179.         "Esperanto", "Taxi", "Washington", "Bobcat", "Whoopee", "BF Injection",
  180.         "Hunter", "Premier", "Enforcer", "Securicar", "Banshee", "Predator", "Bus",
  181.         "Rhino", "Barracks", "Hotknife", "Trailer", "Previon", "Coach", "Cabbie",
  182.         "Stallion", "Rumpo", "RC Bandit", "Romero", "Packer", "Monster", "Admiral",
  183.         "Squalo", "Seasparrow", "Pizzaboy", "Tram", "Trailer", "Turismo", "Speeder",
  184.         "Reefer", "Tropic", "Flatbed", "Yankee", "Caddy", "Solair", "Berkley's RC Van",
  185.         "Skimmer", "PCJ-600", "Faggio", "Freeway", "RC Baron", "RC Raider", "Glendale",
  186.         "Oceanic","Sanchez", "Sparrow", "Patriot", "Quad", "Coastguard", "Dinghy",
  187.         "Hermes", "Sabre", "Rustler", "ZR-350", "Walton", "Regina", "Comet", "BMX",
  188.         "Burrito", "Camper", "Marquis", "Baggage", "Dozer", "Maverick", "News Chopper",
  189.         "Rancher", "FBI Rancher", "Virgo", "Greenwood", "Jetmax", "Hotring", "Sandking",
  190.         "Blista Compact", "Police Maverick", "Boxvillde", "Benson", "Mesa", "RC Goblin",
  191.         "Hotring Racer A", "Hotring Racer B", "Bloodring Banger", "Rancher", "Super GT",
  192.         "Elegant", "Journey", "Bike", "Mountain Bike", "Beagle", "Cropduster", "Stunt",
  193.         "Tanker", "Roadtrain", "Nebula", "Majestic", "Buccaneer", "Shamal", "Hydra",
  194.         "FCR-900", "NRG-500", "HPV1000", "Cement Truck", "Tow Truck", "Fortune",
  195.         "Cadrona", "FBI Truck", "Willard", "Forklift", "Tractor", "Combine", "Feltzer",
  196.         "Remington", "Slamvan", "Blade", "Freight", "Streak", "Vortex", "Vincent",
  197.         "Bullet", "Clover", "Sadler", "Firetruck", "Hustler", "Intruder", "Primo",
  198.         "Cargobob", "Tampa", "Sunrise", "Merit", "Utility", "Nevada", "Yosemite",
  199.         "Windsor", "Monster", "Monster", "Uranus", "Jester", "Sultan", "Stratium",
  200.         "Elegy", "Raindance", "RC Tiger", "Flash", "Tahoma", "Savanna", "Bandito",
  201.         "Freight Flat", "Streak Carriage", "Kart", "Mower", "Dune", "Sweeper",
  202.         "Broadway", "Tornado", "AT-400", "DFT-30", "Huntley", "Stafford", "BF-400",
  203.         "News Van", "Tug", "Trailer", "Emperor", "Wayfarer", "Euros", "Hotdog", "Club",
  204.         "Freight Box", "Trailer", "Andromada", "Dodo", "RC Cam", "Launch", "Police Car",
  205.         "Police Car", "Police Car", "Police Ranger", "Picador", "S.W.A.T", "Alpha",
  206.         "Phoenix", "Glendale", "Sadler", "Luggage", "Luggage", "Stairs", "Boxville",
  207.         "Tiller", "Utility Trailer"
  208.         },
  209.         Float:gGasStationLocations[13][3] = //Postos de gasolina
  210.         {
  211.         {1004.0070,-939.3102,42.1797},
  212.         {1944.3260,-1772.9254,13.3906},
  213.         {-90.5515,-1169.4578,2.4079},
  214.         {-1609.7958,-2718.2048,48.5391},
  215.         {-2029.4968,156.4366,28.9498},
  216.         {-2408.7590,976.0934,45.4175},
  217.         {-2243.9629,-2560.6477,31.8841},
  218.         {-1676.6323,414.0262,6.9484},
  219.         {2202.2349,2474.3494,10.5258},
  220.         {614.9333,1689.7418,6.6968},
  221.         {-1328.8250,2677.2173,49.7665},
  222.         {70.3882,1218.6783,18.5165},
  223.         {2113.7390,920.1079,10.5255}
  224.         },
  225.         pname[MAX_PLAYER_NAME],
  226.         Text:PlayersOnServer,
  227.         string[512],
  228.         MaxP,
  229.         Float:KenX[MAX_PLAYERS],
  230.         Float:KenY[MAX_PLAYERS],
  231.         Float:KenZ[MAX_PLAYERS],
  232.         Float:KenA[MAX_PLAYERS],
  233.         totalon,
  234.         Text:cokfundo,
  235.         ReceiverID[MAX_PLAYERS], PMfrom[MAX_PLAYERS], reply[MAX_PLAYERS],
  236.    Float:gCopPlayerSpawns[2][3] = {
  237.    {2297.1064,2452.0115,10.8203},
  238.    {2297.0452,2468.6743,10.8203}
  239.    },
  240.    gActivePlayers[MAX_PLAYERS],
  241.    gLastGaveCash[MAX_PLAYERS]
  242. ;
  243.  
  244. //----statics----//
  245. static CoresV[] = {
  246. 0xFAFAD288,
  247. 0x836FFF88,
  248. 0xFFA50088,
  249. 0xADFF2F88,
  250. 0xFF000088,
  251. 0xAB82FF88,
  252. 0x7FFF0088
  253. };
  254. static const gSAZones[][SAZONE_MAIN] =
  255. {
  256.     {"The Big Ear",                 {-410.00,1403.30,-3.00,-137.90,1681.20,200.00}},
  257.     {"Aldea Malvada",               {-1372.10,2498.50,0.00,-1277.50,2615.30,200.00}},
  258.     {"Angel Pine",                  {-2324.90,-2584.20,-6.10,-1964.20,-2212.10,200.00}},
  259.     {"Arco del Oeste",              {-901.10,2221.80,0.00,-592.00,2571.90,200.00}},
  260.     {"Avispa Country Club",         {-2646.40,-355.40,0.00,-2270.00,-222.50,200.00}},
  261.     {"Avispa Country Club",         {-2831.80,-430.20,-6.10,-2646.40,-222.50,200.00}},
  262.     {"Avispa Country Club",         {-2361.50,-417.10,0.00,-2270.00,-355.40,200.00}},
  263.     {"Avispa Country Club",         {-2667.80,-302.10,-28.80,-2646.40,-262.30,71.10}},
  264.     {"Avispa Country Club",         {-2470.00,-355.40,0.00,-2270.00,-318.40,46.10}},
  265.     {"Avispa Country Club",         {-2550.00,-355.40,0.00,-2470.00,-318.40,39.70}},
  266.     {"Back o Beyond",               {-1166.90,-2641.10,0.00,-321.70,-1856.00,200.00}},
  267.     {"Battery Point",               {-2741.00,1268.40,-4.50,-2533.00,1490.40,200.00}},
  268.     {"Bayside",                     {-2741.00,2175.10,0.00,-2353.10,2722.70,200.00}},
  269.     {"Bayside Marina",              {-2353.10,2275.70,0.00,-2153.10,2475.70,200.00}},
  270.     {"Beacon Hill",                 {-399.60,-1075.50,-1.40,-319.00,-977.50,198.50}},
  271.     {"Blackfield",                  {964.30,1203.20,-89.00,1197.30,1403.20,110.90}},
  272.     {"Blackfield",                  {964.30,1403.20,-89.00,1197.30,1726.20,110.90}},
  273.     {"Blackfield Chapel",           {1375.60,596.30,-89.00,1558.00,823.20,110.90}},
  274.     {"Blackfield Chapel",           {1325.60,596.30,-89.00,1375.60,795.00,110.90}},
  275.     {"Blackfield Intersection",     {1197.30,1044.60,-89.00,1277.00,1163.30,110.90}},
  276.     {"Blackfield Intersection",     {1166.50,795.00,-89.00,1375.60,1044.60,110.90}},
  277.     {"Blackfield Intersection",     {1277.00,1044.60,-89.00,1315.30,1087.60,110.90}},
  278.     {"Blackfield Intersection",     {1375.60,823.20,-89.00,1457.30,919.40,110.90}},
  279.     {"Blueberry",                   {104.50,-220.10,2.30,349.60,152.20,200.00}},
  280.     {"Blueberry",                   {19.60,-404.10,3.80,349.60,-220.10,200.00}},
  281.     {"Blueberry Acres",             {-319.60,-220.10,0.00,104.50,293.30,200.00}},
  282.     {"Caligula's Palace",           {2087.30,1543.20,-89.00,2437.30,1703.20,110.90}},
  283.     {"Caligula's Palace",           {2137.40,1703.20,-89.00,2437.30,1783.20,110.90}},
  284.     {"Calton Heights",              {-2274.10,744.10,-6.10,-1982.30,1358.90,200.00}},
  285.     {"Chinatown",                   {-2274.10,578.30,-7.60,-2078.60,744.10,200.00}},
  286.     {"City Hall",                   {-2867.80,277.40,-9.10,-2593.40,458.40,200.00}},
  287.     {"Come-A-Lot",                  {2087.30,943.20,-89.00,2623.10,1203.20,110.90}},
  288.     {"Commerce",                    {1323.90,-1842.20,-89.00,1701.90,-1722.20,110.90}},
  289.     {"Commerce",                    {1323.90,-1722.20,-89.00,1440.90,-1577.50,110.90}},
  290.     {"Commerce",                    {1370.80,-1577.50,-89.00,1463.90,-1384.90,110.90}},
  291.     {"Commerce",                    {1463.90,-1577.50,-89.00,1667.90,-1430.80,110.90}},
  292.     {"Commerce",                    {1583.50,-1722.20,-89.00,1758.90,-1577.50,110.90}},
  293.     {"Commerce",                    {1667.90,-1577.50,-89.00,1812.60,-1430.80,110.90}},
  294.     {"Conference Center",           {1046.10,-1804.20,-89.00,1323.90,-1722.20,110.90}},
  295.     {"Conference Center",           {1073.20,-1842.20,-89.00,1323.90,-1804.20,110.90}},
  296.     {"Cranberry Station",           {-2007.80,56.30,0.00,-1922.00,224.70,100.00}},
  297.     {"Creek",                       {2749.90,1937.20,-89.00,2921.60,2669.70,110.90}},
  298.     {"Dillimore",                   {580.70,-674.80,-9.50,861.00,-404.70,200.00}},
  299.     {"Doherty",                     {-2270.00,-324.10,-0.00,-1794.90,-222.50,200.00}},
  300.     {"Doherty",                     {-2173.00,-222.50,-0.00,-1794.90,265.20,200.00}},
  301.     {"Downtown",                    {-1982.30,744.10,-6.10,-1871.70,1274.20,200.00}},
  302.     {"Downtown",                    {-1871.70,1176.40,-4.50,-1620.30,1274.20,200.00}},
  303.     {"Downtown",                    {-1700.00,744.20,-6.10,-1580.00,1176.50,200.00}},
  304.     {"Downtown",                    {-1580.00,744.20,-6.10,-1499.80,1025.90,200.00}},
  305.     {"Downtown",                    {-2078.60,578.30,-7.60,-1499.80,744.20,200.00}},
  306.     {"Downtown",                    {-1993.20,265.20,-9.10,-1794.90,578.30,200.00}},
  307.     {"Downtown Los Santos",         {1463.90,-1430.80,-89.00,1724.70,-1290.80,110.90}},
  308.     {"Downtown Los Santos",         {1724.70,-1430.80,-89.00,1812.60,-1250.90,110.90}},
  309.     {"Downtown Los Santos",         {1463.90,-1290.80,-89.00,1724.70,-1150.80,110.90}},
  310.     {"Downtown Los Santos",         {1370.80,-1384.90,-89.00,1463.90,-1170.80,110.90}},
  311.     {"Downtown Los Santos",         {1724.70,-1250.90,-89.00,1812.60,-1150.80,110.90}},
  312.     {"Downtown Los Santos",         {1370.80,-1170.80,-89.00,1463.90,-1130.80,110.90}},
  313.     {"Downtown Los Santos",         {1378.30,-1130.80,-89.00,1463.90,-1026.30,110.90}},
  314.     {"Downtown Los Santos",         {1391.00,-1026.30,-89.00,1463.90,-926.90,110.90}},
  315.     {"Downtown Los Santos",         {1507.50,-1385.20,110.90,1582.50,-1325.30,335.90}},
  316.     {"East Beach",                  {2632.80,-1852.80,-89.00,2959.30,-1668.10,110.90}},
  317.     {"East Beach",                  {2632.80,-1668.10,-89.00,2747.70,-1393.40,110.90}},
  318.     {"East Beach",                  {2747.70,-1668.10,-89.00,2959.30,-1498.60,110.90}},
  319.     {"East Beach",                  {2747.70,-1498.60,-89.00,2959.30,-1120.00,110.90}},
  320.     {"East Los Santos",             {2421.00,-1628.50,-89.00,2632.80,-1454.30,110.90}},
  321.     {"East Los Santos",             {2222.50,-1628.50,-89.00,2421.00,-1494.00,110.90}},
  322.     {"East Los Santos",             {2266.20,-1494.00,-89.00,2381.60,-1372.00,110.90}},
  323.     {"East Los Santos",             {2381.60,-1494.00,-89.00,2421.00,-1454.30,110.90}},
  324.     {"East Los Santos",             {2281.40,-1372.00,-89.00,2381.60,-1135.00,110.90}},
  325.     {"East Los Santos",             {2381.60,-1454.30,-89.00,2462.10,-1135.00,110.90}},
  326.     {"East Los Santos",             {2462.10,-1454.30,-89.00,2581.70,-1135.00,110.90}},
  327.     {"Easter Basin",                {-1794.90,249.90,-9.10,-1242.90,578.30,200.00}},
  328.     {"Easter Basin",                {-1794.90,-50.00,-0.00,-1499.80,249.90,200.00}},
  329.     {"Easter Bay Airport",          {-1499.80,-50.00,-0.00,-1242.90,249.90,200.00}},
  330.     {"Easter Bay Airport",          {-1794.90,-730.10,-3.00,-1213.90,-50.00,200.00}},
  331.     {"Easter Bay Airport",          {-1213.90,-730.10,0.00,-1132.80,-50.00,200.00}},
  332.     {"Easter Bay Airport",          {-1242.90,-50.00,0.00,-1213.90,578.30,200.00}},
  333.     {"Easter Bay Airport",          {-1213.90,-50.00,-4.50,-947.90,578.30,200.00}},
  334.     {"Easter Bay Airport",          {-1315.40,-405.30,15.40,-1264.40,-209.50,25.40}},
  335.     {"Easter Bay Airport",          {-1354.30,-287.30,15.40,-1315.40,-209.50,25.40}},
  336.     {"Easter Bay Airport",          {-1490.30,-209.50,15.40,-1264.40,-148.30,25.40}},
  337.     {"Easter Bay Chemicals",        {-1132.80,-768.00,0.00,-956.40,-578.10,200.00}},
  338.     {"Easter Bay Chemicals",        {-1132.80,-787.30,0.00,-956.40,-768.00,200.00}},
  339.     {"El Castillo del Diablo",      {-464.50,2217.60,0.00,-208.50,2580.30,200.00}},
  340.     {"El Castillo del Diablo",      {-208.50,2123.00,-7.60,114.00,2337.10,200.00}},
  341.     {"El Castillo del Diablo",      {-208.50,2337.10,0.00,8.40,2487.10,200.00}},
  342.     {"El Corona",                   {1812.60,-2179.20,-89.00,1970.60,-1852.80,110.90}},
  343.     {"El Corona",                   {1692.60,-2179.20,-89.00,1812.60,-1842.20,110.90}},
  344.     {"El Quebrados",                {-1645.20,2498.50,0.00,-1372.10,2777.80,200.00}},
  345.     {"Esplanade East",              {-1620.30,1176.50,-4.50,-1580.00,1274.20,200.00}},
  346.     {"Esplanade East",              {-1580.00,1025.90,-6.10,-1499.80,1274.20,200.00}},
  347.     {"Esplanade East",              {-1499.80,578.30,-79.60,-1339.80,1274.20,20.30}},
  348.     {"Esplanade North",             {-2533.00,1358.90,-4.50,-1996.60,1501.20,200.00}},
  349.     {"Esplanade North",             {-1996.60,1358.90,-4.50,-1524.20,1592.50,200.00}},
  350.     {"Esplanade North",             {-1982.30,1274.20,-4.50,-1524.20,1358.90,200.00}},
  351.     {"Fallen Tree",                 {-792.20,-698.50,-5.30,-452.40,-380.00,200.00}},
  352.     {"Fallow Bridge",               {434.30,366.50,0.00,603.00,555.60,200.00}},
  353.     {"Fern Ridge",                  {508.10,-139.20,0.00,1306.60,119.50,200.00}},
  354.     {"Financial",                   {-1871.70,744.10,-6.10,-1701.30,1176.40,300.00}},
  355.     {"Fisher's Lagoon",             {1916.90,-233.30,-100.00,2131.70,13.80,200.00}},
  356.     {"Flint Intersection",          {-187.70,-1596.70,-89.00,17.00,-1276.60,110.90}},
  357.     {"Flint Range",                 {-594.10,-1648.50,0.00,-187.70,-1276.60,200.00}},
  358.     {"Fort Carson",                 {-376.20,826.30,-3.00,123.70,1220.40,200.00}},
  359.     {"Foster Valley",               {-2270.00,-430.20,-0.00,-2178.60,-324.10,200.00}},
  360.     {"Foster Valley",               {-2178.60,-599.80,-0.00,-1794.90,-324.10,200.00}},
  361.     {"Foster Valley",               {-2178.60,-1115.50,0.00,-1794.90,-599.80,200.00}},
  362.     {"Foster Valley",               {-2178.60,-1250.90,0.00,-1794.90,-1115.50,200.00}},
  363.     {"Frederick Bridge",            {2759.20,296.50,0.00,2774.20,594.70,200.00}},
  364.     {"Gant Bridge",                 {-2741.40,1659.60,-6.10,-2616.40,2175.10,200.00}},
  365.     {"Gant Bridge",                 {-2741.00,1490.40,-6.10,-2616.40,1659.60,200.00}},
  366.     {"Ganton",                      {2222.50,-1852.80,-89.00,2632.80,-1722.30,110.90}},
  367.     {"Ganton",                      {2222.50,-1722.30,-89.00,2632.80,-1628.50,110.90}},
  368.     {"Garcia",                      {-2411.20,-222.50,-0.00,-2173.00,265.20,200.00}},
  369.     {"Garcia",                      {-2395.10,-222.50,-5.30,-2354.00,-204.70,200.00}},
  370.     {"Garver Bridge",               {-1339.80,828.10,-89.00,-1213.90,1057.00,110.90}},
  371.     {"Garver Bridge",               {-1213.90,950.00,-89.00,-1087.90,1178.90,110.90}},
  372.     {"Garver Bridge",               {-1499.80,696.40,-179.60,-1339.80,925.30,20.30}},
  373.     {"Glen Park",                   {1812.60,-1449.60,-89.00,1996.90,-1350.70,110.90}},
  374.     {"Glen Park",                   {1812.60,-1100.80,-89.00,1994.30,-973.30,110.90}},
  375.     {"Glen Park",                   {1812.60,-1350.70,-89.00,2056.80,-1100.80,110.90}},
  376.     {"Green Palms",                 {176.50,1305.40,-3.00,338.60,1520.70,200.00}},
  377.     {"Greenglass College",          {964.30,1044.60,-89.00,1197.30,1203.20,110.90}},
  378.     {"Greenglass College",          {964.30,930.80,-89.00,1166.50,1044.60,110.90}},
  379.     {"Hampton Barns",               {603.00,264.30,0.00,761.90,366.50,200.00}},
  380.     {"Hankypanky Point",            {2576.90,62.10,0.00,2759.20,385.50,200.00}},
  381.     {"Harry Gold Parkway",          {1777.30,863.20,-89.00,1817.30,2342.80,110.90}},
  382.     {"Hashbury",                    {-2593.40,-222.50,-0.00,-2411.20,54.70,200.00}},
  383.     {"Hilltop Farm",                {967.30,-450.30,-3.00,1176.70,-217.90,200.00}},
  384.     {"Hunter Quarry",               {337.20,710.80,-115.20,860.50,1031.70,203.70}},
  385.     {"Idlewood",                    {1812.60,-1852.80,-89.00,1971.60,-1742.30,110.90}},
  386.     {"Idlewood",                    {1812.60,-1742.30,-89.00,1951.60,-1602.30,110.90}},
  387.     {"Idlewood",                    {1951.60,-1742.30,-89.00,2124.60,-1602.30,110.90}},
  388.     {"Idlewood",                    {1812.60,-1602.30,-89.00,2124.60,-1449.60,110.90}},
  389.     {"Idlewood",                    {2124.60,-1742.30,-89.00,2222.50,-1494.00,110.90}},
  390.     {"Idlewood",                    {1971.60,-1852.80,-89.00,2222.50,-1742.30,110.90}},
  391.     {"Jefferson",                   {1996.90,-1449.60,-89.00,2056.80,-1350.70,110.90}},
  392.     {"Jefferson",                   {2124.60,-1494.00,-89.00,2266.20,-1449.60,110.90}},
  393.     {"Jefferson",                   {2056.80,-1372.00,-89.00,2281.40,-1210.70,110.90}},
  394.     {"Jefferson",                   {2056.80,-1210.70,-89.00,2185.30,-1126.30,110.90}},
  395.     {"Jefferson",                   {2185.30,-1210.70,-89.00,2281.40,-1154.50,110.90}},
  396.     {"Jefferson",                   {2056.80,-1449.60,-89.00,2266.20,-1372.00,110.90}},
  397.     {"Julius Thruway East",         {2623.10,943.20,-89.00,2749.90,1055.90,110.90}},
  398.     {"Julius Thruway East",         {2685.10,1055.90,-89.00,2749.90,2626.50,110.90}},
  399.     {"Julius Thruway East",         {2536.40,2442.50,-89.00,2685.10,2542.50,110.90}},
  400.     {"Julius Thruway East",         {2625.10,2202.70,-89.00,2685.10,2442.50,110.90}},
  401.     {"Julius Thruway North",        {2498.20,2542.50,-89.00,2685.10,2626.50,110.90}},
  402.     {"Julius Thruway North",        {2237.40,2542.50,-89.00,2498.20,2663.10,110.90}},
  403.     {"Julius Thruway North",        {2121.40,2508.20,-89.00,2237.40,2663.10,110.90}},
  404.     {"Julius Thruway North",        {1938.80,2508.20,-89.00,2121.40,2624.20,110.90}},
  405.     {"Julius Thruway North",        {1534.50,2433.20,-89.00,1848.40,2583.20,110.90}},
  406.     {"Julius Thruway North",        {1848.40,2478.40,-89.00,1938.80,2553.40,110.90}},
  407.     {"Julius Thruway North",        {1704.50,2342.80,-89.00,1848.40,2433.20,110.90}},
  408.     {"Julius Thruway North",        {1377.30,2433.20,-89.00,1534.50,2507.20,110.90}},
  409.     {"Julius Thruway South",        {1457.30,823.20,-89.00,2377.30,863.20,110.90}},
  410.     {"Julius Thruway South",        {2377.30,788.80,-89.00,2537.30,897.90,110.90}},
  411.     {"Julius Thruway West",         {1197.30,1163.30,-89.00,1236.60,2243.20,110.90}},
  412.     {"Julius Thruway West",         {1236.60,2142.80,-89.00,1297.40,2243.20,110.90}},
  413.     {"Juniper Hill",                {-2533.00,578.30,-7.60,-2274.10,968.30,200.00}},
  414.     {"Juniper Hollow",              {-2533.00,968.30,-6.10,-2274.10,1358.90,200.00}},
  415.     {"K.A.C.C. Military Fuels",     {2498.20,2626.50,-89.00,2749.90,2861.50,110.90}},
  416.     {"Kincaid Bridge",              {-1339.80,599.20,-89.00,-1213.90,828.10,110.90}},
  417.     {"Kincaid Bridge",              {-1213.90,721.10,-89.00,-1087.90,950.00,110.90}},
  418.     {"Kincaid Bridge",              {-1087.90,855.30,-89.00,-961.90,986.20,110.90}},
  419.     {"King's",                      {-2329.30,458.40,-7.60,-1993.20,578.30,200.00}},
  420.     {"King's",                      {-2411.20,265.20,-9.10,-1993.20,373.50,200.00}},
  421.     {"King's",                      {-2253.50,373.50,-9.10,-1993.20,458.40,200.00}},
  422.     {"LVA Freight Depot",           {1457.30,863.20,-89.00,1777.40,1143.20,110.90}},
  423.     {"LVA Freight Depot",           {1375.60,919.40,-89.00,1457.30,1203.20,110.90}},
  424.     {"LVA Freight Depot",           {1277.00,1087.60,-89.00,1375.60,1203.20,110.90}},
  425.     {"LVA Freight Depot",           {1315.30,1044.60,-89.00,1375.60,1087.60,110.90}},
  426.     {"LVA Freight Depot",           {1236.60,1163.40,-89.00,1277.00,1203.20,110.90}},
  427.     {"Las Barrancas",               {-926.10,1398.70,-3.00,-719.20,1634.60,200.00}},
  428.     {"Las Brujas",                  {-365.10,2123.00,-3.00,-208.50,2217.60,200.00}},
  429.     {"Las Colinas",                 {1994.30,-1100.80,-89.00,2056.80,-920.80,110.90}},
  430.     {"Las Colinas",                 {2056.80,-1126.30,-89.00,2126.80,-920.80,110.90}},
  431.     {"Las Colinas",                 {2185.30,-1154.50,-89.00,2281.40,-934.40,110.90}},
  432.     {"Las Colinas",                 {2126.80,-1126.30,-89.00,2185.30,-934.40,110.90}},
  433.     {"Las Colinas",                 {2747.70,-1120.00,-89.00,2959.30,-945.00,110.90}},
  434.     {"Las Colinas",                 {2632.70,-1135.00,-89.00,2747.70,-945.00,110.90}},
  435.     {"Las Colinas",                 {2281.40,-1135.00,-89.00,2632.70,-945.00,110.90}},
  436.     {"Las Payasadas",               {-354.30,2580.30,2.00,-133.60,2816.80,200.00}},
  437.     {"Las Venturas Airport",        {1236.60,1203.20,-89.00,1457.30,1883.10,110.90}},
  438.     {"Las Venturas Airport",        {1457.30,1203.20,-89.00,1777.30,1883.10,110.90}},
  439.     {"Las Venturas Airport",        {1457.30,1143.20,-89.00,1777.40,1203.20,110.90}},
  440.     {"Las Venturas Airport",        {1515.80,1586.40,-12.50,1729.90,1714.50,87.50}},
  441.     {"Last Dime Motel",             {1823.00,596.30,-89.00,1997.20,823.20,110.90}},
  442.     {"Leafy Hollow",                {-1166.90,-1856.00,0.00,-815.60,-1602.00,200.00}},
  443.     {"Liberty City",                {-1000.00,400.00,1300.00,-700.00,600.00,1400.00}},
  444.     {"Lil' Probe Inn",              {-90.20,1286.80,-3.00,153.80,1554.10,200.00}},
  445.     {"Linden Side",                 {2749.90,943.20,-89.00,2923.30,1198.90,110.90}},
  446.     {"Linden Station",              {2749.90,1198.90,-89.00,2923.30,1548.90,110.90}},
  447.     {"Linden Station",              {2811.20,1229.50,-39.50,2861.20,1407.50,60.40}},
  448.     {"Little Mexico",               {1701.90,-1842.20,-89.00,1812.60,-1722.20,110.90}},
  449.     {"Little Mexico",               {1758.90,-1722.20,-89.00,1812.60,-1577.50,110.90}},
  450.     {"Los Flores",                  {2581.70,-1454.30,-89.00,2632.80,-1393.40,110.90}},
  451.     {"Los Flores",                  {2581.70,-1393.40,-89.00,2747.70,-1135.00,110.90}},
  452.     {"Los Santos International",    {1249.60,-2394.30,-89.00,1852.00,-2179.20,110.90}},
  453.     {"Los Santos International",    {1852.00,-2394.30,-89.00,2089.00,-2179.20,110.90}},
  454.     {"Los Santos International",    {1382.70,-2730.80,-89.00,2201.80,-2394.30,110.90}},
  455.     {"Los Santos International",    {1974.60,-2394.30,-39.00,2089.00,-2256.50,60.90}},
  456.     {"Los Santos International",    {1400.90,-2669.20,-39.00,2189.80,-2597.20,60.90}},
  457.     {"Los Santos International",    {2051.60,-2597.20,-39.00,2152.40,-2394.30,60.90}},
  458.     {"Marina",                      {647.70,-1804.20,-89.00,851.40,-1577.50,110.90}},
  459.     {"Marina",                      {647.70,-1577.50,-89.00,807.90,-1416.20,110.90}},
  460.     {"Marina",                      {807.90,-1577.50,-89.00,926.90,-1416.20,110.90}},
  461.     {"Market",                      {787.40,-1416.20,-89.00,1072.60,-1310.20,110.90}},
  462.     {"Market",                      {952.60,-1310.20,-89.00,1072.60,-1130.80,110.90}},
  463.     {"Market",                      {1072.60,-1416.20,-89.00,1370.80,-1130.80,110.90}},
  464.     {"Market",                      {926.90,-1577.50,-89.00,1370.80,-1416.20,110.90}},
  465.     {"Market Station",              {787.40,-1410.90,-34.10,866.00,-1310.20,65.80}},
  466.     {"Martin Bridge",               {-222.10,293.30,0.00,-122.10,476.40,200.00}},
  467.     {"Missionary Hill",             {-2994.40,-811.20,0.00,-2178.60,-430.20,200.00}},
  468.     {"Montgomery",                  {1119.50,119.50,-3.00,1451.40,493.30,200.00}},
  469.     {"Montgomery",                  {1451.40,347.40,-6.10,1582.40,420.80,200.00}},
  470.     {"Montgomery Intersection",     {1546.60,208.10,0.00,1745.80,347.40,200.00}},
  471.     {"Montgomery Intersection",     {1582.40,347.40,0.00,1664.60,401.70,200.00}},
  472.     {"Mulholland",                  {1414.00,-768.00,-89.00,1667.60,-452.40,110.90}},
  473.     {"Mulholland",                  {1281.10,-452.40,-89.00,1641.10,-290.90,110.90}},
  474.     {"Mulholland",                  {1269.10,-768.00,-89.00,1414.00,-452.40,110.90}},
  475.     {"Mulholland",                  {1357.00,-926.90,-89.00,1463.90,-768.00,110.90}},
  476.     {"Mulholland",                  {1318.10,-910.10,-89.00,1357.00,-768.00,110.90}},
  477.     {"Mulholland",                  {1169.10,-910.10,-89.00,1318.10,-768.00,110.90}},
  478.     {"Mulholland",                  {768.60,-954.60,-89.00,952.60,-860.60,110.90}},
  479.     {"Mulholland",                  {687.80,-860.60,-89.00,911.80,-768.00,110.90}},
  480.     {"Mulholland",                  {737.50,-768.00,-89.00,1142.20,-674.80,110.90}},
  481.     {"Mulholland",                  {1096.40,-910.10,-89.00,1169.10,-768.00,110.90}},
  482.     {"Mulholland",                  {952.60,-937.10,-89.00,1096.40,-860.60,110.90}},
  483.     {"Mulholland",                  {911.80,-860.60,-89.00,1096.40,-768.00,110.90}},
  484.     {"Mulholland",                  {861.00,-674.80,-89.00,1156.50,-600.80,110.90}},
  485.     {"Mulholland Intersection",     {1463.90,-1150.80,-89.00,1812.60,-768.00,110.90}},
  486.     {"North Rock",                  {2285.30,-768.00,0.00,2770.50,-269.70,200.00}},
  487.     {"Ocean Docks",                 {2373.70,-2697.00,-89.00,2809.20,-2330.40,110.90}},
  488.     {"Ocean Docks",                 {2201.80,-2418.30,-89.00,2324.00,-2095.00,110.90}},
  489.     {"Ocean Docks",                 {2324.00,-2302.30,-89.00,2703.50,-2145.10,110.90}},
  490.     {"Ocean Docks",                 {2089.00,-2394.30,-89.00,2201.80,-2235.80,110.90}},
  491.     {"Ocean Docks",                 {2201.80,-2730.80,-89.00,2324.00,-2418.30,110.90}},
  492.     {"Ocean Docks",                 {2703.50,-2302.30,-89.00,2959.30,-2126.90,110.90}},
  493.     {"Ocean Docks",                 {2324.00,-2145.10,-89.00,2703.50,-2059.20,110.90}},
  494.     {"Ocean Flats",                 {-2994.40,277.40,-9.10,-2867.80,458.40,200.00}},
  495.     {"Ocean Flats",                 {-2994.40,-222.50,-0.00,-2593.40,277.40,200.00}},
  496.     {"Ocean Flats",                 {-2994.40,-430.20,-0.00,-2831.80,-222.50,200.00}},
  497.     {"Octane Springs",              {338.60,1228.50,0.00,664.30,1655.00,200.00}},
  498.     {"Old Venturas Strip",          {2162.30,2012.10,-89.00,2685.10,2202.70,110.90}},
  499.     {"Palisades",                   {-2994.40,458.40,-6.10,-2741.00,1339.60,200.00}},
  500.     {"Palomino Creek",              {2160.20,-149.00,0.00,2576.90,228.30,200.00}},
  501.     {"Paradiso",                    {-2741.00,793.40,-6.10,-2533.00,1268.40,200.00}},
  502.     {"Pershing Square",             {1440.90,-1722.20,-89.00,1583.50,-1577.50,110.90}},
  503.     {"Pilgrim",                     {2437.30,1383.20,-89.00,2624.40,1783.20,110.90}},
  504.     {"Pilgrim",                     {2624.40,1383.20,-89.00,2685.10,1783.20,110.90}},
  505.     {"Pilson Intersection",         {1098.30,2243.20,-89.00,1377.30,2507.20,110.90}},
  506.     {"Pirates in Men's Pants",      {1817.30,1469.20,-89.00,2027.40,1703.20,110.90}},
  507.     {"Playa del Seville",           {2703.50,-2126.90,-89.00,2959.30,-1852.80,110.90}},
  508.     {"Prickle Pine",                {1534.50,2583.20,-89.00,1848.40,2863.20,110.90}},
  509.     {"Prickle Pine",                {1117.40,2507.20,-89.00,1534.50,2723.20,110.90}},
  510.     {"Prickle Pine",                {1848.40,2553.40,-89.00,1938.80,2863.20,110.90}},
  511.     {"Prickle Pine",                {1938.80,2624.20,-89.00,2121.40,2861.50,110.90}},
  512.     {"Queens",                      {-2533.00,458.40,0.00,-2329.30,578.30,200.00}},
  513.     {"Queens",                      {-2593.40,54.70,0.00,-2411.20,458.40,200.00}},
  514.     {"Queens",                      {-2411.20,373.50,0.00,-2253.50,458.40,200.00}},
  515.     {"Randolph Industrial Estate",  {1558.00,596.30,-89.00,1823.00,823.20,110.90}},
  516.     {"Redsands East",               {1817.30,2011.80,-89.00,2106.70,2202.70,110.90}},
  517.     {"Redsands East",               {1817.30,2202.70,-89.00,2011.90,2342.80,110.90}},
  518.     {"Redsands East",               {1848.40,2342.80,-89.00,2011.90,2478.40,110.90}},
  519.     {"Redsands West",               {1236.60,1883.10,-89.00,1777.30,2142.80,110.90}},
  520.     {"Redsands West",               {1297.40,2142.80,-89.00,1777.30,2243.20,110.90}},
  521.     {"Redsands West",               {1377.30,2243.20,-89.00,1704.50,2433.20,110.90}},
  522.     {"Redsands West",               {1704.50,2243.20,-89.00,1777.30,2342.80,110.90}},
  523.     {"Regular Tom",                 {-405.70,1712.80,-3.00,-276.70,1892.70,200.00}},
  524.     {"Richman",                     {647.50,-1118.20,-89.00,787.40,-954.60,110.90}},
  525.     {"Richman",                     {647.50,-954.60,-89.00,768.60,-860.60,110.90}},
  526.     {"Richman",                     {225.10,-1369.60,-89.00,334.50,-1292.00,110.90}},
  527.     {"Richman",                     {225.10,-1292.00,-89.00,466.20,-1235.00,110.90}},
  528.     {"Richman",                     {72.60,-1404.90,-89.00,225.10,-1235.00,110.90}},
  529.     {"Richman",                     {72.60,-1235.00,-89.00,321.30,-1008.10,110.90}},
  530.     {"Richman",                     {321.30,-1235.00,-89.00,647.50,-1044.00,110.90}},
  531.     {"Richman",                     {321.30,-1044.00,-89.00,647.50,-860.60,110.90}},
  532.     {"Richman",                     {321.30,-860.60,-89.00,687.80,-768.00,110.90}},
  533.     {"Richman",                     {321.30,-768.00,-89.00,700.70,-674.80,110.90}},
  534.     {"Robada Intersection",         {-1119.00,1178.90,-89.00,-862.00,1351.40,110.90}},
  535.     {"Roca Escalante",              {2237.40,2202.70,-89.00,2536.40,2542.50,110.90}},
  536.     {"Roca Escalante",              {2536.40,2202.70,-89.00,2625.10,2442.50,110.90}},
  537.     {"Rockshore East",              {2537.30,676.50,-89.00,2902.30,943.20,110.90}},
  538.     {"Rockshore West",              {1997.20,596.30,-89.00,2377.30,823.20,110.90}},
  539.     {"Rockshore West",              {2377.30,596.30,-89.00,2537.30,788.80,110.90}},
  540.     {"Rodeo",                       {72.60,-1684.60,-89.00,225.10,-1544.10,110.90}},
  541.     {"Rodeo",                       {72.60,-1544.10,-89.00,225.10,-1404.90,110.90}},
  542.     {"Rodeo",                       {225.10,-1684.60,-89.00,312.80,-1501.90,110.90}},
  543.     {"Rodeo",                       {225.10,-1501.90,-89.00,334.50,-1369.60,110.90}},
  544.     {"Rodeo",                       {334.50,-1501.90,-89.00,422.60,-1406.00,110.90}},
  545.     {"Rodeo",                       {312.80,-1684.60,-89.00,422.60,-1501.90,110.90}},
  546.     {"Rodeo",                       {422.60,-1684.60,-89.00,558.00,-1570.20,110.90}},
  547.     {"Rodeo",                       {558.00,-1684.60,-89.00,647.50,-1384.90,110.90}},
  548.     {"Rodeo",                       {466.20,-1570.20,-89.00,558.00,-1385.00,110.90}},
  549.     {"Rodeo",                       {422.60,-1570.20,-89.00,466.20,-1406.00,110.90}},
  550.     {"Rodeo",                       {466.20,-1385.00,-89.00,647.50,-1235.00,110.90}},
  551.     {"Rodeo",                       {334.50,-1406.00,-89.00,466.20,-1292.00,110.90}},
  552.     {"Royal Casino",                {2087.30,1383.20,-89.00,2437.30,1543.20,110.90}},
  553.     {"San Andreas Sound",           {2450.30,385.50,-100.00,2759.20,562.30,200.00}},
  554.     {"Santa Flora",                 {-2741.00,458.40,-7.60,-2533.00,793.40,200.00}},
  555.     {"Santa Maria Beach",           {342.60,-2173.20,-89.00,647.70,-1684.60,110.90}},
  556.     {"Santa Maria Beach",           {72.60,-2173.20,-89.00,342.60,-1684.60,110.90}},
  557.     {"Shady Cabin",                 {-1632.80,-2263.40,-3.00,-1601.30,-2231.70,200.00}},
  558.     {"Shady Creeks",                {-1820.60,-2643.60,-8.00,-1226.70,-1771.60,200.00}},
  559.     {"Shady Creeks",                {-2030.10,-2174.80,-6.10,-1820.60,-1771.60,200.00}},
  560.     {"Sobell Rail Yards",           {2749.90,1548.90,-89.00,2923.30,1937.20,110.90}},
  561.     {"Spinybed",                    {2121.40,2663.10,-89.00,2498.20,2861.50,110.90}},
  562.     {"Starfish Casino",             {2437.30,1783.20,-89.00,2685.10,2012.10,110.90}},
  563.     {"Starfish Casino",             {2437.30,1858.10,-39.00,2495.00,1970.80,60.90}},
  564.     {"Starfish Casino",             {2162.30,1883.20,-89.00,2437.30,2012.10,110.90}},
  565.     {"Temple",                      {1252.30,-1130.80,-89.00,1378.30,-1026.30,110.90}},
  566.     {"Temple",                      {1252.30,-1026.30,-89.00,1391.00,-926.90,110.90}},
  567.     {"Temple",                      {1252.30,-926.90,-89.00,1357.00,-910.10,110.90}},
  568.     {"Temple",                      {952.60,-1130.80,-89.00,1096.40,-937.10,110.90}},
  569.     {"Temple",                      {1096.40,-1130.80,-89.00,1252.30,-1026.30,110.90}},
  570.     {"Temple",                      {1096.40,-1026.30,-89.00,1252.30,-910.10,110.90}},
  571.     {"The Camel's Toe",             {2087.30,1203.20,-89.00,2640.40,1383.20,110.90}},
  572.     {"The Clown's Pocket",          {2162.30,1783.20,-89.00,2437.30,1883.20,110.90}},
  573.     {"The Emerald Isle",            {2011.90,2202.70,-89.00,2237.40,2508.20,110.90}},
  574.     {"The Farm",                    {-1209.60,-1317.10,114.90,-908.10,-787.30,251.90}},
  575.     {"The Four Dragons Casino",     {1817.30,863.20,-89.00,2027.30,1083.20,110.90}},
  576.     {"The High Roller",             {1817.30,1283.20,-89.00,2027.30,1469.20,110.90}},
  577.     {"The Mako Span",               {1664.60,401.70,0.00,1785.10,567.20,200.00}},
  578.     {"The Panopticon",              {-947.90,-304.30,-1.10,-319.60,327.00,200.00}},
  579.     {"The Pink Swan",               {1817.30,1083.20,-89.00,2027.30,1283.20,110.90}},
  580.     {"The Sherman Dam",             {-968.70,1929.40,-3.00,-481.10,2155.20,200.00}},
  581.     {"The Strip",                   {2027.40,863.20,-89.00,2087.30,1703.20,110.90}},
  582.     {"The Strip",                   {2106.70,1863.20,-89.00,2162.30,2202.70,110.90}},
  583.     {"The Strip",                   {2027.40,1783.20,-89.00,2162.30,1863.20,110.90}},
  584.     {"The Strip",                   {2027.40,1703.20,-89.00,2137.40,1783.20,110.90}},
  585.     {"The Visage",                  {1817.30,1863.20,-89.00,2106.70,2011.80,110.90}},
  586.     {"The Visage",                  {1817.30,1703.20,-89.00,2027.40,1863.20,110.90}},
  587.     {"Unity Station",               {1692.60,-1971.80,-20.40,1812.60,-1932.80,79.50}},
  588.     {"Valle Ocultado",              {-936.60,2611.40,2.00,-715.90,2847.90,200.00}},
  589.     {"Verdant Bluffs",              {930.20,-2488.40,-89.00,1249.60,-2006.70,110.90}},
  590.     {"Verdant Bluffs",              {1073.20,-2006.70,-89.00,1249.60,-1842.20,110.90}},
  591.     {"Verdant Bluffs",              {1249.60,-2179.20,-89.00,1692.60,-1842.20,110.90}},
  592.     {"Verdant Meadows",             {37.00,2337.10,-3.00,435.90,2677.90,200.00}},
  593.     {"Verona Beach",                {647.70,-2173.20,-89.00,930.20,-1804.20,110.90}},
  594.     {"Verona Beach",                {930.20,-2006.70,-89.00,1073.20,-1804.20,110.90}},
  595.     {"Verona Beach",                {851.40,-1804.20,-89.00,1046.10,-1577.50,110.90}},
  596.     {"Verona Beach",                {1161.50,-1722.20,-89.00,1323.90,-1577.50,110.90}},
  597.     {"Verona Beach",                {1046.10,-1722.20,-89.00,1161.50,-1577.50,110.90}},
  598.     {"Vinewood",                    {787.40,-1310.20,-89.00,952.60,-1130.80,110.90}},
  599.     {"Vinewood",                    {787.40,-1130.80,-89.00,952.60,-954.60,110.90}},
  600.     {"Vinewood",                    {647.50,-1227.20,-89.00,787.40,-1118.20,110.90}},
  601.     {"Vinewood",                    {647.70,-1416.20,-89.00,787.40,-1227.20,110.90}},
  602.     {"Whitewood Estates",           {883.30,1726.20,-89.00,1098.30,2507.20,110.90}},
  603.     {"Whitewood Estates",           {1098.30,1726.20,-89.00,1197.30,2243.20,110.90}},
  604.     {"Willowfield",                 {1970.60,-2179.20,-89.00,2089.00,-1852.80,110.90}},
  605.     {"Willowfield",                 {2089.00,-2235.80,-89.00,2201.80,-1989.90,110.90}},
  606.     {"Willowfield",                 {2089.00,-1989.90,-89.00,2324.00,-1852.80,110.90}},
  607.     {"Willowfield",                 {2201.80,-2095.00,-89.00,2324.00,-1989.90,110.90}},
  608.     {"Willowfield",                 {2541.70,-1941.40,-89.00,2703.50,-1852.80,110.90}},
  609.     {"Willowfield",                 {2324.00,-2059.20,-89.00,2541.70,-1852.80,110.90}},
  610.     {"Willowfield",                 {2541.70,-2059.20,-89.00,2703.50,-1941.40,110.90}},
  611.     {"Yellow Bell Station",         {1377.40,2600.40,-21.90,1492.40,2687.30,78.00}},
  612.     {"Los Santos",                  {44.60,-2892.90,-242.90,2997.00,-768.00,900.00}},
  613.     {"Las Venturas",                {869.40,596.30,-242.90,2997.00,2993.80,900.00}},
  614.     {"Bone County",                 {-480.50,596.30,-242.90,869.40,2993.80,900.00}},
  615.     {"Tierra Robada",               {-2997.40,1659.60,-242.90,-480.50,2993.80,900.00}},
  616.     {"Tierra Robada",               {-1213.90,596.30,-242.90,-480.50,1659.60,900.00}},
  617.     {"San Fierro",                  {-2997.40,-1115.50,-242.90,-1213.90,1659.60,900.00}},
  618.     {"Red County",                  {-1213.90,-768.00,-242.90,2997.00,596.30,900.00}},
  619.     {"Flint County",                {-1213.90,-2892.90,-242.90,44.60,-768.00,900.00}},
  620.     {"Whetstone",                   {-2997.40,-2892.90,-242.90,-1213.90,-1115.50,900.00}}
  621. };
  622.  
  623. //----News especiais----//
  624. new RandomMSG[][] =
  625. {
  626.   "[SERVER] Visite nosso fórum: http://cokbr.forumbrasil.net",
  627.   "[SERVER] Viu um hacker? Use /report [ID] [motivo]",
  628.   "[SERVER] Venha rir, entre: http://www.trolldivision.com",
  629.   "[SERVER] Nosso server possui sistema de Rádio. Quer ouvir? Use: /radios"
  630. };
  631. new iSpawnSet[MAX_PLAYERS];
  632. new Float:RandomSpawn[][6] =
  633. {
  634.     {-973.6733,1061.2589,1345.6721,85.6553},
  635.     {-1027.8649,1081.1333,1343.2194,282.9058},
  636.     {-1025.7057,1082.3707,1343.3472,67.0405},
  637.     {-1039.5646,1085.4370,1343.3317,154.3409},
  638.     {-1062.0338,1070.1962,1343.4124,121.8743},
  639.     {-1069.0345,1092.3414,1343.1663,116.1298}
  640. };
  641. new iSpawnedCar[MAX]=-1;
  642. new OnSkyDiving[MAX];
  643. new Float:gRandomPlayerSpawns[28][3] = {
  644. {1958.3783,1343.1572,15.3746},
  645. {2199.6531,1393.3678,10.8203},
  646. {2483.5977,1222.0825,10.8203},
  647. {2637.2712,1129.2743,11.1797},
  648. {2000.0106,1521.1111,17.0625},
  649. {2024.8190,1917.9425,12.3386},
  650. {2261.9048,2035.9547,10.8203},
  651. {2262.0986,2398.6572,10.8203},
  652. {2244.2566,2523.7280,10.8203},
  653. {2335.3228,2786.4478,10.8203},
  654. {2150.0186,2734.2297,11.1763},
  655. {2158.0811,2797.5488,10.8203},
  656. {1969.8301,2722.8564,10.8203},
  657. {1652.0555,2709.4072,10.8265},
  658. {1564.0052,2756.9463,10.8203},
  659. {1271.5452,2554.0227,10.8203},
  660. {1441.5894,2567.9099,10.8203},
  661. {1480.6473,2213.5718,11.0234},
  662. {1400.5906,2225.6960,11.0234},
  663. {1598.8419,2221.5676,11.0625},
  664. {1318.7759,1251.3580,10.8203},
  665. {1558.0731,1007.8292,10.8125},
  666. {-857.0551,1536.6832,22.5870},
  667. {817.3494,856.5039,12.7891},
  668. {116.9315,1110.1823,13.6094},
  669. {-18.8529,1176.0159,19.5634},
  670. {-315.0575,1774.0636,43.6406},
  671. {1705.2347,1025.6808,10.8203}
  672. };
  673.  
  674. // ---- FIM DO TOPO DO GM ---- //
  675.  
  676. main()
  677. {
  678.         print("\n----------------------------------");
  679.         print("_-_  CITY OF KILLERS ~~~~ 0.3e _-_\n");
  680.         print("         Coded By");
  681.         print("            [XPG]MarlonCS");
  682.         print("----------------------------------\n");
  683. }
  684.  
  685. public OnPlayerRequestSpawn(playerid)
  686. {
  687.     return 1;
  688. }
  689.  
  690. public OnPlayerConnect(playerid)
  691. {
  692.     ProcessGameTime(playerid);
  693.     SetPlayerInterior(playerid,0);
  694.     SetPlayerRandomSpawn(playerid);
  695.     SetPlayerColor(playerid, 0xFFFFFFAA);
  696.     new name[MAX_PLAYER_NAME+1];
  697.     GetPlayerName(playerid, name, sizeof(name));
  698.     cokfundo = TextDrawCreate(1.0, 427.0, " ~w~[ ~b~C i t y  ~w~O f   ~r~K i l l e r s ~w~ ]   [~g~Forum~w~: http://cokbr.forumbrasil.net]");
  699.     TextDrawUseBox(cokfundo, true);
  700.     TextDrawBoxColor(cokfundo, 0x00000066);
  701.     TextDrawSetOutline(cokfundo, 1);
  702.     TextDrawFont(cokfundo, 1);
  703.     TextDrawSetProportional(cokfundo, false);
  704.     TextDrawAlignment(cokfundo, 0);
  705.     TextDrawLetterSize(cokfundo, 0.4, 2.0);
  706.     TextDrawSetShadow(cokfundo, 1);
  707.     gActivePlayers[playerid]++;
  708.     format(string, sizeof(string), "[SERVER] %s [%d] entrou no servidor.", name, playerid);
  709.     SendClientMessageToAll(0xC0C0C0AA, string);
  710.     gLastGaveCash[playerid] = GetTickCount();
  711.     TextDrawShowForPlayer(playerid, cokfundo);
  712.     SendClientMessage(playerid,0xFFFFFFAA,"___________________________________________________________");
  713.     SendClientMessage(playerid,0xFFFFFFAA,"                                        City of {AA3333}Killers                      ");
  714.     SendClientMessage(playerid,0xFFFFFFAA,"                                                           ");
  715.     SendClientMessage(playerid,0xFFFFFFAA,"                  {1E90FF}/comandos /ajuda /regras /creditos /radios             ");
  716.     SendClientMessage(playerid,0xFFFFFFAA,"                   Fórum: http://cityof{AA3333}killers{FFFFFF}.forumbrasil.net        ");
  717.     SendClientMessage(playerid,0xFFFFFFAA,"___________________________________________________________");
  718.     CarregarInformacoes(playerid);
  719.     ProgressaoInfo[playerid][TPontos] = TextDrawCreate(496.000000, 105.000000, "~l~Pontos: ~b~953");
  720.     TextDrawBackgroundColor(ProgressaoInfo[playerid][TPontos], 16777215);
  721.     TextDrawFont(ProgressaoInfo[playerid][TPontos], 2);
  722.     TextDrawLetterSize(ProgressaoInfo[playerid][TPontos], 0.420000, 1.400000);
  723.     TextDrawColor(ProgressaoInfo[playerid][TPontos], -1);
  724.     TextDrawSetOutline(ProgressaoInfo[playerid][TPontos], 1);
  725.     TextDrawSetProportional(ProgressaoInfo[playerid][TPontos], 1);
  726.     AlreadyGiveWeapons[playerid] = false;
  727.     //Neve no chilliad
  728.     RemoveBuildingForPlayer(playerid, 18399, -2426.9375, -1530.4531, 440.9688, 0.25);
  729.     RemoveBuildingForPlayer(playerid, 18570, -2249.3594, -1572.8672, 418.7656, 0.25);
  730.     RemoveBuildingForPlayer(playerid, 18571, -2431.6797, -1759.6641, 403.8672, 0.25);
  731.     RemoveBuildingForPlayer(playerid, 18572, -2438.4375, -1949.0547, 310.9141, 0.25);
  732.     RemoveBuildingForPlayer(playerid, 18573, -2237.0000, -1951.5234, 297.5625, 0.25);
  733.     RemoveBuildingForPlayer(playerid, 18574, -2181.4688, -1774.8125, 217.3984, 0.25);
  734.     RemoveBuildingForPlayer(playerid, 18575, -2145.1953, -1576.7188, 259.6484, 0.25);
  735.     RemoveBuildingForPlayer(playerid, 18576, -2221.8359, -1367.7969, 300.4609, 0.25);
  736.     RemoveBuildingForPlayer(playerid, 18577, -2182.2266, -1358.7109, 135.2422, 0.25);
  737.     RemoveBuildingForPlayer(playerid, 18578, -2426.5000, -1347.3125, 300.8047, 0.25);
  738.     RemoveBuildingForPlayer(playerid, 18579, -2583.4297, -1343.4531, 270.8438, 0.25);
  739.     RemoveBuildingForPlayer(playerid, 18580, -2624.3047, -1562.8828, 353.4531, 0.25);
  740.     RemoveBuildingForPlayer(playerid, 18581, -2655.2813, -1781.0078, 265.1406, 0.25);
  741.     RemoveBuildingForPlayer(playerid, 18582, -2724.3203, -1555.9609, 222.8906, 0.25);
  742.     RemoveBuildingForPlayer(playerid, 18583, -2700.2813, -1345.7969, 213.4609, 0.25);
  743.     RemoveBuildingForPlayer(playerid, 18584, -2421.1563, -1134.0938, 168.7813, 0.25);
  744.     RemoveBuildingForPlayer(playerid, 18585, -2239.6406, -1762.7266, 381.9531, 0.25);
  745.     RemoveBuildingForPlayer(playerid, 18586, -1980.3750, -1330.4922, 74.8516, 0.25);
  746.     RemoveBuildingForPlayer(playerid, 18587, -2186.7500, -1147.7344, 108.1563, 0.25);
  747.     RemoveBuildingForPlayer(playerid, 18588, -2291.7813, -993.4063, 63.5781, 0.25);
  748.     RemoveBuildingForPlayer(playerid, 18590, -2646.3516, -1116.9297, 111.7578, 0.25);
  749.     RemoveBuildingForPlayer(playerid, 18596, -2444.5000, -1991.6719, 198.6953, 0.25);
  750.     RemoveBuildingForPlayer(playerid, 18597, -2656.6797, -1992.9531, 80.1719, 0.25);
  751.     RemoveBuildingForPlayer(playerid, 18598, -1985.5078, -1562.5078, 84.4688, 0.25);
  752.     RemoveBuildingForPlayer(playerid, 18599, -1970.7109, -1785.9844, 107.9844, 0.25);
  753.     RemoveBuildingForPlayer(playerid, 18600, -2233.2031, -1980.7813, 153.6797, 0.25);
  754.     RemoveBuildingForPlayer(playerid, 18325, -2656.6797, -1992.9531, 80.1719, 0.25);
  755.     RemoveBuildingForPlayer(playerid, 18316, -2655.2813, -1781.0078, 265.1406, 0.25);
  756.     RemoveBuildingForPlayer(playerid, 18308, -2724.3203, -1555.9609, 222.8906, 0.25);
  757.     RemoveBuildingForPlayer(playerid, 18469, -2700.2813, -1345.7969, 213.4609, 0.25);
  758.     RemoveBuildingForPlayer(playerid, 18307, -2624.3047, -1562.8828, 353.4531, 0.25);
  759.     RemoveBuildingForPlayer(playerid, 18301, -2583.4297, -1343.4531, 270.8438, 0.25);
  760.     RemoveBuildingForPlayer(playerid, 18297, -2646.3516, -1116.9297, 111.7578, 0.25);
  761.     RemoveBuildingForPlayer(playerid, 18326, -2444.5000, -1991.6719, 198.6953, 0.25);
  762.     RemoveBuildingForPlayer(playerid, 18327, -2438.4375, -1949.0547, 310.9141, 0.25);
  763.     RemoveBuildingForPlayer(playerid, 18317, -2431.6797, -1759.6641, 403.8672, 0.25);
  764.     RemoveBuildingForPlayer(playerid, 18309, -2426.9375, -1530.4531, 440.9688, 0.25);
  765.     RemoveBuildingForPlayer(playerid, 18302, -2426.5000, -1347.3125, 300.8047, 0.25);
  766.     RemoveBuildingForPlayer(playerid, 18298, -2421.1563, -1134.0938, 168.7813, 0.25);
  767.     RemoveBuildingForPlayer(playerid, 18295, -2291.7813, -993.4063, 63.5781, 0.25);
  768.     RemoveBuildingForPlayer(playerid, 18328, -2237.0000, -1951.5234, 297.5625, 0.25);
  769.     RemoveBuildingForPlayer(playerid, 18329, -2233.2031, -1980.7813, 153.6797, 0.25);
  770.     RemoveBuildingForPlayer(playerid, 18310, -2249.3594, -1572.8672, 418.7656, 0.25);
  771.     RemoveBuildingForPlayer(playerid, 18319, -2239.6406, -1762.7266, 381.9531, 0.25);
  772.     RemoveBuildingForPlayer(playerid, 18303, -2221.8359, -1367.7969, 300.4609, 0.25);
  773.     RemoveBuildingForPlayer(playerid, 18304, -2182.2266, -1358.7109, 135.2422, 0.25);
  774.     RemoveBuildingForPlayer(playerid, 18299, -2186.7500, -1147.7344, 108.1563, 0.25);
  775.     RemoveBuildingForPlayer(playerid, 18318, -2181.4688, -1774.8125, 217.3984, 0.25);
  776.     RemoveBuildingForPlayer(playerid, 18311, -2145.1953, -1576.7188, 259.6484, 0.25);
  777.     RemoveBuildingForPlayer(playerid, 18312, -1985.5078, -1562.5078, 84.4688, 0.25);
  778.     RemoveBuildingForPlayer(playerid, 18305, -1980.3750, -1330.4922, 74.8516, 0.25);
  779.     RemoveBuildingForPlayer(playerid, 18320, -1970.7109, -1785.9844, 107.9844, 0.25);
  780.     SetPlayerMapIcon(playerid, 12,-1978.9912,287.5680,35.1719,55,0);
  781.     SetPlayerMapIcon(playerid, 13,2104.9248,2249.4177,10.6952,52,0);
  782.     SetPlayerMapIcon(playerid, 37,2005.3636,1545.3322,13.1746,19,0);
  783.     SetPlayerMapIcon(playerid, 16, 2386.4072,1042.7665,10.8203, 27, 0);
  784.     SetPlayerMapIcon(playerid, 17,1937.8339,2305.5427,10.8203,52,0);
  785.     SetPlayerMapIcon(playerid, 18,2248.8840,2396.2600,10.8203,52,0);
  786.     SetPlayerMapIcon(playerid,19,1937.8339,2305.5427,10.8203,52,0);
  787.     SetPlayerMapIcon(playerid,20,2248.8840,2396.2600,10.8203,52,0);
  788.     SetPlayerMapIcon(playerid,21,2104.9248,2249.4177,10.6952,52,0);
  789.     SetPlayerMapIcon(playerid,22,2187.0225,1674.5431,10.7696,25,0);
  790.     SetPlayerMapIcon(playerid,23,1978.3699,1018.3140,994.4688,44,0);
  791.     SetPlayerMapIcon(playerid,24,308.1129,1905.0140,17.2027,23,0);
  792.     SetPlayerMapIcon(playerid,25,415.3351,2539.1362,16.0975,5,0);
  793.     SetPlayerMapIcon(playerid,26,-1605.0022,666.8316,6.8671,30,0);
  794.     SetPlayerMapIcon(playerid,27,1581.8119,-1619.5752,13.3828,30,0);
  795.     SetPlayerMapIcon(playerid,28,2506.2217,-1667.0781,13.0582,15,0);
  796. return 1;
  797. }
  798.  
  799. public OnPlayerDisconnect(playerid, reason)
  800. {
  801.     new pName[MAX_PLAYER_NAME];
  802.     GetPlayerName(playerid, pName, sizeof(pName));
  803.     if(TaX1[playerid] == true) {
  804.         TaX1[playerid] = false;
  805.         TextDrawDestroy(ProgressaoInfo[playerid][TPontos]);
  806.         gActivePlayers[playerid]--;
  807.            for(new i; i < MAX_PLAYERS; i++)
  808.            if(TaX1[i] == true) /*se tiver outro player no dm */ {SpawnPlayer(TaX1[i]), TaX1[TaX1[i]] = false, Playersx1 = 0, SetPlayerHealth(TaX1[i], 100.0);
  809.     switch(reason)
  810.     {
  811.         case 0: format(string, sizeof(string), "%s Saiu do servidor por problema de conexão. (Conexão)", pName);
  812.         case 1: format(string, sizeof(string), "%s Resolveu sair do servidor. (Saiu)", pName);
  813.         case 2: format(string, sizeof(string), "%s Foi Kikado ou banido do servidor.", pName);
  814.     }
  815.     }
  816.     return SendClientMessageToAll(0xC0C0C0AA, string);}
  817.     if(TaMG[playerid] == true) {
  818.         TaMG[playerid] = false;
  819.         TextDrawDestroy(ProgressaoInfo[playerid][TPontos]);
  820.         gActivePlayers[playerid]--;
  821.            for(new i; i < MAX_PLAYERS; i++)
  822.            if(TaMG[i] == true) /*se tiver outro player no dm */ {SpawnPlayer(TaMG[i]), TaMG[TaMG[i]] = false, Playersmg = 0, SetPlayerHealth(TaMG[i], 100.0);
  823.     switch(reason)
  824.     {
  825.         case 0: format(string, sizeof(string), "%s Saiu do servidor por problema de conexão. (Conexão)", pName);
  826.         case 1: format(string, sizeof(string), "%s Resolveu sair do servidor. (Saiu)", pName);
  827.         case 2: format(string, sizeof(string), "%s Foi Kikado ou banido do servidor.", pName);
  828.     }
  829.     }
  830.     return SendClientMessageToAll(0xC0C0C0AA, string);}
  831.     if(TaSN[playerid] == true) {
  832.         TaSN[playerid] = false;
  833.         TextDrawDestroy(ProgressaoInfo[playerid][TPontos]);
  834.         gActivePlayers[playerid]--;
  835.            for(new i; i < MAX_PLAYERS; i++)
  836.            if(TaSN[i] == true) /*se tiver outro player no dm */ {SpawnPlayer(TaSN[i]), TaSN[TaSN[i]] = false, Playerssn = 0, SetPlayerHealth(TaSN[i], 100.0);
  837.     switch(reason)
  838.     {
  839.         case 0: format(string, sizeof(string), "%s Saiu do servidor por problema de conexão. (Conexão)", pName);
  840.         case 1: format(string, sizeof(string), "%s Resolveu sair do servidor. (Saiu)", pName);
  841.         case 2: format(string, sizeof(string), "%s Foi Kikado ou banido do servidor.", pName);
  842.     }
  843.     }
  844.     return SendClientMessageToAll(0xC0C0C0AA, string);}
  845.     if(Ta69[playerid] == true) {
  846.         Ta69[playerid] = false;
  847.         TextDrawDestroy(ProgressaoInfo[playerid][TPontos]);
  848.         gActivePlayers[playerid]--;
  849.            for(new i; i < MAX_PLAYERS; i++)
  850.            if(Ta69[i] == true) /*se tiver outro player no dm */ {SpawnPlayer(Ta69[i]), Ta69[Ta69[i]] = false, Players69 = 0, SetPlayerHealth(Ta69[i], 100.0);
  851.     switch(reason)
  852.     {
  853.         case 0: format(string, sizeof(string), "%s Saiu do servidor por problema de conexão. (Conexão)", pName);
  854.         case 1: format(string, sizeof(string), "%s Resolveu sair do servidor. (Saiu)", pName);
  855.         case 2: format(string, sizeof(string), "%s Foi Kikado ou banido do servidor.", pName);
  856.     }
  857.     }
  858.     return SendClientMessageToAll(0xC0C0C0AA, string);}
  859.     if(TaRPG[playerid] == true) {
  860.         TaRPG[playerid] = false;
  861.         TextDrawDestroy(ProgressaoInfo[playerid][TPontos]);
  862.         gActivePlayers[playerid]--;
  863.            for(new i; i < MAX_PLAYERS; i++)
  864.            if(TaRPG[i] == true) /*se tiver outro player no dm */ {SpawnPlayer(TaRPG[i]), TaRPG[TaRPG[i]] = false, Playersrpg = 0, SetPlayerHealth(TaRPG[i], 100.0);
  865.     switch(reason)
  866.     {
  867.         case 0: format(string, sizeof(string), "%s Saiu do servidor por problema de conexão. (Conexão)", pName);
  868.         case 1: format(string, sizeof(string), "%s Resolveu sair do servidor. (Saiu)", pName);
  869.         case 2: format(string, sizeof(string), "%s Foi Kikado ou banido do servidor.", pName);
  870.     }
  871.     }
  872.     return SendClientMessageToAll(0xC0C0C0AA, string);}
  873.     gActivePlayers[playerid]--;
  874.     TextDrawDestroy(ProgressaoInfo[playerid][TPontos]);
  875.     SaveWeaponsToFile(playerid);
  876.     switch(reason)
  877.     {
  878.         case 0: format(string, sizeof(string), "%s Saiu do servidor por problema de conexão. (Conexão)", pName);
  879.         case 1: format(string, sizeof(string), "%s Resolveu sair do servidor. (Saiu)", pName);
  880.         case 2: format(string, sizeof(string), "%s Foi Kikado ou banido do servidor.", pName);
  881.     }
  882.  
  883.     return SendClientMessageToAll(0xC0C0C0AA, string);
  884. }
  885. //------------------------------------------------------------------------------------------------------
  886.  
  887. public OnPlayerCommandText(playerid, cmdtext[])
  888. {
  889.     //----denifições----//
  890.     new playermoney;
  891.     new sendername[MAX_PLAYER_NAME];
  892.     new giveplayer[MAX_PLAYER_NAME];
  893.     new cmd[256];
  894.     new giveplayerid, moneys, idx;
  895.     new str[1000];
  896.     new strcp[256];
  897.     cmd = strtok(cmdtext, idx);
  898.  
  899.     if(strcmp(cmd, "/comandos", true) == 0) {
  900.             new strdialog[2024];
  901.             format(strdialog, sizeof(strdialog),"%s","{FF0000}COMANDOS:{FFFFFF}\n\n");
  902.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/regras{FFFFFF} => Veja as regras do servidor.\n");
  903.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/ajuda{FFFFFF} => Obtenha ajuda.\n");
  904.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/teleportes{FFFFFF} => Use para se teletransportar pelo server.\n");
  905.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/armas{FFFFFF} => Compre armas.\n");
  906.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/celular{FFFFFF} => Converse anonimamente com alguém.\n");
  907.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/stunts{FFFFFF} => Veja os Stunts do servidor.\n");
  908.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/dms{FFFFFF} => Veja os DMs (Death Matchs) do servidor.\n");
  909.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/gang{FFFFFF} => Crie, edite ou veja os outros comandos de gang.\n");
  910.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/tunar{FFFFFF} => Veja as opções para tunar seu veículo.\n");
  911.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/salvarpos{FFFFFF} => Salve sua posição para voltar quando quiser.\n");
  912.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/radios{FFFFFF} => Escute webradios enquanto joga.\n");
  913.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/repararv{FFFFFF} => Repare seu veículo.\n");
  914.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/forum{FFFFFF} => Veja para que serve o fórum do Server.\n");
  915.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/eu{FFFFFF} => Veja seus comandos.\n");
  916.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "\n");
  917.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FFFFFF}MAIS COMANDOS: {FF0000}/comandos2\n");
  918.             return ShowPlayerDialog(playerid, DialogBoxEx, DIALOG_STYLE_MSGBOX, "===== Comandos do Server =====", strdialog, "OK", "");
  919.     }
  920.     if(strcmp(cmd, "/tutorial", true) == 0) {
  921.             new strdialog[2024];
  922.             format(strdialog, sizeof(strdialog),"%s","{FF0000}TUTORIAL{FFFFFF}\n\n");
  923.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "Quando você entra no servidor, seu nick é branco, isso significa que você não tem gang.\n");
  924.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "Peça gang ou espere receber convite dos players com cores no servidor.\n");
  925.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "Com sua gang, você pode depositar, sacar e ver o saldo da sua gang no banco.\n");
  926.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "Todas suas armas, dinheiro e etc serão salvos ao você sair do servidor.\n");
  927.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "Caso você seja banido sem querer, peça no fórum do server para ser desbanido.\n");
  928.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "Você pode obter mais ajuda com {FF0000}/ajuda\n");
  929.             return ShowPlayerDialog(playerid, DialogBoxEx, DIALOG_STYLE_MSGBOX, "===== Tuto do Server =====", strdialog, "OK", "");
  930.     }
  931.     if(strcmp(cmd, "/comandos2", true) == 0) {
  932.             new strdialog[2024];
  933.             format(strdialog, sizeof(strdialog),"%s","{FF0000}MAIS COMANDOS:{FFFFFF}\n\n");
  934.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/prop{FFFFFF} => Veja os comandos de comprar, ver e vender suas propriedades.\n");
  935.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/procurar [ID]{FFFFFF} => Procure um player por ID.\n");
  936.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/creditos{FFFFFF} => Veja os créditos do server.\n");
  937.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/veiculo{FFFFFF} => Crie um carro.\n");
  938.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/avenida{FFFFFF} => Vá para a Avenida principal de Las Venturas.\n");
  939.             return ShowPlayerDialog(playerid, DialogBoxEx, DIALOG_STYLE_MSGBOX, "===== Fórum do Server =====", strdialog, "OK", "");
  940.     }
  941.     if(strcmp(cmd, "/forum", true) == 0) {
  942.             new strdialog[2024];
  943.             format(strdialog, sizeof(strdialog),"%s","{FF0000}Fórum{FFFFFF}\n\n");
  944.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "O fórum serve para você pedir para administrar nosso server, ser desbanido,\n");
  945.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "ficar ligado nas novidades do server, obter melhor ajuda, redefinir sua senha\n");
  946.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "e muito mais.\n");
  947.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{00FF00}Visite e inscreva-se: http://cokbr.forumbrasil.net\n");
  948.             return ShowPlayerDialog(playerid, DialogBoxEx, DIALOG_STYLE_MSGBOX, "===== Fórum do Server =====", strdialog, "OK", "");
  949.     }
  950.     if(strcmp(cmd, "/veiculo", true) == 0) {
  951.         if(IsPlayerInAnyVehicle(playerid))
  952.         {
  953.             return SendClientMessage(playerid, 0x33AA33AA, "[SERVER] Você já está em um veículo");
  954.         }
  955.         new carro;
  956.         new Float:var0 = 0, Float:var1 = 0, Float:var2 = 0, Float:var3 = 0;
  957.         GetPlayerPos(playerid, var0, var1, var2);
  958.         GetPlayerFacingAngle(playerid, var3);
  959.         GivePlayerMoney(playerid,-1000);
  960.         SendClientMessage(playerid, 0x33AA33AA, "[SERVER] Você gastou R$ 1000,00 pelo veículo.");
  961.         carro = CreateVehicle(562, var0 + 1, var1 + 1, var2, var3, 1, 1, 10000);
  962.         PutPlayerInVehicle(playerid, carro, 0);
  963.         return 1;
  964.     }
  965.     if(strcmp(cmd, "/afk", true) == 0) {
  966.     new pName[MAX_PLAYER_NAME];
  967.     GetPlayerName(playerid, pName, sizeof(pName));
  968.     format(string, sizeof(string), "[SERVER] Agora está ausente. Use /afkoff para voltar.");
  969.     format(string, sizeof(string), "[SERVER] %s está ausente.", pName);
  970.     SendClientMessageToAll(0x6BE7FAFF, string);
  971.     TogglePlayerControllable(playerid,0);
  972.     SetPlayerHealth(playerid,9);
  973.     return 1;
  974.     }
  975.     if(strcmp(cmd, "/afkoff", true) == 0) {
  976.     new pName[MAX_PLAYER_NAME];
  977.     GetPlayerName(playerid, pName, sizeof(pName));
  978.     format(string, sizeof(string), "[SERVER] Você voltou a seu estado normal.");
  979.     format(string, sizeof(string), "[SERVER] %s voltou ao jogo.", pName);
  980.     SendClientMessageToAll(0x6BE7FAFF, string);
  981.     TogglePlayerControllable(playerid,1);
  982.     SetPlayerHealth(playerid,100);
  983.     return 1;
  984.     }
  985.     if(strcmp(cmd,"/procurar",true) == 0) {
  986.     new tmp[256];
  987.     tmp = strtok(cmdtext, idx);
  988.     giveplayerid = strval(tmp);
  989.     if(!strlen(tmp)) return SendClientMessage(playerid,COR_BRANCO,"[SERVER] USO: /procurar [id]");
  990.     if(!IsPlayerConnected(giveplayerid)) return SendClientMessage(playerid, COR_BRANCO, "id invalido.");
  991.     new Float:X,Float:Y,Float:Z;
  992.     GetPlayerPos(giveplayerid, X,Y,Z);
  993.     SetPlayerCheckpoint(playerid, X,Y,Z, 6);
  994.     return 1;
  995.     }
  996.     if(strcmp(cmd,"/dizer",true) == 0) {
  997.     if(!cmdtext[3])return SendClientMessage(playerid, 0xFF0000FF, "[SERVER] USO: /dizer [texto]");
  998.     GetPlayerName(playerid, str, sizeof(str));
  999.     format(str, sizeof(str), "%s: %s", str, cmdtext[4]);
  1000.     SendClientMessageToAll(0xFFFF00AA, str);
  1001.     return 1;
  1002.     }
  1003.     if(strcmp(cmd, "/prop", true) == 0) {
  1004.     SendClientMessage(playerid, COLOR_WHITE, "_________________________________");
  1005.     SendClientMessage(playerid, COLOR_YELLOW, "Comandos de propriedades:");
  1006.     SendClientMessage(playerid, COLOR_WHITE, "{FF0000}/cprop{FFFFFF}: Comprar propriedade");
  1007.     SendClientMessage(playerid, COLOR_WHITE, "{FF0000}/vprop{FFFFFF}: Vender propriedade");
  1008.     SendClientMessage(playerid, COLOR_WHITE, "{FF0000}/minhasprops{FFFFFF}: Ver propriedades");
  1009.     SendClientMessage(playerid, COLOR_WHITE, "_________________________________");
  1010.     return 1;
  1011.     }
  1012.     if(strcmp(cmd, "/salvarpos", true) == 0) {
  1013.         if(TaX1[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1014.         if(TaMG[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1015.         if(TaSN[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1016.         if(TaRPG[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1017.         if(Ta69[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1018.     new Jogador[MAX_PLAYER_NAME];
  1019.     new data[256];
  1020.     GetPlayerName(playerid, Jogador, sizeof(Jogador));
  1021.     GetPlayerPos(playerid,KenX[playerid],KenY[playerid],KenZ[playerid]);
  1022.     GetPlayerFacingAngle(playerid,KenA[playerid]);
  1023.     format(data, sizeof(data), "%s.cord", Jogador);
  1024.     dini_FloatSet(data,"CoordenadaX",KenX[playerid]);
  1025.     dini_FloatSet(data,"CoordenadaY",KenY[playerid]);
  1026.     dini_FloatSet(data,"CoordenadaZ",KenZ[playerid]);
  1027.     dini_FloatSet(data,"CoordenadaA",KenA[playerid]);
  1028.     SendClientMessage(playerid, 0x00FFFFAA, "[SERVER] Para retornar para cá use: /voltar");
  1029.     return 1;
  1030.     }
  1031.     SalvarInformacoes(playerid);
  1032.     if(strcmp(cmd, "/liberardms", true) == 0) {
  1033.       if(IsPlayerAdmin(playerid)){ Playersx1 = 0; Playersmg = 0; Players69 = 0; Playersrpg = 0;
  1034.       return SendClientMessage(playerid, COR_CINZA, "[SERVER] Arenas de DMs liberadas."); }
  1035.     return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando.");
  1036.     }
  1037.     if(strcmp(cmd, "/eu", true) == 0) {
  1038.             new strdialog[2024];
  1039.             format(strdialog, sizeof(strdialog),"%s","{FF0000}SEUS COMANDOS:{FFFFFF}\n\n");
  1040.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/status{FFFFFF} => Veja seus dados.\n");
  1041.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/mudarsenha{FFFFFF} => Mude sua senha de login.\n");
  1042.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/darcache [ID] [Quantia]{FFFFFF} => Dê dinheiro para algum player.\n");
  1043.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/animes{FFFFFF} => Veja as animações para seu player.\n");
  1044.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/kill{FFFFFF} => Se mate.\n");
  1045.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/mudar{FFFFFF} => Mude seu skin.\n");
  1046.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/afk{FFFFFF} => Ausente-se do jogo.\n");
  1047.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/dizer{FFFFFF} => Diga algo destacadamente no chat.\n");
  1048.             return ShowPlayerDialog(playerid, DialogBoxEx, DIALOG_STYLE_MSGBOX, "===== Fórum do Server =====", strdialog, "OK", "");
  1049.     }
  1050.     if(strcmp(cmd, "/creditos", true) == 0) {
  1051.     format(str, sizeof(str), "\n{FFFFFF}Gamemode criado por: {FF0000}[COK]MarlonCS\n{FFFFFF}Sistema de Gangs por: {FF0000}SuB_ZeRo0_ \n{FFFFFF}Sistema de Admin por: {FF0000}Lethal {FFFFFF}| Tradução: {FF0000}[PCS]IgooR {FFFFFF}e {FF0000}[PCS]TIOALI \n{FFFFFF}Sistema de pontos por: {FF0000}Josma_CMD \n{FFFFFF}Sistema de X1 e Minigun baseado no Fs do: {FF0000}Bruno Pereira/DJ Bruninho", playerid);
  1052.     ShowPlayerDialog(playerid, DialogBoxEx, DIALOG_STYLE_MSGBOX, "===== Créditos =====", str, "OK", "");
  1053.     return 1;
  1054.     }
  1055.     if(strcmp(cmd, "/ajuda", true) == 0) {
  1056.         ShowPlayerDialog(playerid, AJUDA, DIALOG_STYLE_LIST, "Ajuda do Servidor", "{00FFFF}(Os){FFFFFF} Objetivo do servidor\n{00FFFF}(Gg){FFFFFF} Gang\n{00FFFF}(Ot){FFFFFF} Outras\n{00FFFF}(Pf){FFFFFF} Perguntas frequentes\n{00FFFF}(Tt){FFFFFF} Tutorial", "Selecionar", "Cancelar");
  1057.     return 1;
  1058.     }
  1059.     if(strcmp(cmd, "/armas", true) == 0) {
  1060.         if(TaX1[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1061.         if(TaMG[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1062.         if(TaRPG[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1063.         if(TaSN[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1064.         new ValorSawn=VSAWN;new ValorTec=VTEC;new ValorPistol=VPISTOL;new ValorDesert=VDESERT;new ValorCombat=VCOMBAT;new ValorMsmg=VMicroSMG;new ValorSmg=VSMG;new ValorAk=VAK;new ValorColt=VCOLT;new ValorSniper=VSNIPER;new ValorExt=VEXTIN;
  1065.         format(strcp,sizeof(strcp),"Pistola - R$%i\nDesert - R$%i\nSawn-Off - R$%i\nSawnoff Shotgun - R$%i\nCombat - R$%i\nMicro SMG - R$%i\nSMG - R$%i\nAk-47 - R$%i\nColt M4A1 - R$%i\nSniper - R$%i\nExtintor - R$%i",ValorPistol,ValorDesert,ValorSawn,ValorTec,ValorCombat,ValorMsmg,ValorSmg,ValorAk,ValorColt,ValorSniper,ValorExt);
  1066.         return ShowPlayerDialog(playerid,IDMENU,DIALOG_STYLE_LIST,NomeMenu,strcp,Btn1,Btn2);
  1067.     }
  1068.     if (strcmp(cmd, "/radios", true) == 0) {
  1069.         ShowPlayerDialog(playerid, 1245, DIALOG_STYLE_LIST, "Lista de Radios", "{FF0000}Radio Hunter\n{00EEFF}Radio Super Mix\n{04FF00}Radio Rock Freeday\n{0400FF}Radio Pagode FM\n{FF00EA}Radio Electro Vibe\n{FBFF00}Radio Sertanejo\n{B700FF}Radio Relax\n{B4B4B4}Desligar", "OK", "Cancelar");
  1070.     return 1;
  1071.     }
  1072.     if (strcmp(cmd, "/teleportes", true) == 0) {
  1073.         if(TaX1[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1074.         if(TaMG[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1075.         if(TaSN[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1076.         if(TaRPG[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1077.         if(Ta69[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1078.         return ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Categorias do teleporte", "Los Santos\nSan Fierro\nLas Venturas\nEstacionamento\nOutros", "Selecionar", "Cancelar");
  1079.     }
  1080.     if (strcmp(cmd, "/stunts", true) == 0) {
  1081.         if(TaX1[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1082.         if(TaMG[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1083.         if(TaSN[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1084.         if(TaRPG[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1085.         if(Ta69[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1086.         return ShowPlayerDialog(playerid, STUNTS, DIALOG_STYLE_LIST, "Escolha os Stunts", "Stunt no Aeroporto LS\nStunt no Aeroporto SF\nDrop\nDrift no deserto\nDrift do desafio\nMotoCross\nStadium", "Selecionar", "Cancelar");
  1087.     }
  1088.     if (strcmp(cmd, "/dms", true) == 0) {
  1089.         if(TaX1[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1090.         if(TaMG[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1091.         if(TaSN[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1092.         if(TaRPG[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1093.         if(Ta69[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1094.         return ShowPlayerDialog(playerid, DMs, DIALOG_STYLE_LIST, "Escolha os DMs", "X1 DM\nMinigun DM\nSniper DM\nArea 69\nArena RPG", "Selecionar", "Cancelar");
  1095.     }
  1096.     if(strcmp(cmd, "/kill", true) == 0) {
  1097.         if(TaX1[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1098.         if(TaMG[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1099.         if(TaRPG[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1100.         if(Ta69[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1101.         if(TaSN[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1102.         GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  1103.         format(string, sizeof(string), "[SERVER] %s Resolveu se matar Usando (/kill)", pname);
  1104.         SendClientMessageToAll( 0x00FFFFAA, string);
  1105.         return SetPlayerHealth(playerid, 0.00);
  1106.     }
  1107.     if(strcmp(cmd, "/mudar", true) == 0) {
  1108.         if(TaX1[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1109.         if(TaMG[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1110.         if(TaSN[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1111.         if(TaRPG[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1112.         if(Ta69[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1113.         ForceClassSelection(playerid);
  1114.         SetPlayerHealth(playerid, 0.00);
  1115.         GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  1116.         format(string, sizeof(string), "[SERVER] %s Resolveu Trocar Sua Skin Usando (/mudar)", pname);
  1117.         return SendClientMessageToAll( 0x00FFFFAA, string);
  1118.    }
  1119.    if(strcmp(cmd, "/repararv", true) == 0) {
  1120.         if(IsPlayerInAnyVehicle(playerid)){
  1121.         GivePlayerMoney(playerid,-1500);
  1122.         RepairVehicle(GetPlayerVehicleID(playerid));
  1123.         SetVehicleHealth(GetPlayerVehicleID(playerid), 1000.0);
  1124.         return SendClientMessage(playerid, 0xFFFFFFAA,"[SERVER] Você Gastou 1500$ Por Reparar Este Carro!");
  1125.         }else{
  1126.         return SendClientMessage(playerid, 0xFFFFFFAA,"[SERVER] Você não está em um carro!");}
  1127.    }
  1128.    if(strcmp(cmd, "/regras", true) == 0) {
  1129.     new strdialog[1024];
  1130.     format(strdialog, sizeof(strdialog),"%s","REGRAS\n\n");
  1131.     format(strdialog, sizeof(strdialog),"%s%s",strdialog, "Regras do Servidor:\n");
  1132.     format(strdialog, sizeof(strdialog),"%s%s",strdialog, "1 - Proibido usar Cheater e S0beit\n");
  1133.     format(strdialog, sizeof(strdialog),"%s%s",strdialog, "2 - Não xingue os admins.\n");
  1134.     format(strdialog, sizeof(strdialog),"%s%s",strdialog, "3 - Não peça Admin aqui, somento no fórum: cokbr.forumbrasil.net\n");
  1135.     format(strdialog, sizeof(strdialog),"%s%s",strdialog, "4 - Não divulgue servidores\n");
  1136.     format(strdialog, sizeof(strdialog),"%s%s",strdialog, "5 - Aproveite o server\n");
  1137.     return ShowPlayerDialog(playerid, 101, DIALOG_STYLE_MSGBOX, "===== Regras =====", strdialog, "OK", "Sair");
  1138.     }
  1139.    if(strcmp(cmd, "/trancar", true) == 0) {
  1140.         GivePlayerMoney(playerid,-500);
  1141.         SendClientMessage(playerid, 0xFFFFFFAA,"[SERVER] Você Gastou 500$ Por Trancar Este Carro!");
  1142.         if(IsPlayerInAnyVehicle(playerid)){
  1143.         new Stat5 ;
  1144.         Stat5=GetPlayerState(playerid);
  1145.         if(Stat5!=PLAYER_STATE_DRIVER){
  1146.         return SendClientMessage(playerid,0xFF0606FF,"[SERVER] Voce não pode trancar esse veículo!");}
  1147.         new i;
  1148.         for(i=0;i<MAX_PLAYERS;i++){
  1149.         if(i != playerid){
  1150.         SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid),i,0,1);}}
  1151.         SendClientMessage(playerid, 0xFF0606FF, "[SERVER] Veiculo Trancado! Use /destrancar para destrancá-lo.");
  1152.         }else{
  1153.         SendClientMessage(playerid, 0xFF0606FF,"[SERVER] Cadê o Veiculo ? O.O");}
  1154.         return 1;
  1155.    }
  1156.    if(strcmp(cmd, "/destrancar", true) == 0) {
  1157.         new vehicleid = GetPlayerVehicleID(playerid);
  1158.         if(IsPlayerInAnyVehicle(playerid)){
  1159.         new Stat6 ;
  1160.         Stat6 = GetPlayerState(playerid);
  1161.         if(Stat6!=PLAYER_STATE_DRIVER)
  1162.         {
  1163.         return SendClientMessage(playerid,0xFF0606FF,"[SERVER] Voce não pode destrancar esse veículo!");
  1164.         }
  1165.         new i;
  1166.         for(i=0;i<MAX_PLAYERS;i++)
  1167.         {
  1168.         SetVehicleParamsForPlayer(vehicleid,i, 0, 0);
  1169.         }
  1170.         SendClientMessage(playerid, 0xFF0606FF, "[SERVER] Veiculo Destrancado");
  1171.         }
  1172.         else
  1173.         {
  1174.         SendClientMessage(playerid, 0xFF0606FF, "[SERVER] Cadê o Veiculo ? o.o");
  1175.         }
  1176.         return 1;
  1177.    }
  1178.    if(strcmp(cmd, "/celular", true) == 0) {
  1179.    SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USECELLPHONE);
  1180.    return ShowPlayerDialog(playerid,755,DIALOG_STYLE_INPUT,"===== Celular =====","Para quem gostaria de enviar? Use: ID","Ok","Cancelar");
  1181.    }
  1182.     if(strcmp(cmd, "/abastecer", true) == 0) {
  1183.         if(IsPlayerConnected(playerid))
  1184.         {
  1185.             if(IsPlayerInAnyVehicle(playerid))
  1186.             {
  1187.                 if(NoPosto(playerid))
  1188.                 {
  1189.                     olddistance = 999999;
  1190.                     for(new i = 0; i < sizeof(gGasStationLocations); i++)
  1191.                     {
  1192.                         GasX = gGasStationLocations[i][0];
  1193.                         GasY = gGasStationLocations[i][1];
  1194.                         GasZ = gGasStationLocations[i][2];
  1195.                         newdistance = GetDistanceBetweenPlayerToPoint(playerid,GasX,GasY,GasZ);
  1196.                         if (newdistance < olddistance)
  1197.                         {
  1198.                             olddistance = newdistance;
  1199.                             closest = i;
  1200.                         }
  1201.                     }
  1202.                     GameTextForPlayer(playerid,"~w~~n~~n~~n~~n~~n~~n~~n~~n~~n~Reabastecendo Aguarde",2000,3);
  1203.                     SetTimer("Fillup",RefuelWait,0);
  1204.                     gGasBiz[playerid] = closest+12;
  1205.                     Refueling[playerid] = 1;
  1206.                 }
  1207.                 else
  1208.                 {
  1209.                     SendClientMessage(playerid,0xAFAFAFAA,"[SERVER] Você Não Esta Em Posto De Combustivel");
  1210.                 }
  1211.             }
  1212.             return 1;
  1213.             }
  1214.         }
  1215.    if(strcmp(cmd, "/darcache", true) == 0) {
  1216.         new tmp[256];
  1217.         tmp = strtok(cmdtext, idx);
  1218.  
  1219.         if(!strlen(tmp)) {
  1220.             SendClientMessage(playerid, COLOR_WHITE, "[SERVER] USO: /darcache [ID] [quantia]");
  1221.             return 1;
  1222.         }
  1223.         giveplayerid = strval(tmp);
  1224.        
  1225.         tmp = strtok(cmdtext, idx);
  1226.         if(!strlen(tmp)) {
  1227.             SendClientMessage(playerid, COLOR_WHITE, "[SERVER] USO: /darcache [ID] [amount]");
  1228.             return 1;
  1229.         }
  1230.         moneys = strval(tmp);
  1231.         if (IsPlayerConnected(giveplayerid)) {
  1232.             GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
  1233.             GetPlayerName(playerid, sendername, sizeof(sendername));
  1234.             playermoney = GetPlayerMoney(playerid);
  1235.             if (moneys > 0 && playermoney >= moneys) {
  1236.                 GivePlayerMoney(playerid, (0 - moneys));
  1237.                 GivePlayerMoney(giveplayerid, moneys);
  1238.                 format(string, sizeof(string), "[SERVER] Você enviou %s(%d), R$%d.", giveplayer,giveplayerid, moneys);
  1239.                 SendClientMessage(playerid, COLOR_YELLOW, string);
  1240.                 format(string, sizeof(string), "[SERVER] Você recebeu R$%d de %s(%d).", moneys, sendername, playerid);
  1241.                 SendClientMessage(giveplayerid, COLOR_YELLOW, string);
  1242.                 printf("[SERVER] %s(%d) transferiu %d para %s(%d)",sendername, playerid, moneys, giveplayer, giveplayerid);
  1243.             }
  1244.             else {
  1245.                 SendClientMessage(playerid, COLOR_YELLOW, "Invalid transaction amount.");
  1246.             }
  1247.         }
  1248.         else {
  1249.                 format(string, sizeof(string), "[SERVER] %d não está online.", giveplayerid);
  1250.                 SendClientMessage(playerid, COLOR_YELLOW, string);
  1251.             }
  1252.         return 1;
  1253.     }
  1254.     if (strcmp(cmd, "/minhasprops", true) == 0) {
  1255.     GetPlayerProperties(playerid);
  1256.     return 1;
  1257.     }
  1258.     if (strcmp(cmd, "/cprop", true) == 0) {
  1259.     BuyPropertyForPlayer(playerid);
  1260.     return 1;
  1261.     }
  1262.     if (strcmp(cmd, "/vprop", true) == 0) {
  1263.     SellPropertyForPlayer(playerid);
  1264.     return 1;
  1265.     }
  1266.     if(strcmp(cmd, "/sair", true) == 0) {
  1267.     sairdm(playerid);
  1268.     return 1;
  1269.     }
  1270.     if(strcmp(cmd, "/sairdm", true) == 0) {
  1271.     sairdm2(playerid);
  1272.     return 1;
  1273.     }
  1274.     if(strcmp(cmd, "/sairsn", true) == 0) {
  1275.     sairsn(playerid);
  1276.     return 1;
  1277.     }
  1278.     if(strcmp(cmd, "/minigun", true) == 0) {
  1279.     minigun(playerid);
  1280.     return 1;
  1281.     }
  1282.     if(strcmp(cmd, "/avenida", true) == 0) {
  1283.         if(TaX1[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1284.         if(TaMG[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1285.         if(TaSN[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1286.         if(TaRPG[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1287.         if(Ta69[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1288.     if(IsPlayerInAnyVehicle(playerid)) {
  1289.     new VehicleID;
  1290.     VehicleID = GetPlayerVehicleID(playerid);
  1291.     SetVehiclePos(VehicleID,2057.4717,1372.3671,10.6719);
  1292.     SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
  1293.     GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  1294.     SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para a Avenida de LV.");
  1295.     }else{
  1296.     SetPlayerPos(playerid,2057.4717,1372.3671,10.6719);
  1297.     GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  1298.     SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para a Avenida de LV.");
  1299.     SetPlayerInterior(playerid,0);
  1300.     }
  1301.     return 1;
  1302.     }
  1303.     if(strcmp(cmd, "/voltar", true) == 0) {
  1304.         if(TaX1[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1305.         if(TaMG[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1306.         if(TaSN[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1307.         if(TaRPG[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1308.         if(Ta69[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
  1309.         new VolteiPraCa[MAX_PLAYER_NAME];
  1310.         new voltarcoordenada[256];
  1311.         GetPlayerName(playerid, VolteiPraCa, sizeof(VolteiPraCa));
  1312.         format(voltarcoordenada, sizeof(voltarcoordenada), "%s.cord", VolteiPraCa);
  1313.         if(fexist(voltarcoordenada))
  1314.         {
  1315.         KenX[playerid] = dini_Float(voltarcoordenada,"CoordenadaX");
  1316.         KenY[playerid] = dini_Float(voltarcoordenada,"CoordenadaY");
  1317.         KenZ[playerid] = dini_Float(voltarcoordenada,"CoordenadaZ");
  1318.         KenA[playerid] = dini_Float(voltarcoordenada,"CoordenadaA");
  1319.             if(IsPlayerInAnyVehicle(playerid)) {
  1320.             new VehicleID;
  1321.             VehicleID = GetPlayerVehicleID(playerid);
  1322.             SetVehiclePos(VehicleID,KenX[playerid],KenY[playerid],KenZ[playerid]);
  1323.             SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
  1324.             GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  1325.             }else{
  1326.             SetPlayerPos(playerid,KenX[playerid],KenY[playerid],KenZ[playerid]);
  1327.             GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  1328.             }
  1329.         SetPlayerFacingAngle(playerid, KenA[playerid]);
  1330.         SetCameraBehindPlayer(playerid);
  1331.         }
  1332.    return SendClientMessage(playerid, 0x33FF00FF, "[SERVER] Você voltou para suas coordenadas salvas!");
  1333.     }
  1334.  
  1335.     // ---- se o player digitar errado ----- //
  1336.     if(strcmp(cmd, "/pm", true) == 0) {
  1337.     return SendClientMessage(playerid, COR_CINZA, "[SERVER] Comando correto: /celular!");
  1338.     }
  1339.     if(strcmp(cmd, "/arma", true) == 0) {
  1340.     return SendClientMessage(playerid, COR_CINZA, "[SERVER] Comando correto: /armas!");
  1341.     }
  1342.     if(strcmp(cmd, "/comando", true) == 0) {
  1343.     return SendClientMessage(playerid, COR_CINZA, "[SERVER] Comando correto: /comandos!");
  1344.     }
  1345.     if(strcmp(cmd, "/radio", true) == 0) {
  1346.     return SendClientMessage(playerid, COR_CINZA, "[SERVER] Comando correto: /radios!");
  1347.     }
  1348.     if(strcmp(cmd, "/stunt", true) == 0) {
  1349.     return SendClientMessage(playerid, COR_CINZA, "[SERVER] Comando correto: /stunts!");
  1350.     }
  1351.     if(strcmp(cmd, "/dm", true) == 0) {
  1352.     return SendClientMessage(playerid, COR_CINZA, "[SERVER] Comando correto: /dms!");
  1353.     }
  1354.     if(strcmp(cmd, "/minigun", true) == 0) {
  1355.     return SendClientMessage(playerid, COR_CINZA, "[SERVER] Comando correto: /dms!");
  1356.     }
  1357.     if(strcmp(cmd, "/rpg", true) == 0) {
  1358.     return SendClientMessage(playerid, COR_CINZA, "[SERVER] Comando correto: /dms!");
  1359.     }
  1360.     if(strcmp(cmd, "/area69", true) == 0) {
  1361.     return SendClientMessage(playerid, COR_CINZA, "[SERVER] Comando correto: /dms!");
  1362.     }
  1363.     if(strcmp(cmd, "/x1", true) == 0) {
  1364.     return SendClientMessage(playerid, COR_CINZA, "[SERVER] Comando correto: /dms!");
  1365.     }
  1366.     if(strcmp(cmd, "/drop", true) == 0) {
  1367.     return SendClientMessage(playerid, COR_CINZA, "[SERVER] Comando correto: /stunts!");
  1368.     }
  1369.     if(strcmp(cmd, "/teleporte", true) == 0) {
  1370.     return SendClientMessage(playerid, COR_CINZA, "[SERVER] Comando correto: /teleportes!");
  1371.     }
  1372.     if(strcmp(cmd, "/gangcriar", true) == 0) {
  1373.     return SendClientMessage(playerid, COR_CINZA, "[SERVER] Comando correto: /gang criar!");
  1374.     }
  1375.     if(strcmp(cmd, "/gangentrar", true) == 0) {
  1376.     return SendClientMessage(playerid, COR_CINZA, "[SERVER] Comando correto: /gang entrar!");
  1377.     }
  1378.     if(strcmp(cmd, "/gangcor", true) == 0) {
  1379.     return SendClientMessage(playerid, COR_CINZA, "[SERVER] Comando correto: /gang cor!");
  1380.     }
  1381.    
  1382.     return SendClientMessage(playerid, 0xC0C0C0AA, "[SERVER] Comando inválido. Use: /comandos"); // mensagem caso o player digite o comando errado
  1383. }
  1384. //------------------------------------------------------------------------------------------------------
  1385.  
  1386. public OnPlayerSpawn(playerid)
  1387. {
  1388.     format(arquivo, sizeof(arquivo), "%s.ini",ppNome(playerid));
  1389.     if(fexist(arquivo))
  1390.     {
  1391.         INI_Open(arquivo);
  1392.         Leu[playerid] = INI_ReadInt("Tutorial");
  1393.         INI_Close();
  1394.     }
  1395.     else sLeuTuto(playerid);
  1396.     if(Leu[playerid] == 0) { // Se o player não leu o tutorial ( == 0) exibir o tutorial do server
  1397.     ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, "===== Tutorial do City of Killers =====", "Ler tutorial\nNão ler", "Selecionar", "Ler depois");
  1398.     }
  1399.     SetPlayerInterior(playerid,0);
  1400.     SetPlayerRandomSpawn(playerid);
  1401.     TextDrawShowForPlayer(playerid,txtTimeDisp);
  1402.     TextDrawShowForPlayer(playerid,txtDateDisp);
  1403.     TogglePlayerClock(playerid,1);
  1404.         ProgressaoInfo[playerid][Pontos] = (ProgressaoInfo[playerid][Matou] - ProgressaoInfo[playerid][Morreu]);
  1405.         format(string, sizeof(string), "~l~Pontos: ~b~%d", ProgressaoInfo[playerid][Pontos]);
  1406.         TextDrawSetString(ProgressaoInfo[playerid][TPontos], string);
  1407.         TextDrawShowForPlayer(playerid, ProgressaoInfo[playerid][TPontos]);
  1408.         format(message,sizeof(message), "Pontos: %d", ProgressaoInfo[playerid][Pontos]);
  1409.         TextID[playerid] = Create3DTextLabel(message, Branco, 0.0, 0.0, 0.0, 5, 0, 0);
  1410.         Attach3DTextLabelToPlayer(TextID[playerid] , playerid, 0.0, 0.0, 0.30);
  1411.         if (!AlreadyGiveWeapons[playerid]) SetTimerEx("LoadArmasToFile",250,false,"i",playerid);
  1412.     return 1;
  1413. }
  1414.  
  1415. public SetPlayerRandomSpawn(playerid)
  1416. {
  1417.     if (iSpawnSet[playerid] == 1)
  1418.     {
  1419.         new rand = random(sizeof(gCopPlayerSpawns));
  1420.         SetPlayerPos(playerid, gCopPlayerSpawns[rand][0], gCopPlayerSpawns[rand][1], gCopPlayerSpawns[rand][2]); // Warp the player
  1421.         SetPlayerFacingAngle(playerid, 270.0);
  1422.     }
  1423.     else if (iSpawnSet[playerid] == 0)
  1424.     {
  1425.         new rand = random(sizeof(gRandomPlayerSpawns));
  1426.         SetPlayerPos(playerid, gRandomPlayerSpawns[rand][0], gRandomPlayerSpawns[rand][1], gRandomPlayerSpawns[rand][2]); // Warp the player
  1427.     }
  1428.     return 1;
  1429. }
  1430.  
  1431. //------------------------------------------------------------------------------------------------------
  1432.  
  1433. public OnPlayerDeath(playerid, killerid, reason)
  1434. {
  1435.         new name[MAX_PLAYER_NAME+1];
  1436.         GetPlayerName(playerid, name, sizeof(name));
  1437.         new matou[MAX_PLAYER_NAME+1];
  1438.         GetPlayerName(killerid, matou, sizeof(matou));
  1439.        
  1440.            // ---- PLAYER NAS ARENAS DMS ---- //
  1441.            if(TaX1[playerid] == true){
  1442.            if(killerid == INVALID_PLAYER_ID)
  1443.            {
  1444.            TaX1[playerid] = false, format(string, sizeof(string), "[SERVER] %s suicidou-se no x1!", name);
  1445.            SendClientMessageToAll(COR_AMARELO, string), Playersx1 = 1;
  1446.            for(new i; i < MAX_PLAYERS; i++)
  1447.            if(TaX1[i] == true) {SpawnPlayer(TaX1[i]), TaX1[TaX1[i]] = false, Playersx1 = 0, SetPlayerHealth(TaX1[i], 100.0);}
  1448.            }
  1449.            TaX1[playerid] = false, TaX1[killerid] = false, TaX1[playerid] = false, Playersx1 = 0, SpawnPlayer(killerid);
  1450.            SetPlayerArmour(killerid, 100.0), SetPlayerHealth(killerid, 100.0);
  1451.            format(string, sizeof(string), "[SERVER] %s matou o %s no X1!", matou, name), SendClientMessageToAll(COR_AMARELO, string);
  1452.            }
  1453.            if(TaMG[playerid] == true){
  1454.            if(killerid == INVALID_PLAYER_ID)
  1455.            {
  1456.            TaMG[playerid] = false, format(string, sizeof(string), "[SERVER] %s suicidou-se no minigun!", name);
  1457.            SendClientMessageToAll(COR_AMARELO, string), Playersmg = 1;
  1458.            for(new i; i < MAX_PLAYERS; i++)
  1459.            if(TaMG[i] == true) {SpawnPlayer(TaMG[i]), TaMG[TaMG[i]] = false, Playersmg = 0, SetPlayerHealth(TaMG[i], 100.0);}
  1460.            }
  1461.            TaMG[playerid] = false, TaMG[killerid] = false, Playersmg = 0, SpawnPlayer(killerid);
  1462.            SetPlayerArmour(killerid, 100.0), SetPlayerHealth(killerid, 100.0), GivePlayerWeapon(killerid,38,800);
  1463.            format(string, sizeof(string), "[SERVER] %s matou o %s no MinigunDM e recebeu a sua minigun!", matou, name), SendClientMessageToAll(COR_AMARELO, string);
  1464.            }
  1465.            if(TaSN[playerid] == true){
  1466.            if(killerid == INVALID_PLAYER_ID)
  1467.            {
  1468.            TaSN[playerid] = false, format(string, sizeof(string), "[SERVER] %s suicidou-se no SniperDM!", name);
  1469.            SendClientMessageToAll(COR_AMARELO, string), Playerssn = 1;
  1470.            for(new i; i < MAX_PLAYERS; i++)
  1471.            if(TaSN[i] == true) {SpawnPlayer(TaSN[i]), TaSN[TaSN[i]] = false, Playerssn = 0, SetPlayerHealth(TaSN[i], 100.0);}
  1472.            }
  1473.            TaSN[playerid] = false, TaSN[killerid] = false, Playerssn = 0, SpawnPlayer(killerid);
  1474.            SetPlayerArmour(killerid, 100.0), SetPlayerHealth(killerid, 100.0), GivePlayerWeapon(killerid,34,1000);
  1475.            format(string, sizeof(string), "[SERVER] %s matou o %s no SniperDM e ganhou sua Sniper!", matou, name), SendClientMessageToAll(COR_AMARELO, string);
  1476.            }
  1477.            if(Ta69[playerid] == true){
  1478.            if(killerid == INVALID_PLAYER_ID)
  1479.            {
  1480.            Ta69[playerid] = false, format(string, sizeof(string), "[SERVER] %s suicidou-se na Área 69!", name);
  1481.            SendClientMessageToAll(COR_AMARELO, string), Players69 = 1;
  1482.            for(new i; i < MAX_PLAYERS; i++)
  1483.            if(Ta69[i] == true) {SpawnPlayer(Ta69[i]), Ta69[Ta69[i]] = false, Players69 = 0, SetPlayerHealth(Ta69[i], 100.0);}
  1484.            }
  1485.            Ta69[playerid] = false, Ta69[killerid] = false, Players69 = 0, SpawnPlayer(killerid);
  1486.            SetPlayerArmour(killerid, 100.0), SetPlayerHealth(killerid, 100.0);
  1487.            format(string, sizeof(string), "[SERVER] %s matou o %s na Área 69!", matou, name), SendClientMessageToAll(COR_AMARELO, string);
  1488.            }
  1489.            if(TaRPG[playerid] == true){
  1490.            if(killerid == INVALID_PLAYER_ID)
  1491.            {
  1492.            TaRPG[playerid] = false, format(string, sizeof(string), "[SERVER] %s suicidou-se no RPG DM!", name);
  1493.            SendClientMessageToAll(COR_AMARELO, string), Players69 = 1;
  1494.            for(new i; i < MAX_PLAYERS; i++)
  1495.            if(TaRPG[i] == true) {SpawnPlayer(TaRPG[i]), TaRPG[TaRPG[i]] = false, Playersrpg = 0, SetPlayerHealth(TaRPG[i], 100.0);}
  1496.            }
  1497.            TaRPG[playerid] = false, TaRPG[killerid] = false, Playersrpg = 0, SpawnPlayer(killerid);
  1498.            SetPlayerArmour(killerid, 100.0), SetPlayerHealth(killerid, 100.0), GivePlayerWeapon(killerid,35,1000);
  1499.            format(string, sizeof(string), "[SERVER] %s matou o %s no RPG DM e ganhou sua RPG!", matou, name), SendClientMessageToAll(COR_AMARELO, string);
  1500.            }
  1501.         SendDeathMessage(killerid, playerid, reason);
  1502.         GameTextForPlayer(playerid,"~r~Morto!",4000,3);
  1503.         new Texto[30], Texto1[30];
  1504.         ProgressaoInfo[killerid][Matou] ++;
  1505.         ProgressaoInfo[playerid][Morreu] ++;
  1506.         ProgressaoInfo[killerid][Pontos] = (ProgressaoInfo[killerid][Matou] - ProgressaoInfo[killerid][Morreu]);
  1507.         ProgressaoInfo[playerid][Pontos] = (ProgressaoInfo[playerid][Matou] - ProgressaoInfo[playerid][Morreu]);
  1508.         format(Texto, sizeof(Texto), "~l~Pontos: ~b~%d", ProgressaoInfo[killerid][Pontos]);
  1509.         TextDrawSetString(ProgressaoInfo[killerid][TPontos], Texto);
  1510.         TextDrawShowForPlayer(killerid, ProgressaoInfo[killerid][TPontos]);
  1511.         format(Texto1, sizeof(Texto1), "~l~Pontos: ~b~%d", ProgressaoInfo[playerid][Pontos]);
  1512.         TextDrawSetString(ProgressaoInfo[playerid][TPontos], Texto1);
  1513.         TextDrawShowForPlayer(playerid, ProgressaoInfo[playerid][TPontos]);
  1514.         AtualizarText(playerid);
  1515.         AtualizarText(killerid);
  1516.         TextDrawHideForPlayer(playerid,txtTimeDisp);
  1517.         TextDrawHideForPlayer(playerid,txtDateDisp);
  1518.         if(IsPlayerConnected(killerid))
  1519.             {
  1520.             Matouu[killerid]++;
  1521.             }
  1522.             Morreuu[playerid]++;
  1523.   return 1;
  1524. }
  1525.  
  1526. //------------------------------------------------------------------------------------------------------
  1527.  
  1528. public OnPlayerRequestClass(playerid, classid)
  1529. {
  1530.     iSpawnSet[playerid] = 0;
  1531.     SetupPlayerForClassSelection(playerid);
  1532.     return 1;
  1533. }
  1534.  
  1535. public SetupPlayerForClassSelection(playerid)
  1536. {
  1537.     SetPlayerInterior(playerid,14);
  1538.     SetPlayerPos(playerid,258.4893,-41.4008,1002.0234);
  1539.     SetPlayerFacingAngle(playerid, 270.0);
  1540.     SetPlayerCameraPos(playerid,256.0815,-43.0475,1004.0234);
  1541.     SetPlayerCameraLookAt(playerid,258.4893,-41.4008,1002.0234);
  1542. }
  1543.  
  1544. public GameModeExitFunc()
  1545. {
  1546.     GameModeExit();
  1547. }
  1548.  
  1549. public OnGameModeInit()
  1550. {
  1551.     ShowPlayerMarkers(1);
  1552.     SetNameTagDrawDistance(10.0);
  1553.         UsePlayerPedAnims();
  1554.     SetTimer("SendMSG", 100000, true);
  1555.     SetGameModeText("Brasil TDM/Stunt/GangWar");
  1556.     MaxP = GetMaxPlayers();
  1557.     drawagain();
  1558.     SetTimer("pOnline", SEC2, 1);
  1559.     ShowPlayerMarkers(1);
  1560.     ShowNameTags(1);
  1561.     EnableStuntBonusForAll(0);
  1562.     UsePropertyTextDraw(0);
  1563.     SetMaxPropertiesPerPlayer(2);
  1564.     SetPayoutFrequency(30);
  1565.    
  1566.     for(new c = 0;c < MAX_VEHICLES;c++)
  1567.     {
  1568.         Gas[c] = GasMax;
  1569.     }
  1570.     CreateVehicle(560,2036.4211,1340.4474,10.4892,356.3546,9,39,60000);
  1571.     stoppedvehtimer = SetTimer("StoppedVehicle", RunOutTime, 1);
  1572.     checkgastimer = SetTimer("CheckGas", RunOutTime, 1);
  1573.     timerspeedo = SetTimer("Speedo",500,1);
  1574.  
  1575.     Textdraw0 = TextDrawCreate(490.000000,352.000000,"  ");
  1576.     TextDrawUseBox(Textdraw0,1);
  1577.     TextDrawBoxColor(Textdraw0,0x000000ff);
  1578.     TextDrawTextSize(Textdraw0,610.000000,95.000000);
  1579.     TextDrawAlignment(Textdraw0,0);
  1580.     TextDrawBackgroundColor(Textdraw0,0xffffffff);
  1581.     TextDrawFont(Textdraw0,2);
  1582.     TextDrawLetterSize(Textdraw0,10.999995,7.999994);
  1583.     TextDrawColor(Textdraw0,0xffffffff);
  1584.     TextDrawSetOutline(Textdraw0,1);
  1585.     TextDrawSetProportional(Textdraw0,1);
  1586.     TextDrawSetShadow(Textdraw0,1);
  1587.  
  1588.     Textdraw1 = TextDrawCreate(495.000000,357.000000,"                                                                                                        ");
  1589.     TextDrawUseBox(Textdraw1,1);
  1590.     TextDrawBoxColor(Textdraw1,0xffffffff);
  1591.     TextDrawTextSize(Textdraw1,605.000000,42.000000);
  1592.     TextDrawAlignment(Textdraw1,0);
  1593.     TextDrawBackgroundColor(Textdraw1,0x000000ff);
  1594.     TextDrawFont(Textdraw1,3);
  1595.     TextDrawLetterSize(Textdraw1,1.000000,0.500000);
  1596.     TextDrawColor(Textdraw1,0xffffffff);
  1597.     TextDrawSetOutline(Textdraw1,1);
  1598.     TextDrawSetProportional(Textdraw1,1);
  1599.     TextDrawSetShadow(Textdraw1,1);
  1600.  
  1601.     Textdraw2 = TextDrawCreate(496.000000,355.000000,"~g~Velocidade");
  1602.     TextDrawAlignment(Textdraw2,0);
  1603.     TextDrawBackgroundColor(Textdraw2,0x000000ff);
  1604.     TextDrawFont(Textdraw2,1);
  1605.     TextDrawLetterSize(Textdraw2,0.299999,1.200000);
  1606.     TextDrawColor(Textdraw2,0xffffffff);
  1607.     TextDrawSetOutline(Textdraw2,1);
  1608.     TextDrawSetProportional(Textdraw2,1);
  1609.     TextDrawSetShadow(Textdraw2,1);
  1610.  
  1611.     Textdraw3 = TextDrawCreate(496.000000,365.000000,"~g~Veiculo");
  1612.     TextDrawAlignment(Textdraw3,0);
  1613.     TextDrawBackgroundColor(Textdraw3,0x000000ff);
  1614.     TextDrawFont(Textdraw3,1);
  1615.     TextDrawLetterSize(Textdraw3,0.299999,1.200000);
  1616.     TextDrawColor(Textdraw3,0xffffffff);
  1617.     TextDrawSetOutline(Textdraw3,1);
  1618.     TextDrawSetProportional(Textdraw3,1);
  1619.     TextDrawSetShadow(Textdraw3,1);
  1620.  
  1621.     Textdraw4 = TextDrawCreate(496.000000,375.000000,"~g~Combustivel");
  1622.     TextDrawAlignment(Textdraw4,0);
  1623.     TextDrawBackgroundColor(Textdraw4,0x000000ff);
  1624.     TextDrawFont(Textdraw4,1);
  1625.     TextDrawLetterSize(Textdraw4,0.299999,1.200000);
  1626.     TextDrawColor(Textdraw4,0xffffffff);
  1627.     TextDrawSetOutline(Textdraw4,1);
  1628.     TextDrawSetProportional(Textdraw4,1);
  1629.     TextDrawSetShadow(Textdraw4,1);
  1630.  
  1631.     Textdraw5 = TextDrawCreate(496.000000,385.000000,"~g~Lataria");
  1632.     TextDrawAlignment(Textdraw5,0);
  1633.     TextDrawBackgroundColor(Textdraw5,0x000000ff);
  1634.     TextDrawFont(Textdraw5,1);
  1635.     TextDrawLetterSize(Textdraw5,0.399999,1.300000);
  1636.     TextDrawColor(Textdraw5,0xffffffff);
  1637.     TextDrawSetOutline(Textdraw5,1);
  1638.     TextDrawSetProportional(Textdraw5,1);
  1639.     TextDrawSetShadow(Textdraw5,1);
  1640.  
  1641.     Textdraw6 = TextDrawCreate(494.000000,397.000000,"~g~Localizacao");
  1642.     TextDrawAlignment(Textdraw6,0);
  1643.     TextDrawBackgroundColor(Textdraw6,0x000000ff);
  1644.     TextDrawFont(Textdraw6,1);
  1645.     TextDrawLetterSize(Textdraw6,0.599999,1.100000);
  1646.     TextDrawColor(Textdraw6,0xffffffff);
  1647.     TextDrawSetOutline(Textdraw6,1);
  1648.     TextDrawSetProportional(Textdraw6,1);
  1649.     TextDrawSetShadow(Textdraw6,1);
  1650.  
  1651.     Textdraw7 = TextDrawCreate(493.000000,408.000000,"_");
  1652.     TextDrawAlignment(Textdraw7,0);
  1653.     TextDrawBackgroundColor(Textdraw7,0x000000ff);
  1654.     TextDrawFont(Textdraw7,1);
  1655.     TextDrawLetterSize(Textdraw7,0.299999,1.200000);
  1656.     TextDrawColor(Textdraw7,0xffffffff);
  1657.     TextDrawSetOutline(Textdraw7,1);
  1658.     TextDrawSetProportional(Textdraw7,1);
  1659.     TextDrawSetShadow(Textdraw7,1);
  1660.     txtTimeDisp = TextDrawCreate(632.0,25.0,"--:--:--");
  1661.     TextDrawUseBox(txtTimeDisp, 0);
  1662.     TextDrawFont(txtTimeDisp, 3);
  1663.     TextDrawSetShadow(txtTimeDisp,0);
  1664.     TextDrawSetOutline(txtTimeDisp,2);
  1665.     TextDrawBackgroundColor(txtTimeDisp,0x000000FF);
  1666.     TextDrawColor(txtTimeDisp,0xFFFFFFFF);
  1667.     TextDrawAlignment(txtTimeDisp,3);
  1668.     TextDrawLetterSize(txtTimeDisp,0.5,1.5);
  1669.     SetTimer("ProcessGameTime", 1000, 1);
  1670.  
  1671.     txtDateDisp = TextDrawCreate(620.0,5.0,"00/00/0000");
  1672.     TextDrawUseBox(txtDateDisp, 0);
  1673.     TextDrawFont(txtDateDisp, 3);
  1674.     TextDrawSetShadow(txtDateDisp,0);
  1675.     TextDrawSetOutline(txtDateDisp,2);
  1676.     TextDrawBackgroundColor(txtDateDisp,0x000000FF);
  1677.     TextDrawColor(txtDateDisp,0xFFFFFFFF);
  1678.     TextDrawAlignment(txtDateDisp,3);
  1679.     TextDrawLetterSize(txtDateDisp,0.5,1.5);
  1680.     Playersx1 = 0;
  1681.     Libero = true;
  1682.     Playersmg = 0;
  1683.     Libera = true;
  1684.     Playerssn = 0;
  1685.     Liberu = true;
  1686.     Playersrpg = 0;
  1687.     Liberi = true;
  1688.     Players69 = 0;
  1689.     Libere = true;
  1690.     // ---- CLASSES DOS PLAYERS ---- //
  1691.     AddPlayerClass(0,1958.3783,1343.1572,15.3746,270.1425,0,0,24,300,-1,-1);
  1692.     AddPlayerClass(266,1958.3783,1343.1572,15.3746,270.1425,0,0,24,300,-1,-1);
  1693.     AddPlayerClass(267,1958.3783,1343.1572,15.3746,270.1425,0,0,24,300,-1,-1);
  1694.     AddPlayerClass(268,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1695.     AddPlayerClass(269,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1696.     AddPlayerClass(270,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1697.     AddPlayerClass(271,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1698.     AddPlayerClass(272,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1699.    
  1700.     AddPlayerClass(280,1958.3783,1343.1572,15.3746,270.1425,0,0,24,300,-1,-1);
  1701.     AddPlayerClass(281,1958.3783,1343.1572,15.3746,270.1425,0,0,24,300,-1,-1);
  1702.     AddPlayerClass(282,1958.3783,1343.1572,15.3746,270.1425,0,0,24,300,-1,-1);
  1703.     AddPlayerClass(283,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1704.     AddPlayerClass(284,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1705.     AddPlayerClass(285,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1706.     AddPlayerClass(286,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1707.     AddPlayerClass(287,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1708.    
  1709.     AddPlayerClass(254,1958.3783,1343.1572,15.3746,0.0,0,0,24,300,-1,-1);
  1710.     AddPlayerClass(255,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1711.     AddPlayerClass(256,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1712.     AddPlayerClass(257,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1713.     AddPlayerClass(258,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1714.     AddPlayerClass(259,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1715.     AddPlayerClass(260,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1716.     AddPlayerClass(261,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1717.     AddPlayerClass(262,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1718.     AddPlayerClass(263,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1719.     AddPlayerClass(264,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1720.     AddPlayerClass(274,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1721.     AddPlayerClass(275,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1722.     AddPlayerClass(276,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1723.    
  1724.     AddPlayerClass(1,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1725.     AddPlayerClass(2,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1726.     AddPlayerClass(290,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1727.     AddPlayerClass(291,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1728.     AddPlayerClass(292,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1729.     AddPlayerClass(293,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1730.     AddPlayerClass(294,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1731.     AddPlayerClass(295,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1732.     AddPlayerClass(296,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1733.     AddPlayerClass(297,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1734.     AddPlayerClass(298,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1735.     AddPlayerClass(299,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1736.  
  1737.     AddPlayerClass(277,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1738.     AddPlayerClass(278,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1739.     AddPlayerClass(279,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1740.     AddPlayerClass(288,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1741.     AddPlayerClass(47,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1742.     AddPlayerClass(48,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1743.     AddPlayerClass(49,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1744.     AddPlayerClass(50,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1745.     AddPlayerClass(51,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1746.     AddPlayerClass(52,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1747.     AddPlayerClass(53,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1748.     AddPlayerClass(54,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1749.     AddPlayerClass(55,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1750.     AddPlayerClass(56,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1751.     AddPlayerClass(57,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1752.     AddPlayerClass(58,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1753.     AddPlayerClass(59,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1754.     AddPlayerClass(60,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1755.     AddPlayerClass(61,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1756.     AddPlayerClass(62,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1757.     AddPlayerClass(63,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1758.     AddPlayerClass(64,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1759.     AddPlayerClass(66,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1760.     AddPlayerClass(67,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1761.     AddPlayerClass(68,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1762.     AddPlayerClass(69,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1763.     AddPlayerClass(70,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1764.     AddPlayerClass(71,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1765.     AddPlayerClass(72,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1766.     AddPlayerClass(73,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1767.     AddPlayerClass(75,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1768.     AddPlayerClass(76,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1769.     AddPlayerClass(78,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1770.     AddPlayerClass(79,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1771.     AddPlayerClass(80,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1772.     AddPlayerClass(81,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1773.     AddPlayerClass(82,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1774.     AddPlayerClass(83,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1775.     AddPlayerClass(84,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1776.     AddPlayerClass(85,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1777.     AddPlayerClass(87,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1778.     AddPlayerClass(88,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1779.     AddPlayerClass(89,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1780.     AddPlayerClass(91,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1781.     AddPlayerClass(92,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1782.     AddPlayerClass(93,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1783.     AddPlayerClass(95,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1784.     AddPlayerClass(96,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1785.     AddPlayerClass(97,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1786.     AddPlayerClass(98,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1787.     AddPlayerClass(99,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1788.     AddPlayerClass(100,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1789.     AddPlayerClass(101,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1790.     AddPlayerClass(102,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1791.     AddPlayerClass(103,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1792.     AddPlayerClass(104,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1793.     AddPlayerClass(105,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1794.     AddPlayerClass(106,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1795.     AddPlayerClass(107,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1796.     AddPlayerClass(108,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1797.     AddPlayerClass(109,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1798.     AddPlayerClass(110,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1799.     AddPlayerClass(111,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1800.     AddPlayerClass(112,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1801.     AddPlayerClass(113,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1802.     AddPlayerClass(114,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1803.     AddPlayerClass(115,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1804.     AddPlayerClass(116,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1805.     AddPlayerClass(117,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1806.     AddPlayerClass(118,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1807.     AddPlayerClass(120,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1808.     AddPlayerClass(121,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1809.     AddPlayerClass(122,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1810.     AddPlayerClass(123,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1811.     AddPlayerClass(124,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1812.     AddPlayerClass(125,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1813.     AddPlayerClass(126,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1814.     AddPlayerClass(127,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1815.     AddPlayerClass(128,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1816.     AddPlayerClass(129,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1817.     AddPlayerClass(131,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1818.     AddPlayerClass(133,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1819.     AddPlayerClass(134,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1820.     AddPlayerClass(135,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1821.     AddPlayerClass(136,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1822.     AddPlayerClass(137,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1823.     AddPlayerClass(138,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1824.     AddPlayerClass(139,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1825.     AddPlayerClass(140,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1826.     AddPlayerClass(141,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1827.     AddPlayerClass(142,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1828.     AddPlayerClass(143,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1829.     AddPlayerClass(144,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1830.     AddPlayerClass(145,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1831.     AddPlayerClass(146,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1832.     AddPlayerClass(147,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1833.     AddPlayerClass(148,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1834.     AddPlayerClass(150,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1835.     AddPlayerClass(151,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1836.     AddPlayerClass(152,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1837.     AddPlayerClass(153,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1838.     AddPlayerClass(154,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1839.     AddPlayerClass(155,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1840.     AddPlayerClass(156,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1841.     AddPlayerClass(157,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1842.     AddPlayerClass(158,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1843.     AddPlayerClass(159,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1844.     AddPlayerClass(160,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1845.     AddPlayerClass(161,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1846.     AddPlayerClass(162,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1847.     AddPlayerClass(163,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1848.     AddPlayerClass(164,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1849.     AddPlayerClass(165,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1850.     AddPlayerClass(166,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1851.     AddPlayerClass(167,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1852.     AddPlayerClass(168,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1853.     AddPlayerClass(169,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1854.     AddPlayerClass(170,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1855.     AddPlayerClass(171,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1856.     AddPlayerClass(172,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1857.     AddPlayerClass(173,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1858.     AddPlayerClass(174,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1859.     AddPlayerClass(175,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1860.     AddPlayerClass(176,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1861.     AddPlayerClass(177,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1862.     AddPlayerClass(178,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1863.     AddPlayerClass(179,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1864.     AddPlayerClass(180,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1865.     AddPlayerClass(181,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1866.     AddPlayerClass(182,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1867.     AddPlayerClass(183,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1868.     AddPlayerClass(184,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1869.     AddPlayerClass(185,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1870.     AddPlayerClass(186,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1871.     AddPlayerClass(187,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1872.     AddPlayerClass(188,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1873.     AddPlayerClass(189,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1874.     AddPlayerClass(190,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1875.     AddPlayerClass(191,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1876.     AddPlayerClass(192,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1877.     AddPlayerClass(193,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1878.     AddPlayerClass(194,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1879.     AddPlayerClass(195,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1880.     AddPlayerClass(196,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1881.     AddPlayerClass(197,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1882.     AddPlayerClass(198,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1883.     AddPlayerClass(199,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1884.     AddPlayerClass(200,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1885.     AddPlayerClass(201,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1886.     AddPlayerClass(202,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1887.     AddPlayerClass(203,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1888.     AddPlayerClass(204,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1889.     AddPlayerClass(205,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1890.     AddPlayerClass(206,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1891.     AddPlayerClass(207,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1892.     AddPlayerClass(209,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1893.     AddPlayerClass(210,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1894.     AddPlayerClass(211,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1895.     AddPlayerClass(212,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1896.     AddPlayerClass(213,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1897.     AddPlayerClass(214,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1898.     AddPlayerClass(215,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1899.     AddPlayerClass(216,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1900.     AddPlayerClass(217,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1901.     AddPlayerClass(218,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1902.     AddPlayerClass(219,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1903.     AddPlayerClass(220,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1904.     AddPlayerClass(221,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1905.     AddPlayerClass(222,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1906.     AddPlayerClass(223,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1907.     AddPlayerClass(224,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1908.     AddPlayerClass(225,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1909.     AddPlayerClass(226,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1910.     AddPlayerClass(227,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1911.     AddPlayerClass(228,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1912.     AddPlayerClass(229,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1913.     AddPlayerClass(230,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1914.     AddPlayerClass(231,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1915.     AddPlayerClass(232,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1916.     AddPlayerClass(233,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1917.     AddPlayerClass(234,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1918.     AddPlayerClass(235,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1919.     AddPlayerClass(236,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1920.     AddPlayerClass(237,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1921.     AddPlayerClass(238,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1922.     AddPlayerClass(239,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1923.     AddPlayerClass(240,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1924.     AddPlayerClass(241,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1925.     AddPlayerClass(242,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1926.     AddPlayerClass(243,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1927.     AddPlayerClass(244,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1928.     AddPlayerClass(245,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1929.     AddPlayerClass(246,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1930.     AddPlayerClass(247,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1931.     AddPlayerClass(248,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1932.     AddPlayerClass(249,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1933.     AddPlayerClass(250,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1934.     AddPlayerClass(251,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1935.     AddPlayerClass(253,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
  1936. AddStaticVehicleEx(550,1788.77575684,-1061.62207031,23.88371849,0.00000000,-1,11,120000); //Sunrise
  1937. AddStaticVehicleEx(550,1784.45275879,-1061.66979980,23.88371849,0.00000000,6,11,120000); //Sunrise
  1938. AddStaticVehicleEx(495,1775.62854004,-1061.28527832,24.52101135,0.00000000,6,11,120000); //Sandking
  1939. AddStaticVehicleEx(568,1766.27539062,-1061.87145996,23.84101105,0.00000000,6,11,120000); //Bandito
  1940. AddStaticVehicleEx(495,1771.10742188,-1061.69726562,24.52101135,0.00000000,6,11,120000); //Sandking
  1941. AddStaticVehicleEx(550,1779.77783203,-1061.58044434,23.88371849,0.00000000,126,11,120000); //Sunrise
  1942. AddStaticVehicleEx(550,1793.43688965,-1061.53100586,23.88371849,0.00000000,3,11,120000); //Sunrise
  1943. AddStaticVehicleEx(575,1784.36328125,-1069.51757812,23.70093727,179.99450684,86,96,120000); //Broadway
  1944. AddStaticVehicleEx(575,1780.03552246,-1069.60156250,23.70093727,179.99450684,79,96,120000); //Broadway
  1945. AddStaticVehicleEx(545,1770.92761230,-1069.85253906,23.91093826,179.99450684,6,1,120000); //Hustler
  1946. AddStaticVehicleEx(545,1775.23132324,-1069.95166016,23.91093826,179.99450684,-1,1,120000); //Hustler
  1947. AddStaticVehicleEx(545,1766.40075684,-1069.74902344,23.91093826,179.99450684,3,1,120000); //Hustler
  1948. AddStaticVehicleEx(545,1761.90429688,-1069.76599121,23.91093826,179.99450684,13,1,120000); //Hustler
  1949. AddStaticVehicleEx(603,1757.65100098,-1045.59008789,23.96361160,179.99450684,-1,126,120000); //Phoenix
  1950. AddStaticVehicleEx(603,1761.69458008,-1045.69189453,23.96361160,179.99450684,-1,1,120000); //Phoenix
  1951. AddStaticVehicleEx(603,1753.00683594,-1045.72058105,23.96361160,179.99450684,3,-1,120000); //Phoenix
  1952. AddStaticVehicleEx(603,1748.51184082,-1045.79553223,23.96361160,179.99450684,53,-1,120000); //Phoenix
  1953. AddStaticVehicleEx(603,1743.86254883,-1045.66528320,23.96361160,179.99450684,-1,6,120000); //Phoenix
  1954. AddStaticVehicleEx(562,1757.59667969,-1038.30468750,23.71448708,0.00000000,7,1,120000); //Elegy
  1955. AddStaticVehicleEx(562,1761.89990234,-1038.26940918,23.71448708,0.00000000,126,1,120000); //Elegy
  1956. AddStaticVehicleEx(562,1753.02075195,-1038.32543945,23.71448708,0.00000000,3,1,120000); //Elegy
  1957. AddStaticVehicleEx(562,1748.42932129,-1038.34155273,23.71448708,0.00000000,34,1,120000); //Elegy
  1958. AddStaticVehicleEx(562,1743.89953613,-1038.14331055,23.71448708,0.00000000,-1,1,120000); //Elegy
  1959. AddStaticVehicleEx(541,1779.80664062,-1023.06512451,23.66093826,151.99035645,-1,3,120000); //Bullet
  1960. AddStaticVehicleEx(541,1784.08032227,-1025.25366211,23.66093826,151.99035645,-1,6,120000); //Bullet
  1961. AddStaticVehicleEx(541,1775.82861328,-1021.12561035,23.66093826,151.99035645,-1,126,120000); //Bullet
  1962. AddStaticVehicleEx(541,1771.93176270,-1019.38415527,23.66093826,151.99035645,-1,53,120000); //Bullet
  1963. AddStaticVehicleEx(541,1768.03991699,-1017.05340576,23.66093826,151.99035645,-1,1,120000); //Bullet
  1964. AddStaticVehicleEx(506,1757.15893555,-1014.68109131,23.75305176,167.98645020,-1,1,120000); //Super GT
  1965. AddStaticVehicleEx(506,1761.41967773,-1015.48681641,23.75305176,167.98645020,-1,126,120000); //Super GT
  1966. AddStaticVehicleEx(506,1753.10571289,-1013.62829590,23.75305176,167.98645020,6,6,120000); //Super GT
  1967. AddStaticVehicleEx(506,1748.78601074,-1012.84289551,23.75305176,167.98645020,53,6,120000); //Super GT
  1968. AddStaticVehicleEx(468,1798.78088379,-1086.87707520,23.72093773,179.98901367,-1,-1,120000); //Sanchez
  1969. AddStaticVehicleEx(468,1803.11914062,-1086.83569336,23.72093773,179.98901367,6,6,120000); //Sanchez
  1970. AddStaticVehicleEx(468,1794.26416016,-1086.95104980,23.72862053,179.98901367,126,-1,120000); //Sanchez
  1971. AddStaticVehicleEx(468,1789.53369141,-1086.93188477,23.72862053,179.98901367,1,-1,120000); //Sanchez
  1972. AddStaticVehicleEx(468,1785.23498535,-1086.77661133,23.72862053,179.98901367,86,-1,120000); //Sanchez
  1973. AddStaticVehicleEx(468,1780.52221680,-1086.69775391,23.72093773,179.98901367,13,-1,120000); //Sanchez
  1974. AddStaticVehicleEx(471,1771.83581543,-1086.07299805,23.53593826,179.98901367,13,-1,120000); //Quad
  1975. AddStaticVehicleEx(471,1776.15332031,-1086.24511719,23.53593826,179.98901367,6,117,120000); //Quad
  1976. AddStaticVehicleEx(471,1767.42578125,-1085.99902344,23.53593826,179.98901367,-1,117,120000); //Quad
  1977. AddStaticVehicleEx(403,1762.62207031,-1083.98291016,24.54922104,179.98901367,6,-1,120000); //Linerunner
  1978. AddStaticVehicleEx(403,1757.95275879,-1084.00476074,24.66093826,179.98901367,126,1,120000); //Linerunner
  1979. AddStaticVehicleEx(403,1753.52026367,-1084.03381348,24.66093826,179.98901367,-1,1,120000); //Linerunner
  1980. AddStaticVehicleEx(406,1726.14831543,-1083.04272461,25.42451286,179.98901367,-1,3,120000); //Dumper
  1981. AddStaticVehicleEx(406,1736.50134277,-1083.21887207,25.78226280,179.98901367,-1,3,120000); //Dumper
  1982. AddStaticVehicleEx(406,1745.23767090,-1083.59875488,25.71226311,179.98901367,-1,3,120000); //Dumper
  1983. AddStaticVehicleEx(409,1739.88928223,-1010.96759033,23.88593674,167.98645020,-1,126,120000); //Stretch
  1984. AddStaticVehicleEx(409,1744.31945801,-1011.92260742,23.88593674,167.98645020,-1,3,120000); //Stretch
  1985. AddStaticVehicleEx(557,1730.73596191,-1009.03674316,24.44040680,167.98645020,-1,126,120000); //Monster B
  1986. AddStaticVehicleEx(557,1735.74035645,-1009.77191162,24.38766098,167.98645020,126,1,120000); //Monster B
  1987. AddStaticVehicleEx(568,1762.15649414,-1061.97766113,23.93593788,0.00000000,6,11,120000); //Bandito
  1988. AddStaticVehicleEx(571,1792.99133301,-1069.59960938,23.29321861,179.99450684,2,96,120000); //Kart
  1989. AddStaticVehicleEx(571,1789.03454590,-1069.70800781,23.29321861,179.99450684,2,96,120000); //Kart
  1990.    
  1991.     SetTimer("MoneyGrubScoreUpdate", 1000, 1);
  1992.    
  1993.     AddProperty("DRAGONS_CASSINO", 2025.27, 1007.89, 10.82, 150000, 108000, 4150);
  1994.     AddProperty("AUTO_BAHN", 2201.11, 1391.39, 10.82, 130000, 90000, 4000);
  1995.     AddProperty("ROYAL_CASSINO", 2088.83, 1449.57, 10.82, 150000, 108000, 3950);
  1996.     AddProperty("CALIGULAS_CASSINO", 2192.95, 1676.70, 12.36, 150000, 108000, 3050);
  1997.     AddProperty("CLOWNS_POCKET", 2221.61, 1838.68, 10.82, 120000, 85000, 2950);
  1998.     AddProperty("HOTEL", 2021.15, 1916.45, 12.34, 120000, 85000, 2950);
  1999.     AddProperty("SEVEN", 2193.41, 1987.90, 12.29, 75000, 45000, 2550);
  2000.     AddProperty("CASH_EXCHANGE", 2086.60, 2054.38, 11.05, 75000, 45000, 2850);
  2001.     AddProperty("TOURIST_INFORMATION", 2086.67, 2066.56, 11.05, 72000, 40000, 2550);
  2002.     AddProperty("SEX_SHOP", 2086.72, 2077.95, 11.05, 70000, 38000, 3000);
  2003.     AddProperty("PHOTO", 2086.80, 2090.09, 11.05, 50000, 20000, 2000);
  2004.     AddProperty("TATOO", 2101.38, 2121.36, 10.82, 50000, 20000, 2200);
  2005.     AddProperty("CASINO", 2166.05, 2163.36, 10.82, 165000, 130000, 5000);
  2006.     AddProperty("SHIRTS", 2168.08, 2117.99, 10.82, 130000, 100000, 3500);
  2007.     AddProperty("MOTEL", 2083.97, 2174.83, 10.82, 130000, 100000, 3250);
  2008.     AddProperty("EMERALD_ISLE", 2127.59, 2368.89, 10.82, 138000, 115000, 3850);
  2009.     AddProperty("ZIP", 2092.84, 2223.61, 11.02, 98000, 85000, 3000);
  2010.     AddProperty("PIZZARIA", 2085.30, 2223.60, 11.02, 95000, 85000, 3200);
  2011.     AddProperty("SOUVERNIS", 1892.00, 2411.59, 11.17, 105000, 80000, 3000);
  2012.     AddProperty("SHOPPING", 1128.91, -1464.83, 15.77, 150000, 100000, 4000);
  2013.     AddProperty("WANG_CARS", -1957.23, 293.13, 35.46, 280000, 200000, 6800);
  2014.     AddProperty("BINCO", 2103.45, 2250.42, 11.02, 98000, 78000, 2380);
  2015.  
  2016.     //Neve no Chilliad
  2017.  
  2018. chilliad[3] = CreateObject(18572, -2438.4375, -1949.0547, 310.9141, 0.0, 0.0, 0.0);
  2019.     chilliad[4] = CreateObject(18573, -2237.0000, -1951.5234, 297.5625, 0.0, 0.0, 0.0);
  2020.     chilliad[5] = CreateObject(18574, -2181.4688, -1774.8125, 217.3984, 0.0, 0.0, 0.0);
  2021.     chilliad[6] = CreateObject(18575, -2145.1953, -1576.7188, 259.6484, 0.0, 0.0, 0.0);
  2022.     chilliad[8] = CreateObject(18577, -2182.2266, -1358.7109, 135.2422, 0.0, 0.0, 0.0);
  2023.     chilliad[10] = CreateObject(18579, -2583.4297, -1343.4531, 270.8438, 0.0, 0.0, 0.0);
  2024.     chilliad[11] = CreateObject(18580, -2624.3047, -1562.8828, 353.4531, 0.0, 0.0, 0.0);
  2025.     chilliad[12] = CreateObject(18581, -2655.2813, -1781.0078, 265.1406, 0.0, 0.0, 0.0);
  2026.     chilliad[13] = CreateObject(18582, -2724.3203, -1555.9609, 222.8906, 0.0, 0.0, 0.0);
  2027.     chilliad[14] = CreateObject(18583, -2700.2813, -1345.7969, 213.4609, 0.0, 0.0, 0.0);
  2028.     chilliad[15] = CreateObject(18584, -2421.1563, -1134.0938, 168.7813, 0.0, 0.0, 0.0);
  2029.     chilliad[17] = CreateObject(18586, -1980.3750, -1330.4922, 74.8516, 0.0, 0.0, 0.0);
  2030.     chilliad[18] = CreateObject(18587, -2186.7500, -1147.7344, 108.1563, 0.0, 0.0, 0.0);
  2031.     chilliad[19] = CreateObject(18588, -2291.7813, -993.4063, 63.5781, 0.0, 0.0, 0.0);
  2032.     chilliad[20] = CreateObject(18590, -2646.3516, -1116.9297, 111.7578, 0.0, 0.0, 0.0);
  2033.     chilliad[21] = CreateObject(18596, -2444.5000, -1991.6719, 198.6953, 0.0, 0.0, 0.0);
  2034.     chilliad[22] = CreateObject(18597, -2656.6797, -1992.9531, 80.1719, 0.0, 0.0, 0.0);
  2035.     chilliad[23] = CreateObject(18598, -1985.5078, -1562.5078, 84.4688, 0.0, 0.0, 0.0);
  2036.     chilliad[24] = CreateObject(18599, -1970.7109, -1785.9844, 107.9844, 0.0, 0.0, 0.0);
  2037.     chilliad[25] = CreateObject(18600, -2233.2031, -1980.7813, 153.6797, 0.0, 0.0, 0.0);
  2038.     chilliad[26] = CreateObject(18325, -2656.6797, -1992.9531, 80.1719, 0.0, 0.0, 0.0);
  2039.     chilliad[27] = CreateObject(18316, -2655.2813, -1781.0078, 265.1406, 0.0, 0.0, 0.0);
  2040.     chilliad[28] = CreateObject(18308, -2724.3203, -1555.9609, 222.8906, 0.0, 0.0, 0.0);
  2041.     chilliad[29] = CreateObject(18469, -2700.2813, -1345.7969, 213.4609, 0.0, 0.0, 0.0);
  2042.     chilliad[30] = CreateObject(18307, -2624.3047, -1562.8828, 353.4531, 0.0, 0.0, 0.0);
  2043.     chilliad[31] = CreateObject(18301, -2583.4297, -1343.4531, 270.8438, 0.0, 0.0, 0.0);
  2044.     chilliad[32] = CreateObject(18297, -2646.3516, -1116.9297, 111.7578, 0.0, 0.0, 0.0);
  2045.     chilliad[33] = CreateObject(18326, -2444.5000, -1991.6719, 198.6953, 0.0, 0.0, 0.0);
  2046.     chilliad[34] = CreateObject(18327, -2438.4375, -1949.0547, 310.9141, 0.0, 0.0, 0.0);
  2047.     chilliad[35] = CreateObject(18317, -2431.6797, -1759.6641, 403.8672, 0.0, 0.0, 0.0);
  2048.     chilliad[36] = CreateObject(18309, -2426.9375, -1530.4531, 440.9688, 0.0, 0.0, 0.0);
  2049.     chilliad[37] = CreateObject(18302, -2426.5000, -1347.3125, 300.8047, 0.0, 0.0, 0.0);
  2050.     chilliad[38] = CreateObject(18298, -2421.1563, -1134.0938, 168.7813, 0.0, 0.0, 0.0);
  2051.     chilliad[39] = CreateObject(18295, -2291.7813, -993.4063, 63.5781, 0.0, 0.0, 0.0);
  2052.     chilliad[40] = CreateObject(18328, -2237.0000, -1951.5234, 297.5625, 0.0, 0.0, 0.0);
  2053.     chilliad[41] = CreateObject(18329, -2233.2031, -1980.7813, 153.6797, 0.0, 0.0, 0.0);
  2054.     chilliad[42] = CreateObject(18310, -2249.3594, -1572.8672, 418.7656, 0.0, 0.0, 0.0);
  2055.     chilliad[43] = CreateObject(18319, -2239.6406, -1762.7266, 381.9531, 0.0, 0.0, 0.0);
  2056.     chilliad[44] = CreateObject(18303, -2221.8359, -1367.7969, 300.4609, 0.0, 0.0, 0.0);
  2057.     chilliad[45] = CreateObject(18304, -2182.2266, -1358.7109, 135.2422, 0.0, 0.0, 0.0);
  2058.     chilliad[46] = CreateObject(18299, -2186.7500, -1147.7344, 108.1563, 0.0, 0.0, 0.0);
  2059.     chilliad[47] = CreateObject(18318, -2181.4688, -1774.8125, 217.3984, 0.0, 0.0, 0.0);
  2060.     chilliad[48] = CreateObject(18311, -2145.1953, -1576.7188, 259.6484, 0.0, 0.0, 0.0);
  2061.     chilliad[49] = CreateObject(18312, -1985.5078, -1562.5078, 84.4688, 0.0, 0.0, 0.0);
  2062.     chilliad[50] = CreateObject(18305, -1980.3750, -1330.4922, 74.8516, 0.0, 0.0, 0.0);
  2063.     chilliad[51] = CreateObject(18320, -1970.7109, -1785.9844, 107.9844, 0.0, 0.0, 0.0);
  2064.  
  2065.     for(new xx; xx < sizeof(chilliad); xx++)
  2066.     {
  2067.         SetObjectMaterial(chilliad[xx], 0, 3915, "libertyhi3", "mp_snow");
  2068.         SetObjectMaterial(chilliad[xx], 1, 3915, "libertyhi3", "mp_snow");
  2069.         SetObjectMaterial(chilliad[xx], 2, 3915, "libertyhi3", "mp_snow");
  2070.         SetObjectMaterial(chilliad[xx], 3, 3915, "libertyhi3", "mp_snow");
  2071.         SetObjectMaterial(chilliad[xx], 4, 3915, "libertyhi3", "mp_snow");
  2072.         SetObjectMaterial(chilliad[xx], 5, 3915, "libertyhi3", "mp_snow");
  2073.     }
  2074.  
  2075.     return 1;
  2076. }
  2077.  
  2078. public OnGameModeExit()
  2079. {
  2080.     for(new i=0; i<MAX_PLAYERS; i++) {
  2081.         TextDrawHideForPlayer(i, PlayersOnServer);
  2082.     }
  2083.     for(new i = 0, PP = GetMaxPlayers(); i <= PP; i++)
  2084.     {
  2085.         if(!IsPlayerConnected(i)) continue;
  2086.         TextDrawDestroy(ProgressaoInfo[i][TPontos]);
  2087.     }
  2088.     for(new xx; xx < sizeof(chilliad); xx++)
  2089.     {
  2090.         if(IsValidObject(chilliad[xx]))
  2091.         {
  2092.             DestroyObject(chilliad[xx]);
  2093.         }
  2094.     }
  2095.     DestroyAllPropertyPickups();
  2096.     TextDrawHideForAll(txtTimeDisp);
  2097.     TextDrawDestroy(txtTimeDisp);
  2098.     TextDrawHideForAll(txtDateDisp);
  2099.     TextDrawDestroy(txtDateDisp);
  2100.     return 1;
  2101. }
  2102.  
  2103. public SendPlayerFormattedText(playerid, const str[], define)
  2104. {
  2105.     new tmpbuf[256];
  2106.     format(tmpbuf, sizeof(tmpbuf), str, define);
  2107.     SendClientMessage(playerid, 0xFF004040, tmpbuf);
  2108. }
  2109.  
  2110. public SendAllFormattedText(playerid, const str[], define)
  2111. {
  2112.     new tmpbuf[256];
  2113.     format(tmpbuf, sizeof(tmpbuf), str, define);
  2114.     SendClientMessageToAll(0xFFFF00AA, tmpbuf);
  2115. }
  2116.  
  2117. strtok(const string[], &index)
  2118. {
  2119.     new length = strlen(string);
  2120.     while ((index < length) && (string[index] <= ' '))
  2121.     {
  2122.         index++;
  2123.     }
  2124.  
  2125.     new offset = index;
  2126.     new result[20];
  2127.     while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
  2128.     {
  2129.         result[index - offset] = string[index];
  2130.         index++;
  2131.     }
  2132.     result[index - offset] = EOS;
  2133.     return result;
  2134. }
  2135. public SendMSG()
  2136. {
  2137.   new randMSG = random(sizeof(RandomMSG));
  2138.   SendClientMessageToAll(CoresV[random(sizeof(CoresV))], RandomMSG[randMSG]);
  2139. }
  2140. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  2141. {
  2142. new str[1000];
  2143. new stringa[1000];
  2144.     if(dialogid == STUNTS) // Stunts
  2145.     {
  2146.         if(response)
  2147.         {
  2148.             if(listitem == 0) // Aero LS
  2149.             {
  2150.             GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2151.             format(stringa, sizeof(stringa), "[SERVER] %s Foi Para Stunt no Aero de LS ( /stunts )", pname);
  2152.             SendClientMessageToAll(COR_DELETE, stringa);
  2153.             new cartype = GetPlayerVehicleID(playerid);
  2154.             new State=GetPlayerState(playerid);
  2155.             SetPlayerInterior(playerid,0);
  2156.             {
  2157.             if(State!=PLAYER_STATE_DRIVER)
  2158.             {
  2159.             SetPlayerPos(playerid,1508.4031,1449.0800,10.8494);
  2160.             }
  2161.             else if(IsPlayerInVehicle(playerid, cartype) == 1)
  2162.             {
  2163.             SetVehiclePos(cartype,1508.4031,1449.0800,10.8494);
  2164.             SetVehicleZAngle(cartype,30.6101);}
  2165.             else
  2166.             {
  2167.             SetPlayerPos(playerid,1508.4031,1449.0800,10.8494);
  2168.             }
  2169.             GameTextForPlayer(playerid,"Bem Vindo Ao aero porto de LV",2500,3);
  2170.             }
  2171.             }
  2172.             if(listitem == 1) // Aero SF
  2173.             {
  2174.             GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2175.             format(stringa, sizeof(stringa), "[SERVER] %s Foi Para o Stunt no Aero de SF ( /stunts )", pname);
  2176.             SendClientMessageToAll(COR_DELETE, stringa);
  2177.             new cartype = GetPlayerVehicleID(playerid);
  2178.             new State=GetPlayerState(playerid);
  2179.             SetPlayerInterior(playerid,0);
  2180.             {
  2181.             if(State!=PLAYER_STATE_DRIVER)
  2182.             {
  2183.             SetPlayerPos(playerid,-1444.3123,31.4322,14.1484);
  2184.             }
  2185.             else if(IsPlayerInVehicle(playerid, cartype) == 1)
  2186.             {
  2187.             SetVehiclePos(cartype,-1444.3123,31.4322,14.1484);
  2188.             SetVehicleZAngle(cartype,30.6101);}
  2189.             else
  2190.             {
  2191.             SetPlayerPos(playerid,-1444.3123,31.4322,14.1484);
  2192.             }
  2193.             GameTextForPlayer(playerid,"Bem Vindo Ao aero porto de SF",2500,3);
  2194.             }
  2195.             }
  2196.             if(listitem == 2) // Drop
  2197.             {
  2198.             if(IsPlayerInAnyVehicle(playerid)) {
  2199.             new VehicleID;
  2200.             VehicleID = GetPlayerVehicleID(playerid);
  2201.             SetVehiclePos(VehicleID,-174.9214,-1858.2277,698.5009);
  2202.             SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
  2203.             GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2204.             format(stringa, sizeof(stringa), "[SERVER] %s Foi Para o Drop ( /stunts )", pname);
  2205.             SendClientMessageToAll(COR_DELETE, stringa);
  2206.             SetPlayerInterior(playerid,0);
  2207.             }else{
  2208.             SetPlayerPos(playerid,-174.9214,-1858.2277,698.5009);
  2209.             GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2210.             format(stringa, sizeof(stringa), "[SERVER] %s Foi Para o Drop ( /stunts )", pname);
  2211.             SendClientMessageToAll(COR_DELETE, stringa);
  2212.             SetPlayerInterior(playerid,0);
  2213.             }
  2214.             }
  2215.             if(listitem == 3) // Drift no deserto
  2216.             {
  2217.             SetPlayerInterior(playerid, 0);
  2218.             SetCameraBehindPlayer(playerid);
  2219.             SetPlayerPos(playerid, -293.8877,1565.9523,75.3594);
  2220.             SetPlayerFacingAngle(playerid, 0);
  2221.             GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2222.             SendClientMessage(playerid, COLOR_RED, "[SERVER] DESÇA A PISTA DE DRIFT");
  2223.             format(stringa, sizeof(stringa), "[SERVER] %s Foi Para o Drift no deserto ( /stunts )", pname);
  2224.             Create3DTextLabel("Vire à direita",COLOR_RED,-432.7356,1444.8005,34.1391,50,0);
  2225.             SendClientMessageToAll(COR_DELETE, stringa);
  2226.             }
  2227.             if(listitem == 4) // Drift no desafio
  2228.             {
  2229.             SetPlayerInterior(playerid, 0);
  2230.             SetCameraBehindPlayer(playerid);
  2231.             SetPlayerPos(playerid, 2644.2627,1473.4487,10.8070);
  2232.             SetPlayerFacingAngle(playerid, 0);
  2233.             GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2234.             SendClientMessage(playerid, COLOR_RED, "[SERVER] Cuidado com os obstáculos");
  2235.             format(stringa, sizeof(stringa), "[SERVER] %s Foi Para Desafio do Drift ( /stunts )", pname);
  2236.             SendClientMessageToAll(COR_DELETE, stringa);
  2237.             }
  2238.             if(listitem == 5) // Motocross
  2239.             {
  2240.             new cross1;
  2241.             new cross2;
  2242.             SetPlayerInterior(playerid,14);
  2243.             GameTextForPlayer(playerid,"~r~Bem-vindo ao MotoCross", 3000, 5);
  2244.             SetPlayerPos(playerid,-1465.268676,1557.868286,1052.531250);
  2245.             cross1 = AddStaticVehicle(468,-1473.3514,1561.9587,1052.7500, 1, 1, 10000);
  2246.             cross2 = AddStaticVehicle(468,-1478.5458,1564.2191,1052.5313, 1, 1, 10000);
  2247.             LinkVehicleToInterior(cross1, 14);
  2248.             LinkVehicleToInterior(cross2, 14);
  2249.             GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2250.             SendClientMessage(playerid, COR_DELETE, "[SERVER] Use '/kill' para sair daqui");
  2251.             format(stringa, sizeof(stringa), "[SERVER] %s Foi Para o MotoCross ( /stunts )", pname);
  2252.             SendClientMessageToAll(COR_DELETE, stringa);
  2253.             }
  2254.             if(listitem == 6) // Stadium
  2255.             {
  2256.             SetPlayerInterior(playerid, 15);
  2257.             SetCameraBehindPlayer(playerid);
  2258.             SetPlayerPos(playerid, -1398.103515,937.631164,1036.479125);
  2259.             SetPlayerFacingAngle(playerid, 0);
  2260.             SendClientMessage(playerid, 0x7F00FFBE, "[SERVER] Bem Vindo ao Stadium");
  2261.             SendClientMessage(playerid, COR_DELETE, "[SERVER] Use '/kill' para sair daqui");
  2262.             format(stringa, sizeof(stringa), "[SERVER] %s Foi Para o Stadium ( /stunts )", pname);
  2263.             SendClientMessageToAll(COR_DELETE, stringa);
  2264.             }
  2265.         }
  2266.         return 1;
  2267.     }
  2268.     if(dialogid == DMs) // DMs
  2269.     {
  2270.         if(response)
  2271.         {
  2272.             if(listitem == 0) // X1
  2273.             {
  2274.             x1dm(playerid);
  2275.             }
  2276.             if(listitem == 1) // Minigun
  2277.             {
  2278.             minigun(playerid);
  2279.             }
  2280.             if(listitem == 2) // Sniper
  2281.             {
  2282.             sniper(playerid);
  2283.             }
  2284.             if(listitem == 3) // Area 69
  2285.             {
  2286.             area69(playerid);
  2287.             }
  2288.             if(listitem == 4) // RPG DM
  2289.             {
  2290.             rpgdm(playerid);
  2291.             }
  2292.         }
  2293.         return 1;
  2294.     }
  2295.     if(dialogid == DialogBoxExxx)
  2296.     {
  2297.         if(response)
  2298.         {
  2299.             if(listitem == 0)
  2300.             {
  2301.             new strdialog[1024];
  2302.             format(strdialog, sizeof(strdialog),"%s","{FF0000}TUTORIAL{FFFFFF}\n\n");
  2303.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "Quando você entra no servidor, seu nick é branco, isso significa que você não tem gang.\n");
  2304.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "Peça gang ou espere receber convite dos players com cores no servidor.\n");
  2305.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "Com sua gang, você pode depositar, sacar e ver o saldo da sua gang no banco.\n");
  2306.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "Todas suas armas, dinheiro e etc serão salvos ao você sair do servidor.\n");
  2307.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "Caso você seja banido sem querer, peça no fórum do server para ser desbanido.\n");
  2308.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "Você pode obter mais ajuda com /ajuda\n");
  2309.             ShowPlayerDialog(playerid, DialogBoxEx, DIALOG_STYLE_MSGBOX, "===== Tutorial do Server =====", strdialog, "OK", "");
  2310.             Leu[playerid] = 1;
  2311.             sLeuTuto(playerid);
  2312.             }
  2313.             if(listitem == 1)
  2314.             {
  2315.             Leu[playerid] = 1;
  2316.             sLeuTuto(playerid);
  2317.             }
  2318.         }
  2319.         return 1;
  2320.     }
  2321.     if(dialogid == AJUDA) // Ajuda do servidor
  2322.     {
  2323.         if(response)
  2324.         {
  2325.             if(listitem == 0) // Objetivo
  2326.             {
  2327.             format(str, sizeof(str), "{FFFFFF}O objetivo desse servidor é primeiramente se divertir.\n Aqui você cria sua gang e se diverte criando gangs inimigas. \nO servidor é equipado por uma equipe de administradores de até 6 níveis.", playerid);
  2328.             ShowPlayerDialog(playerid, DialogBoxEx, DIALOG_STYLE_MSGBOX, "Objetivo do City of Killers", str, "OK", "");
  2329.             }
  2330.             if(listitem == 1) // Gangs
  2331.             {
  2332.             format(str, sizeof(str), "{FFFFFF}As gangs no servidor serve para criar aliados. \nOs players que não possuem cores (os brancos), não possuem gang.\n\nAqui vai alguns comandos simples:\n{AA3333}/gang criar{FFFFFF}: cria sua gang \n{AA3333}/gang sair{FFFFFF}: sai da gang \n{AA3333}/gang convite{FFFFFF}: convida alguém pra gang \n{AA3333}/gang{FFFFFF}: mostra todos os comandos de gang.", playerid);
  2333.             ShowPlayerDialog(playerid, DialogBoxEx, DIALOG_STYLE_MSGBOX, "Ajuda das gangs", str, "OK", "");
  2334.             }
  2335.             if(listitem == 2) // Outros
  2336.             {
  2337.             format(str, sizeof(str), "{FFFFFF}Esse servidor possui um sistema de rádio, de stunt e de pontos. Você mata 1 e ganha 1 ponto, morre 1x e perde 1 ponto.", playerid);
  2338.             ShowPlayerDialog(playerid, DialogBoxEx, DIALOG_STYLE_MSGBOX, "Outras ajudas", str, "OK", "");
  2339.             }
  2340.             if(listitem == 3) // Perguntas frequentes
  2341.             {
  2342.             format(str, sizeof(str), "{FFFFFF}Basta acessar esse link: {AA3333}http://cokbr.forumbrasil.net/faq", playerid);
  2343.             ShowPlayerDialog(playerid, DialogBoxEx, DIALOG_STYLE_MSGBOX, "Perguntas frequentes", str, "OK", "");
  2344.             }
  2345.             if(listitem == 4) // Tutorial
  2346.             {
  2347.             new strdialog[1024];
  2348.             format(strdialog, sizeof(strdialog),"%s","{FF0000}TUTORIAL{FFFFFF}\n\n");
  2349.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "Quando você entra no servidor, seu nick é branco, isso significa que você não tem gang.\n");
  2350.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "Peça gang ou espere receber convite dos players com cores no servidor.\n");
  2351.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "Com sua gang, você pode depositar, sacar e ver o saldo da sua gang no banco.\n");
  2352.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "Todas suas armas, dinheiro e etc serão salvos ao você sair do servidor.\n");
  2353.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "Caso você seja banido sem querer, peça no fórum do server para ser desbanido.\n");
  2354.             format(strdialog, sizeof(strdialog),"%s%s",strdialog, "Você pode obter mais ajuda com /ajuda\n");
  2355.             ShowPlayerDialog(playerid, DialogBoxEx, DIALOG_STYLE_MSGBOX, "===== Tutorial do Server =====", strdialog, "OK", "");
  2356.             }
  2357.         }
  2358.         return 1;
  2359.     }
  2360.     if(dialogid == DIALOGID) // Teleportes
  2361.     {
  2362.         if(response)
  2363.         {
  2364.             if(listitem == 0) // Los Santos
  2365.             {
  2366.                 ShowPlayerDialog(playerid, DIALOGID+1, DIALOG_STYLE_LIST, "Los Santos", "Aeroporto de Los Santos \nPraia de Marina \nGrove Street \nCity Hall \nEstação de Polícia \nBanco \nOcean Docks \nCrazybob's House \nJefferson Motel \nAbove Los Santos {AA3333}(Sem veículo/paraquedas){FFFFFF} \n< {FF0000}Voltar", "Selecionar", "Cancelar");
  2367.             }
  2368.             if(listitem == 1) // San Fierro
  2369.             {
  2370.                 ShowPlayerDialog(playerid, DIALOGID+2, DIALOG_STYLE_LIST, "San Fierro", "Aeroporto de San Fierro \nConcessionária de San Fierro \nBanco \nOcean Flats \nMonte do Missionário \nJizzys Pleasure Dome \nEstação de Polícia  \n< {FF0000}Voltar", "Selecionar", "Cancelar");
  2371.             }
  2372.             if(listitem == 2) // Las Venturas
  2373.             {
  2374.                 ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, "Las Venturas", "Aeroporto de Las Venturas \nCity Hall \nPolice Station \nBanco \nLast Dime Motel \nAbove Las Venturas {AA3333}(Sem veículo/paraquedas){FFFFFF} \n< {FF0000}Voltar", "Selecionar", "Cancelar");
  2375.             }
  2376.             if(listitem == 3) // Estacionamento
  2377.             {
  2378.             if(IsPlayerInAnyVehicle(playerid)) {return SendClientMessage(playerid, 0x00FFFFAA, "[SERVER] Você já tem um veículo.");}
  2379.             SetPlayerPos(playerid,1728.9591,-1063.1030,23.9398);
  2380.             SetPlayerInterior(playerid,0);
  2381.             }
  2382.             if(listitem == 4) // Outros
  2383.             {
  2384.                 ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, "Outros (DM's e Corridas)", "Aeroporto Abandonado \nBayside \nPalominmo Creek \nMontgomery \nBlueberry \nDrylake \nSniper Death Match \nBike Race \nCar Race \nMount Chilliad Cabin \nTopo do Chilliad \nMonte Chilliad \nArea69 \n< {FF0000}Voltar", "Selecionar", "Cancelar");
  2385.             }
  2386.         }
  2387.         return 1;
  2388.     }
  2389.  
  2390.     if(dialogid == DIALOGID+1) // Los Santos
  2391.     {
  2392.         if(response)
  2393.         {
  2394.             if(listitem == 0) // Aeroporto
  2395.             {
  2396.                       if(IsPlayerInAnyVehicle(playerid)) {
  2397.                       new VehicleID;
  2398.                       VehicleID = GetPlayerVehicleID(playerid);
  2399.                       SetVehiclePos(VehicleID,1934.8811,-2305.5283,13.5469);
  2400.                       SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
  2401.                       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2402.                       SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Aeroporto de Los Santos.");
  2403.                       SetPlayerInterior(playerid,0);
  2404.                       }else{
  2405.                       SetPlayerPos(playerid,1934.8811,-2305.5283,13.5469);
  2406.                       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2407.                       SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Aeroporto de Los Santos.");
  2408.                       SetPlayerInterior(playerid,0);
  2409.                       }
  2410.  
  2411.             }
  2412.             if(listitem == 1) //Santa Marina
  2413.             {
  2414.                       if(IsPlayerInAnyVehicle(playerid)) {
  2415.                       new VehicleID;
  2416.                       VehicleID = GetPlayerVehicleID(playerid);
  2417.                       SetVehiclePos(VehicleID,433.1179,-1796.5649,5.5469);
  2418.                       SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
  2419.                       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2420.                       SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Praia de Marina.");
  2421.                       }else{
  2422.                       SetPlayerPos(playerid,433.1179,-1796.5649,5.5469);
  2423.                       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2424.                       SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Praia de Marina.");
  2425.                       SetPlayerInterior(playerid,0);
  2426.                       }
  2427.             }
  2428.             if(listitem == 2) // Grove Street
  2429.             {
  2430.                       if(IsPlayerInAnyVehicle(playerid)) {
  2431.                       new VehicleID;
  2432.                       VehicleID = GetPlayerVehicleID(playerid);
  2433.                       SetVehiclePos(VehicleID,2493.2285,-1684.6071,13.5099);
  2434.                       SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
  2435.                       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2436.                       SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Grove Street.");
  2437.                       }else{
  2438.                       SetPlayerPos(playerid,2493.2285,-1684.6071,13.5099);
  2439.                       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2440.                       SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Grove Street.");
  2441.                       SetPlayerInterior(playerid,0);
  2442.                       }
  2443.             }
  2444.             if(listitem == 3) // City Hall
  2445.             {
  2446.                       if(IsPlayerInAnyVehicle(playerid)) {
  2447.                       new VehicleID;
  2448.                       VehicleID = GetPlayerVehicleID(playerid);
  2449.                       SetVehiclePos(VehicleID,1461.0043,-1019.4626,24.6975);
  2450.                       SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
  2451.                       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2452.                       SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Los Santos City Hall.");
  2453.                       }else{
  2454.                       SetPlayerPos(playerid,1461.0043,-1019.4626,24.6975);
  2455.                       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2456.                       SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Los Santos City Hall.");
  2457.                       SetPlayerInterior(playerid,0);
  2458.                       }
  2459.             }
  2460.             if(listitem == 4) // Police Station
  2461.             {
  2462.                       if(IsPlayerInAnyVehicle(playerid)) {
  2463.                       new VehicleID;
  2464.                       VehicleID = GetPlayerVehicleID(playerid);
  2465.                       SetVehiclePos(VehicleID,1544.8700,-1675.8081,13.5593);
  2466.                       SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
  2467.                       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2468.                       SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Departamento de polícia de Los Santos.");
  2469.                       }else{
  2470.                       SetPlayerPos(playerid,1544.8700,-1675.8081,13.5593);
  2471.                       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2472.                       SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Departamento de polícia de Los Santos.");
  2473.                       SetPlayerInterior(playerid,0);
  2474.                       }
  2475.             }
  2476.             if(listitem == 5) // Bank
  2477.             {
  2478.                       if(IsPlayerInAnyVehicle(playerid)) {
  2479.                       new VehicleID;
  2480.                       VehicleID = GetPlayerVehicleID(playerid);
  2481.                       SetVehiclePos(VehicleID,595.1895,-1243.1205,18.0844);
  2482.                       SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
  2483.                       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2484.                       SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Banco de Los Santos.");
  2485.                       }else{
  2486.                       SetPlayerPos(playerid,595.1895,-1243.1205,18.0844);
  2487.                       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2488.                       SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Banco de Los Santos.");
  2489.                       SetPlayerInterior(playerid,0);
  2490.                       }
  2491.             }
  2492.             if(listitem == 6) // Ocean Docks
  2493.             {
  2494.                       if(IsPlayerInAnyVehicle(playerid)) {
  2495.                       new VehicleID;
  2496.                       VehicleID = GetPlayerVehicleID(playerid);
  2497.                       SetVehiclePos(VehicleID,2791.1782,-2534.6309,13.6303);
  2498.                       SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
  2499.                       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2500.                       SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Ocean Docks.");
  2501.                       }else{
  2502.                       SetPlayerPos(playerid,2791.1782,-2534.6309,13.6303);
  2503.                       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2504.                       SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Ocean Docks.");
  2505.                       SetPlayerInterior(playerid,0);
  2506.                       }
  2507.             }
  2508.             if(listitem == 7) // Crazybob's House
  2509.             {
  2510.                       if(IsPlayerInAnyVehicle(playerid)) {
  2511.                       new VehicleID;
  2512.                       VehicleID = GetPlayerVehicleID(playerid);
  2513.                       SetVehiclePos(VehicleID,2791.1782,-2534.6309,13.6303);
  2514.                       SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
  2515.                       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2516.                       SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Crazybob's House.");
  2517.                       }else{
  2518.                       SetPlayerPos(playerid,2791.1782,-2534.6309,13.6303);
  2519.                       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2520.                       SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Crazybob's House.");
  2521.                       SetPlayerInterior(playerid,0);
  2522.                       }
  2523.             }
  2524.             if(listitem == 8) // Jefferson Motel
  2525.             {
  2526.                       if(IsPlayerInAnyVehicle(playerid)) {
  2527.                       new VehicleID;
  2528.                       VehicleID = GetPlayerVehicleID(playerid);
  2529.                       SetVehiclePos(VehicleID,2229.0200,-1159.8000,25.7981);
  2530.                       SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
  2531.                       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2532.                       SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Jefferson Motel.");
  2533.                       }else{
  2534.                       SetPlayerPos(playerid,2229.0200,-1159.8000,25.7981);
  2535.                       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2536.                       SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Jefferson Motel.");
  2537.                       SetPlayerInterior(playerid,0);
  2538.                       }
  2539.             }
  2540.             if(listitem == 9) // Above Los Santos
  2541.             {
  2542.                 SetPlayerPos(playerid, 1744.1571,-1426.3916,1513.2897);
  2543.                 SetPlayerFacingAngle(playerid, 0);
  2544.                 SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Above Los Santos.");
  2545.                 GivePlayerWeapon(playerid, 46, 1);
  2546.                 SendClientMessage(playerid, 0x00FFFFAA, "Você ganhou um paraquedas.");
  2547.                 OnSkyDiving[playerid]=1;
  2548.             }
  2549.             if(listitem == 10) // Voltar
  2550.             {
  2551.                 ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Categorias do teleporte", "Los Santos\nSan Fierro\nLas Venturas\nOutros", "Selecionar", "Cancelar");
  2552.             }
  2553.         }
  2554.         return 1;
  2555.     }
  2556.  
  2557.     if(dialogid == DIALOGID+2) // San Fierro
  2558.     {
  2559.         if(response)
  2560.         {
  2561.             if(listitem == 0) // Aeroporto
  2562.             {
  2563.                       if(IsPlayerInAnyVehicle(playerid)) {
  2564.                       new VehicleID;
  2565.                       VehicleID = GetPlayerVehicleID(playerid);
  2566.                       SetVehiclePos(VehicleID,-1315.9419,-223.8595,14.1484);
  2567.                       SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
  2568.                       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2569.                       SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Aeroporto de San Fierro.");
  2570.                       }else{
  2571.                       SetPlayerPos(playerid,-1315.9419,-223.8595,14.1484);
  2572.                       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2573.                       SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Aeroporto de San Fierro.");
  2574.                       SetPlayerInterior(playerid,0);
  2575.                       }
  2576.             }
  2577.             if(listitem == 1) // City Hall
  2578.             {
  2579.                       if(IsPlayerInAnyVehicle(playerid)) {
  2580.                       new VehicleID;
  2581.                       VehicleID = GetPlayerVehicleID(playerid);
  2582.                       SetVehiclePos(VehicleID,-1917.0334,297.4962,41.0469);
  2583.                       SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
  2584.                       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2585.                       SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Concessionária de San Fierro.");
  2586.                       }else{
  2587.                       SetPlayerPos(playerid,-1917.0334,297.4962,41.0469);
  2588.                       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2589.                       SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Concessionária de San Fierro.");
  2590.                       SetPlayerInterior(playerid,0);
  2591.                       }
  2592.  
  2593.             }
  2594.             if(listitem == 2) // Bank
  2595.             {
  2596.                       if(IsPlayerInAnyVehicle(playerid)) {
  2597.                       new VehicleID;
  2598.                       VehicleID = GetPlayerVehicleID(playerid);
  2599.                       SetVehiclePos(VehicleID,-2050.6089,459.3649,35.1719);
  2600.                       SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
  2601.                       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2602.                       SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Banco de San Fierro.");
  2603.                       }else{
  2604.                       SetPlayerPos(playerid,-2050.6089,459.3649,35.1719);
  2605.                       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2606.                       SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Banco de San Fierro.");
  2607.                       SetPlayerInterior(playerid,0);
  2608.                       }
  2609.             }
  2610.             if(listitem == 3) // Ocen Flats
  2611.             {
  2612.                       if(IsPlayerInAnyVehicle(playerid)) {
  2613.                       new VehicleID;
  2614.                       VehicleID = GetPlayerVehicleID(playerid);
  2615.                       SetVehiclePos(VehicleID,-2670.1101,-4.9832,6.1328);
  2616.                       SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
  2617.                       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2618.                       SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para San Fierro Ocean Flats.");
  2619.                       }else{
  2620.                       SetPlayerPos(playerid,-2670.1101,-4.9832,6.1328);
  2621.                       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2622.                       SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para San Fierro Ocean Flats.");
  2623.                       SetPlayerInterior(playerid,0);
  2624.                       }
  2625.             }
  2626.             if(listitem == 4) // Missionary Hill
  2627.             {
  2628.                       if(IsPlayerInAnyVehicle(playerid)) {
  2629.                       new VehicleID;
  2630.                       VehicleID = GetPlayerVehicleID(playerid);
  2631.                       SetVehiclePos(VehicleID,-2515.6768,-611.6651,132.5625);
  2632.                       SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
  2633.                       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2634.                       SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Monte do Missionário.");
  2635.                       }else{
  2636.                       SetPlayerPos(playerid,-2515.6768,-611.6651,132.5625);
  2637.                       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2638.                       SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Monte do Missionário.");
  2639.                       SetPlayerInterior(playerid,0);
  2640.                       }
  2641.             }
  2642.             if(listitem == 5) // Jizzy's Pleasure Dome
  2643.             {
  2644.                       if(IsPlayerInAnyVehicle(playerid)) {
  2645.                       new VehicleID;
  2646.                       VehicleID = GetPlayerVehicleID(playerid);
  2647.                       SetVehiclePos(VehicleID,-2621.0244,1403.7534,7.0938);
  2648.                       SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
  2649.                       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2650.                       SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Jizzy's Pleasure Dome.");
  2651.                       }else{
  2652.                       SetPlayerPos(playerid,-2621.0244,1403.7534,7.0938);
  2653.                       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2654.                       SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Jizzy's Pleasure Dome.");
  2655.                       SetPlayerInterior(playerid,0);
  2656.                       }
  2657.             }
  2658.             if(listitem == 6) // Police Station
  2659.             {
  2660.                       if(IsPlayerInAnyVehicle(playerid)) {
  2661.                       new VehicleID;
  2662.                       VehicleID = GetPlayerVehicleID(playerid);
  2663.                       SetVehiclePos(VehicleID,-1608.1376,718.9722,12.4356);
  2664.                       SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
  2665.                       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2666.                       SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Estação de Polícia de San Fierro.");
  2667.                       }else{
  2668.                       SetPlayerPos(playerid,-1608.1376,718.9722,12.4356);
  2669.                       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2670.                       SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Estação de Polícia de San Fierro.");
  2671.                       SetPlayerInterior(playerid,0);
  2672.                       }
  2673.             }
  2674.             if(listitem == 7) // Voltar
  2675.             {
  2676.                 ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Categorias do Teleporte", "Los Santos\nSan Fierro\nLas Venturas\nOutros", "Selelecionar", "Cancelar");
  2677.             }
  2678.         }
  2679.         return 1;
  2680.     }
  2681.  
  2682.     if(dialogid == DIALOGID+3) // Las Venturas
  2683.     {
  2684.         if(response)
  2685.         {
  2686.             if(listitem == 0) // Aeroporto
  2687.             {
  2688.                       if(IsPlayerInAnyVehicle(playerid)) {
  2689.                       new VehicleID;
  2690.                       VehicleID = GetPlayerVehicleID(playerid);
  2691.                       SetVehiclePos(VehicleID,1487.9703,1736.9537,10.8125);
  2692.                       SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
  2693.                       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2694.                       SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Aeroporto de Las Venturas.");
  2695.                       }else{
  2696.                       SetPlayerPos(playerid,1487.9703,1736.9537,10.8125);
  2697.                       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2698.                       SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Aeroporto de Las Venturas.");
  2699.                       SetPlayerInterior(playerid,0);
  2700.                       }
  2701.             }
  2702.             if(listitem == 1) // City Hall
  2703.             {
  2704.                       if(IsPlayerInAnyVehicle(playerid)) {
  2705.                       new VehicleID;
  2706.                       VehicleID = GetPlayerVehicleID(playerid);
  2707.                       SetVehiclePos(VehicleID,2421.7185,1121.9866,10.8125);
  2708.                       SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
  2709.                       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2710.                       SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Las Venturas City Hall.");
  2711.                       }else{
  2712.                       SetPlayerPos(playerid,2421.7185,1121.9866,10.8125);
  2713.                       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2714.                       SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Las Venturas City Hall.");
  2715.                       SetPlayerInterior(playerid,0);
  2716.                       }
  2717.             }
  2718.             if(listitem == 2) // Police Station
  2719.             {
  2720.                       if(IsPlayerInAnyVehicle(playerid)) {
  2721.                       new VehicleID;
  2722.                       VehicleID = GetPlayerVehicleID(playerid);
  2723.                       SetVehiclePos(VehicleID,2287.2561,2426.2576,10.8203);
  2724.                       SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
  2725.                       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2726.                       SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Estação de Polícia de Las Venturas.");
  2727.                       }else{
  2728.                       SetPlayerPos(playerid,2287.2561,2426.2576,10.8203);
  2729.                       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2730.                       SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Estação de Polícia de Las Venturas.");
  2731.                       SetPlayerInterior(playerid,0);
  2732.                       }
  2733.             }
  2734.             if(listitem == 3) // Bank
  2735.             {
  2736.                       if(IsPlayerInAnyVehicle(playerid)) {
  2737.                       new VehicleID;
  2738.                       VehicleID = GetPlayerVehicleID(playerid);
  2739.                       SetVehiclePos(VehicleID,2463.6680,2240.7524,10.8203);
  2740.                       SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
  2741.                       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2742.                       SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Banco de Las Venturas.");
  2743.                       }else{
  2744.                       SetPlayerPos(playerid,2463.6680,2240.7524,10.8203);
  2745.                       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2746.                       SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Banco de Las Venturas.");
  2747.                       SetPlayerInterior(playerid,0);
  2748.                       }
  2749.             }
  2750.             if(listitem == 4) // Last Dime Motel
  2751.             {
  2752.                       if(IsPlayerInAnyVehicle(playerid)) {
  2753.                       new VehicleID;
  2754.                       VehicleID = GetPlayerVehicleID(playerid);
  2755.                       SetVehiclePos(VehicleID,1929.0522,707.8507,10.8203);
  2756.                       SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
  2757.                       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2758.                       SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Last Dime Motel.");
  2759.                       }else{
  2760.                       SetPlayerPos(playerid,1929.0522,707.8507,10.8203);
  2761.                       GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  2762.                       SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Last Dime Motel.");
  2763.                       SetPlayerInterior(playerid,0);
  2764.                       }
  2765.             }
  2766.             if(listitem == 5) // Above Las Venturas
  2767.             {
  2768.                 SetPlayerPos(playerid, 2201.6697,1997.7933,1500.1992);
  2769.                 SetPlayerFacingAngle(playerid, 0);
  2770.                 SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Above Las Venturas.");
  2771.                 GivePlayerWeapon(playerid, 46, 1);
  2772.                 SendClientMessage(playerid, 0x00FFFFAA, "Você ganhou um paraquedas.");
  2773.                 OnSkyDiving[playerid]=1;
  2774.             }
  2775.             if(listitem == 6) // Voltar
  2776.             {
  2777.                 ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Categorias do Teleporte", "Los Santos\nSan Fierro\nLas Venturas\nOutros", "Selecionar", "Cancelar");
  2778.             }
  2779.         }
  2780.         return 1;
  2781.     }
  2782.  
  2783.     if(dialogid == DIALOGID+4) // Outros
  2784.     {
  2785.         if(response)
  2786.         {
  2787.             if(listitem == 0) // Verdant Meadows
  2788.             {
  2789.                 SetPlayerInterior(playerid, 0);
  2790.                 SetPlayerPos(playerid, 414.9159,2532.9700,19.1484);
  2791.                 SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Verdant Meadows.");
  2792.             }
  2793.             if(listitem == 1) // Bayside
  2794.             {
  2795.                 SetPlayerPos(playerid, -2271.0764, 2317.8457, 4.8202);
  2796.                 SetPlayerFacingAngle(playerid, 180);
  2797.                 SendClientMessage(playerid, 0x00FFFFAA, "Aye there fisherman, your at Bayside.");
  2798.             }
  2799.             if(listitem == 2) // Palomino Creek
  2800.             {
  2801.                 SetPlayerPos(playerid, 2259.5532, -85.0334, 26.5107);
  2802.                 SetPlayerFacingAngle(playerid, 180);
  2803.                 SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Palomino Creek.");
  2804.             }
  2805.             if(listitem == 3) // Montgomery
  2806.             {
  2807.                 SetPlayerInterior(playerid, 0);
  2808.                 SetPlayerPos(playerid, 1377.4314,271.4077,19.5669);
  2809.                 SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Montgomery.");
  2810.             }
  2811.             if(listitem == 4) // Blueberry
  2812.             {
  2813.                 SetPlayerInterior(playerid, 0);
  2814.                 SetPlayerPos(playerid, 183.9907,-108.5440,2.0234);
  2815.                 SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Blueberry.");
  2816.             }
  2817.             if(listitem == 5) // Drylake
  2818.             {
  2819.                 SetPlayerPos(playerid, -12.7000, 1481.7000, 14.00);
  2820.                 GameTextForPlayer(playerid,"~W~Welcome to ~B~Dry lake~W~!", 1000, 0);
  2821.                 SetPlayerInterior(playerid,0);
  2822.             }
  2823.             if(listitem == 6) // Sniper Death Match
  2824.             {
  2825.             sniper(playerid);
  2826.             }
  2827.             if(listitem == 7) // Bike Race
  2828.             {
  2829.                 if(iSpawnedCar[playerid] != -1) DestroyVehicle(iSpawnedCar[playerid]);
  2830.                 SetPlayerInterior(playerid,4);
  2831.                 SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Bike Race. Use /exit to exit.");
  2832.                 iSpawnedCar[playerid] = CreateVehicle(468,-1424.93,-664.58,1059.85, 180.0, -1, -1, -1);
  2833.                 LinkVehicleToInterior(iSpawnedCar[playerid], 4);
  2834.                 PutPlayerInVehicle(playerid,iSpawnedCar[playerid], 0);
  2835.             }
  2836.             if(listitem == 8) // Car Race
  2837.             {
  2838.                 if(iSpawnedCar[playerid] != -1) DestroyVehicle(iSpawnedCar[playerid]);
  2839.                 SetPlayerInterior(playerid,7);
  2840.                 SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Car Race. Use /exit to exit.");
  2841.                 iSpawnedCar[playerid] = CreateVehicle(415,-1394.54,-243.56,1043.20, 180.0, -1, -1, -1);
  2842.                 LinkVehicleToInterior(iSpawnedCar[playerid],7);
  2843.                 PutPlayerInVehicle(playerid,iSpawnedCar[playerid], 0);
  2844.             }
  2845.             if(listitem == 9) // Mount Chilliad Cabin
  2846.             {
  2847.                 SetPlayerPos(playerid, -2809.0000, -1516.5000, 142.0000);
  2848.                 SetPlayerFacingAngle(playerid, 270);
  2849.                 SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para the cabin at Mount Chilliad.");
  2850.                 GameTextForPlayer(playerid,"~W~Welcome to~N~~R~~H~Mount Chilliad Cabin~W~!",1000,0);
  2851.             }
  2852.             if(listitem == 10) // Top of Mount Chilliad
  2853.             {
  2854.                 SetPlayerPos(playerid, -2238.0000, -1712.2700, 482.0000);
  2855.                 SetPlayerFacingAngle(playerid, 90);
  2856.                 SendClientMessage(playerid, 0x00FFFFAA, "You've been teleported on top of Mount Chilliad.");
  2857.                 GameTextForPlayer(playerid,"~W~Welcome to~N~~R~~H~Top of Mount Chilliad~W~!",1000,0);
  2858.             }
  2859.             if(listitem == 11) // Mount Chilliad
  2860.             {
  2861.                 SetPlayerPos(playerid, -2409.5000, -2190.0000, 35.0000);
  2862.                 SetPlayerFacingAngle(playerid, 270);
  2863.                 SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Mount Chilliad. Type /mccabin or /mctop for more places.");
  2864.                 GameTextForPlayer(playerid,"~W~Welcome to~N~~R~Mount Chilliad~W~!",1000,0);
  2865.             }
  2866.             if(listitem == 12) // Area69
  2867.             {
  2868.             area69(playerid);
  2869.             }
  2870.             if(listitem == 13) // Voltar
  2871.             {
  2872.                 ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Categorias do Teleporte", "Los Santos\nSan Fierro\nLas Venturas\nOutros", "Selecionar", "Cancelar");
  2873.             }
  2874.         }
  2875.         return 1;
  2876.         }
  2877.     if(dialogid == 1245){
  2878.     if(response){
  2879.         if(listitem == 0){
  2880.         {
  2881.         StopAudioStreamForPlayer(playerid);
  2882.         PlayAudioStreamForPlayer(playerid,"http://yp.shoutcast.com/sbin/tunein-station.pls?id=377999");//Radio Hunter
  2883.         TextDrawHideForPlayer(playerid, cokfundo);
  2884.         SendClientMessage(playerid, 0x33CCFFAA, "[SERVER] {FF0000}Radio Hunter {FFFFFF}Ligada!");
  2885.         SendClientMessage(playerid, 0x33CCFFAA, "{FFFFFF} Acesse: www.radiohunter.com.br");
  2886.         }
  2887.         }
  2888.         if(listitem == 1){
  2889.         {
  2890.         StopAudioStreamForPlayer(playerid);
  2891.         PlayAudioStreamForPlayer(playerid,"http://radiosupermix.com.br:7585/listen.pls");// SUPER MIX
  2892.         TextDrawHideForPlayer(playerid, cokfundo);
  2893.         SendClientMessage(playerid, 0x33CCFFAA, "[SERVER] {FF0000}Radio Super Mix {FFFFFF}Ligada!");
  2894.         SendClientMessage(playerid, 0x33CCFFAA, "{FFFFFF} Acesse: www.supermixfm.net");
  2895.         }
  2896.         }
  2897.         if(listitem == 2){
  2898.         {
  2899.         StopAudioStreamForPlayer(playerid);
  2900.         PlayAudioStreamForPlayer(playerid,"http://96.9.138.101/player/13786/winamp.pls");//Radio RockFreeday
  2901.         TextDrawHideForPlayer(playerid, cokfundo);
  2902.         SendClientMessage(playerid, 0x33CCFFAA, "[SERVER] {FF0000}Radio RockFreeDay {FFFFFF}Ligada!");
  2903.         SendClientMessage(playerid, 0x33CCFFAA, "{FFFFFF} Acesse: www.rockfreeday.com.br");
  2904.         }
  2905.         }
  2906.         if(listitem == 3){
  2907.         {
  2908.         StopAudioStreamForPlayer(playerid);
  2909.         PlayAudioStreamForPlayer(playerid,"http://pagodefm.com/play/playlist.pls");//Radio Pagode FM
  2910.         TextDrawHideForPlayer(playerid, cokfundo);
  2911.         SendClientMessage(playerid, 0x33CCFFAA, "[SERVER] {FF0000}Radio Pagode FM {FFFFFF}Ligada!");
  2912.         SendClientMessage(playerid, 0x33CCFFAA, "{FFFFFF} Acesse: www.pagodefm.com");
  2913.         }
  2914.         }
  2915.         if(listitem == 4){
  2916.         {
  2917.         StopAudioStreamForPlayer(playerid);
  2918.         PlayAudioStreamForPlayer(playerid,"http://streaming15.brlogic.com:8084/live");//Radio Electro Vibe
  2919.         TextDrawHideForPlayer(playerid, cokfundo);
  2920.         SendClientMessage(playerid, 0x33CCFFAA, "[SERVER] {FF0000}Radio Electro Vibe {FFFFFF}Ligada!");
  2921.         SendClientMessage(playerid, 0x33CCFFAA, "{FFFFFF} Acesse: www.radioelectrovibe.com.br");
  2922.         }
  2923.         }
  2924.         if(listitem == 5){
  2925.         {
  2926.         StopAudioStreamForPlayer(playerid);
  2927.         PlayAudioStreamForPlayer(playerid,"http://pagodefm.com/play/sertanejo/playlist.pls");//Radio Sertanejo FM
  2928.         TextDrawHideForPlayer(playerid, cokfundo);
  2929.         SendClientMessage(playerid, 0x33CCFFAA, "[SERVER] {FF0000}Radio Setanejo FM {FFFFFF}Ligada!");
  2930.         SendClientMessage(playerid, 0x33CCFFAA, "{FFFFFF} Acesse: www.pagodefm.com");
  2931.         }
  2932.         }
  2933.         if(listitem == 6){
  2934.         {
  2935.         StopAudioStreamForPlayer(playerid);
  2936.         PlayAudioStreamForPlayer(playerid,"http://streaming18.brlogic.com:8204/live");//Relax
  2937.         TextDrawHideForPlayer(playerid, cokfundo);
  2938.         SendClientMessage(playerid, 0x33CCFFAA, "[SERVER] {FF0000}Radio Relax {FFFFFF}Ligada!");
  2939.         }
  2940.         }
  2941.         if(listitem == 7){
  2942.         {
  2943.         StopAudioStreamForPlayer(playerid);
  2944.         SendClientMessage(playerid, 0x33CCFFAA, "[SERVER] {BCBCBC}Você Desligou a Radio!");
  2945.         TextDrawShowForPlayer(playerid, cokfundo);
  2946.         }
  2947.         }
  2948.     }
  2949.     else{
  2950.     }
  2951.     return 1;
  2952.     }
  2953.       if(dialogid == 755)
  2954.       {
  2955.         ReceiverID[playerid] = strval(inputtext);
  2956.         ShowPlayerDialog(playerid,756,DIALOG_STYLE_INPUT,"==== Celular ====","Digite a mensagem:","Enviar","Cancelar");
  2957.         SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USECELLPHONE);
  2958.         return 1;
  2959.      }
  2960.       if(dialogid == 756)
  2961.       {
  2962.         if(response == 1)
  2963.         {
  2964.         if(reply[playerid] == 0)
  2965.         {
  2966.         PMfrom[ReceiverID[playerid]] = playerid;
  2967.         GetPlayerName(playerid, pname, sizeof(pname));
  2968.         SendClientMessage(playerid, 0xFF66FFAA, "[SERVER] Mensagem enviada com sucesso.");
  2969.         SetPlayerSpecialAction(playerid,SPECIAL_ACTION_STOPUSECELLPHONE);
  2970.         format(string, 120, "[SERVER] Mensagem de %s : %s", pname,inputtext);
  2971.         SendClientMessage(ReceiverID[playerid], 0xE6E6E6E6, string);
  2972.         GameTextForPlayer(ReceiverID[playerid],"~w~~n~~n~~n~~n~~n~~n~~n~~Voce recebeu mensagem",2000,3);
  2973.         PlayerPlaySound(ReceiverID[playerid], 1052, 0.0, 0.0, 0.0);
  2974.         PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
  2975.         }
  2976.         else if(reply[playerid] == 1)
  2977.         {
  2978.         PMfrom[ReceiverID[playerid]] = playerid;
  2979.         GetPlayerName(playerid, pname, sizeof(pname));
  2980.         SendClientMessage(playerid, 0xFF66FFAA, "[SERVER] Mensagem Respondida Com sucesso.");
  2981.         SetPlayerSpecialAction(playerid,SPECIAL_ACTION_STOPUSECELLPHONE);
  2982.         format(string, 120, "[SERVER] Mensagem de: %s : %s", pname,inputtext);
  2983.         SendClientMessage(PMfrom[playerid], 0xE6E6E6E6, string);
  2984.         GameTextForPlayer(PMfrom[playerid],"~w~~n~~n~~n~~n~~n~~n~~n~~Voce recebeu mensagem",2000,3);
  2985.         reply[playerid] = 0;
  2986.         PlayerPlaySound(PMfrom[playerid], 1052, 0.0, 0.0, 0.0);
  2987.         PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
  2988.         }
  2989.         }
  2990.         return 1;
  2991.         }
  2992.       if(dialogid == 757)
  2993.       {
  2994.         if(response == 1)
  2995.         {
  2996.         ShowPlayerDialog(playerid,756,DIALOG_STYLE_INPUT,"==== Celular ====","Digite a mensagem:","Enviar","Cancelar");
  2997.         return reply[playerid] = 1;
  2998.         }
  2999.         return 1;
  3000.       }
  3001.     if(dialogid==IDMENU) {
  3002.         if(response) {
  3003.             if(listitem==0) {
  3004.                 if(GetPlayerMoney(playerid)<VPISTOL) return SendClientMessage(playerid,vermelho,SDinheiro);
  3005.                 else {ShowPlayerDialog(playerid,PISTOL,DIALOG_STYLE_INPUT,"Balas para sua Pistola",MSGComprar,Btn1,Btn2);}
  3006.                 return 1;}
  3007.             if(listitem==1) {
  3008.                 if(GetPlayerMoney(playerid)<VDESERT) return SendClientMessage(playerid,vermelho,SDinheiro);
  3009.                 else {ShowPlayerDialog(playerid,DESERT,DIALOG_STYLE_INPUT,"Balas para sua Desert",MSGComprar,Btn1,Btn2);}
  3010.                 return 1;}
  3011.             if(listitem==2) {
  3012.                 if(GetPlayerMoney(playerid)<VSAWN) return SendClientMessage(playerid,vermelho,SDinheiro);
  3013.                 else {ShowPlayerDialog(playerid,SAWN,DIALOG_STYLE_INPUT,"Balas para sua Sawn-Off",MSGComprar,Btn1,Btn2);}
  3014.                 return 1;}
  3015.             if(listitem==3) {
  3016.                 if(GetPlayerMoney(playerid)<VTEC) return SendClientMessage(playerid,vermelho,SDinheiro);
  3017.                 else {ShowPlayerDialog(playerid,SAWN,DIALOG_STYLE_INPUT,"Balas para sua Sawnoff Shotgun",MSGComprar,Btn1,Btn2);}
  3018.                 return 1;}
  3019.             if(listitem==4) {
  3020.                 if(GetPlayerMoney(playerid)<VCOMBAT) return SendClientMessage(playerid,vermelho,SDinheiro);
  3021.                 else {ShowPlayerDialog(playerid,COMBAT,DIALOG_STYLE_INPUT,"Balas para sua Combat",MSGComprar,Btn1,Btn2);}
  3022.                 return 1;}
  3023.             if(listitem==5) {
  3024.                 if(GetPlayerMoney(playerid)<VMicroSMG) return SendClientMessage(playerid,vermelho,SDinheiro);
  3025.                 else {ShowPlayerDialog(playerid,MicroSMG,DIALOG_STYLE_INPUT,"Balas para sua Micro SMG",MSGComprar,Btn1,Btn2);}
  3026.                 return 1;}
  3027.             if(listitem==6) {
  3028.                 if(GetPlayerMoney(playerid)<VSMG) return SendClientMessage(playerid,vermelho,SDinheiro);
  3029.                 else {ShowPlayerDialog(playerid,SMG,DIALOG_STYLE_INPUT,"Balas para sua SMG",MSGComprar,Btn1,Btn2);}
  3030.                 return 1;}
  3031.             if(listitem==7) {
  3032.                 if(GetPlayerMoney(playerid)<VAK) return SendClientMessage(playerid,vermelho,SDinheiro);
  3033.                 else {ShowPlayerDialog(playerid,AK,DIALOG_STYLE_INPUT,"Balas para sua Ak-47",MSGComprar,Btn1,Btn2);}
  3034.                 return 1;}
  3035.             if(listitem==8) {
  3036.                 if(GetPlayerMoney(playerid)<VCOLT) return SendClientMessage(playerid,vermelho,SDinheiro);
  3037.                 else {ShowPlayerDialog(playerid,COLT,DIALOG_STYLE_INPUT,"Balas para sua Colt M4A1",MSGComprar,Btn1,Btn2);}
  3038.                 return 1;}
  3039.             if(listitem==9) {
  3040.                 if(GetPlayerMoney(playerid)<VSNIPER) return SendClientMessage(playerid,vermelho,SDinheiro);
  3041.                 else {ShowPlayerDialog(playerid,SNIPER,DIALOG_STYLE_INPUT,"Balas para sua Sniper",MSGComprar,Btn1,Btn2);}
  3042.                 return 1;}
  3043.             if(listitem==10) {
  3044.                 if(GetPlayerMoney(playerid)<VEXTIN) return SendClientMessage(playerid,vermelho,SDinheiro);
  3045.                 else {ShowPlayerDialog(playerid,EXTIN,DIALOG_STYLE_INPUT,"Balas para sua Sniper",MSGComprar,Btn1,Btn2);}
  3046.                 return 1;}}
  3047.         return 1;
  3048. }
  3049.     if(dialogid==SAWN) {
  3050.         if(response) {
  3051.             new BalasP=strval(inputtext)*PSAWN+VSAWN;
  3052.             if(GetPlayerMoney(playerid)<BalasP) return SendClientMessage(playerid,vermelho,SBDinheiro);
  3053.             else {GivePlayerMoney(playerid,-(BalasP));GivePlayerWeapon(playerid,26,strval(inputtext));SendClientMessage(playerid,amarelo,MSGSucesso);}}
  3054.         return 1;
  3055. }
  3056.     if(dialogid==TEC) {
  3057.         if(response) {
  3058.             new BalasP=strval(inputtext)*PTEC+VTEC;
  3059.             if(GetPlayerMoney(playerid)<BalasP) return SendClientMessage(playerid,vermelho,SBDinheiro);
  3060.             else {GivePlayerMoney(playerid,-(BalasP));GivePlayerWeapon(playerid,32,strval(inputtext));SendClientMessage(playerid,amarelo,MSGSucesso);}}
  3061.         return 1;
  3062. }
  3063.     if(dialogid==PISTOL) {
  3064.         if(response) {
  3065.             new BalasP=strval(inputtext)*PPISTOL+VPISTOL;
  3066.             if(GetPlayerMoney(playerid)<BalasP) return SendClientMessage(playerid,vermelho,SBDinheiro);
  3067.             else {GivePlayerMoney(playerid,-(BalasP));GivePlayerWeapon(playerid,22,strval(inputtext));SendClientMessage(playerid,amarelo,MSGSucesso);}}
  3068.         return 1;
  3069. }
  3070.     if(dialogid==DESERT) {
  3071.         if(response) {
  3072.             new BalasP=strval(inputtext)*PDESERT+VDESERT;
  3073.             if(GetPlayerMoney(playerid)<BalasP) return SendClientMessage(playerid,vermelho,SBDinheiro);
  3074.             else {GivePlayerMoney(playerid,-(BalasP));GivePlayerWeapon(playerid,23,strval(inputtext));SendClientMessage(playerid,amarelo,MSGSucesso);}}
  3075.         return 1;
  3076. }
  3077.     if(dialogid==COMBAT) {
  3078.         if(response) {
  3079.             new BalasP=strval(inputtext)*PCOMBAT+VCOMBAT;
  3080.             if(GetPlayerMoney(playerid)<BalasP) return SendClientMessage(playerid,vermelho,SBDinheiro);
  3081.             else {GivePlayerMoney(playerid,-(BalasP));GivePlayerWeapon(playerid,27,strval(inputtext));SendClientMessage(playerid,amarelo,MSGSucesso);}}
  3082.         return 1;
  3083. }
  3084.     if(dialogid==MicroSMG) {
  3085.         if(response) {
  3086.             new BalasP=strval(inputtext)*PMicroSMG+VMicroSMG;
  3087.             if(GetPlayerMoney(playerid)<BalasP) return SendClientMessage(playerid,vermelho,SBDinheiro);
  3088.             else {GivePlayerMoney(playerid,-(BalasP));GivePlayerWeapon(playerid,28,strval(inputtext));SendClientMessage(playerid,amarelo,MSGSucesso);}}
  3089.         return 1;
  3090. }
  3091.     if(dialogid==SMG) {
  3092.         if(response) {
  3093.             new BalasP=strval(inputtext)*PSMG+VSMG;
  3094.             if(GetPlayerMoney(playerid)<BalasP) return SendClientMessage(playerid,vermelho,SBDinheiro);
  3095.             else {GivePlayerMoney(playerid,-(BalasP));GivePlayerWeapon(playerid,29,strval(inputtext));SendClientMessage(playerid,amarelo,MSGSucesso);}}
  3096.         return 1;
  3097. }
  3098.     if(dialogid==AK) {
  3099.         if(response) {
  3100.             new BalasP=strval(inputtext)*PAK+VAK;
  3101.             if(GetPlayerMoney(playerid)<BalasP) return SendClientMessage(playerid,vermelho,SBDinheiro);
  3102.             else {GivePlayerMoney(playerid,-(BalasP));GivePlayerWeapon(playerid,30,strval(inputtext));SendClientMessage(playerid,amarelo,MSGSucesso);}}
  3103.         return 1;
  3104. }
  3105.     if(dialogid==COLT) {
  3106.         if(response) {
  3107.             new BalasP=strval(inputtext)*PCOLT+VCOLT;
  3108.             if(GetPlayerMoney(playerid)<BalasP) return SendClientMessage(playerid,vermelho,SBDinheiro);
  3109.             else {GivePlayerMoney(playerid,-(BalasP));GivePlayerWeapon(playerid,31,strval(inputtext));SendClientMessage(playerid,amarelo,MSGSucesso);}}
  3110.         return 1;
  3111. }
  3112.     if(dialogid==SNIPER) {
  3113.         if(response) {
  3114.             new BalasP=strval(inputtext)*PSNIPER+VSNIPER;
  3115.             if(GetPlayerMoney(playerid)<BalasP) return SendClientMessage(playerid,vermelho,SBDinheiro);
  3116.             else {GivePlayerMoney(playerid,-(BalasP));GivePlayerWeapon(playerid,34,strval(inputtext));SendClientMessage(playerid,amarelo,MSGSucesso);}}
  3117.         return 1;
  3118. }
  3119.     if(dialogid==EXTIN) {
  3120.         if(response) {
  3121.             new BalasP=strval(inputtext)*PEXTIN+VEXTIN;
  3122.             if(GetPlayerMoney(playerid)<BalasP) return SendClientMessage(playerid,vermelho,SBDinheiro);
  3123.             else {GivePlayerMoney(playerid,-(BalasP));GivePlayerWeapon(playerid,42,strval(inputtext));SendClientMessage(playerid,amarelo,MSGSucesso);}}
  3124.         return 1;
  3125.         }
  3126.         return 1;
  3127.         }
  3128. forward drawagain();
  3129. public drawagain(){
  3130.     if(PlayersOnServer){
  3131.         TextDrawDestroy(PlayersOnServer);
  3132.     }
  3133.     format(string, sizeof(string), "%i/%i PLAYERS", totalon, MaxP);
  3134.     PlayersOnServer = TextDrawCreate(30,326, string);
  3135.     return 1;
  3136. }
  3137.  
  3138. forward pOnline();
  3139. public pOnline(){
  3140.     totalon = 0;
  3141.     for(new i=0; i<MAX_PLAYERS; i++) {
  3142.         if(IsPlayerConnected(i)) {
  3143.             if(totalon == 0){
  3144.                 totalon = 1;
  3145.             }
  3146.             else if (totalon > 0){
  3147.                 totalon++;
  3148.             }
  3149.         }
  3150.  
  3151.     }
  3152.  
  3153.     drawagain();
  3154.     TextDrawFont(PlayersOnServer,1);
  3155.     TextDrawUseBox(PlayersOnServer,0);
  3156.     TextDrawColor(PlayersOnServer,0xFF7100FF);
  3157.     TextDrawBackgroundColor(PlayersOnServer,0x000000AA);
  3158.     TextDrawAlignment(PlayersOnServer, 1);
  3159.     TextDrawSetOutline(PlayersOnServer,1);
  3160.     TextDrawSetShadow(PlayersOnServer,0);
  3161.  
  3162.     for(new i=0; i<MAX_PLAYERS; i++) {
  3163.         if(IsPlayerConnected(i)) {
  3164.             TextDrawShowForPlayer(i, PlayersOnServer);
  3165.         }
  3166.         else{
  3167.             TextDrawHideForPlayer(i, PlayersOnServer);
  3168.         }
  3169.     }
  3170.  
  3171.     return 1;
  3172. }
  3173. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  3174. {
  3175.     if(IsPlayerInAnyVehicle(playerid))
  3176.     {
  3177.     TextDrawShowForPlayer(playerid,Textdraw0);
  3178.     TextDrawShowForPlayer(playerid,Textdraw1);
  3179.     TextDrawShowForPlayer(playerid,Textdraw2);
  3180.     TextDrawShowForPlayer(playerid,Textdraw3);
  3181.     TextDrawShowForPlayer(playerid,Textdraw4);
  3182.     TextDrawShowForPlayer(playerid,Textdraw5);
  3183.     TextDrawShowForPlayer(playerid,Textdraw6);
  3184.     TextDrawShowForPlayer(playerid,Textdraw7);}
  3185.     return 1;
  3186. }
  3187.  
  3188. public OnPlayerExitVehicle(playerid, vehicleid)
  3189. {
  3190.     TextDrawHideForPlayer(playerid,Textdraw0);
  3191.     TextDrawHideForPlayer(playerid,Textdraw1);
  3192.     TextDrawHideForPlayer(playerid,Textdraw2);
  3193.     TextDrawHideForPlayer(playerid,Textdraw3);
  3194.     TextDrawHideForPlayer(playerid,Textdraw4);
  3195.     TextDrawHideForPlayer(playerid,Textdraw5);
  3196.     TextDrawHideForPlayer(playerid,Textdraw6);
  3197.     TextDrawHideForPlayer(playerid,Textdraw7);
  3198.     return 1;
  3199. }
  3200. public Speedo()
  3201. {
  3202.     for(new playerid=0;playerid<MAX_PLAYERS;playerid++)
  3203.     {
  3204.         if(IsPlayerConnected(playerid) && IsPlayerInAnyVehicle(playerid))
  3205.         {
  3206.             //---------------------------------CHECAR VELOCIDADE----------------------------
  3207.             TextDrawHideForPlayer(playerid, Textdraw2);
  3208.             format(string,sizeof(string),"~g~Velocidade ~r~%dKM/H", VelocidadeKM(playerid));
  3209.             TextDrawSetString(Textdraw2, string);
  3210.             TextDrawShowForPlayer(playerid, Textdraw2);
  3211.             //-------------------------------CHECAR LATARIA---------------------------------
  3212.             GetVehicleHealth(GetPlayerVehicleID(playerid), Lataria);
  3213.             TextDrawHideForPlayer(playerid, Textdraw5);
  3214.             format(string,sizeof(string),"~g~Lataria ~r~%0.0f%%", Lataria);
  3215.             TextDrawSetString(Textdraw5, string);
  3216.             TextDrawShowForPlayer(playerid, Textdraw5);
  3217.             //---------------------------------CHECAR VEICULO-------------------------------
  3218.             format(string,sizeof(string),"~g~Veiculo ~r~%s", Veiculos[GetVehicleModel(GetPlayerVehicleID(playerid))-400]);
  3219.             TextDrawSetString(Textdraw3, string);
  3220.             TextDrawShowForPlayer(playerid, Textdraw3);
  3221.             //-------------------------------CHECAR ZONAS-----------------------------------
  3222.             GetPlayer2DZone(playerid, zone, MAX_ZONE_NAME);
  3223.             format(string,sizeof(string),"~r~%s", zone);
  3224.             TextDrawSetString(Textdraw7, string);
  3225.             TextDrawShowForPlayer(playerid, Textdraw7);
  3226.             //-----------------------------------CHECAR COMBUSTIVEL-------------------------
  3227.             format(string,sizeof(string),"~g~Combustivel ~r~%d%", Gas[GetPlayerVehicleID(playerid)]);
  3228.             TextDrawSetString(Textdraw4, string);
  3229.             TextDrawShowForPlayer(playerid, Textdraw4);
  3230.         }
  3231.         else
  3232.         {
  3233.             TextDrawHideForPlayer(playerid,Textdraw2);
  3234.             TextDrawHideForPlayer(playerid,Textdraw3);
  3235.             TextDrawHideForPlayer(playerid,Textdraw4);
  3236.             TextDrawHideForPlayer(playerid,Textdraw5);
  3237.             TextDrawHideForPlayer(playerid,Textdraw7);
  3238.         }
  3239.     }
  3240. }
  3241.  
  3242. public Float:GetDistanceBetweenPlayerToPoint(p1,Float:px,Float:py,Float:pz)
  3243. {
  3244.     if(!IsPlayerConnected(p1))
  3245.         return -1.00;
  3246.  
  3247.     GetPlayerPos(p1,x1,y1,z1);
  3248.     x2 = px;
  3249.     y2 = py;
  3250.     z2 = pz;
  3251.     return floatsqroot(floatpower(floatabs(floatsub(x2,x1)),2)+floatpower(floatabs(floatsub(y2,y1)),2)+floatpower(floatabs(floatsub(z2,z1)),2));
  3252. }
  3253.  
  3254. public NoPosto(playerid)
  3255. {
  3256.     if(IsPlayerConnected(playerid))
  3257.     {
  3258.         if(IsPlayerInRangeOfPoint(playerid,6.0,1004.0070,-939.3102,42.1797) || IsPlayerInRangeOfPoint(playerid,6.0,1944.3260,-1772.9254,13.3906))
  3259.         {//LS
  3260.             return 1;
  3261.         }
  3262.         else if(IsPlayerInRangeOfPoint(playerid,6.0,-90.5515,-1169.4578,2.4079) || IsPlayerInRangeOfPoint(playerid,6.0,-1609.7958,-2718.2048,48.5391))
  3263.         {//LS
  3264.             return 1;
  3265.         }
  3266.         else if(IsPlayerInRangeOfPoint(playerid,6.0,-2029.4968,156.4366,28.9498) || IsPlayerInRangeOfPoint(playerid,8.0,-2408.7590,976.0934,45.4175))
  3267.         {//SF
  3268.             return 1;
  3269.         }
  3270.         else if(IsPlayerInRangeOfPoint(playerid,5.0,-2243.9629,-2560.6477,31.8841) || IsPlayerInRangeOfPoint(playerid,8.0,-1676.6323,414.0262,6.9484))
  3271.         {//Between LS and SF
  3272.             return 1;
  3273.         }
  3274.         else if(IsPlayerInRangeOfPoint(playerid,6.0,2202.2349,2474.3494,10.5258) || IsPlayerInRangeOfPoint(playerid,10.0,614.9333,1689.7418,6.6968))
  3275.         {//LV
  3276.             return 1;
  3277.         }
  3278.         else if(IsPlayerInRangeOfPoint(playerid,8.0,-1328.8250,2677.2173,49.7665) || IsPlayerInRangeOfPoint(playerid,6.0,70.3882,1218.6783,18.5165))
  3279.         {//LV
  3280.             return 1;
  3281.         }
  3282.         else if(IsPlayerInRangeOfPoint(playerid,8.0,2113.7390,920.1079,10.5255) || IsPlayerInRangeOfPoint(playerid,6.0,-1327.7218,2678.8723,50.0625))
  3283.         {//LV
  3284.             return 1;
  3285.         }
  3286.         else if(IsPlayerInRangeOfPoint(playerid,8.0,2146.5759,2750.8442,10.6447) || IsPlayerInRangeOfPoint(playerid,6.0,2146.8779,2739.6157,10.6435))
  3287.         {//LV2
  3288.             return 1;
  3289.         }
  3290.         else if(IsPlayerInRangeOfPoint(playerid,8.0,1595.3046,2191.1331,10.6454) || IsPlayerInRangeOfPoint(playerid,6.0,1596.3274,2206.7070,10.6449))
  3291.         {//LV3
  3292.             return 1;
  3293.         }
  3294.         else if(IsPlayerInRangeOfPoint(playerid,8.0,-736.9305,2742.6138,47.0158))
  3295.         {//Landtankstelle
  3296.             return 1;
  3297.         }
  3298.     }
  3299.     return 0;
  3300. }
  3301.  
  3302. public CheckGas()
  3303. {
  3304.     for(new i=0;i<MAX_PLAYERS;i++)
  3305.     {
  3306.         if(IsPlayerConnected(i))
  3307.         {
  3308.             if(GetPlayerState(i) == PLAYER_STATE_DRIVER)
  3309.             {
  3310.                 if(Gas[GetPlayerVehicleID(i)] >= 1)
  3311.                 {
  3312.                     Gas[GetPlayerVehicleID(i)]--;
  3313.                 }
  3314.             }
  3315.         }
  3316.     }
  3317.     return 1;
  3318. }
  3319.  
  3320.  
  3321. public StoppedVehicle()
  3322. {
  3323.     for(new i=0; i<MAX_PLAYERS; i++)
  3324.     {
  3325.         if(IsPlayerConnected(i))
  3326.         {
  3327.             if(IsPlayerInAnyVehicle(i))
  3328.             {
  3329.                 GetPlayerPos(i, x, y, z);
  3330.                 distance = floatsqroot(floatpower(floatabs(floatsub(x,SavePlayerPos[i][LastX])),2)+floatpower(floatabs(floatsub(y,SavePlayerPos[i][LastY])),2)+floatpower(floatabs(floatsub(z,SavePlayerPos[i][LastZ])),2));
  3331.                 value = floatround(distance * 3600);
  3332.                 if(UpdateSeconds > 1)
  3333.                 {
  3334.                     value = floatround(value / UpdateSeconds);
  3335.                 }
  3336.                 if(value == 0)
  3337.                 {
  3338.                     Gas[GetPlayerVehicleID(i)]++;
  3339.                 }
  3340.                 SavePlayerPos[i][LastX] = x;
  3341.                 SavePlayerPos[i][LastY] = y;
  3342.                 SavePlayerPos[i][LastZ] = z;
  3343.             }
  3344.         }
  3345.     }
  3346.     return 1;
  3347. }
  3348.  
  3349. public Fillup()
  3350. {
  3351.     for(new i=0; i<MAX_PLAYERS; i++)
  3352.     {
  3353.         if(IsPlayerConnected(i))
  3354.         {
  3355.             FillUp = GasMax - Gas[GetPlayerVehicleID(i)];
  3356.             if(Refueling[i] == 1)
  3357.             {
  3358.                 FillUpPrice = FillUp * 10;
  3359.                 if(GetPlayerMoney(i) >= FillUpPrice)
  3360.                 {
  3361.                     Gas[GetPlayerVehicleID(i)] += FillUp;
  3362.                     format(string,sizeof(string),"[SERVER] Você Reabasteceu Seu Veiculo Por $%d .",FillUpPrice);
  3363.                     SendClientMessage(i,0x33CCFFAA,string);
  3364.                     GivePlayerMoney(i,-FillUpPrice);
  3365.                     if(FillUpPrice > 0)
  3366.                     FillUpPrice = 0;
  3367.                     Refueling[i] = 0;
  3368.                 }
  3369.                 else
  3370.                 {
  3371.                     format(string,sizeof(string),"[SERVER] Você Não Tem $%d Para Reabastecer Seu Veiculo",FillUpPrice);
  3372.                     SendClientMessage(i,0x33CCFFAA,string);
  3373.                 }
  3374.             }
  3375.         }
  3376.     }
  3377.     return 1;
  3378. }
  3379.  
  3380. stock VelocidadeKM(playerid)
  3381. {
  3382.     if(IsPlayerInAnyVehicle(playerid))
  3383.     {
  3384.         GetVehicleVelocity(GetPlayerVehicleID(playerid), pos[0], pos[1], pos[2]);
  3385.         pos[3] = floatmul(floatsqroot(floatadd(floatadd(floatpower(pos[0], 2), floatpower(pos[1], 2)),  floatpower(pos[2], 2))), 170.0);
  3386.         spe = floatround(pos[3] * 1);
  3387.     }
  3388.     else
  3389.         return false;
  3390.     return spe;
  3391. }
  3392.  
  3393. stock IsPlayerInZone(playerid, zoneada[])
  3394. {
  3395.     GetPlayer3DZone(playerid, TmpZone, sizeof(TmpZone));
  3396.     for(new i = 0; i != sizeof(gSAZones); i++)
  3397.     {
  3398.         if(strfind(TmpZone, zoneada, true) != -1)
  3399.             return 1;
  3400.     }
  3401.     return 0;
  3402. }
  3403.  
  3404. stock GetPlayer2DZone(playerid, zoneada[], len)
  3405. {
  3406.     GetPlayerPos(playerid, x, y, z);
  3407.     for(new i = 0; i != sizeof(gSAZones); i++ )
  3408.     {
  3409.         if(x >= gSAZones[i][SAZONE_AREA][0] && x <= gSAZones[i][SAZONE_AREA][3] && y >= gSAZones[i][SAZONE_AREA][1] && y <= gSAZones[i][SAZONE_AREA][4])
  3410.         {
  3411.             return format(zoneada, len, gSAZones[i][SAZONE_NAME], 0);
  3412.         }
  3413.     }
  3414.     return 0;
  3415. }
  3416.  
  3417. stock GetPlayer3DZone(playerid, zoneada[], len)
  3418. {
  3419.     GetPlayerPos(playerid, x, y, z);
  3420.     for(new i = 0; i != sizeof(gSAZones); i++ )
  3421.     {
  3422.         if(x >= gSAZones[i][SAZONE_AREA][0] && x <= gSAZones[i][SAZONE_AREA][3] && y >= gSAZones[i][SAZONE_AREA][1] && y <= gSAZones[i][SAZONE_AREA][4] && z >= gSAZones[i][SAZONE_AREA][2] && z <= gSAZones[i][SAZONE_AREA][5])
  3423.         {
  3424.             return format(zoneada, len, gSAZones[i][SAZONE_NAME], 0);
  3425.         }
  3426.     }
  3427.     return 0;
  3428. }
  3429. public OnPlayerText(playerid, text[]){
  3430. format(string, sizeof(string), "[%d]: %s", playerid, text);
  3431. SendPlayerMessageToAll(playerid,string);
  3432. return 0;
  3433. }
  3434. area69(playerid){
  3435.             if(Ta69[playerid] == true)
  3436.                 {
  3437.                 SendClientMessage(playerid, COR_CINZA, "[SERVER] Você ja está na arena");
  3438.                 return true;
  3439.                 }
  3440.                 if(!Libere)
  3441.                 {
  3442.                     SendClientMessage(playerid, COR_CINZA, "[SERVER] A arena esta fechada!");
  3443.                         return true;
  3444.                 }
  3445.                 if(Players69 == 2)
  3446.                 {
  3447.                     SendClientMessage(playerid, COR_CINZA, "[SERVER] Ja tem 2 pessoas na Área 69");
  3448.                         return true;
  3449.                 }
  3450.                 if(Players69 == 0){SetPlayerPos(playerid, 276.8945,1832.0430,7.7266);}
  3451.                 if(Players69 == 1){SetPlayerPos(playerid, 217.8081,1823.4215,6.4141);}
  3452.                 GameTextForPlayer(playerid,"~W~Bem-vindo a ~G~Area 69~W~!",1000,0);
  3453.                 Players69 ++;
  3454.                 Ta69[playerid] = true;
  3455.                 GetPlayerName(playerid, nome, sizeof(nome));
  3456.                 format(string, sizeof(string),"[SERVER] %s Foi Para Área 69 ( /dms )", nome);
  3457.                 SendClientMessageToAll(COR_BRANCO,string);
  3458.                 SendClientMessage(playerid, COLOR_RED, "[SERVER] Para comprar armas, digite /armas");
  3459.                 SendClientMessage(playerid, COLOR_YELLOW, "[SERVER] PARA SAIR DAQUI, DIGITE: /sairdm");
  3460.                 SetPlayerInterior(playerid,0);
  3461.                 ResetPlayerWeapons(playerid);
  3462.                 GivePlayerWeapon(playerid, 24, 100000);
  3463.                 SetPlayerArmour(playerid, 100.0);
  3464.                 SetPlayerHealth(playerid, 100.0);
  3465.                 if(Players69 == 2)
  3466.                 {
  3467.                 format(string, sizeof(string),"[SERVER] A arena ja tem 2 jogadores, ninguem mais pode entrar até terminar! ");
  3468.                 SendClientMessage(playerid, COR_BRANCO,string);
  3469.                 }
  3470. return 1;
  3471. }
  3472. minigun(playerid){
  3473.             if(TaMG[playerid] == true)
  3474.                 {
  3475.                 SendClientMessage(playerid, COR_CINZA, "[SERVER] Você ja está na arena");
  3476.                 return true;
  3477.                 }
  3478.                 if(!Libera)
  3479.                 {
  3480.                     SendClientMessage(playerid, COR_CINZA, "[SERVER] A arena esta fechada!");
  3481.                         return true;
  3482.                 }
  3483.                 if(Playersmg == 2)
  3484.                 {
  3485.                     SendClientMessage(playerid, COR_CINZA, "[SERVER] Ja tem 2 pessoas no minigun");
  3486.                         return true;
  3487.                 }
  3488.                 if(Playersmg == 0){SetPlayerPos(playerid,2546.6821,2806.3181,19.9922);}//- Seta ele pra essa posição caso não tenha outro player na arena.
  3489.                 if(Playersmg == 1){SetPlayerPos(playerid,2544.8992,2809.7876,10.8203);}//- Seta ele pra essa posição caso tenha 1 player na arena.
  3490.                 SetPlayerInterior(playerid,0);
  3491.                 Playersmg ++;
  3492.                 TaMG[playerid] = true;
  3493.                 GetPlayerName(playerid, nome, sizeof(nome));
  3494.                 format(string, sizeof(string),"[SERVER] %s Foi Para Arena Minigun ( /dms )", nome);
  3495.                 SendClientMessageToAll(COR_BRANCO,string);
  3496.                 SendClientMessage(playerid, COLOR_YELLOW, "[SERVER] PARA SAIRD DAQUI, DIGITE: /sair");
  3497.                 ResetPlayerWeapons(playerid);
  3498.                 GivePlayerWeapon(playerid, 38, 1000000);
  3499.                 SetPlayerArmour(playerid, 100.0);
  3500.                 SetPlayerHealth(playerid, 100.0);
  3501.                 if(Playersmg == 2)
  3502.                 {
  3503.                 format(string, sizeof(string),"[SERVER] A arena ja tem 2 jogadores, ninguem mais pode entrar até terminar! ");
  3504.                 SendClientMessage(playerid, COR_BRANCO,string);
  3505.                 }
  3506. return 1;
  3507. }
  3508. sniper(playerid){
  3509.             new PlayerName[MAX_PLAYER_NAME];
  3510.             new iRandom=random(sizeof(RandomSpawn));
  3511.             if(TaSN[playerid] == true)
  3512.                 {
  3513.                 SendClientMessage(playerid, COR_CINZA, "[SERVER] Você ja está na arena");
  3514.                 return true;
  3515.                 }
  3516.                 if(!Liberu)
  3517.                 {
  3518.                     SendClientMessage(playerid, COR_CINZA, "[SERVER] A arena esta fechada!");
  3519.                         return true;
  3520.                 }
  3521.                 if(Playerssn == 2)
  3522.                 {
  3523.                     SendClientMessage(playerid, COR_CINZA, "[SERVER] Ja tem 2 pessoas no SniperDM");
  3524.                         return true;
  3525.                 }
  3526.  
  3527.                 GetPlayerName(playerid, PlayerName ,sizeof(PlayerName));
  3528.                 SetPlayerPos(playerid, RandomSpawn[iRandom][0], RandomSpawn[iRandom][1],RandomSpawn[iRandom][2]);
  3529.                 SetPlayerFacingAngle(playerid, RandomSpawn[iRandom][3]);
  3530.                 SetPlayerInterior(playerid,10);
  3531.                 Playerssn ++;
  3532.                 TaSN[playerid] = true;
  3533.                 GetPlayerName(playerid, nome, sizeof(nome));
  3534.                 format(string, sizeof(string),"[SERVER] %s Foi Para o SniperDM ( /dms )", nome);
  3535.                 SendClientMessageToAll(COR_BRANCO,string);
  3536.                 SendClientMessage(playerid, COLOR_YELLOW, "[SERVER] PARA SAIRD DAQUI, DIGITE: /sairsn");
  3537.                 ResetPlayerWeapons(playerid);
  3538.                 GivePlayerWeapon(playerid, 34, 5000);
  3539.                 GivePlayerWeapon(playerid, 24, 5000);
  3540.                 SetPlayerArmour(playerid, 100.0);
  3541.                 SetPlayerHealth(playerid, 100.0);
  3542.                 if(Playerssn == 2)
  3543.                 {
  3544.                 format(string, sizeof(string),"[SERVER] A arena ja tem 2 jogadores, ninguem mais pode entrar até terminar! ");
  3545.                 SendClientMessage(playerid, COR_BRANCO,string);
  3546.                 }
  3547. return 1;
  3548. }
  3549. x1dm(playerid){
  3550.             if(TaX1[playerid] == true)
  3551.                 {
  3552.                 SendClientMessage(playerid, COR_CINZA, "[SERVER] Você ja está na arena");
  3553.                 return true;
  3554.                 }
  3555.                 if(!Libero)
  3556.                 {
  3557.                     SendClientMessage(playerid, COR_CINZA, "[SERVER] A arena esta fechada!");
  3558.                         return true;
  3559.                 }
  3560.                 if(Playersx1 == 2)
  3561.                 {
  3562.                     SendClientMessage(playerid, COR_CINZA, "[SERVER] Ja tem 2 pessoas no x1");
  3563.                         return true;
  3564.                 }
  3565.                 SetPlayerPos(playerid, 1416.107000,0.268620,1000.926000);
  3566.                 Playersx1 ++;
  3567.                 TaX1[playerid] = true;
  3568.                 GetPlayerName(playerid, nome, sizeof(nome));
  3569.                 format(string, sizeof(string),"[SERVER] %s Foi Para Arena X1 ( /dms )", nome);
  3570.                 SendClientMessageToAll(COR_BRANCO,string);
  3571.                 SendClientMessage(playerid, COLOR_YELLOW, "[SERVER] PARA SAIRD DAQUI, DIGITE: /sair");
  3572.                 SetPlayerInterior(playerid,1);
  3573.                 ResetPlayerWeapons(playerid);
  3574.                 GivePlayerWeapon(playerid, 23, 100000);
  3575.                 GivePlayerWeapon(playerid, 29, 100000);
  3576.                 GivePlayerWeapon(playerid, 31, 100000);
  3577.                 SetPlayerArmour(playerid, 100.0);
  3578.                 SetPlayerHealth(playerid, 100.0);
  3579.                 GivePlayerWeapon(playerid, 16, 2);
  3580.                 if(Playersx1 == 2)
  3581.                 {
  3582.                 format(string, sizeof(string),"[SERVER] A arena ja tem 2 jogadores, ninguem mais pode entrar até terminar! ");
  3583.                 SendClientMessage(playerid, COR_BRANCO,string);
  3584.                 }
  3585. return 1;
  3586. }
  3587. rpgdm(playerid){
  3588.             if(TaRPG[playerid] == true)
  3589.                 {
  3590.                 SendClientMessage(playerid, COR_CINZA, "[SERVER] Você ja está na arena");
  3591.                 return true;
  3592.                 }
  3593.                 if(!Liberi)
  3594.                 {
  3595.                     SendClientMessage(playerid, COR_CINZA, "[SERVER] A arena esta fechada!");
  3596.                         return true;
  3597.                 }
  3598.                 if(Playersrpg == 2)
  3599.                 {
  3600.                     SendClientMessage(playerid, COR_CINZA, "[SERVER] Ja tem 2 pessoas na Arena RPG");
  3601.                         return true;
  3602.                 }
  3603.                 SetPlayerPos(playerid, -1467.9493,378.6432,30.0859);
  3604.                 Playersrpg ++;
  3605.                 TaRPG[playerid] = true;
  3606.                 GetPlayerName(playerid, nome, sizeof(nome));
  3607.                 format(string, sizeof(string),"[SERVER] %s Foi Para Arena RPG ( /dms )", nome);
  3608.                 SendClientMessageToAll(COR_BRANCO,string);
  3609.                 SendClientMessage(playerid, COLOR_YELLOW, "[SERVER] PARA SAIRD DAQUI, DIGITE: /sairdm");
  3610.                 SetPlayerInterior(playerid,0);
  3611.                 ResetPlayerWeapons(playerid);
  3612.                 GivePlayerWeapon(playerid, 35, 100000);
  3613.                 SetPlayerArmour(playerid, 100.0);
  3614.                 SetPlayerHealth(playerid, 100.0);
  3615.                 if(Playersrpg == 2)
  3616.                 {
  3617.                 format(string, sizeof(string),"[SERVER] A arena ja tem 2 jogadores, ninguem mais pode entrar até terminar! ");
  3618.                 SendClientMessage(playerid, COR_BRANCO,string);
  3619.                 }
  3620. return 1;
  3621. }
  3622. sairdm(playerid)
  3623. {
  3624.        if(TaX1[playerid] == true)
  3625.                 {
  3626.                 if(Playersx1 == 1)
  3627.                 {
  3628.                 SetPlayerPos(playerid,2421.7185,1121.9866,10.8125);
  3629.                 SetPlayerInterior(playerid,0);
  3630.                 ResetPlayerWeapons(playerid);
  3631.                 GivePlayerWeapon(playerid,24,300);
  3632.                 SetPlayerArmour(playerid, 0.0);
  3633.                 SetPlayerHealth(playerid, 100.0);
  3634.                 TaX1[playerid] = false;
  3635.                 Playersx1 = 0;
  3636.                 new pName[MAX_PLAYER_NAME];
  3637.                 GetPlayerName(playerid, pName, sizeof(pName));
  3638.                 format(string, sizeof(string), "[SERVER] %s saiu do X1.", pName);
  3639.                 return SendClientMessageToAll(0xFFFFFFAA, string);
  3640.                 }
  3641.                 if(Playersx1 == 2)
  3642.                 {
  3643.                     return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode sair daqui enquanto a batalha não terminar.");
  3644.                 }
  3645.                 }
  3646.         if(TaMG[playerid] == true)
  3647.                 {
  3648.                 if(Playersmg == 1)
  3649.                 {
  3650.                 SetPlayerPos(playerid,2287.2561,2426.2576,10.8203);
  3651.                 SetPlayerInterior(playerid,0);
  3652.                 ResetPlayerWeapons(playerid);
  3653.                 GivePlayerWeapon(playerid,24,300);
  3654.                 TaMG[playerid] = false;
  3655.                 SetPlayerArmour(playerid, 0.0);
  3656.                 SetPlayerHealth(playerid, 100.0);
  3657.                 Playersmg = 0;
  3658.                 new pName[MAX_PLAYER_NAME];
  3659.                 GetPlayerName(playerid, pName, sizeof(pName));
  3660.                 format(string, sizeof(string), "[SERVER] %s saiu do Minigun.", pName);
  3661.                 return SendClientMessageToAll(0xFFFFFFAA, string);
  3662.                 }
  3663.                 if(Playersmg == 2)
  3664.                 {
  3665.                     return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode sair daqui enquanto a batalha não terminar.");
  3666.                 }
  3667.                 }
  3668. return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não está no Minigun DM ou no X1.");
  3669. }
  3670. sairdm2(playerid)
  3671. {
  3672.        if(Ta69[playerid] == true)
  3673.                 {
  3674.                 if(Players69 == 1)
  3675.                 {
  3676.                 SetPlayerPos(playerid,2421.7185,1121.9866,10.8125);
  3677.                 SetPlayerInterior(playerid,0);
  3678.                 ResetPlayerWeapons(playerid);
  3679.                 GivePlayerWeapon(playerid,24,300);
  3680.                 SetPlayerArmour(playerid, 0.0);
  3681.                 SetPlayerHealth(playerid, 100.0);
  3682.                 Ta69[playerid] = false;
  3683.                 Players69 = 0;
  3684.                 new pName[MAX_PLAYER_NAME];
  3685.                 GetPlayerName(playerid, pName, sizeof(pName));
  3686.                 format(string, sizeof(string), "[SERVER] %s saiu da Área 69.", pName);
  3687.                 return SendClientMessageToAll(0xFFFFFFAA, string);
  3688.                 }
  3689.                 if(Players69 == 2)
  3690.                 {
  3691.                     return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode sair daqui enquanto a batalha não terminar.");
  3692.                 }
  3693.                 }
  3694.         if(TaRPG[playerid] == true)
  3695.                 {
  3696.                 if(Playersrpg == 1)
  3697.                 {
  3698.                 SetPlayerPos(playerid,2287.2561,2426.2576,10.8203);
  3699.                 SetPlayerInterior(playerid,0);
  3700.                 ResetPlayerWeapons(playerid);
  3701.                 GivePlayerWeapon(playerid,24,300);
  3702.                 TaRPG[playerid] = false;
  3703.                 SetPlayerArmour(playerid, 0.0);
  3704.                 SetPlayerHealth(playerid, 100.0);
  3705.                 Playersrpg = 0;
  3706.                 new pName[MAX_PLAYER_NAME];
  3707.                 GetPlayerName(playerid, pName, sizeof(pName));
  3708.                 format(string, sizeof(string), "[SERVER] %s saiu do RPG DM.", pName);
  3709.                 return SendClientMessageToAll(0xFFFFFFAA, string);
  3710.                 }
  3711.                 if(Playersrpg == 2)
  3712.                 {
  3713.                     return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode sair daqui enquanto a batalha não terminar.");
  3714.                 }
  3715.                 }
  3716. return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não está no RPG ou na Área 69.");
  3717. }
  3718. sairsn(playerid)
  3719. {
  3720.         if(TaSN[playerid] == true)
  3721.                 {
  3722.                 if(Playerssn == 1)
  3723.                 {
  3724.                 SetPlayerPos(playerid,2287.2561,2426.2576,10.8203);
  3725.                 SetPlayerInterior(playerid,0);
  3726.                 ResetPlayerWeapons(playerid);
  3727.                 GivePlayerWeapon(playerid,24,300);
  3728.                 TaSN[playerid] = false;
  3729.                 SetPlayerArmour(playerid, 0.0);
  3730.                 SetPlayerHealth(playerid, 100.0);
  3731.                 Playerssn = 0;
  3732.                 new pName[MAX_PLAYER_NAME];
  3733.                 GetPlayerName(playerid, pName, sizeof(pName));
  3734.                 format(string, sizeof(string), "[SERVER] %s saiu do SniperDM.", pName);
  3735.                 return SendClientMessageToAll(0xFFFFFFAA, string);
  3736.                 }
  3737.                 if(Playerssn == 2)
  3738.                 {
  3739.                     return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode sair daqui enquanto a batalha não terminar.");
  3740.                 }
  3741.                 }
  3742. return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não está no SniperDM.");
  3743. }
  3744. public SalvarInformacoes(playerid)
  3745. {
  3746.     format(arquivo, sizeof(arquivo), "%s.ini",ppNome(playerid));
  3747.     INI_Open(arquivo);
  3748.     INI_WriteInt("Matou", ProgressaoInfo[playerid][Matou]);
  3749.     INI_WriteInt("Morreu", ProgressaoInfo[playerid][Morreu]);
  3750.     INI_Save();
  3751.     INI_Close();
  3752.     return true;
  3753. }
  3754. public sLeuTuto(playerid)
  3755. {
  3756.     format(arquivo, sizeof(arquivo), "%s.ini",ppNome(playerid));
  3757.     INI_Open(arquivo);
  3758.     INI_WriteInt("Tutorial", Leu[playerid]);
  3759.     INI_Save();
  3760.     INI_Close();
  3761.     return true;
  3762. }
  3763.  
  3764. public CarregarInformacoes(playerid)
  3765. {
  3766.     format(arquivo, sizeof(arquivo), "%s.ini",ppNome(playerid));
  3767.     if(fexist(arquivo))
  3768.     {
  3769.         INI_Open(arquivo);
  3770.         ProgressaoInfo[playerid][Matou] = INI_ReadInt("Matou");
  3771.         ProgressaoInfo[playerid][Morreu] = INI_ReadInt("Morreu");
  3772.         INI_Close();
  3773.     }
  3774.     else SalvarInformacoes(playerid);
  3775.     return true;
  3776. }
  3777. stock ppNome(playerid)
  3778. {
  3779.     new nomew[MAX_PLAYER_NAME];
  3780.     GetPlayerName(playerid, nomew, sizeof(nomew));
  3781.     return nomew;
  3782. }
  3783. forward CarSpawner(playerid,model);
  3784. public CarSpawner(playerid,model)
  3785. {
  3786.         new Float:xx, Float:yy, Float:zz, Float:angle;
  3787.         GetPlayerPos(playerid, xx, yy, zz);
  3788.         GetPlayerFacingAngle(playerid, angle);
  3789.         new vehicleid=CreateVehicle(model, x, y, z, angle, -1, -1, -1);
  3790.         PutPlayerInVehicle(playerid, vehicleid, 0);
  3791.         SetVehicleVirtualWorld(vehicleid, GetPlayerVirtualWorld(playerid));
  3792.         LinkVehicleToInterior(vehicleid, GetPlayerInterior(playerid));
  3793.         ChangeVehicleColor(vehicleid,0,7);
  3794. return 1;
  3795. }
  3796. stock AtualizarText(playerid) {
  3797.     Delete3DTextLabel(Text3D:TextID[playerid]);
  3798.     if(ProgressaoInfo[playerid][Connectado] == false){
  3799.         format(message,sizeof(message), "Pontos: %d", ProgressaoInfo[playerid][Pontos]);
  3800.         TextID[playerid] = Create3DTextLabel(message, Branco, 0.0, 0.0, 0.0, 5, 0, 0);
  3801.         Attach3DTextLabelToPlayer(TextID[playerid] , playerid, 0.0, 0.0, 0.30);
  3802.     }
  3803. }
  3804. public OnPlayerPickUpPickup(playerid, pickupid)
  3805. {
  3806.     OnPropertyPickupPickup(playerid, pickupid);
  3807.     return 1;
  3808. }
  3809. SaveWeaponsToFile(playerid) // salvar armas
  3810. {
  3811.         new i, path[50], weaponid, ammo;
  3812.     path = GetPlayerFormattedName(playerid);
  3813.     if (!dini_Exists(path)) dini_Create(path);
  3814.         for (i=0; i<13; i++)
  3815.         {
  3816.             GetPlayerWeaponData(playerid,i,weaponid,ammo);
  3817.             format(string,sizeof(string),"Arma - %d",i);
  3818.             dini_IntSet(path,string,weaponid);
  3819.             format(string,sizeof(string),"Municao - %d",i);
  3820.             dini_IntSet(path,string,ammo == 65535 ? 0 : ammo);
  3821.         }
  3822. }
  3823. forward LoadArmasToFile(playerid);
  3824. public LoadArmasToFile(playerid)
  3825. {
  3826.         new i, path[50], weaponid, ammo;
  3827.     path = GetPlayerFormattedName(playerid);
  3828.     ResetPlayerWeapons(playerid);
  3829.         for (i=0; i<13; i++)
  3830.         {
  3831.             format(string,sizeof(string),"Arma - %d",i);
  3832.             weaponid = dini_Int(path,string);
  3833.             format(string,sizeof(string),"Municao - %d",i);
  3834.             ammo = dini_Int(path,string);
  3835.             GivePlayerWeapon(playerid,weaponid,ammo);
  3836.         }
  3837.         AlreadyGiveWeapons[playerid] = true;
  3838. }
  3839. GetPlayerFormattedName(playerid)
  3840. {
  3841.         new name[24], full[50];
  3842.         GetPlayerName(playerid,name,sizeof(name));
  3843.         format(full,sizeof(full),"%s.ini",name);
  3844.         return full;
  3845. }
  3846. public ProcessGameTime(playerid)
  3847. {
  3848.     new
  3849.     segundo,
  3850.     frad,
  3851.     frad2,
  3852.     dia,
  3853.     mes,
  3854.     ano;
  3855.     gettime(frad, frad2, segundo);
  3856.     getdate(ano, mes, dia);
  3857.     SetPlayerTime(playerid,frad,frad2); //Horário atual no server
  3858.     format(string, sizeof string, "%02d:%02d:%02d", frad, frad2, segundo);
  3859.     TextDrawSetString(txtTimeDisp, string);
  3860.     format(string, sizeof string, "%02d/%02d/%04d", dia, mes, ano);
  3861.     TextDrawSetString(txtDateDisp, string);
  3862. }
Add Comment
Please, Sign In to add comment