Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- CITY OF KILLERS 1.0 | 0.3e
- Gamemode por: [XPG]MarlonCS
- Base: LVDM
- Sistema de admin por: Lethal
- Tradução sistema de admin: [PCS]IgooR e [PCS]TIOALI
- Sistema de gang por: SuB_ZeRo0_
- Sistema de pontos por: Josma_CMD
- Sistemas de DMs baseados no FS do: DJ Bruninho
- Loja de armas por: SuB_ZeRo0_
- Outros comandos e FS foram tirados do forum Samp ou criados por mim.
- IP do Server: 67.23.245.164:7777 (0.3e)
- */
- //----Includes----//
- #include <a_samp>
- #include <a_objects>
- #include <core>
- #include <float>
- #include <DINI>
- #include <armasSZ>
- #include <SII>
- #include <properties>
- //----denifes----//
- #pragma tabsize 0
- #define DialogBoxEx 1
- #define DialogBoxExx 2
- #define DialogBoxExxx 3
- #define DIALOGID 3300
- #define AJUDA 3311
- #define TUTO 112211
- #define XDXD 112212
- #define STUNTS 3322
- #define DMs 3333
- #define MAX 13
- #define COR_DELETE 0xFFFF00AA
- #define COLOR_GREY 0xAFAFAFAA
- #define COLOR_GREEN 0x33AA33AA
- #define COLOR_RED 0xAA3333AA
- #define COLOR_YELLOW 0xFFFF00AA
- #define COLOR_WHITE 0xFFFFFFAA
- #define PocketMoney 50000
- #define INACTIVE_PLAYER_ID 255
- #define GIVECASH_DELAY 5000
- #define NUMVALUES 4
- #define SEC1 1000
- #define SEC2 2000
- #define SEC5 5000
- #define MAX_ZONE_NAME 28
- #define MAXPLAYERS 100
- #define MAXPLAYERSS 100
- #define COR_CINZA 0xBFC0C2FF
- #define COR_AMARELO 0xF5DEB3AA
- #define COR_AZULZINHO 0x00A5FFFF
- #define COR_BRANCO 0xFAFAFAFF
- //----forward----//
- forward ProcessGameTime(playerid);
- forward SalvarInformacoes(playerid);
- forward CarregarInformacoes(playerid);
- forward sLeuTuto(playerid);
- forward LeuTuto(playerid);
- forward MoneyGrubScoreUpdate();
- forward Givecashdelaytimer(playerid);
- forward SetPlayerRandomSpawn(playerid);
- forward SetupPlayerForClassSelection(playerid);
- forward GameModeExitFunc();
- forward SendPlayerFormattedText(playerid, const str[], define);
- forward public SendAllFormattedText(playerid, const str[], define);
- forward SendMSG();
- forward
- Fillup();
- forward
- NoPosto(playerid);
- forward
- Float:GetDistanceBetweenPlayerToPoint(p1,Float:px,Float:py,Float:pz);
- forward
- StoppedVehicle();
- forward
- CheckGas();
- forward
- Speedo();
- //----outros----//
- const Branco = 0xFFFFFFFF;
- enum PInfo { Matou, Morreu, Pontos, Text:TPontos, bool:Connectado, };
- #define GasMax 100
- #define RefuelWait 5000
- #define RunOutTime 15000
- enum
- SavePlayerPosEnum
- {
- Float:LastX,
- Float:LastY,
- Float:LastZ
- };
- enum
- SAZONE_MAIN
- {
- SAZONE_NAME[28],
- Float:SAZONE_AREA[6]
- };
- //----news----//
- new
- Text:Textdraw0,
- Text:Textdraw1,
- Text:Textdraw2,
- Text:Textdraw3,
- Text:Textdraw4,
- Text:Textdraw5,
- Text:Textdraw6,
- Text:Textdraw7,
- checkgastimer,
- stoppedvehtimer,
- Gas[MAX_VEHICLES],
- Refueling[MAX_PLAYERS],
- gGasBiz[MAX_PLAYERS],
- SavePlayerPos[MAX_PLAYERS][SavePlayerPosEnum],
- UpdateSeconds = 1,
- Float:Lataria,
- zone[MAX_ZONE_NAME],
- Float:x1,
- Float:y1,
- Float:z1,
- Float:x2,
- Float:y2,
- Float:z2,
- spe,
- Float:pos[4],
- Float:olddistance,
- Float:newdistance,
- closest = -1,
- Float:GasX,
- Float:GasY,
- Float:GasZ,
- FillUp,
- FillUpPrice,
- Float:x,
- Float:y,
- Float:z,
- TmpZone[MAX_ZONE_NAME],
- Float:distance,
- timerspeedo,
- value,
- Text:txtTimeDisp,
- Text:txtDateDisp,
- Matouu[MAX_PLAYERS],
- Morreuu[MAX_PLAYERS],
- chilliad[52],
- bool:Libero,
- bool:TaX1[MAXPLAYERS],
- Playersx1,
- nome[MAX_PLAYER_NAME],
- bool:Libera,
- bool:TaMG[MAXPLAYERSS],
- Playersmg,
- bool:Liberu,
- bool:TaSN[MAXPLAYERSS],
- Playerssn,
- bool:Libere,
- bool:Ta69[MAXPLAYERSS],
- Players69,
- bool:Liberi,
- bool:TaRPG[MAXPLAYERSS],
- Playersrpg,
- Text3D:TextID[MAX_PLAYERS],
- Leu[MAX_PLAYERS],
- bool:AlreadyGiveWeapons[MAX_PLAYERS],
- ProgressaoInfo[MAX_PLAYERS][PInfo],
- arquivo[50],
- message[256],
- Veiculos[][] =
- {
- "Landstalker", "Bravura", "Buffalo", "Linerunner", "Perrenial", "Sentinel",
- "Dumper", "Firetruck", "Trashmaster", "Stretch", "Manana", "Infernus",
- "Voodoo", "Pony", "Mule", "Cheetah", "Ambulance", "Leviathan", "Moonbeam",
- "Esperanto", "Taxi", "Washington", "Bobcat", "Whoopee", "BF Injection",
- "Hunter", "Premier", "Enforcer", "Securicar", "Banshee", "Predator", "Bus",
- "Rhino", "Barracks", "Hotknife", "Trailer", "Previon", "Coach", "Cabbie",
- "Stallion", "Rumpo", "RC Bandit", "Romero", "Packer", "Monster", "Admiral",
- "Squalo", "Seasparrow", "Pizzaboy", "Tram", "Trailer", "Turismo", "Speeder",
- "Reefer", "Tropic", "Flatbed", "Yankee", "Caddy", "Solair", "Berkley's RC Van",
- "Skimmer", "PCJ-600", "Faggio", "Freeway", "RC Baron", "RC Raider", "Glendale",
- "Oceanic","Sanchez", "Sparrow", "Patriot", "Quad", "Coastguard", "Dinghy",
- "Hermes", "Sabre", "Rustler", "ZR-350", "Walton", "Regina", "Comet", "BMX",
- "Burrito", "Camper", "Marquis", "Baggage", "Dozer", "Maverick", "News Chopper",
- "Rancher", "FBI Rancher", "Virgo", "Greenwood", "Jetmax", "Hotring", "Sandking",
- "Blista Compact", "Police Maverick", "Boxvillde", "Benson", "Mesa", "RC Goblin",
- "Hotring Racer A", "Hotring Racer B", "Bloodring Banger", "Rancher", "Super GT",
- "Elegant", "Journey", "Bike", "Mountain Bike", "Beagle", "Cropduster", "Stunt",
- "Tanker", "Roadtrain", "Nebula", "Majestic", "Buccaneer", "Shamal", "Hydra",
- "FCR-900", "NRG-500", "HPV1000", "Cement Truck", "Tow Truck", "Fortune",
- "Cadrona", "FBI Truck", "Willard", "Forklift", "Tractor", "Combine", "Feltzer",
- "Remington", "Slamvan", "Blade", "Freight", "Streak", "Vortex", "Vincent",
- "Bullet", "Clover", "Sadler", "Firetruck", "Hustler", "Intruder", "Primo",
- "Cargobob", "Tampa", "Sunrise", "Merit", "Utility", "Nevada", "Yosemite",
- "Windsor", "Monster", "Monster", "Uranus", "Jester", "Sultan", "Stratium",
- "Elegy", "Raindance", "RC Tiger", "Flash", "Tahoma", "Savanna", "Bandito",
- "Freight Flat", "Streak Carriage", "Kart", "Mower", "Dune", "Sweeper",
- "Broadway", "Tornado", "AT-400", "DFT-30", "Huntley", "Stafford", "BF-400",
- "News Van", "Tug", "Trailer", "Emperor", "Wayfarer", "Euros", "Hotdog", "Club",
- "Freight Box", "Trailer", "Andromada", "Dodo", "RC Cam", "Launch", "Police Car",
- "Police Car", "Police Car", "Police Ranger", "Picador", "S.W.A.T", "Alpha",
- "Phoenix", "Glendale", "Sadler", "Luggage", "Luggage", "Stairs", "Boxville",
- "Tiller", "Utility Trailer"
- },
- Float:gGasStationLocations[13][3] = //Postos de gasolina
- {
- {1004.0070,-939.3102,42.1797},
- {1944.3260,-1772.9254,13.3906},
- {-90.5515,-1169.4578,2.4079},
- {-1609.7958,-2718.2048,48.5391},
- {-2029.4968,156.4366,28.9498},
- {-2408.7590,976.0934,45.4175},
- {-2243.9629,-2560.6477,31.8841},
- {-1676.6323,414.0262,6.9484},
- {2202.2349,2474.3494,10.5258},
- {614.9333,1689.7418,6.6968},
- {-1328.8250,2677.2173,49.7665},
- {70.3882,1218.6783,18.5165},
- {2113.7390,920.1079,10.5255}
- },
- pname[MAX_PLAYER_NAME],
- Text:PlayersOnServer,
- string[512],
- MaxP,
- Float:KenX[MAX_PLAYERS],
- Float:KenY[MAX_PLAYERS],
- Float:KenZ[MAX_PLAYERS],
- Float:KenA[MAX_PLAYERS],
- totalon,
- Text:cokfundo,
- ReceiverID[MAX_PLAYERS], PMfrom[MAX_PLAYERS], reply[MAX_PLAYERS],
- Float:gCopPlayerSpawns[2][3] = {
- {2297.1064,2452.0115,10.8203},
- {2297.0452,2468.6743,10.8203}
- },
- gActivePlayers[MAX_PLAYERS],
- gLastGaveCash[MAX_PLAYERS]
- ;
- //----statics----//
- static CoresV[] = {
- 0xFAFAD288,
- 0x836FFF88,
- 0xFFA50088,
- 0xADFF2F88,
- 0xFF000088,
- 0xAB82FF88,
- 0x7FFF0088
- };
- static const gSAZones[][SAZONE_MAIN] =
- {
- {"The Big Ear", {-410.00,1403.30,-3.00,-137.90,1681.20,200.00}},
- {"Aldea Malvada", {-1372.10,2498.50,0.00,-1277.50,2615.30,200.00}},
- {"Angel Pine", {-2324.90,-2584.20,-6.10,-1964.20,-2212.10,200.00}},
- {"Arco del Oeste", {-901.10,2221.80,0.00,-592.00,2571.90,200.00}},
- {"Avispa Country Club", {-2646.40,-355.40,0.00,-2270.00,-222.50,200.00}},
- {"Avispa Country Club", {-2831.80,-430.20,-6.10,-2646.40,-222.50,200.00}},
- {"Avispa Country Club", {-2361.50,-417.10,0.00,-2270.00,-355.40,200.00}},
- {"Avispa Country Club", {-2667.80,-302.10,-28.80,-2646.40,-262.30,71.10}},
- {"Avispa Country Club", {-2470.00,-355.40,0.00,-2270.00,-318.40,46.10}},
- {"Avispa Country Club", {-2550.00,-355.40,0.00,-2470.00,-318.40,39.70}},
- {"Back o Beyond", {-1166.90,-2641.10,0.00,-321.70,-1856.00,200.00}},
- {"Battery Point", {-2741.00,1268.40,-4.50,-2533.00,1490.40,200.00}},
- {"Bayside", {-2741.00,2175.10,0.00,-2353.10,2722.70,200.00}},
- {"Bayside Marina", {-2353.10,2275.70,0.00,-2153.10,2475.70,200.00}},
- {"Beacon Hill", {-399.60,-1075.50,-1.40,-319.00,-977.50,198.50}},
- {"Blackfield", {964.30,1203.20,-89.00,1197.30,1403.20,110.90}},
- {"Blackfield", {964.30,1403.20,-89.00,1197.30,1726.20,110.90}},
- {"Blackfield Chapel", {1375.60,596.30,-89.00,1558.00,823.20,110.90}},
- {"Blackfield Chapel", {1325.60,596.30,-89.00,1375.60,795.00,110.90}},
- {"Blackfield Intersection", {1197.30,1044.60,-89.00,1277.00,1163.30,110.90}},
- {"Blackfield Intersection", {1166.50,795.00,-89.00,1375.60,1044.60,110.90}},
- {"Blackfield Intersection", {1277.00,1044.60,-89.00,1315.30,1087.60,110.90}},
- {"Blackfield Intersection", {1375.60,823.20,-89.00,1457.30,919.40,110.90}},
- {"Blueberry", {104.50,-220.10,2.30,349.60,152.20,200.00}},
- {"Blueberry", {19.60,-404.10,3.80,349.60,-220.10,200.00}},
- {"Blueberry Acres", {-319.60,-220.10,0.00,104.50,293.30,200.00}},
- {"Caligula's Palace", {2087.30,1543.20,-89.00,2437.30,1703.20,110.90}},
- {"Caligula's Palace", {2137.40,1703.20,-89.00,2437.30,1783.20,110.90}},
- {"Calton Heights", {-2274.10,744.10,-6.10,-1982.30,1358.90,200.00}},
- {"Chinatown", {-2274.10,578.30,-7.60,-2078.60,744.10,200.00}},
- {"City Hall", {-2867.80,277.40,-9.10,-2593.40,458.40,200.00}},
- {"Come-A-Lot", {2087.30,943.20,-89.00,2623.10,1203.20,110.90}},
- {"Commerce", {1323.90,-1842.20,-89.00,1701.90,-1722.20,110.90}},
- {"Commerce", {1323.90,-1722.20,-89.00,1440.90,-1577.50,110.90}},
- {"Commerce", {1370.80,-1577.50,-89.00,1463.90,-1384.90,110.90}},
- {"Commerce", {1463.90,-1577.50,-89.00,1667.90,-1430.80,110.90}},
- {"Commerce", {1583.50,-1722.20,-89.00,1758.90,-1577.50,110.90}},
- {"Commerce", {1667.90,-1577.50,-89.00,1812.60,-1430.80,110.90}},
- {"Conference Center", {1046.10,-1804.20,-89.00,1323.90,-1722.20,110.90}},
- {"Conference Center", {1073.20,-1842.20,-89.00,1323.90,-1804.20,110.90}},
- {"Cranberry Station", {-2007.80,56.30,0.00,-1922.00,224.70,100.00}},
- {"Creek", {2749.90,1937.20,-89.00,2921.60,2669.70,110.90}},
- {"Dillimore", {580.70,-674.80,-9.50,861.00,-404.70,200.00}},
- {"Doherty", {-2270.00,-324.10,-0.00,-1794.90,-222.50,200.00}},
- {"Doherty", {-2173.00,-222.50,-0.00,-1794.90,265.20,200.00}},
- {"Downtown", {-1982.30,744.10,-6.10,-1871.70,1274.20,200.00}},
- {"Downtown", {-1871.70,1176.40,-4.50,-1620.30,1274.20,200.00}},
- {"Downtown", {-1700.00,744.20,-6.10,-1580.00,1176.50,200.00}},
- {"Downtown", {-1580.00,744.20,-6.10,-1499.80,1025.90,200.00}},
- {"Downtown", {-2078.60,578.30,-7.60,-1499.80,744.20,200.00}},
- {"Downtown", {-1993.20,265.20,-9.10,-1794.90,578.30,200.00}},
- {"Downtown Los Santos", {1463.90,-1430.80,-89.00,1724.70,-1290.80,110.90}},
- {"Downtown Los Santos", {1724.70,-1430.80,-89.00,1812.60,-1250.90,110.90}},
- {"Downtown Los Santos", {1463.90,-1290.80,-89.00,1724.70,-1150.80,110.90}},
- {"Downtown Los Santos", {1370.80,-1384.90,-89.00,1463.90,-1170.80,110.90}},
- {"Downtown Los Santos", {1724.70,-1250.90,-89.00,1812.60,-1150.80,110.90}},
- {"Downtown Los Santos", {1370.80,-1170.80,-89.00,1463.90,-1130.80,110.90}},
- {"Downtown Los Santos", {1378.30,-1130.80,-89.00,1463.90,-1026.30,110.90}},
- {"Downtown Los Santos", {1391.00,-1026.30,-89.00,1463.90,-926.90,110.90}},
- {"Downtown Los Santos", {1507.50,-1385.20,110.90,1582.50,-1325.30,335.90}},
- {"East Beach", {2632.80,-1852.80,-89.00,2959.30,-1668.10,110.90}},
- {"East Beach", {2632.80,-1668.10,-89.00,2747.70,-1393.40,110.90}},
- {"East Beach", {2747.70,-1668.10,-89.00,2959.30,-1498.60,110.90}},
- {"East Beach", {2747.70,-1498.60,-89.00,2959.30,-1120.00,110.90}},
- {"East Los Santos", {2421.00,-1628.50,-89.00,2632.80,-1454.30,110.90}},
- {"East Los Santos", {2222.50,-1628.50,-89.00,2421.00,-1494.00,110.90}},
- {"East Los Santos", {2266.20,-1494.00,-89.00,2381.60,-1372.00,110.90}},
- {"East Los Santos", {2381.60,-1494.00,-89.00,2421.00,-1454.30,110.90}},
- {"East Los Santos", {2281.40,-1372.00,-89.00,2381.60,-1135.00,110.90}},
- {"East Los Santos", {2381.60,-1454.30,-89.00,2462.10,-1135.00,110.90}},
- {"East Los Santos", {2462.10,-1454.30,-89.00,2581.70,-1135.00,110.90}},
- {"Easter Basin", {-1794.90,249.90,-9.10,-1242.90,578.30,200.00}},
- {"Easter Basin", {-1794.90,-50.00,-0.00,-1499.80,249.90,200.00}},
- {"Easter Bay Airport", {-1499.80,-50.00,-0.00,-1242.90,249.90,200.00}},
- {"Easter Bay Airport", {-1794.90,-730.10,-3.00,-1213.90,-50.00,200.00}},
- {"Easter Bay Airport", {-1213.90,-730.10,0.00,-1132.80,-50.00,200.00}},
- {"Easter Bay Airport", {-1242.90,-50.00,0.00,-1213.90,578.30,200.00}},
- {"Easter Bay Airport", {-1213.90,-50.00,-4.50,-947.90,578.30,200.00}},
- {"Easter Bay Airport", {-1315.40,-405.30,15.40,-1264.40,-209.50,25.40}},
- {"Easter Bay Airport", {-1354.30,-287.30,15.40,-1315.40,-209.50,25.40}},
- {"Easter Bay Airport", {-1490.30,-209.50,15.40,-1264.40,-148.30,25.40}},
- {"Easter Bay Chemicals", {-1132.80,-768.00,0.00,-956.40,-578.10,200.00}},
- {"Easter Bay Chemicals", {-1132.80,-787.30,0.00,-956.40,-768.00,200.00}},
- {"El Castillo del Diablo", {-464.50,2217.60,0.00,-208.50,2580.30,200.00}},
- {"El Castillo del Diablo", {-208.50,2123.00,-7.60,114.00,2337.10,200.00}},
- {"El Castillo del Diablo", {-208.50,2337.10,0.00,8.40,2487.10,200.00}},
- {"El Corona", {1812.60,-2179.20,-89.00,1970.60,-1852.80,110.90}},
- {"El Corona", {1692.60,-2179.20,-89.00,1812.60,-1842.20,110.90}},
- {"El Quebrados", {-1645.20,2498.50,0.00,-1372.10,2777.80,200.00}},
- {"Esplanade East", {-1620.30,1176.50,-4.50,-1580.00,1274.20,200.00}},
- {"Esplanade East", {-1580.00,1025.90,-6.10,-1499.80,1274.20,200.00}},
- {"Esplanade East", {-1499.80,578.30,-79.60,-1339.80,1274.20,20.30}},
- {"Esplanade North", {-2533.00,1358.90,-4.50,-1996.60,1501.20,200.00}},
- {"Esplanade North", {-1996.60,1358.90,-4.50,-1524.20,1592.50,200.00}},
- {"Esplanade North", {-1982.30,1274.20,-4.50,-1524.20,1358.90,200.00}},
- {"Fallen Tree", {-792.20,-698.50,-5.30,-452.40,-380.00,200.00}},
- {"Fallow Bridge", {434.30,366.50,0.00,603.00,555.60,200.00}},
- {"Fern Ridge", {508.10,-139.20,0.00,1306.60,119.50,200.00}},
- {"Financial", {-1871.70,744.10,-6.10,-1701.30,1176.40,300.00}},
- {"Fisher's Lagoon", {1916.90,-233.30,-100.00,2131.70,13.80,200.00}},
- {"Flint Intersection", {-187.70,-1596.70,-89.00,17.00,-1276.60,110.90}},
- {"Flint Range", {-594.10,-1648.50,0.00,-187.70,-1276.60,200.00}},
- {"Fort Carson", {-376.20,826.30,-3.00,123.70,1220.40,200.00}},
- {"Foster Valley", {-2270.00,-430.20,-0.00,-2178.60,-324.10,200.00}},
- {"Foster Valley", {-2178.60,-599.80,-0.00,-1794.90,-324.10,200.00}},
- {"Foster Valley", {-2178.60,-1115.50,0.00,-1794.90,-599.80,200.00}},
- {"Foster Valley", {-2178.60,-1250.90,0.00,-1794.90,-1115.50,200.00}},
- {"Frederick Bridge", {2759.20,296.50,0.00,2774.20,594.70,200.00}},
- {"Gant Bridge", {-2741.40,1659.60,-6.10,-2616.40,2175.10,200.00}},
- {"Gant Bridge", {-2741.00,1490.40,-6.10,-2616.40,1659.60,200.00}},
- {"Ganton", {2222.50,-1852.80,-89.00,2632.80,-1722.30,110.90}},
- {"Ganton", {2222.50,-1722.30,-89.00,2632.80,-1628.50,110.90}},
- {"Garcia", {-2411.20,-222.50,-0.00,-2173.00,265.20,200.00}},
- {"Garcia", {-2395.10,-222.50,-5.30,-2354.00,-204.70,200.00}},
- {"Garver Bridge", {-1339.80,828.10,-89.00,-1213.90,1057.00,110.90}},
- {"Garver Bridge", {-1213.90,950.00,-89.00,-1087.90,1178.90,110.90}},
- {"Garver Bridge", {-1499.80,696.40,-179.60,-1339.80,925.30,20.30}},
- {"Glen Park", {1812.60,-1449.60,-89.00,1996.90,-1350.70,110.90}},
- {"Glen Park", {1812.60,-1100.80,-89.00,1994.30,-973.30,110.90}},
- {"Glen Park", {1812.60,-1350.70,-89.00,2056.80,-1100.80,110.90}},
- {"Green Palms", {176.50,1305.40,-3.00,338.60,1520.70,200.00}},
- {"Greenglass College", {964.30,1044.60,-89.00,1197.30,1203.20,110.90}},
- {"Greenglass College", {964.30,930.80,-89.00,1166.50,1044.60,110.90}},
- {"Hampton Barns", {603.00,264.30,0.00,761.90,366.50,200.00}},
- {"Hankypanky Point", {2576.90,62.10,0.00,2759.20,385.50,200.00}},
- {"Harry Gold Parkway", {1777.30,863.20,-89.00,1817.30,2342.80,110.90}},
- {"Hashbury", {-2593.40,-222.50,-0.00,-2411.20,54.70,200.00}},
- {"Hilltop Farm", {967.30,-450.30,-3.00,1176.70,-217.90,200.00}},
- {"Hunter Quarry", {337.20,710.80,-115.20,860.50,1031.70,203.70}},
- {"Idlewood", {1812.60,-1852.80,-89.00,1971.60,-1742.30,110.90}},
- {"Idlewood", {1812.60,-1742.30,-89.00,1951.60,-1602.30,110.90}},
- {"Idlewood", {1951.60,-1742.30,-89.00,2124.60,-1602.30,110.90}},
- {"Idlewood", {1812.60,-1602.30,-89.00,2124.60,-1449.60,110.90}},
- {"Idlewood", {2124.60,-1742.30,-89.00,2222.50,-1494.00,110.90}},
- {"Idlewood", {1971.60,-1852.80,-89.00,2222.50,-1742.30,110.90}},
- {"Jefferson", {1996.90,-1449.60,-89.00,2056.80,-1350.70,110.90}},
- {"Jefferson", {2124.60,-1494.00,-89.00,2266.20,-1449.60,110.90}},
- {"Jefferson", {2056.80,-1372.00,-89.00,2281.40,-1210.70,110.90}},
- {"Jefferson", {2056.80,-1210.70,-89.00,2185.30,-1126.30,110.90}},
- {"Jefferson", {2185.30,-1210.70,-89.00,2281.40,-1154.50,110.90}},
- {"Jefferson", {2056.80,-1449.60,-89.00,2266.20,-1372.00,110.90}},
- {"Julius Thruway East", {2623.10,943.20,-89.00,2749.90,1055.90,110.90}},
- {"Julius Thruway East", {2685.10,1055.90,-89.00,2749.90,2626.50,110.90}},
- {"Julius Thruway East", {2536.40,2442.50,-89.00,2685.10,2542.50,110.90}},
- {"Julius Thruway East", {2625.10,2202.70,-89.00,2685.10,2442.50,110.90}},
- {"Julius Thruway North", {2498.20,2542.50,-89.00,2685.10,2626.50,110.90}},
- {"Julius Thruway North", {2237.40,2542.50,-89.00,2498.20,2663.10,110.90}},
- {"Julius Thruway North", {2121.40,2508.20,-89.00,2237.40,2663.10,110.90}},
- {"Julius Thruway North", {1938.80,2508.20,-89.00,2121.40,2624.20,110.90}},
- {"Julius Thruway North", {1534.50,2433.20,-89.00,1848.40,2583.20,110.90}},
- {"Julius Thruway North", {1848.40,2478.40,-89.00,1938.80,2553.40,110.90}},
- {"Julius Thruway North", {1704.50,2342.80,-89.00,1848.40,2433.20,110.90}},
- {"Julius Thruway North", {1377.30,2433.20,-89.00,1534.50,2507.20,110.90}},
- {"Julius Thruway South", {1457.30,823.20,-89.00,2377.30,863.20,110.90}},
- {"Julius Thruway South", {2377.30,788.80,-89.00,2537.30,897.90,110.90}},
- {"Julius Thruway West", {1197.30,1163.30,-89.00,1236.60,2243.20,110.90}},
- {"Julius Thruway West", {1236.60,2142.80,-89.00,1297.40,2243.20,110.90}},
- {"Juniper Hill", {-2533.00,578.30,-7.60,-2274.10,968.30,200.00}},
- {"Juniper Hollow", {-2533.00,968.30,-6.10,-2274.10,1358.90,200.00}},
- {"K.A.C.C. Military Fuels", {2498.20,2626.50,-89.00,2749.90,2861.50,110.90}},
- {"Kincaid Bridge", {-1339.80,599.20,-89.00,-1213.90,828.10,110.90}},
- {"Kincaid Bridge", {-1213.90,721.10,-89.00,-1087.90,950.00,110.90}},
- {"Kincaid Bridge", {-1087.90,855.30,-89.00,-961.90,986.20,110.90}},
- {"King's", {-2329.30,458.40,-7.60,-1993.20,578.30,200.00}},
- {"King's", {-2411.20,265.20,-9.10,-1993.20,373.50,200.00}},
- {"King's", {-2253.50,373.50,-9.10,-1993.20,458.40,200.00}},
- {"LVA Freight Depot", {1457.30,863.20,-89.00,1777.40,1143.20,110.90}},
- {"LVA Freight Depot", {1375.60,919.40,-89.00,1457.30,1203.20,110.90}},
- {"LVA Freight Depot", {1277.00,1087.60,-89.00,1375.60,1203.20,110.90}},
- {"LVA Freight Depot", {1315.30,1044.60,-89.00,1375.60,1087.60,110.90}},
- {"LVA Freight Depot", {1236.60,1163.40,-89.00,1277.00,1203.20,110.90}},
- {"Las Barrancas", {-926.10,1398.70,-3.00,-719.20,1634.60,200.00}},
- {"Las Brujas", {-365.10,2123.00,-3.00,-208.50,2217.60,200.00}},
- {"Las Colinas", {1994.30,-1100.80,-89.00,2056.80,-920.80,110.90}},
- {"Las Colinas", {2056.80,-1126.30,-89.00,2126.80,-920.80,110.90}},
- {"Las Colinas", {2185.30,-1154.50,-89.00,2281.40,-934.40,110.90}},
- {"Las Colinas", {2126.80,-1126.30,-89.00,2185.30,-934.40,110.90}},
- {"Las Colinas", {2747.70,-1120.00,-89.00,2959.30,-945.00,110.90}},
- {"Las Colinas", {2632.70,-1135.00,-89.00,2747.70,-945.00,110.90}},
- {"Las Colinas", {2281.40,-1135.00,-89.00,2632.70,-945.00,110.90}},
- {"Las Payasadas", {-354.30,2580.30,2.00,-133.60,2816.80,200.00}},
- {"Las Venturas Airport", {1236.60,1203.20,-89.00,1457.30,1883.10,110.90}},
- {"Las Venturas Airport", {1457.30,1203.20,-89.00,1777.30,1883.10,110.90}},
- {"Las Venturas Airport", {1457.30,1143.20,-89.00,1777.40,1203.20,110.90}},
- {"Las Venturas Airport", {1515.80,1586.40,-12.50,1729.90,1714.50,87.50}},
- {"Last Dime Motel", {1823.00,596.30,-89.00,1997.20,823.20,110.90}},
- {"Leafy Hollow", {-1166.90,-1856.00,0.00,-815.60,-1602.00,200.00}},
- {"Liberty City", {-1000.00,400.00,1300.00,-700.00,600.00,1400.00}},
- {"Lil' Probe Inn", {-90.20,1286.80,-3.00,153.80,1554.10,200.00}},
- {"Linden Side", {2749.90,943.20,-89.00,2923.30,1198.90,110.90}},
- {"Linden Station", {2749.90,1198.90,-89.00,2923.30,1548.90,110.90}},
- {"Linden Station", {2811.20,1229.50,-39.50,2861.20,1407.50,60.40}},
- {"Little Mexico", {1701.90,-1842.20,-89.00,1812.60,-1722.20,110.90}},
- {"Little Mexico", {1758.90,-1722.20,-89.00,1812.60,-1577.50,110.90}},
- {"Los Flores", {2581.70,-1454.30,-89.00,2632.80,-1393.40,110.90}},
- {"Los Flores", {2581.70,-1393.40,-89.00,2747.70,-1135.00,110.90}},
- {"Los Santos International", {1249.60,-2394.30,-89.00,1852.00,-2179.20,110.90}},
- {"Los Santos International", {1852.00,-2394.30,-89.00,2089.00,-2179.20,110.90}},
- {"Los Santos International", {1382.70,-2730.80,-89.00,2201.80,-2394.30,110.90}},
- {"Los Santos International", {1974.60,-2394.30,-39.00,2089.00,-2256.50,60.90}},
- {"Los Santos International", {1400.90,-2669.20,-39.00,2189.80,-2597.20,60.90}},
- {"Los Santos International", {2051.60,-2597.20,-39.00,2152.40,-2394.30,60.90}},
- {"Marina", {647.70,-1804.20,-89.00,851.40,-1577.50,110.90}},
- {"Marina", {647.70,-1577.50,-89.00,807.90,-1416.20,110.90}},
- {"Marina", {807.90,-1577.50,-89.00,926.90,-1416.20,110.90}},
- {"Market", {787.40,-1416.20,-89.00,1072.60,-1310.20,110.90}},
- {"Market", {952.60,-1310.20,-89.00,1072.60,-1130.80,110.90}},
- {"Market", {1072.60,-1416.20,-89.00,1370.80,-1130.80,110.90}},
- {"Market", {926.90,-1577.50,-89.00,1370.80,-1416.20,110.90}},
- {"Market Station", {787.40,-1410.90,-34.10,866.00,-1310.20,65.80}},
- {"Martin Bridge", {-222.10,293.30,0.00,-122.10,476.40,200.00}},
- {"Missionary Hill", {-2994.40,-811.20,0.00,-2178.60,-430.20,200.00}},
- {"Montgomery", {1119.50,119.50,-3.00,1451.40,493.30,200.00}},
- {"Montgomery", {1451.40,347.40,-6.10,1582.40,420.80,200.00}},
- {"Montgomery Intersection", {1546.60,208.10,0.00,1745.80,347.40,200.00}},
- {"Montgomery Intersection", {1582.40,347.40,0.00,1664.60,401.70,200.00}},
- {"Mulholland", {1414.00,-768.00,-89.00,1667.60,-452.40,110.90}},
- {"Mulholland", {1281.10,-452.40,-89.00,1641.10,-290.90,110.90}},
- {"Mulholland", {1269.10,-768.00,-89.00,1414.00,-452.40,110.90}},
- {"Mulholland", {1357.00,-926.90,-89.00,1463.90,-768.00,110.90}},
- {"Mulholland", {1318.10,-910.10,-89.00,1357.00,-768.00,110.90}},
- {"Mulholland", {1169.10,-910.10,-89.00,1318.10,-768.00,110.90}},
- {"Mulholland", {768.60,-954.60,-89.00,952.60,-860.60,110.90}},
- {"Mulholland", {687.80,-860.60,-89.00,911.80,-768.00,110.90}},
- {"Mulholland", {737.50,-768.00,-89.00,1142.20,-674.80,110.90}},
- {"Mulholland", {1096.40,-910.10,-89.00,1169.10,-768.00,110.90}},
- {"Mulholland", {952.60,-937.10,-89.00,1096.40,-860.60,110.90}},
- {"Mulholland", {911.80,-860.60,-89.00,1096.40,-768.00,110.90}},
- {"Mulholland", {861.00,-674.80,-89.00,1156.50,-600.80,110.90}},
- {"Mulholland Intersection", {1463.90,-1150.80,-89.00,1812.60,-768.00,110.90}},
- {"North Rock", {2285.30,-768.00,0.00,2770.50,-269.70,200.00}},
- {"Ocean Docks", {2373.70,-2697.00,-89.00,2809.20,-2330.40,110.90}},
- {"Ocean Docks", {2201.80,-2418.30,-89.00,2324.00,-2095.00,110.90}},
- {"Ocean Docks", {2324.00,-2302.30,-89.00,2703.50,-2145.10,110.90}},
- {"Ocean Docks", {2089.00,-2394.30,-89.00,2201.80,-2235.80,110.90}},
- {"Ocean Docks", {2201.80,-2730.80,-89.00,2324.00,-2418.30,110.90}},
- {"Ocean Docks", {2703.50,-2302.30,-89.00,2959.30,-2126.90,110.90}},
- {"Ocean Docks", {2324.00,-2145.10,-89.00,2703.50,-2059.20,110.90}},
- {"Ocean Flats", {-2994.40,277.40,-9.10,-2867.80,458.40,200.00}},
- {"Ocean Flats", {-2994.40,-222.50,-0.00,-2593.40,277.40,200.00}},
- {"Ocean Flats", {-2994.40,-430.20,-0.00,-2831.80,-222.50,200.00}},
- {"Octane Springs", {338.60,1228.50,0.00,664.30,1655.00,200.00}},
- {"Old Venturas Strip", {2162.30,2012.10,-89.00,2685.10,2202.70,110.90}},
- {"Palisades", {-2994.40,458.40,-6.10,-2741.00,1339.60,200.00}},
- {"Palomino Creek", {2160.20,-149.00,0.00,2576.90,228.30,200.00}},
- {"Paradiso", {-2741.00,793.40,-6.10,-2533.00,1268.40,200.00}},
- {"Pershing Square", {1440.90,-1722.20,-89.00,1583.50,-1577.50,110.90}},
- {"Pilgrim", {2437.30,1383.20,-89.00,2624.40,1783.20,110.90}},
- {"Pilgrim", {2624.40,1383.20,-89.00,2685.10,1783.20,110.90}},
- {"Pilson Intersection", {1098.30,2243.20,-89.00,1377.30,2507.20,110.90}},
- {"Pirates in Men's Pants", {1817.30,1469.20,-89.00,2027.40,1703.20,110.90}},
- {"Playa del Seville", {2703.50,-2126.90,-89.00,2959.30,-1852.80,110.90}},
- {"Prickle Pine", {1534.50,2583.20,-89.00,1848.40,2863.20,110.90}},
- {"Prickle Pine", {1117.40,2507.20,-89.00,1534.50,2723.20,110.90}},
- {"Prickle Pine", {1848.40,2553.40,-89.00,1938.80,2863.20,110.90}},
- {"Prickle Pine", {1938.80,2624.20,-89.00,2121.40,2861.50,110.90}},
- {"Queens", {-2533.00,458.40,0.00,-2329.30,578.30,200.00}},
- {"Queens", {-2593.40,54.70,0.00,-2411.20,458.40,200.00}},
- {"Queens", {-2411.20,373.50,0.00,-2253.50,458.40,200.00}},
- {"Randolph Industrial Estate", {1558.00,596.30,-89.00,1823.00,823.20,110.90}},
- {"Redsands East", {1817.30,2011.80,-89.00,2106.70,2202.70,110.90}},
- {"Redsands East", {1817.30,2202.70,-89.00,2011.90,2342.80,110.90}},
- {"Redsands East", {1848.40,2342.80,-89.00,2011.90,2478.40,110.90}},
- {"Redsands West", {1236.60,1883.10,-89.00,1777.30,2142.80,110.90}},
- {"Redsands West", {1297.40,2142.80,-89.00,1777.30,2243.20,110.90}},
- {"Redsands West", {1377.30,2243.20,-89.00,1704.50,2433.20,110.90}},
- {"Redsands West", {1704.50,2243.20,-89.00,1777.30,2342.80,110.90}},
- {"Regular Tom", {-405.70,1712.80,-3.00,-276.70,1892.70,200.00}},
- {"Richman", {647.50,-1118.20,-89.00,787.40,-954.60,110.90}},
- {"Richman", {647.50,-954.60,-89.00,768.60,-860.60,110.90}},
- {"Richman", {225.10,-1369.60,-89.00,334.50,-1292.00,110.90}},
- {"Richman", {225.10,-1292.00,-89.00,466.20,-1235.00,110.90}},
- {"Richman", {72.60,-1404.90,-89.00,225.10,-1235.00,110.90}},
- {"Richman", {72.60,-1235.00,-89.00,321.30,-1008.10,110.90}},
- {"Richman", {321.30,-1235.00,-89.00,647.50,-1044.00,110.90}},
- {"Richman", {321.30,-1044.00,-89.00,647.50,-860.60,110.90}},
- {"Richman", {321.30,-860.60,-89.00,687.80,-768.00,110.90}},
- {"Richman", {321.30,-768.00,-89.00,700.70,-674.80,110.90}},
- {"Robada Intersection", {-1119.00,1178.90,-89.00,-862.00,1351.40,110.90}},
- {"Roca Escalante", {2237.40,2202.70,-89.00,2536.40,2542.50,110.90}},
- {"Roca Escalante", {2536.40,2202.70,-89.00,2625.10,2442.50,110.90}},
- {"Rockshore East", {2537.30,676.50,-89.00,2902.30,943.20,110.90}},
- {"Rockshore West", {1997.20,596.30,-89.00,2377.30,823.20,110.90}},
- {"Rockshore West", {2377.30,596.30,-89.00,2537.30,788.80,110.90}},
- {"Rodeo", {72.60,-1684.60,-89.00,225.10,-1544.10,110.90}},
- {"Rodeo", {72.60,-1544.10,-89.00,225.10,-1404.90,110.90}},
- {"Rodeo", {225.10,-1684.60,-89.00,312.80,-1501.90,110.90}},
- {"Rodeo", {225.10,-1501.90,-89.00,334.50,-1369.60,110.90}},
- {"Rodeo", {334.50,-1501.90,-89.00,422.60,-1406.00,110.90}},
- {"Rodeo", {312.80,-1684.60,-89.00,422.60,-1501.90,110.90}},
- {"Rodeo", {422.60,-1684.60,-89.00,558.00,-1570.20,110.90}},
- {"Rodeo", {558.00,-1684.60,-89.00,647.50,-1384.90,110.90}},
- {"Rodeo", {466.20,-1570.20,-89.00,558.00,-1385.00,110.90}},
- {"Rodeo", {422.60,-1570.20,-89.00,466.20,-1406.00,110.90}},
- {"Rodeo", {466.20,-1385.00,-89.00,647.50,-1235.00,110.90}},
- {"Rodeo", {334.50,-1406.00,-89.00,466.20,-1292.00,110.90}},
- {"Royal Casino", {2087.30,1383.20,-89.00,2437.30,1543.20,110.90}},
- {"San Andreas Sound", {2450.30,385.50,-100.00,2759.20,562.30,200.00}},
- {"Santa Flora", {-2741.00,458.40,-7.60,-2533.00,793.40,200.00}},
- {"Santa Maria Beach", {342.60,-2173.20,-89.00,647.70,-1684.60,110.90}},
- {"Santa Maria Beach", {72.60,-2173.20,-89.00,342.60,-1684.60,110.90}},
- {"Shady Cabin", {-1632.80,-2263.40,-3.00,-1601.30,-2231.70,200.00}},
- {"Shady Creeks", {-1820.60,-2643.60,-8.00,-1226.70,-1771.60,200.00}},
- {"Shady Creeks", {-2030.10,-2174.80,-6.10,-1820.60,-1771.60,200.00}},
- {"Sobell Rail Yards", {2749.90,1548.90,-89.00,2923.30,1937.20,110.90}},
- {"Spinybed", {2121.40,2663.10,-89.00,2498.20,2861.50,110.90}},
- {"Starfish Casino", {2437.30,1783.20,-89.00,2685.10,2012.10,110.90}},
- {"Starfish Casino", {2437.30,1858.10,-39.00,2495.00,1970.80,60.90}},
- {"Starfish Casino", {2162.30,1883.20,-89.00,2437.30,2012.10,110.90}},
- {"Temple", {1252.30,-1130.80,-89.00,1378.30,-1026.30,110.90}},
- {"Temple", {1252.30,-1026.30,-89.00,1391.00,-926.90,110.90}},
- {"Temple", {1252.30,-926.90,-89.00,1357.00,-910.10,110.90}},
- {"Temple", {952.60,-1130.80,-89.00,1096.40,-937.10,110.90}},
- {"Temple", {1096.40,-1130.80,-89.00,1252.30,-1026.30,110.90}},
- {"Temple", {1096.40,-1026.30,-89.00,1252.30,-910.10,110.90}},
- {"The Camel's Toe", {2087.30,1203.20,-89.00,2640.40,1383.20,110.90}},
- {"The Clown's Pocket", {2162.30,1783.20,-89.00,2437.30,1883.20,110.90}},
- {"The Emerald Isle", {2011.90,2202.70,-89.00,2237.40,2508.20,110.90}},
- {"The Farm", {-1209.60,-1317.10,114.90,-908.10,-787.30,251.90}},
- {"The Four Dragons Casino", {1817.30,863.20,-89.00,2027.30,1083.20,110.90}},
- {"The High Roller", {1817.30,1283.20,-89.00,2027.30,1469.20,110.90}},
- {"The Mako Span", {1664.60,401.70,0.00,1785.10,567.20,200.00}},
- {"The Panopticon", {-947.90,-304.30,-1.10,-319.60,327.00,200.00}},
- {"The Pink Swan", {1817.30,1083.20,-89.00,2027.30,1283.20,110.90}},
- {"The Sherman Dam", {-968.70,1929.40,-3.00,-481.10,2155.20,200.00}},
- {"The Strip", {2027.40,863.20,-89.00,2087.30,1703.20,110.90}},
- {"The Strip", {2106.70,1863.20,-89.00,2162.30,2202.70,110.90}},
- {"The Strip", {2027.40,1783.20,-89.00,2162.30,1863.20,110.90}},
- {"The Strip", {2027.40,1703.20,-89.00,2137.40,1783.20,110.90}},
- {"The Visage", {1817.30,1863.20,-89.00,2106.70,2011.80,110.90}},
- {"The Visage", {1817.30,1703.20,-89.00,2027.40,1863.20,110.90}},
- {"Unity Station", {1692.60,-1971.80,-20.40,1812.60,-1932.80,79.50}},
- {"Valle Ocultado", {-936.60,2611.40,2.00,-715.90,2847.90,200.00}},
- {"Verdant Bluffs", {930.20,-2488.40,-89.00,1249.60,-2006.70,110.90}},
- {"Verdant Bluffs", {1073.20,-2006.70,-89.00,1249.60,-1842.20,110.90}},
- {"Verdant Bluffs", {1249.60,-2179.20,-89.00,1692.60,-1842.20,110.90}},
- {"Verdant Meadows", {37.00,2337.10,-3.00,435.90,2677.90,200.00}},
- {"Verona Beach", {647.70,-2173.20,-89.00,930.20,-1804.20,110.90}},
- {"Verona Beach", {930.20,-2006.70,-89.00,1073.20,-1804.20,110.90}},
- {"Verona Beach", {851.40,-1804.20,-89.00,1046.10,-1577.50,110.90}},
- {"Verona Beach", {1161.50,-1722.20,-89.00,1323.90,-1577.50,110.90}},
- {"Verona Beach", {1046.10,-1722.20,-89.00,1161.50,-1577.50,110.90}},
- {"Vinewood", {787.40,-1310.20,-89.00,952.60,-1130.80,110.90}},
- {"Vinewood", {787.40,-1130.80,-89.00,952.60,-954.60,110.90}},
- {"Vinewood", {647.50,-1227.20,-89.00,787.40,-1118.20,110.90}},
- {"Vinewood", {647.70,-1416.20,-89.00,787.40,-1227.20,110.90}},
- {"Whitewood Estates", {883.30,1726.20,-89.00,1098.30,2507.20,110.90}},
- {"Whitewood Estates", {1098.30,1726.20,-89.00,1197.30,2243.20,110.90}},
- {"Willowfield", {1970.60,-2179.20,-89.00,2089.00,-1852.80,110.90}},
- {"Willowfield", {2089.00,-2235.80,-89.00,2201.80,-1989.90,110.90}},
- {"Willowfield", {2089.00,-1989.90,-89.00,2324.00,-1852.80,110.90}},
- {"Willowfield", {2201.80,-2095.00,-89.00,2324.00,-1989.90,110.90}},
- {"Willowfield", {2541.70,-1941.40,-89.00,2703.50,-1852.80,110.90}},
- {"Willowfield", {2324.00,-2059.20,-89.00,2541.70,-1852.80,110.90}},
- {"Willowfield", {2541.70,-2059.20,-89.00,2703.50,-1941.40,110.90}},
- {"Yellow Bell Station", {1377.40,2600.40,-21.90,1492.40,2687.30,78.00}},
- {"Los Santos", {44.60,-2892.90,-242.90,2997.00,-768.00,900.00}},
- {"Las Venturas", {869.40,596.30,-242.90,2997.00,2993.80,900.00}},
- {"Bone County", {-480.50,596.30,-242.90,869.40,2993.80,900.00}},
- {"Tierra Robada", {-2997.40,1659.60,-242.90,-480.50,2993.80,900.00}},
- {"Tierra Robada", {-1213.90,596.30,-242.90,-480.50,1659.60,900.00}},
- {"San Fierro", {-2997.40,-1115.50,-242.90,-1213.90,1659.60,900.00}},
- {"Red County", {-1213.90,-768.00,-242.90,2997.00,596.30,900.00}},
- {"Flint County", {-1213.90,-2892.90,-242.90,44.60,-768.00,900.00}},
- {"Whetstone", {-2997.40,-2892.90,-242.90,-1213.90,-1115.50,900.00}}
- };
- //----News especiais----//
- new RandomMSG[][] =
- {
- "[SERVER] Visite nosso fórum: http://cokbr.forumbrasil.net",
- "[SERVER] Viu um hacker? Use /report [ID] [motivo]",
- "[SERVER] Venha rir, entre: http://www.trolldivision.com",
- "[SERVER] Nosso server possui sistema de Rádio. Quer ouvir? Use: /radios"
- };
- new iSpawnSet[MAX_PLAYERS];
- new Float:RandomSpawn[][6] =
- {
- {-973.6733,1061.2589,1345.6721,85.6553},
- {-1027.8649,1081.1333,1343.2194,282.9058},
- {-1025.7057,1082.3707,1343.3472,67.0405},
- {-1039.5646,1085.4370,1343.3317,154.3409},
- {-1062.0338,1070.1962,1343.4124,121.8743},
- {-1069.0345,1092.3414,1343.1663,116.1298}
- };
- new iSpawnedCar[MAX]=-1;
- new OnSkyDiving[MAX];
- new Float:gRandomPlayerSpawns[28][3] = {
- {1958.3783,1343.1572,15.3746},
- {2199.6531,1393.3678,10.8203},
- {2483.5977,1222.0825,10.8203},
- {2637.2712,1129.2743,11.1797},
- {2000.0106,1521.1111,17.0625},
- {2024.8190,1917.9425,12.3386},
- {2261.9048,2035.9547,10.8203},
- {2262.0986,2398.6572,10.8203},
- {2244.2566,2523.7280,10.8203},
- {2335.3228,2786.4478,10.8203},
- {2150.0186,2734.2297,11.1763},
- {2158.0811,2797.5488,10.8203},
- {1969.8301,2722.8564,10.8203},
- {1652.0555,2709.4072,10.8265},
- {1564.0052,2756.9463,10.8203},
- {1271.5452,2554.0227,10.8203},
- {1441.5894,2567.9099,10.8203},
- {1480.6473,2213.5718,11.0234},
- {1400.5906,2225.6960,11.0234},
- {1598.8419,2221.5676,11.0625},
- {1318.7759,1251.3580,10.8203},
- {1558.0731,1007.8292,10.8125},
- {-857.0551,1536.6832,22.5870},
- {817.3494,856.5039,12.7891},
- {116.9315,1110.1823,13.6094},
- {-18.8529,1176.0159,19.5634},
- {-315.0575,1774.0636,43.6406},
- {1705.2347,1025.6808,10.8203}
- };
- // ---- FIM DO TOPO DO GM ---- //
- main()
- {
- print("\n----------------------------------");
- print("_-_ CITY OF KILLERS ~~~~ 0.3e _-_\n");
- print(" Coded By");
- print(" [XPG]MarlonCS");
- print("----------------------------------\n");
- }
- public OnPlayerRequestSpawn(playerid)
- {
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- ProcessGameTime(playerid);
- SetPlayerInterior(playerid,0);
- SetPlayerRandomSpawn(playerid);
- SetPlayerColor(playerid, 0xFFFFFFAA);
- new name[MAX_PLAYER_NAME+1];
- GetPlayerName(playerid, name, sizeof(name));
- 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]");
- TextDrawUseBox(cokfundo, true);
- TextDrawBoxColor(cokfundo, 0x00000066);
- TextDrawSetOutline(cokfundo, 1);
- TextDrawFont(cokfundo, 1);
- TextDrawSetProportional(cokfundo, false);
- TextDrawAlignment(cokfundo, 0);
- TextDrawLetterSize(cokfundo, 0.4, 2.0);
- TextDrawSetShadow(cokfundo, 1);
- gActivePlayers[playerid]++;
- format(string, sizeof(string), "[SERVER] %s [%d] entrou no servidor.", name, playerid);
- SendClientMessageToAll(0xC0C0C0AA, string);
- gLastGaveCash[playerid] = GetTickCount();
- TextDrawShowForPlayer(playerid, cokfundo);
- SendClientMessage(playerid,0xFFFFFFAA,"___________________________________________________________");
- SendClientMessage(playerid,0xFFFFFFAA," City of {AA3333}Killers ");
- SendClientMessage(playerid,0xFFFFFFAA," ");
- SendClientMessage(playerid,0xFFFFFFAA," {1E90FF}/comandos /ajuda /regras /creditos /radios ");
- SendClientMessage(playerid,0xFFFFFFAA," Fórum: http://cityof{AA3333}killers{FFFFFF}.forumbrasil.net ");
- SendClientMessage(playerid,0xFFFFFFAA,"___________________________________________________________");
- CarregarInformacoes(playerid);
- ProgressaoInfo[playerid][TPontos] = TextDrawCreate(496.000000, 105.000000, "~l~Pontos: ~b~953");
- TextDrawBackgroundColor(ProgressaoInfo[playerid][TPontos], 16777215);
- TextDrawFont(ProgressaoInfo[playerid][TPontos], 2);
- TextDrawLetterSize(ProgressaoInfo[playerid][TPontos], 0.420000, 1.400000);
- TextDrawColor(ProgressaoInfo[playerid][TPontos], -1);
- TextDrawSetOutline(ProgressaoInfo[playerid][TPontos], 1);
- TextDrawSetProportional(ProgressaoInfo[playerid][TPontos], 1);
- AlreadyGiveWeapons[playerid] = false;
- //Neve no chilliad
- RemoveBuildingForPlayer(playerid, 18399, -2426.9375, -1530.4531, 440.9688, 0.25);
- RemoveBuildingForPlayer(playerid, 18570, -2249.3594, -1572.8672, 418.7656, 0.25);
- RemoveBuildingForPlayer(playerid, 18571, -2431.6797, -1759.6641, 403.8672, 0.25);
- RemoveBuildingForPlayer(playerid, 18572, -2438.4375, -1949.0547, 310.9141, 0.25);
- RemoveBuildingForPlayer(playerid, 18573, -2237.0000, -1951.5234, 297.5625, 0.25);
- RemoveBuildingForPlayer(playerid, 18574, -2181.4688, -1774.8125, 217.3984, 0.25);
- RemoveBuildingForPlayer(playerid, 18575, -2145.1953, -1576.7188, 259.6484, 0.25);
- RemoveBuildingForPlayer(playerid, 18576, -2221.8359, -1367.7969, 300.4609, 0.25);
- RemoveBuildingForPlayer(playerid, 18577, -2182.2266, -1358.7109, 135.2422, 0.25);
- RemoveBuildingForPlayer(playerid, 18578, -2426.5000, -1347.3125, 300.8047, 0.25);
- RemoveBuildingForPlayer(playerid, 18579, -2583.4297, -1343.4531, 270.8438, 0.25);
- RemoveBuildingForPlayer(playerid, 18580, -2624.3047, -1562.8828, 353.4531, 0.25);
- RemoveBuildingForPlayer(playerid, 18581, -2655.2813, -1781.0078, 265.1406, 0.25);
- RemoveBuildingForPlayer(playerid, 18582, -2724.3203, -1555.9609, 222.8906, 0.25);
- RemoveBuildingForPlayer(playerid, 18583, -2700.2813, -1345.7969, 213.4609, 0.25);
- RemoveBuildingForPlayer(playerid, 18584, -2421.1563, -1134.0938, 168.7813, 0.25);
- RemoveBuildingForPlayer(playerid, 18585, -2239.6406, -1762.7266, 381.9531, 0.25);
- RemoveBuildingForPlayer(playerid, 18586, -1980.3750, -1330.4922, 74.8516, 0.25);
- RemoveBuildingForPlayer(playerid, 18587, -2186.7500, -1147.7344, 108.1563, 0.25);
- RemoveBuildingForPlayer(playerid, 18588, -2291.7813, -993.4063, 63.5781, 0.25);
- RemoveBuildingForPlayer(playerid, 18590, -2646.3516, -1116.9297, 111.7578, 0.25);
- RemoveBuildingForPlayer(playerid, 18596, -2444.5000, -1991.6719, 198.6953, 0.25);
- RemoveBuildingForPlayer(playerid, 18597, -2656.6797, -1992.9531, 80.1719, 0.25);
- RemoveBuildingForPlayer(playerid, 18598, -1985.5078, -1562.5078, 84.4688, 0.25);
- RemoveBuildingForPlayer(playerid, 18599, -1970.7109, -1785.9844, 107.9844, 0.25);
- RemoveBuildingForPlayer(playerid, 18600, -2233.2031, -1980.7813, 153.6797, 0.25);
- RemoveBuildingForPlayer(playerid, 18325, -2656.6797, -1992.9531, 80.1719, 0.25);
- RemoveBuildingForPlayer(playerid, 18316, -2655.2813, -1781.0078, 265.1406, 0.25);
- RemoveBuildingForPlayer(playerid, 18308, -2724.3203, -1555.9609, 222.8906, 0.25);
- RemoveBuildingForPlayer(playerid, 18469, -2700.2813, -1345.7969, 213.4609, 0.25);
- RemoveBuildingForPlayer(playerid, 18307, -2624.3047, -1562.8828, 353.4531, 0.25);
- RemoveBuildingForPlayer(playerid, 18301, -2583.4297, -1343.4531, 270.8438, 0.25);
- RemoveBuildingForPlayer(playerid, 18297, -2646.3516, -1116.9297, 111.7578, 0.25);
- RemoveBuildingForPlayer(playerid, 18326, -2444.5000, -1991.6719, 198.6953, 0.25);
- RemoveBuildingForPlayer(playerid, 18327, -2438.4375, -1949.0547, 310.9141, 0.25);
- RemoveBuildingForPlayer(playerid, 18317, -2431.6797, -1759.6641, 403.8672, 0.25);
- RemoveBuildingForPlayer(playerid, 18309, -2426.9375, -1530.4531, 440.9688, 0.25);
- RemoveBuildingForPlayer(playerid, 18302, -2426.5000, -1347.3125, 300.8047, 0.25);
- RemoveBuildingForPlayer(playerid, 18298, -2421.1563, -1134.0938, 168.7813, 0.25);
- RemoveBuildingForPlayer(playerid, 18295, -2291.7813, -993.4063, 63.5781, 0.25);
- RemoveBuildingForPlayer(playerid, 18328, -2237.0000, -1951.5234, 297.5625, 0.25);
- RemoveBuildingForPlayer(playerid, 18329, -2233.2031, -1980.7813, 153.6797, 0.25);
- RemoveBuildingForPlayer(playerid, 18310, -2249.3594, -1572.8672, 418.7656, 0.25);
- RemoveBuildingForPlayer(playerid, 18319, -2239.6406, -1762.7266, 381.9531, 0.25);
- RemoveBuildingForPlayer(playerid, 18303, -2221.8359, -1367.7969, 300.4609, 0.25);
- RemoveBuildingForPlayer(playerid, 18304, -2182.2266, -1358.7109, 135.2422, 0.25);
- RemoveBuildingForPlayer(playerid, 18299, -2186.7500, -1147.7344, 108.1563, 0.25);
- RemoveBuildingForPlayer(playerid, 18318, -2181.4688, -1774.8125, 217.3984, 0.25);
- RemoveBuildingForPlayer(playerid, 18311, -2145.1953, -1576.7188, 259.6484, 0.25);
- RemoveBuildingForPlayer(playerid, 18312, -1985.5078, -1562.5078, 84.4688, 0.25);
- RemoveBuildingForPlayer(playerid, 18305, -1980.3750, -1330.4922, 74.8516, 0.25);
- RemoveBuildingForPlayer(playerid, 18320, -1970.7109, -1785.9844, 107.9844, 0.25);
- SetPlayerMapIcon(playerid, 12,-1978.9912,287.5680,35.1719,55,0);
- SetPlayerMapIcon(playerid, 13,2104.9248,2249.4177,10.6952,52,0);
- SetPlayerMapIcon(playerid, 37,2005.3636,1545.3322,13.1746,19,0);
- SetPlayerMapIcon(playerid, 16, 2386.4072,1042.7665,10.8203, 27, 0);
- SetPlayerMapIcon(playerid, 17,1937.8339,2305.5427,10.8203,52,0);
- SetPlayerMapIcon(playerid, 18,2248.8840,2396.2600,10.8203,52,0);
- SetPlayerMapIcon(playerid,19,1937.8339,2305.5427,10.8203,52,0);
- SetPlayerMapIcon(playerid,20,2248.8840,2396.2600,10.8203,52,0);
- SetPlayerMapIcon(playerid,21,2104.9248,2249.4177,10.6952,52,0);
- SetPlayerMapIcon(playerid,22,2187.0225,1674.5431,10.7696,25,0);
- SetPlayerMapIcon(playerid,23,1978.3699,1018.3140,994.4688,44,0);
- SetPlayerMapIcon(playerid,24,308.1129,1905.0140,17.2027,23,0);
- SetPlayerMapIcon(playerid,25,415.3351,2539.1362,16.0975,5,0);
- SetPlayerMapIcon(playerid,26,-1605.0022,666.8316,6.8671,30,0);
- SetPlayerMapIcon(playerid,27,1581.8119,-1619.5752,13.3828,30,0);
- SetPlayerMapIcon(playerid,28,2506.2217,-1667.0781,13.0582,15,0);
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- new pName[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pName, sizeof(pName));
- if(TaX1[playerid] == true) {
- TaX1[playerid] = false;
- TextDrawDestroy(ProgressaoInfo[playerid][TPontos]);
- gActivePlayers[playerid]--;
- for(new i; i < MAX_PLAYERS; i++)
- if(TaX1[i] == true) /*se tiver outro player no dm */ {SpawnPlayer(TaX1[i]), TaX1[TaX1[i]] = false, Playersx1 = 0, SetPlayerHealth(TaX1[i], 100.0);
- switch(reason)
- {
- case 0: format(string, sizeof(string), "%s Saiu do servidor por problema de conexão. (Conexão)", pName);
- case 1: format(string, sizeof(string), "%s Resolveu sair do servidor. (Saiu)", pName);
- case 2: format(string, sizeof(string), "%s Foi Kikado ou banido do servidor.", pName);
- }
- }
- return SendClientMessageToAll(0xC0C0C0AA, string);}
- if(TaMG[playerid] == true) {
- TaMG[playerid] = false;
- TextDrawDestroy(ProgressaoInfo[playerid][TPontos]);
- gActivePlayers[playerid]--;
- for(new i; i < MAX_PLAYERS; i++)
- if(TaMG[i] == true) /*se tiver outro player no dm */ {SpawnPlayer(TaMG[i]), TaMG[TaMG[i]] = false, Playersmg = 0, SetPlayerHealth(TaMG[i], 100.0);
- switch(reason)
- {
- case 0: format(string, sizeof(string), "%s Saiu do servidor por problema de conexão. (Conexão)", pName);
- case 1: format(string, sizeof(string), "%s Resolveu sair do servidor. (Saiu)", pName);
- case 2: format(string, sizeof(string), "%s Foi Kikado ou banido do servidor.", pName);
- }
- }
- return SendClientMessageToAll(0xC0C0C0AA, string);}
- if(TaSN[playerid] == true) {
- TaSN[playerid] = false;
- TextDrawDestroy(ProgressaoInfo[playerid][TPontos]);
- gActivePlayers[playerid]--;
- for(new i; i < MAX_PLAYERS; i++)
- if(TaSN[i] == true) /*se tiver outro player no dm */ {SpawnPlayer(TaSN[i]), TaSN[TaSN[i]] = false, Playerssn = 0, SetPlayerHealth(TaSN[i], 100.0);
- switch(reason)
- {
- case 0: format(string, sizeof(string), "%s Saiu do servidor por problema de conexão. (Conexão)", pName);
- case 1: format(string, sizeof(string), "%s Resolveu sair do servidor. (Saiu)", pName);
- case 2: format(string, sizeof(string), "%s Foi Kikado ou banido do servidor.", pName);
- }
- }
- return SendClientMessageToAll(0xC0C0C0AA, string);}
- if(Ta69[playerid] == true) {
- Ta69[playerid] = false;
- TextDrawDestroy(ProgressaoInfo[playerid][TPontos]);
- gActivePlayers[playerid]--;
- for(new i; i < MAX_PLAYERS; i++)
- if(Ta69[i] == true) /*se tiver outro player no dm */ {SpawnPlayer(Ta69[i]), Ta69[Ta69[i]] = false, Players69 = 0, SetPlayerHealth(Ta69[i], 100.0);
- switch(reason)
- {
- case 0: format(string, sizeof(string), "%s Saiu do servidor por problema de conexão. (Conexão)", pName);
- case 1: format(string, sizeof(string), "%s Resolveu sair do servidor. (Saiu)", pName);
- case 2: format(string, sizeof(string), "%s Foi Kikado ou banido do servidor.", pName);
- }
- }
- return SendClientMessageToAll(0xC0C0C0AA, string);}
- if(TaRPG[playerid] == true) {
- TaRPG[playerid] = false;
- TextDrawDestroy(ProgressaoInfo[playerid][TPontos]);
- gActivePlayers[playerid]--;
- for(new i; i < MAX_PLAYERS; i++)
- if(TaRPG[i] == true) /*se tiver outro player no dm */ {SpawnPlayer(TaRPG[i]), TaRPG[TaRPG[i]] = false, Playersrpg = 0, SetPlayerHealth(TaRPG[i], 100.0);
- switch(reason)
- {
- case 0: format(string, sizeof(string), "%s Saiu do servidor por problema de conexão. (Conexão)", pName);
- case 1: format(string, sizeof(string), "%s Resolveu sair do servidor. (Saiu)", pName);
- case 2: format(string, sizeof(string), "%s Foi Kikado ou banido do servidor.", pName);
- }
- }
- return SendClientMessageToAll(0xC0C0C0AA, string);}
- gActivePlayers[playerid]--;
- TextDrawDestroy(ProgressaoInfo[playerid][TPontos]);
- SaveWeaponsToFile(playerid);
- switch(reason)
- {
- case 0: format(string, sizeof(string), "%s Saiu do servidor por problema de conexão. (Conexão)", pName);
- case 1: format(string, sizeof(string), "%s Resolveu sair do servidor. (Saiu)", pName);
- case 2: format(string, sizeof(string), "%s Foi Kikado ou banido do servidor.", pName);
- }
- return SendClientMessageToAll(0xC0C0C0AA, string);
- }
- //------------------------------------------------------------------------------------------------------
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- //----denifições----//
- new playermoney;
- new sendername[MAX_PLAYER_NAME];
- new giveplayer[MAX_PLAYER_NAME];
- new cmd[256];
- new giveplayerid, moneys, idx;
- new str[1000];
- new strcp[256];
- cmd = strtok(cmdtext, idx);
- if(strcmp(cmd, "/comandos", true) == 0) {
- new strdialog[2024];
- format(strdialog, sizeof(strdialog),"%s","{FF0000}COMANDOS:{FFFFFF}\n\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/regras{FFFFFF} => Veja as regras do servidor.\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/ajuda{FFFFFF} => Obtenha ajuda.\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/teleportes{FFFFFF} => Use para se teletransportar pelo server.\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/armas{FFFFFF} => Compre armas.\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/celular{FFFFFF} => Converse anonimamente com alguém.\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/stunts{FFFFFF} => Veja os Stunts do servidor.\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/dms{FFFFFF} => Veja os DMs (Death Matchs) do servidor.\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/gang{FFFFFF} => Crie, edite ou veja os outros comandos de gang.\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/tunar{FFFFFF} => Veja as opções para tunar seu veículo.\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/salvarpos{FFFFFF} => Salve sua posição para voltar quando quiser.\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/radios{FFFFFF} => Escute webradios enquanto joga.\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/repararv{FFFFFF} => Repare seu veículo.\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/forum{FFFFFF} => Veja para que serve o fórum do Server.\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/eu{FFFFFF} => Veja seus comandos.\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FFFFFF}MAIS COMANDOS: {FF0000}/comandos2\n");
- return ShowPlayerDialog(playerid, DialogBoxEx, DIALOG_STYLE_MSGBOX, "===== Comandos do Server =====", strdialog, "OK", "");
- }
- if(strcmp(cmd, "/tutorial", true) == 0) {
- new strdialog[2024];
- format(strdialog, sizeof(strdialog),"%s","{FF0000}TUTORIAL{FFFFFF}\n\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "Quando você entra no servidor, seu nick é branco, isso significa que você não tem gang.\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "Peça gang ou espere receber convite dos players com cores no servidor.\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "Com sua gang, você pode depositar, sacar e ver o saldo da sua gang no banco.\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "Todas suas armas, dinheiro e etc serão salvos ao você sair do servidor.\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "Caso você seja banido sem querer, peça no fórum do server para ser desbanido.\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "Você pode obter mais ajuda com {FF0000}/ajuda\n");
- return ShowPlayerDialog(playerid, DialogBoxEx, DIALOG_STYLE_MSGBOX, "===== Tuto do Server =====", strdialog, "OK", "");
- }
- if(strcmp(cmd, "/comandos2", true) == 0) {
- new strdialog[2024];
- format(strdialog, sizeof(strdialog),"%s","{FF0000}MAIS COMANDOS:{FFFFFF}\n\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/prop{FFFFFF} => Veja os comandos de comprar, ver e vender suas propriedades.\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/procurar [ID]{FFFFFF} => Procure um player por ID.\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/creditos{FFFFFF} => Veja os créditos do server.\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/veiculo{FFFFFF} => Crie um carro.\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/avenida{FFFFFF} => Vá para a Avenida principal de Las Venturas.\n");
- return ShowPlayerDialog(playerid, DialogBoxEx, DIALOG_STYLE_MSGBOX, "===== Fórum do Server =====", strdialog, "OK", "");
- }
- if(strcmp(cmd, "/forum", true) == 0) {
- new strdialog[2024];
- format(strdialog, sizeof(strdialog),"%s","{FF0000}Fórum{FFFFFF}\n\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "O fórum serve para você pedir para administrar nosso server, ser desbanido,\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "ficar ligado nas novidades do server, obter melhor ajuda, redefinir sua senha\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "e muito mais.\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{00FF00}Visite e inscreva-se: http://cokbr.forumbrasil.net\n");
- return ShowPlayerDialog(playerid, DialogBoxEx, DIALOG_STYLE_MSGBOX, "===== Fórum do Server =====", strdialog, "OK", "");
- }
- if(strcmp(cmd, "/veiculo", true) == 0) {
- if(IsPlayerInAnyVehicle(playerid))
- {
- return SendClientMessage(playerid, 0x33AA33AA, "[SERVER] Você já está em um veículo");
- }
- new carro;
- new Float:var0 = 0, Float:var1 = 0, Float:var2 = 0, Float:var3 = 0;
- GetPlayerPos(playerid, var0, var1, var2);
- GetPlayerFacingAngle(playerid, var3);
- GivePlayerMoney(playerid,-1000);
- SendClientMessage(playerid, 0x33AA33AA, "[SERVER] Você gastou R$ 1000,00 pelo veículo.");
- carro = CreateVehicle(562, var0 + 1, var1 + 1, var2, var3, 1, 1, 10000);
- PutPlayerInVehicle(playerid, carro, 0);
- return 1;
- }
- if(strcmp(cmd, "/afk", true) == 0) {
- new pName[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pName, sizeof(pName));
- format(string, sizeof(string), "[SERVER] Agora está ausente. Use /afkoff para voltar.");
- format(string, sizeof(string), "[SERVER] %s está ausente.", pName);
- SendClientMessageToAll(0x6BE7FAFF, string);
- TogglePlayerControllable(playerid,0);
- SetPlayerHealth(playerid,9);
- return 1;
- }
- if(strcmp(cmd, "/afkoff", true) == 0) {
- new pName[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pName, sizeof(pName));
- format(string, sizeof(string), "[SERVER] Você voltou a seu estado normal.");
- format(string, sizeof(string), "[SERVER] %s voltou ao jogo.", pName);
- SendClientMessageToAll(0x6BE7FAFF, string);
- TogglePlayerControllable(playerid,1);
- SetPlayerHealth(playerid,100);
- return 1;
- }
- if(strcmp(cmd,"/procurar",true) == 0) {
- new tmp[256];
- tmp = strtok(cmdtext, idx);
- giveplayerid = strval(tmp);
- if(!strlen(tmp)) return SendClientMessage(playerid,COR_BRANCO,"[SERVER] USO: /procurar [id]");
- if(!IsPlayerConnected(giveplayerid)) return SendClientMessage(playerid, COR_BRANCO, "id invalido.");
- new Float:X,Float:Y,Float:Z;
- GetPlayerPos(giveplayerid, X,Y,Z);
- SetPlayerCheckpoint(playerid, X,Y,Z, 6);
- return 1;
- }
- if(strcmp(cmd,"/dizer",true) == 0) {
- if(!cmdtext[3])return SendClientMessage(playerid, 0xFF0000FF, "[SERVER] USO: /dizer [texto]");
- GetPlayerName(playerid, str, sizeof(str));
- format(str, sizeof(str), "%s: %s", str, cmdtext[4]);
- SendClientMessageToAll(0xFFFF00AA, str);
- return 1;
- }
- if(strcmp(cmd, "/prop", true) == 0) {
- SendClientMessage(playerid, COLOR_WHITE, "_________________________________");
- SendClientMessage(playerid, COLOR_YELLOW, "Comandos de propriedades:");
- SendClientMessage(playerid, COLOR_WHITE, "{FF0000}/cprop{FFFFFF}: Comprar propriedade");
- SendClientMessage(playerid, COLOR_WHITE, "{FF0000}/vprop{FFFFFF}: Vender propriedade");
- SendClientMessage(playerid, COLOR_WHITE, "{FF0000}/minhasprops{FFFFFF}: Ver propriedades");
- SendClientMessage(playerid, COLOR_WHITE, "_________________________________");
- return 1;
- }
- if(strcmp(cmd, "/salvarpos", true) == 0) {
- if(TaX1[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- if(TaMG[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- if(TaSN[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- if(TaRPG[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- if(Ta69[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- new Jogador[MAX_PLAYER_NAME];
- new data[256];
- GetPlayerName(playerid, Jogador, sizeof(Jogador));
- GetPlayerPos(playerid,KenX[playerid],KenY[playerid],KenZ[playerid]);
- GetPlayerFacingAngle(playerid,KenA[playerid]);
- format(data, sizeof(data), "%s.cord", Jogador);
- dini_FloatSet(data,"CoordenadaX",KenX[playerid]);
- dini_FloatSet(data,"CoordenadaY",KenY[playerid]);
- dini_FloatSet(data,"CoordenadaZ",KenZ[playerid]);
- dini_FloatSet(data,"CoordenadaA",KenA[playerid]);
- SendClientMessage(playerid, 0x00FFFFAA, "[SERVER] Para retornar para cá use: /voltar");
- return 1;
- }
- SalvarInformacoes(playerid);
- if(strcmp(cmd, "/liberardms", true) == 0) {
- if(IsPlayerAdmin(playerid)){ Playersx1 = 0; Playersmg = 0; Players69 = 0; Playersrpg = 0;
- return SendClientMessage(playerid, COR_CINZA, "[SERVER] Arenas de DMs liberadas."); }
- return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando.");
- }
- if(strcmp(cmd, "/eu", true) == 0) {
- new strdialog[2024];
- format(strdialog, sizeof(strdialog),"%s","{FF0000}SEUS COMANDOS:{FFFFFF}\n\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/status{FFFFFF} => Veja seus dados.\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/mudarsenha{FFFFFF} => Mude sua senha de login.\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/darcache [ID] [Quantia]{FFFFFF} => Dê dinheiro para algum player.\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/animes{FFFFFF} => Veja as animações para seu player.\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/kill{FFFFFF} => Se mate.\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/mudar{FFFFFF} => Mude seu skin.\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/afk{FFFFFF} => Ausente-se do jogo.\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "{FF0000}/dizer{FFFFFF} => Diga algo destacadamente no chat.\n");
- return ShowPlayerDialog(playerid, DialogBoxEx, DIALOG_STYLE_MSGBOX, "===== Fórum do Server =====", strdialog, "OK", "");
- }
- if(strcmp(cmd, "/creditos", true) == 0) {
- 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);
- ShowPlayerDialog(playerid, DialogBoxEx, DIALOG_STYLE_MSGBOX, "===== Créditos =====", str, "OK", "");
- return 1;
- }
- if(strcmp(cmd, "/ajuda", true) == 0) {
- 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");
- return 1;
- }
- if(strcmp(cmd, "/armas", true) == 0) {
- if(TaX1[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- if(TaMG[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- if(TaRPG[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- if(TaSN[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- 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;
- 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);
- return ShowPlayerDialog(playerid,IDMENU,DIALOG_STYLE_LIST,NomeMenu,strcp,Btn1,Btn2);
- }
- if (strcmp(cmd, "/radios", true) == 0) {
- 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");
- return 1;
- }
- if (strcmp(cmd, "/teleportes", true) == 0) {
- if(TaX1[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- if(TaMG[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- if(TaSN[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- if(TaRPG[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- if(Ta69[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- return ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Categorias do teleporte", "Los Santos\nSan Fierro\nLas Venturas\nEstacionamento\nOutros", "Selecionar", "Cancelar");
- }
- if (strcmp(cmd, "/stunts", true) == 0) {
- if(TaX1[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- if(TaMG[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- if(TaSN[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- if(TaRPG[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- if(Ta69[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- 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");
- }
- if (strcmp(cmd, "/dms", true) == 0) {
- if(TaX1[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- if(TaMG[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- if(TaSN[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- if(TaRPG[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- if(Ta69[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- return ShowPlayerDialog(playerid, DMs, DIALOG_STYLE_LIST, "Escolha os DMs", "X1 DM\nMinigun DM\nSniper DM\nArea 69\nArena RPG", "Selecionar", "Cancelar");
- }
- if(strcmp(cmd, "/kill", true) == 0) {
- if(TaX1[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- if(TaMG[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- if(TaRPG[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- if(Ta69[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- if(TaSN[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- format(string, sizeof(string), "[SERVER] %s Resolveu se matar Usando (/kill)", pname);
- SendClientMessageToAll( 0x00FFFFAA, string);
- return SetPlayerHealth(playerid, 0.00);
- }
- if(strcmp(cmd, "/mudar", true) == 0) {
- if(TaX1[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- if(TaMG[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- if(TaSN[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- if(TaRPG[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- if(Ta69[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- ForceClassSelection(playerid);
- SetPlayerHealth(playerid, 0.00);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- format(string, sizeof(string), "[SERVER] %s Resolveu Trocar Sua Skin Usando (/mudar)", pname);
- return SendClientMessageToAll( 0x00FFFFAA, string);
- }
- if(strcmp(cmd, "/repararv", true) == 0) {
- if(IsPlayerInAnyVehicle(playerid)){
- GivePlayerMoney(playerid,-1500);
- RepairVehicle(GetPlayerVehicleID(playerid));
- SetVehicleHealth(GetPlayerVehicleID(playerid), 1000.0);
- return SendClientMessage(playerid, 0xFFFFFFAA,"[SERVER] Você Gastou 1500$ Por Reparar Este Carro!");
- }else{
- return SendClientMessage(playerid, 0xFFFFFFAA,"[SERVER] Você não está em um carro!");}
- }
- if(strcmp(cmd, "/regras", true) == 0) {
- new strdialog[1024];
- format(strdialog, sizeof(strdialog),"%s","REGRAS\n\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "Regras do Servidor:\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "1 - Proibido usar Cheater e S0beit\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "2 - Não xingue os admins.\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "3 - Não peça Admin aqui, somento no fórum: cokbr.forumbrasil.net\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "4 - Não divulgue servidores\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "5 - Aproveite o server\n");
- return ShowPlayerDialog(playerid, 101, DIALOG_STYLE_MSGBOX, "===== Regras =====", strdialog, "OK", "Sair");
- }
- if(strcmp(cmd, "/trancar", true) == 0) {
- GivePlayerMoney(playerid,-500);
- SendClientMessage(playerid, 0xFFFFFFAA,"[SERVER] Você Gastou 500$ Por Trancar Este Carro!");
- if(IsPlayerInAnyVehicle(playerid)){
- new Stat5 ;
- Stat5=GetPlayerState(playerid);
- if(Stat5!=PLAYER_STATE_DRIVER){
- return SendClientMessage(playerid,0xFF0606FF,"[SERVER] Voce não pode trancar esse veículo!");}
- new i;
- for(i=0;i<MAX_PLAYERS;i++){
- if(i != playerid){
- SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid),i,0,1);}}
- SendClientMessage(playerid, 0xFF0606FF, "[SERVER] Veiculo Trancado! Use /destrancar para destrancá-lo.");
- }else{
- SendClientMessage(playerid, 0xFF0606FF,"[SERVER] Cadê o Veiculo ? O.O");}
- return 1;
- }
- if(strcmp(cmd, "/destrancar", true) == 0) {
- new vehicleid = GetPlayerVehicleID(playerid);
- if(IsPlayerInAnyVehicle(playerid)){
- new Stat6 ;
- Stat6 = GetPlayerState(playerid);
- if(Stat6!=PLAYER_STATE_DRIVER)
- {
- return SendClientMessage(playerid,0xFF0606FF,"[SERVER] Voce não pode destrancar esse veículo!");
- }
- new i;
- for(i=0;i<MAX_PLAYERS;i++)
- {
- SetVehicleParamsForPlayer(vehicleid,i, 0, 0);
- }
- SendClientMessage(playerid, 0xFF0606FF, "[SERVER] Veiculo Destrancado");
- }
- else
- {
- SendClientMessage(playerid, 0xFF0606FF, "[SERVER] Cadê o Veiculo ? o.o");
- }
- return 1;
- }
- if(strcmp(cmd, "/celular", true) == 0) {
- SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USECELLPHONE);
- return ShowPlayerDialog(playerid,755,DIALOG_STYLE_INPUT,"===== Celular =====","Para quem gostaria de enviar? Use: ID","Ok","Cancelar");
- }
- if(strcmp(cmd, "/abastecer", true) == 0) {
- if(IsPlayerConnected(playerid))
- {
- if(IsPlayerInAnyVehicle(playerid))
- {
- if(NoPosto(playerid))
- {
- olddistance = 999999;
- for(new i = 0; i < sizeof(gGasStationLocations); i++)
- {
- GasX = gGasStationLocations[i][0];
- GasY = gGasStationLocations[i][1];
- GasZ = gGasStationLocations[i][2];
- newdistance = GetDistanceBetweenPlayerToPoint(playerid,GasX,GasY,GasZ);
- if (newdistance < olddistance)
- {
- olddistance = newdistance;
- closest = i;
- }
- }
- GameTextForPlayer(playerid,"~w~~n~~n~~n~~n~~n~~n~~n~~n~~n~Reabastecendo Aguarde",2000,3);
- SetTimer("Fillup",RefuelWait,0);
- gGasBiz[playerid] = closest+12;
- Refueling[playerid] = 1;
- }
- else
- {
- SendClientMessage(playerid,0xAFAFAFAA,"[SERVER] Você Não Esta Em Posto De Combustivel");
- }
- }
- return 1;
- }
- }
- if(strcmp(cmd, "/darcache", true) == 0) {
- new tmp[256];
- tmp = strtok(cmdtext, idx);
- if(!strlen(tmp)) {
- SendClientMessage(playerid, COLOR_WHITE, "[SERVER] USO: /darcache [ID] [quantia]");
- return 1;
- }
- giveplayerid = strval(tmp);
- tmp = strtok(cmdtext, idx);
- if(!strlen(tmp)) {
- SendClientMessage(playerid, COLOR_WHITE, "[SERVER] USO: /darcache [ID] [amount]");
- return 1;
- }
- moneys = strval(tmp);
- if (IsPlayerConnected(giveplayerid)) {
- GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
- GetPlayerName(playerid, sendername, sizeof(sendername));
- playermoney = GetPlayerMoney(playerid);
- if (moneys > 0 && playermoney >= moneys) {
- GivePlayerMoney(playerid, (0 - moneys));
- GivePlayerMoney(giveplayerid, moneys);
- format(string, sizeof(string), "[SERVER] Você enviou %s(%d), R$%d.", giveplayer,giveplayerid, moneys);
- SendClientMessage(playerid, COLOR_YELLOW, string);
- format(string, sizeof(string), "[SERVER] Você recebeu R$%d de %s(%d).", moneys, sendername, playerid);
- SendClientMessage(giveplayerid, COLOR_YELLOW, string);
- printf("[SERVER] %s(%d) transferiu %d para %s(%d)",sendername, playerid, moneys, giveplayer, giveplayerid);
- }
- else {
- SendClientMessage(playerid, COLOR_YELLOW, "Invalid transaction amount.");
- }
- }
- else {
- format(string, sizeof(string), "[SERVER] %d não está online.", giveplayerid);
- SendClientMessage(playerid, COLOR_YELLOW, string);
- }
- return 1;
- }
- if (strcmp(cmd, "/minhasprops", true) == 0) {
- GetPlayerProperties(playerid);
- return 1;
- }
- if (strcmp(cmd, "/cprop", true) == 0) {
- BuyPropertyForPlayer(playerid);
- return 1;
- }
- if (strcmp(cmd, "/vprop", true) == 0) {
- SellPropertyForPlayer(playerid);
- return 1;
- }
- if(strcmp(cmd, "/sair", true) == 0) {
- sairdm(playerid);
- return 1;
- }
- if(strcmp(cmd, "/sairdm", true) == 0) {
- sairdm2(playerid);
- return 1;
- }
- if(strcmp(cmd, "/sairsn", true) == 0) {
- sairsn(playerid);
- return 1;
- }
- if(strcmp(cmd, "/minigun", true) == 0) {
- minigun(playerid);
- return 1;
- }
- if(strcmp(cmd, "/avenida", true) == 0) {
- if(TaX1[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- if(TaMG[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- if(TaSN[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- if(TaRPG[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- if(Ta69[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- if(IsPlayerInAnyVehicle(playerid)) {
- new VehicleID;
- VehicleID = GetPlayerVehicleID(playerid);
- SetVehiclePos(VehicleID,2057.4717,1372.3671,10.6719);
- SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para a Avenida de LV.");
- }else{
- SetPlayerPos(playerid,2057.4717,1372.3671,10.6719);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para a Avenida de LV.");
- SetPlayerInterior(playerid,0);
- }
- return 1;
- }
- if(strcmp(cmd, "/voltar", true) == 0) {
- if(TaX1[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- if(TaMG[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- if(TaSN[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- if(TaRPG[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- if(Ta69[playerid] == true){ return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode usar esse comando aqui!");}
- new VolteiPraCa[MAX_PLAYER_NAME];
- new voltarcoordenada[256];
- GetPlayerName(playerid, VolteiPraCa, sizeof(VolteiPraCa));
- format(voltarcoordenada, sizeof(voltarcoordenada), "%s.cord", VolteiPraCa);
- if(fexist(voltarcoordenada))
- {
- KenX[playerid] = dini_Float(voltarcoordenada,"CoordenadaX");
- KenY[playerid] = dini_Float(voltarcoordenada,"CoordenadaY");
- KenZ[playerid] = dini_Float(voltarcoordenada,"CoordenadaZ");
- KenA[playerid] = dini_Float(voltarcoordenada,"CoordenadaA");
- if(IsPlayerInAnyVehicle(playerid)) {
- new VehicleID;
- VehicleID = GetPlayerVehicleID(playerid);
- SetVehiclePos(VehicleID,KenX[playerid],KenY[playerid],KenZ[playerid]);
- SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- }else{
- SetPlayerPos(playerid,KenX[playerid],KenY[playerid],KenZ[playerid]);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- }
- SetPlayerFacingAngle(playerid, KenA[playerid]);
- SetCameraBehindPlayer(playerid);
- }
- return SendClientMessage(playerid, 0x33FF00FF, "[SERVER] Você voltou para suas coordenadas salvas!");
- }
- // ---- se o player digitar errado ----- //
- if(strcmp(cmd, "/pm", true) == 0) {
- return SendClientMessage(playerid, COR_CINZA, "[SERVER] Comando correto: /celular!");
- }
- if(strcmp(cmd, "/arma", true) == 0) {
- return SendClientMessage(playerid, COR_CINZA, "[SERVER] Comando correto: /armas!");
- }
- if(strcmp(cmd, "/comando", true) == 0) {
- return SendClientMessage(playerid, COR_CINZA, "[SERVER] Comando correto: /comandos!");
- }
- if(strcmp(cmd, "/radio", true) == 0) {
- return SendClientMessage(playerid, COR_CINZA, "[SERVER] Comando correto: /radios!");
- }
- if(strcmp(cmd, "/stunt", true) == 0) {
- return SendClientMessage(playerid, COR_CINZA, "[SERVER] Comando correto: /stunts!");
- }
- if(strcmp(cmd, "/dm", true) == 0) {
- return SendClientMessage(playerid, COR_CINZA, "[SERVER] Comando correto: /dms!");
- }
- if(strcmp(cmd, "/minigun", true) == 0) {
- return SendClientMessage(playerid, COR_CINZA, "[SERVER] Comando correto: /dms!");
- }
- if(strcmp(cmd, "/rpg", true) == 0) {
- return SendClientMessage(playerid, COR_CINZA, "[SERVER] Comando correto: /dms!");
- }
- if(strcmp(cmd, "/area69", true) == 0) {
- return SendClientMessage(playerid, COR_CINZA, "[SERVER] Comando correto: /dms!");
- }
- if(strcmp(cmd, "/x1", true) == 0) {
- return SendClientMessage(playerid, COR_CINZA, "[SERVER] Comando correto: /dms!");
- }
- if(strcmp(cmd, "/drop", true) == 0) {
- return SendClientMessage(playerid, COR_CINZA, "[SERVER] Comando correto: /stunts!");
- }
- if(strcmp(cmd, "/teleporte", true) == 0) {
- return SendClientMessage(playerid, COR_CINZA, "[SERVER] Comando correto: /teleportes!");
- }
- if(strcmp(cmd, "/gangcriar", true) == 0) {
- return SendClientMessage(playerid, COR_CINZA, "[SERVER] Comando correto: /gang criar!");
- }
- if(strcmp(cmd, "/gangentrar", true) == 0) {
- return SendClientMessage(playerid, COR_CINZA, "[SERVER] Comando correto: /gang entrar!");
- }
- if(strcmp(cmd, "/gangcor", true) == 0) {
- return SendClientMessage(playerid, COR_CINZA, "[SERVER] Comando correto: /gang cor!");
- }
- return SendClientMessage(playerid, 0xC0C0C0AA, "[SERVER] Comando inválido. Use: /comandos"); // mensagem caso o player digite o comando errado
- }
- //------------------------------------------------------------------------------------------------------
- public OnPlayerSpawn(playerid)
- {
- format(arquivo, sizeof(arquivo), "%s.ini",ppNome(playerid));
- if(fexist(arquivo))
- {
- INI_Open(arquivo);
- Leu[playerid] = INI_ReadInt("Tutorial");
- INI_Close();
- }
- else sLeuTuto(playerid);
- if(Leu[playerid] == 0) { // Se o player não leu o tutorial ( == 0) exibir o tutorial do server
- ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, "===== Tutorial do City of Killers =====", "Ler tutorial\nNão ler", "Selecionar", "Ler depois");
- }
- SetPlayerInterior(playerid,0);
- SetPlayerRandomSpawn(playerid);
- TextDrawShowForPlayer(playerid,txtTimeDisp);
- TextDrawShowForPlayer(playerid,txtDateDisp);
- TogglePlayerClock(playerid,1);
- ProgressaoInfo[playerid][Pontos] = (ProgressaoInfo[playerid][Matou] - ProgressaoInfo[playerid][Morreu]);
- format(string, sizeof(string), "~l~Pontos: ~b~%d", ProgressaoInfo[playerid][Pontos]);
- TextDrawSetString(ProgressaoInfo[playerid][TPontos], string);
- TextDrawShowForPlayer(playerid, ProgressaoInfo[playerid][TPontos]);
- format(message,sizeof(message), "Pontos: %d", ProgressaoInfo[playerid][Pontos]);
- TextID[playerid] = Create3DTextLabel(message, Branco, 0.0, 0.0, 0.0, 5, 0, 0);
- Attach3DTextLabelToPlayer(TextID[playerid] , playerid, 0.0, 0.0, 0.30);
- if (!AlreadyGiveWeapons[playerid]) SetTimerEx("LoadArmasToFile",250,false,"i",playerid);
- return 1;
- }
- public SetPlayerRandomSpawn(playerid)
- {
- if (iSpawnSet[playerid] == 1)
- {
- new rand = random(sizeof(gCopPlayerSpawns));
- SetPlayerPos(playerid, gCopPlayerSpawns[rand][0], gCopPlayerSpawns[rand][1], gCopPlayerSpawns[rand][2]); // Warp the player
- SetPlayerFacingAngle(playerid, 270.0);
- }
- else if (iSpawnSet[playerid] == 0)
- {
- new rand = random(sizeof(gRandomPlayerSpawns));
- SetPlayerPos(playerid, gRandomPlayerSpawns[rand][0], gRandomPlayerSpawns[rand][1], gRandomPlayerSpawns[rand][2]); // Warp the player
- }
- return 1;
- }
- //------------------------------------------------------------------------------------------------------
- public OnPlayerDeath(playerid, killerid, reason)
- {
- new name[MAX_PLAYER_NAME+1];
- GetPlayerName(playerid, name, sizeof(name));
- new matou[MAX_PLAYER_NAME+1];
- GetPlayerName(killerid, matou, sizeof(matou));
- // ---- PLAYER NAS ARENAS DMS ---- //
- if(TaX1[playerid] == true){
- if(killerid == INVALID_PLAYER_ID)
- {
- TaX1[playerid] = false, format(string, sizeof(string), "[SERVER] %s suicidou-se no x1!", name);
- SendClientMessageToAll(COR_AMARELO, string), Playersx1 = 1;
- for(new i; i < MAX_PLAYERS; i++)
- if(TaX1[i] == true) {SpawnPlayer(TaX1[i]), TaX1[TaX1[i]] = false, Playersx1 = 0, SetPlayerHealth(TaX1[i], 100.0);}
- }
- TaX1[playerid] = false, TaX1[killerid] = false, TaX1[playerid] = false, Playersx1 = 0, SpawnPlayer(killerid);
- SetPlayerArmour(killerid, 100.0), SetPlayerHealth(killerid, 100.0);
- format(string, sizeof(string), "[SERVER] %s matou o %s no X1!", matou, name), SendClientMessageToAll(COR_AMARELO, string);
- }
- if(TaMG[playerid] == true){
- if(killerid == INVALID_PLAYER_ID)
- {
- TaMG[playerid] = false, format(string, sizeof(string), "[SERVER] %s suicidou-se no minigun!", name);
- SendClientMessageToAll(COR_AMARELO, string), Playersmg = 1;
- for(new i; i < MAX_PLAYERS; i++)
- if(TaMG[i] == true) {SpawnPlayer(TaMG[i]), TaMG[TaMG[i]] = false, Playersmg = 0, SetPlayerHealth(TaMG[i], 100.0);}
- }
- TaMG[playerid] = false, TaMG[killerid] = false, Playersmg = 0, SpawnPlayer(killerid);
- SetPlayerArmour(killerid, 100.0), SetPlayerHealth(killerid, 100.0), GivePlayerWeapon(killerid,38,800);
- format(string, sizeof(string), "[SERVER] %s matou o %s no MinigunDM e recebeu a sua minigun!", matou, name), SendClientMessageToAll(COR_AMARELO, string);
- }
- if(TaSN[playerid] == true){
- if(killerid == INVALID_PLAYER_ID)
- {
- TaSN[playerid] = false, format(string, sizeof(string), "[SERVER] %s suicidou-se no SniperDM!", name);
- SendClientMessageToAll(COR_AMARELO, string), Playerssn = 1;
- for(new i; i < MAX_PLAYERS; i++)
- if(TaSN[i] == true) {SpawnPlayer(TaSN[i]), TaSN[TaSN[i]] = false, Playerssn = 0, SetPlayerHealth(TaSN[i], 100.0);}
- }
- TaSN[playerid] = false, TaSN[killerid] = false, Playerssn = 0, SpawnPlayer(killerid);
- SetPlayerArmour(killerid, 100.0), SetPlayerHealth(killerid, 100.0), GivePlayerWeapon(killerid,34,1000);
- format(string, sizeof(string), "[SERVER] %s matou o %s no SniperDM e ganhou sua Sniper!", matou, name), SendClientMessageToAll(COR_AMARELO, string);
- }
- if(Ta69[playerid] == true){
- if(killerid == INVALID_PLAYER_ID)
- {
- Ta69[playerid] = false, format(string, sizeof(string), "[SERVER] %s suicidou-se na Área 69!", name);
- SendClientMessageToAll(COR_AMARELO, string), Players69 = 1;
- for(new i; i < MAX_PLAYERS; i++)
- if(Ta69[i] == true) {SpawnPlayer(Ta69[i]), Ta69[Ta69[i]] = false, Players69 = 0, SetPlayerHealth(Ta69[i], 100.0);}
- }
- Ta69[playerid] = false, Ta69[killerid] = false, Players69 = 0, SpawnPlayer(killerid);
- SetPlayerArmour(killerid, 100.0), SetPlayerHealth(killerid, 100.0);
- format(string, sizeof(string), "[SERVER] %s matou o %s na Área 69!", matou, name), SendClientMessageToAll(COR_AMARELO, string);
- }
- if(TaRPG[playerid] == true){
- if(killerid == INVALID_PLAYER_ID)
- {
- TaRPG[playerid] = false, format(string, sizeof(string), "[SERVER] %s suicidou-se no RPG DM!", name);
- SendClientMessageToAll(COR_AMARELO, string), Players69 = 1;
- for(new i; i < MAX_PLAYERS; i++)
- if(TaRPG[i] == true) {SpawnPlayer(TaRPG[i]), TaRPG[TaRPG[i]] = false, Playersrpg = 0, SetPlayerHealth(TaRPG[i], 100.0);}
- }
- TaRPG[playerid] = false, TaRPG[killerid] = false, Playersrpg = 0, SpawnPlayer(killerid);
- SetPlayerArmour(killerid, 100.0), SetPlayerHealth(killerid, 100.0), GivePlayerWeapon(killerid,35,1000);
- format(string, sizeof(string), "[SERVER] %s matou o %s no RPG DM e ganhou sua RPG!", matou, name), SendClientMessageToAll(COR_AMARELO, string);
- }
- SendDeathMessage(killerid, playerid, reason);
- GameTextForPlayer(playerid,"~r~Morto!",4000,3);
- new Texto[30], Texto1[30];
- ProgressaoInfo[killerid][Matou] ++;
- ProgressaoInfo[playerid][Morreu] ++;
- ProgressaoInfo[killerid][Pontos] = (ProgressaoInfo[killerid][Matou] - ProgressaoInfo[killerid][Morreu]);
- ProgressaoInfo[playerid][Pontos] = (ProgressaoInfo[playerid][Matou] - ProgressaoInfo[playerid][Morreu]);
- format(Texto, sizeof(Texto), "~l~Pontos: ~b~%d", ProgressaoInfo[killerid][Pontos]);
- TextDrawSetString(ProgressaoInfo[killerid][TPontos], Texto);
- TextDrawShowForPlayer(killerid, ProgressaoInfo[killerid][TPontos]);
- format(Texto1, sizeof(Texto1), "~l~Pontos: ~b~%d", ProgressaoInfo[playerid][Pontos]);
- TextDrawSetString(ProgressaoInfo[playerid][TPontos], Texto1);
- TextDrawShowForPlayer(playerid, ProgressaoInfo[playerid][TPontos]);
- AtualizarText(playerid);
- AtualizarText(killerid);
- TextDrawHideForPlayer(playerid,txtTimeDisp);
- TextDrawHideForPlayer(playerid,txtDateDisp);
- if(IsPlayerConnected(killerid))
- {
- Matouu[killerid]++;
- }
- Morreuu[playerid]++;
- return 1;
- }
- //------------------------------------------------------------------------------------------------------
- public OnPlayerRequestClass(playerid, classid)
- {
- iSpawnSet[playerid] = 0;
- SetupPlayerForClassSelection(playerid);
- return 1;
- }
- public SetupPlayerForClassSelection(playerid)
- {
- SetPlayerInterior(playerid,14);
- SetPlayerPos(playerid,258.4893,-41.4008,1002.0234);
- SetPlayerFacingAngle(playerid, 270.0);
- SetPlayerCameraPos(playerid,256.0815,-43.0475,1004.0234);
- SetPlayerCameraLookAt(playerid,258.4893,-41.4008,1002.0234);
- }
- public GameModeExitFunc()
- {
- GameModeExit();
- }
- public OnGameModeInit()
- {
- ShowPlayerMarkers(1);
- SetNameTagDrawDistance(10.0);
- UsePlayerPedAnims();
- SetTimer("SendMSG", 100000, true);
- SetGameModeText("Brasil TDM/Stunt/GangWar");
- MaxP = GetMaxPlayers();
- drawagain();
- SetTimer("pOnline", SEC2, 1);
- ShowPlayerMarkers(1);
- ShowNameTags(1);
- EnableStuntBonusForAll(0);
- UsePropertyTextDraw(0);
- SetMaxPropertiesPerPlayer(2);
- SetPayoutFrequency(30);
- for(new c = 0;c < MAX_VEHICLES;c++)
- {
- Gas[c] = GasMax;
- }
- CreateVehicle(560,2036.4211,1340.4474,10.4892,356.3546,9,39,60000);
- stoppedvehtimer = SetTimer("StoppedVehicle", RunOutTime, 1);
- checkgastimer = SetTimer("CheckGas", RunOutTime, 1);
- timerspeedo = SetTimer("Speedo",500,1);
- Textdraw0 = TextDrawCreate(490.000000,352.000000," ");
- TextDrawUseBox(Textdraw0,1);
- TextDrawBoxColor(Textdraw0,0x000000ff);
- TextDrawTextSize(Textdraw0,610.000000,95.000000);
- TextDrawAlignment(Textdraw0,0);
- TextDrawBackgroundColor(Textdraw0,0xffffffff);
- TextDrawFont(Textdraw0,2);
- TextDrawLetterSize(Textdraw0,10.999995,7.999994);
- TextDrawColor(Textdraw0,0xffffffff);
- TextDrawSetOutline(Textdraw0,1);
- TextDrawSetProportional(Textdraw0,1);
- TextDrawSetShadow(Textdraw0,1);
- Textdraw1 = TextDrawCreate(495.000000,357.000000," ");
- TextDrawUseBox(Textdraw1,1);
- TextDrawBoxColor(Textdraw1,0xffffffff);
- TextDrawTextSize(Textdraw1,605.000000,42.000000);
- TextDrawAlignment(Textdraw1,0);
- TextDrawBackgroundColor(Textdraw1,0x000000ff);
- TextDrawFont(Textdraw1,3);
- TextDrawLetterSize(Textdraw1,1.000000,0.500000);
- TextDrawColor(Textdraw1,0xffffffff);
- TextDrawSetOutline(Textdraw1,1);
- TextDrawSetProportional(Textdraw1,1);
- TextDrawSetShadow(Textdraw1,1);
- Textdraw2 = TextDrawCreate(496.000000,355.000000,"~g~Velocidade");
- TextDrawAlignment(Textdraw2,0);
- TextDrawBackgroundColor(Textdraw2,0x000000ff);
- TextDrawFont(Textdraw2,1);
- TextDrawLetterSize(Textdraw2,0.299999,1.200000);
- TextDrawColor(Textdraw2,0xffffffff);
- TextDrawSetOutline(Textdraw2,1);
- TextDrawSetProportional(Textdraw2,1);
- TextDrawSetShadow(Textdraw2,1);
- Textdraw3 = TextDrawCreate(496.000000,365.000000,"~g~Veiculo");
- TextDrawAlignment(Textdraw3,0);
- TextDrawBackgroundColor(Textdraw3,0x000000ff);
- TextDrawFont(Textdraw3,1);
- TextDrawLetterSize(Textdraw3,0.299999,1.200000);
- TextDrawColor(Textdraw3,0xffffffff);
- TextDrawSetOutline(Textdraw3,1);
- TextDrawSetProportional(Textdraw3,1);
- TextDrawSetShadow(Textdraw3,1);
- Textdraw4 = TextDrawCreate(496.000000,375.000000,"~g~Combustivel");
- TextDrawAlignment(Textdraw4,0);
- TextDrawBackgroundColor(Textdraw4,0x000000ff);
- TextDrawFont(Textdraw4,1);
- TextDrawLetterSize(Textdraw4,0.299999,1.200000);
- TextDrawColor(Textdraw4,0xffffffff);
- TextDrawSetOutline(Textdraw4,1);
- TextDrawSetProportional(Textdraw4,1);
- TextDrawSetShadow(Textdraw4,1);
- Textdraw5 = TextDrawCreate(496.000000,385.000000,"~g~Lataria");
- TextDrawAlignment(Textdraw5,0);
- TextDrawBackgroundColor(Textdraw5,0x000000ff);
- TextDrawFont(Textdraw5,1);
- TextDrawLetterSize(Textdraw5,0.399999,1.300000);
- TextDrawColor(Textdraw5,0xffffffff);
- TextDrawSetOutline(Textdraw5,1);
- TextDrawSetProportional(Textdraw5,1);
- TextDrawSetShadow(Textdraw5,1);
- Textdraw6 = TextDrawCreate(494.000000,397.000000,"~g~Localizacao");
- TextDrawAlignment(Textdraw6,0);
- TextDrawBackgroundColor(Textdraw6,0x000000ff);
- TextDrawFont(Textdraw6,1);
- TextDrawLetterSize(Textdraw6,0.599999,1.100000);
- TextDrawColor(Textdraw6,0xffffffff);
- TextDrawSetOutline(Textdraw6,1);
- TextDrawSetProportional(Textdraw6,1);
- TextDrawSetShadow(Textdraw6,1);
- Textdraw7 = TextDrawCreate(493.000000,408.000000,"_");
- TextDrawAlignment(Textdraw7,0);
- TextDrawBackgroundColor(Textdraw7,0x000000ff);
- TextDrawFont(Textdraw7,1);
- TextDrawLetterSize(Textdraw7,0.299999,1.200000);
- TextDrawColor(Textdraw7,0xffffffff);
- TextDrawSetOutline(Textdraw7,1);
- TextDrawSetProportional(Textdraw7,1);
- TextDrawSetShadow(Textdraw7,1);
- txtTimeDisp = TextDrawCreate(632.0,25.0,"--:--:--");
- TextDrawUseBox(txtTimeDisp, 0);
- TextDrawFont(txtTimeDisp, 3);
- TextDrawSetShadow(txtTimeDisp,0);
- TextDrawSetOutline(txtTimeDisp,2);
- TextDrawBackgroundColor(txtTimeDisp,0x000000FF);
- TextDrawColor(txtTimeDisp,0xFFFFFFFF);
- TextDrawAlignment(txtTimeDisp,3);
- TextDrawLetterSize(txtTimeDisp,0.5,1.5);
- SetTimer("ProcessGameTime", 1000, 1);
- txtDateDisp = TextDrawCreate(620.0,5.0,"00/00/0000");
- TextDrawUseBox(txtDateDisp, 0);
- TextDrawFont(txtDateDisp, 3);
- TextDrawSetShadow(txtDateDisp,0);
- TextDrawSetOutline(txtDateDisp,2);
- TextDrawBackgroundColor(txtDateDisp,0x000000FF);
- TextDrawColor(txtDateDisp,0xFFFFFFFF);
- TextDrawAlignment(txtDateDisp,3);
- TextDrawLetterSize(txtDateDisp,0.5,1.5);
- Playersx1 = 0;
- Libero = true;
- Playersmg = 0;
- Libera = true;
- Playerssn = 0;
- Liberu = true;
- Playersrpg = 0;
- Liberi = true;
- Players69 = 0;
- Libere = true;
- // ---- CLASSES DOS PLAYERS ---- //
- AddPlayerClass(0,1958.3783,1343.1572,15.3746,270.1425,0,0,24,300,-1,-1);
- AddPlayerClass(266,1958.3783,1343.1572,15.3746,270.1425,0,0,24,300,-1,-1);
- AddPlayerClass(267,1958.3783,1343.1572,15.3746,270.1425,0,0,24,300,-1,-1);
- AddPlayerClass(268,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(269,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(270,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(271,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(272,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(280,1958.3783,1343.1572,15.3746,270.1425,0,0,24,300,-1,-1);
- AddPlayerClass(281,1958.3783,1343.1572,15.3746,270.1425,0,0,24,300,-1,-1);
- AddPlayerClass(282,1958.3783,1343.1572,15.3746,270.1425,0,0,24,300,-1,-1);
- AddPlayerClass(283,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(284,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(285,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(286,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(287,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(254,1958.3783,1343.1572,15.3746,0.0,0,0,24,300,-1,-1);
- AddPlayerClass(255,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(256,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(257,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(258,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(259,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(260,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(261,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(262,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(263,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(264,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(274,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(275,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(276,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(1,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(2,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(290,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(291,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(292,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(293,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(294,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(295,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(296,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(297,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(298,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(299,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(277,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(278,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(279,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(288,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(47,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(48,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(49,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(50,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(51,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(52,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(53,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(54,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(55,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(56,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(57,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(58,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(59,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(60,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(61,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(62,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(63,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(64,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(66,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(67,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(68,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(69,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(70,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(71,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(72,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(73,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(75,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(76,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(78,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(79,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(80,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(81,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(82,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(83,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(84,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(85,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(87,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(88,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(89,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(91,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(92,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(93,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(95,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(96,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(97,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(98,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(99,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(100,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(101,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(102,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(103,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(104,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(105,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(106,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(107,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(108,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(109,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(110,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(111,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(112,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(113,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(114,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(115,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(116,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(117,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(118,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(120,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(121,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(122,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(123,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(124,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(125,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(126,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(127,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(128,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(129,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(131,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(133,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(134,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(135,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(136,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(137,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(138,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(139,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(140,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(141,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(142,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(143,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(144,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(145,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(146,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(147,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(148,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(150,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(151,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(152,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(153,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(154,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(155,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(156,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(157,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(158,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(159,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(160,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(161,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(162,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(163,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(164,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(165,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(166,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(167,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(168,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(169,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(170,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(171,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(172,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(173,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(174,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(175,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(176,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(177,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(178,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(179,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(180,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(181,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(182,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(183,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(184,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(185,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(186,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(187,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(188,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(189,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(190,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(191,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(192,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(193,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(194,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(195,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(196,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(197,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(198,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(199,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(200,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(201,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(202,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(203,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(204,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(205,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(206,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(207,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(209,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(210,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(211,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(212,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(213,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(214,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(215,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(216,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(217,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(218,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(219,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(220,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(221,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(222,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(223,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(224,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(225,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(226,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(227,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(228,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(229,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(230,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(231,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(232,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(233,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(234,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(235,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(236,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(237,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(238,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(239,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(240,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(241,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(242,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(243,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(244,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(245,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(246,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(247,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(248,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(249,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(250,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(251,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddPlayerClass(253,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
- AddStaticVehicleEx(550,1788.77575684,-1061.62207031,23.88371849,0.00000000,-1,11,120000); //Sunrise
- AddStaticVehicleEx(550,1784.45275879,-1061.66979980,23.88371849,0.00000000,6,11,120000); //Sunrise
- AddStaticVehicleEx(495,1775.62854004,-1061.28527832,24.52101135,0.00000000,6,11,120000); //Sandking
- AddStaticVehicleEx(568,1766.27539062,-1061.87145996,23.84101105,0.00000000,6,11,120000); //Bandito
- AddStaticVehicleEx(495,1771.10742188,-1061.69726562,24.52101135,0.00000000,6,11,120000); //Sandking
- AddStaticVehicleEx(550,1779.77783203,-1061.58044434,23.88371849,0.00000000,126,11,120000); //Sunrise
- AddStaticVehicleEx(550,1793.43688965,-1061.53100586,23.88371849,0.00000000,3,11,120000); //Sunrise
- AddStaticVehicleEx(575,1784.36328125,-1069.51757812,23.70093727,179.99450684,86,96,120000); //Broadway
- AddStaticVehicleEx(575,1780.03552246,-1069.60156250,23.70093727,179.99450684,79,96,120000); //Broadway
- AddStaticVehicleEx(545,1770.92761230,-1069.85253906,23.91093826,179.99450684,6,1,120000); //Hustler
- AddStaticVehicleEx(545,1775.23132324,-1069.95166016,23.91093826,179.99450684,-1,1,120000); //Hustler
- AddStaticVehicleEx(545,1766.40075684,-1069.74902344,23.91093826,179.99450684,3,1,120000); //Hustler
- AddStaticVehicleEx(545,1761.90429688,-1069.76599121,23.91093826,179.99450684,13,1,120000); //Hustler
- AddStaticVehicleEx(603,1757.65100098,-1045.59008789,23.96361160,179.99450684,-1,126,120000); //Phoenix
- AddStaticVehicleEx(603,1761.69458008,-1045.69189453,23.96361160,179.99450684,-1,1,120000); //Phoenix
- AddStaticVehicleEx(603,1753.00683594,-1045.72058105,23.96361160,179.99450684,3,-1,120000); //Phoenix
- AddStaticVehicleEx(603,1748.51184082,-1045.79553223,23.96361160,179.99450684,53,-1,120000); //Phoenix
- AddStaticVehicleEx(603,1743.86254883,-1045.66528320,23.96361160,179.99450684,-1,6,120000); //Phoenix
- AddStaticVehicleEx(562,1757.59667969,-1038.30468750,23.71448708,0.00000000,7,1,120000); //Elegy
- AddStaticVehicleEx(562,1761.89990234,-1038.26940918,23.71448708,0.00000000,126,1,120000); //Elegy
- AddStaticVehicleEx(562,1753.02075195,-1038.32543945,23.71448708,0.00000000,3,1,120000); //Elegy
- AddStaticVehicleEx(562,1748.42932129,-1038.34155273,23.71448708,0.00000000,34,1,120000); //Elegy
- AddStaticVehicleEx(562,1743.89953613,-1038.14331055,23.71448708,0.00000000,-1,1,120000); //Elegy
- AddStaticVehicleEx(541,1779.80664062,-1023.06512451,23.66093826,151.99035645,-1,3,120000); //Bullet
- AddStaticVehicleEx(541,1784.08032227,-1025.25366211,23.66093826,151.99035645,-1,6,120000); //Bullet
- AddStaticVehicleEx(541,1775.82861328,-1021.12561035,23.66093826,151.99035645,-1,126,120000); //Bullet
- AddStaticVehicleEx(541,1771.93176270,-1019.38415527,23.66093826,151.99035645,-1,53,120000); //Bullet
- AddStaticVehicleEx(541,1768.03991699,-1017.05340576,23.66093826,151.99035645,-1,1,120000); //Bullet
- AddStaticVehicleEx(506,1757.15893555,-1014.68109131,23.75305176,167.98645020,-1,1,120000); //Super GT
- AddStaticVehicleEx(506,1761.41967773,-1015.48681641,23.75305176,167.98645020,-1,126,120000); //Super GT
- AddStaticVehicleEx(506,1753.10571289,-1013.62829590,23.75305176,167.98645020,6,6,120000); //Super GT
- AddStaticVehicleEx(506,1748.78601074,-1012.84289551,23.75305176,167.98645020,53,6,120000); //Super GT
- AddStaticVehicleEx(468,1798.78088379,-1086.87707520,23.72093773,179.98901367,-1,-1,120000); //Sanchez
- AddStaticVehicleEx(468,1803.11914062,-1086.83569336,23.72093773,179.98901367,6,6,120000); //Sanchez
- AddStaticVehicleEx(468,1794.26416016,-1086.95104980,23.72862053,179.98901367,126,-1,120000); //Sanchez
- AddStaticVehicleEx(468,1789.53369141,-1086.93188477,23.72862053,179.98901367,1,-1,120000); //Sanchez
- AddStaticVehicleEx(468,1785.23498535,-1086.77661133,23.72862053,179.98901367,86,-1,120000); //Sanchez
- AddStaticVehicleEx(468,1780.52221680,-1086.69775391,23.72093773,179.98901367,13,-1,120000); //Sanchez
- AddStaticVehicleEx(471,1771.83581543,-1086.07299805,23.53593826,179.98901367,13,-1,120000); //Quad
- AddStaticVehicleEx(471,1776.15332031,-1086.24511719,23.53593826,179.98901367,6,117,120000); //Quad
- AddStaticVehicleEx(471,1767.42578125,-1085.99902344,23.53593826,179.98901367,-1,117,120000); //Quad
- AddStaticVehicleEx(403,1762.62207031,-1083.98291016,24.54922104,179.98901367,6,-1,120000); //Linerunner
- AddStaticVehicleEx(403,1757.95275879,-1084.00476074,24.66093826,179.98901367,126,1,120000); //Linerunner
- AddStaticVehicleEx(403,1753.52026367,-1084.03381348,24.66093826,179.98901367,-1,1,120000); //Linerunner
- AddStaticVehicleEx(406,1726.14831543,-1083.04272461,25.42451286,179.98901367,-1,3,120000); //Dumper
- AddStaticVehicleEx(406,1736.50134277,-1083.21887207,25.78226280,179.98901367,-1,3,120000); //Dumper
- AddStaticVehicleEx(406,1745.23767090,-1083.59875488,25.71226311,179.98901367,-1,3,120000); //Dumper
- AddStaticVehicleEx(409,1739.88928223,-1010.96759033,23.88593674,167.98645020,-1,126,120000); //Stretch
- AddStaticVehicleEx(409,1744.31945801,-1011.92260742,23.88593674,167.98645020,-1,3,120000); //Stretch
- AddStaticVehicleEx(557,1730.73596191,-1009.03674316,24.44040680,167.98645020,-1,126,120000); //Monster B
- AddStaticVehicleEx(557,1735.74035645,-1009.77191162,24.38766098,167.98645020,126,1,120000); //Monster B
- AddStaticVehicleEx(568,1762.15649414,-1061.97766113,23.93593788,0.00000000,6,11,120000); //Bandito
- AddStaticVehicleEx(571,1792.99133301,-1069.59960938,23.29321861,179.99450684,2,96,120000); //Kart
- AddStaticVehicleEx(571,1789.03454590,-1069.70800781,23.29321861,179.99450684,2,96,120000); //Kart
- SetTimer("MoneyGrubScoreUpdate", 1000, 1);
- AddProperty("DRAGONS_CASSINO", 2025.27, 1007.89, 10.82, 150000, 108000, 4150);
- AddProperty("AUTO_BAHN", 2201.11, 1391.39, 10.82, 130000, 90000, 4000);
- AddProperty("ROYAL_CASSINO", 2088.83, 1449.57, 10.82, 150000, 108000, 3950);
- AddProperty("CALIGULAS_CASSINO", 2192.95, 1676.70, 12.36, 150000, 108000, 3050);
- AddProperty("CLOWNS_POCKET", 2221.61, 1838.68, 10.82, 120000, 85000, 2950);
- AddProperty("HOTEL", 2021.15, 1916.45, 12.34, 120000, 85000, 2950);
- AddProperty("SEVEN", 2193.41, 1987.90, 12.29, 75000, 45000, 2550);
- AddProperty("CASH_EXCHANGE", 2086.60, 2054.38, 11.05, 75000, 45000, 2850);
- AddProperty("TOURIST_INFORMATION", 2086.67, 2066.56, 11.05, 72000, 40000, 2550);
- AddProperty("SEX_SHOP", 2086.72, 2077.95, 11.05, 70000, 38000, 3000);
- AddProperty("PHOTO", 2086.80, 2090.09, 11.05, 50000, 20000, 2000);
- AddProperty("TATOO", 2101.38, 2121.36, 10.82, 50000, 20000, 2200);
- AddProperty("CASINO", 2166.05, 2163.36, 10.82, 165000, 130000, 5000);
- AddProperty("SHIRTS", 2168.08, 2117.99, 10.82, 130000, 100000, 3500);
- AddProperty("MOTEL", 2083.97, 2174.83, 10.82, 130000, 100000, 3250);
- AddProperty("EMERALD_ISLE", 2127.59, 2368.89, 10.82, 138000, 115000, 3850);
- AddProperty("ZIP", 2092.84, 2223.61, 11.02, 98000, 85000, 3000);
- AddProperty("PIZZARIA", 2085.30, 2223.60, 11.02, 95000, 85000, 3200);
- AddProperty("SOUVERNIS", 1892.00, 2411.59, 11.17, 105000, 80000, 3000);
- AddProperty("SHOPPING", 1128.91, -1464.83, 15.77, 150000, 100000, 4000);
- AddProperty("WANG_CARS", -1957.23, 293.13, 35.46, 280000, 200000, 6800);
- AddProperty("BINCO", 2103.45, 2250.42, 11.02, 98000, 78000, 2380);
- //Neve no Chilliad
- chilliad[3] = CreateObject(18572, -2438.4375, -1949.0547, 310.9141, 0.0, 0.0, 0.0);
- chilliad[4] = CreateObject(18573, -2237.0000, -1951.5234, 297.5625, 0.0, 0.0, 0.0);
- chilliad[5] = CreateObject(18574, -2181.4688, -1774.8125, 217.3984, 0.0, 0.0, 0.0);
- chilliad[6] = CreateObject(18575, -2145.1953, -1576.7188, 259.6484, 0.0, 0.0, 0.0);
- chilliad[8] = CreateObject(18577, -2182.2266, -1358.7109, 135.2422, 0.0, 0.0, 0.0);
- chilliad[10] = CreateObject(18579, -2583.4297, -1343.4531, 270.8438, 0.0, 0.0, 0.0);
- chilliad[11] = CreateObject(18580, -2624.3047, -1562.8828, 353.4531, 0.0, 0.0, 0.0);
- chilliad[12] = CreateObject(18581, -2655.2813, -1781.0078, 265.1406, 0.0, 0.0, 0.0);
- chilliad[13] = CreateObject(18582, -2724.3203, -1555.9609, 222.8906, 0.0, 0.0, 0.0);
- chilliad[14] = CreateObject(18583, -2700.2813, -1345.7969, 213.4609, 0.0, 0.0, 0.0);
- chilliad[15] = CreateObject(18584, -2421.1563, -1134.0938, 168.7813, 0.0, 0.0, 0.0);
- chilliad[17] = CreateObject(18586, -1980.3750, -1330.4922, 74.8516, 0.0, 0.0, 0.0);
- chilliad[18] = CreateObject(18587, -2186.7500, -1147.7344, 108.1563, 0.0, 0.0, 0.0);
- chilliad[19] = CreateObject(18588, -2291.7813, -993.4063, 63.5781, 0.0, 0.0, 0.0);
- chilliad[20] = CreateObject(18590, -2646.3516, -1116.9297, 111.7578, 0.0, 0.0, 0.0);
- chilliad[21] = CreateObject(18596, -2444.5000, -1991.6719, 198.6953, 0.0, 0.0, 0.0);
- chilliad[22] = CreateObject(18597, -2656.6797, -1992.9531, 80.1719, 0.0, 0.0, 0.0);
- chilliad[23] = CreateObject(18598, -1985.5078, -1562.5078, 84.4688, 0.0, 0.0, 0.0);
- chilliad[24] = CreateObject(18599, -1970.7109, -1785.9844, 107.9844, 0.0, 0.0, 0.0);
- chilliad[25] = CreateObject(18600, -2233.2031, -1980.7813, 153.6797, 0.0, 0.0, 0.0);
- chilliad[26] = CreateObject(18325, -2656.6797, -1992.9531, 80.1719, 0.0, 0.0, 0.0);
- chilliad[27] = CreateObject(18316, -2655.2813, -1781.0078, 265.1406, 0.0, 0.0, 0.0);
- chilliad[28] = CreateObject(18308, -2724.3203, -1555.9609, 222.8906, 0.0, 0.0, 0.0);
- chilliad[29] = CreateObject(18469, -2700.2813, -1345.7969, 213.4609, 0.0, 0.0, 0.0);
- chilliad[30] = CreateObject(18307, -2624.3047, -1562.8828, 353.4531, 0.0, 0.0, 0.0);
- chilliad[31] = CreateObject(18301, -2583.4297, -1343.4531, 270.8438, 0.0, 0.0, 0.0);
- chilliad[32] = CreateObject(18297, -2646.3516, -1116.9297, 111.7578, 0.0, 0.0, 0.0);
- chilliad[33] = CreateObject(18326, -2444.5000, -1991.6719, 198.6953, 0.0, 0.0, 0.0);
- chilliad[34] = CreateObject(18327, -2438.4375, -1949.0547, 310.9141, 0.0, 0.0, 0.0);
- chilliad[35] = CreateObject(18317, -2431.6797, -1759.6641, 403.8672, 0.0, 0.0, 0.0);
- chilliad[36] = CreateObject(18309, -2426.9375, -1530.4531, 440.9688, 0.0, 0.0, 0.0);
- chilliad[37] = CreateObject(18302, -2426.5000, -1347.3125, 300.8047, 0.0, 0.0, 0.0);
- chilliad[38] = CreateObject(18298, -2421.1563, -1134.0938, 168.7813, 0.0, 0.0, 0.0);
- chilliad[39] = CreateObject(18295, -2291.7813, -993.4063, 63.5781, 0.0, 0.0, 0.0);
- chilliad[40] = CreateObject(18328, -2237.0000, -1951.5234, 297.5625, 0.0, 0.0, 0.0);
- chilliad[41] = CreateObject(18329, -2233.2031, -1980.7813, 153.6797, 0.0, 0.0, 0.0);
- chilliad[42] = CreateObject(18310, -2249.3594, -1572.8672, 418.7656, 0.0, 0.0, 0.0);
- chilliad[43] = CreateObject(18319, -2239.6406, -1762.7266, 381.9531, 0.0, 0.0, 0.0);
- chilliad[44] = CreateObject(18303, -2221.8359, -1367.7969, 300.4609, 0.0, 0.0, 0.0);
- chilliad[45] = CreateObject(18304, -2182.2266, -1358.7109, 135.2422, 0.0, 0.0, 0.0);
- chilliad[46] = CreateObject(18299, -2186.7500, -1147.7344, 108.1563, 0.0, 0.0, 0.0);
- chilliad[47] = CreateObject(18318, -2181.4688, -1774.8125, 217.3984, 0.0, 0.0, 0.0);
- chilliad[48] = CreateObject(18311, -2145.1953, -1576.7188, 259.6484, 0.0, 0.0, 0.0);
- chilliad[49] = CreateObject(18312, -1985.5078, -1562.5078, 84.4688, 0.0, 0.0, 0.0);
- chilliad[50] = CreateObject(18305, -1980.3750, -1330.4922, 74.8516, 0.0, 0.0, 0.0);
- chilliad[51] = CreateObject(18320, -1970.7109, -1785.9844, 107.9844, 0.0, 0.0, 0.0);
- for(new xx; xx < sizeof(chilliad); xx++)
- {
- SetObjectMaterial(chilliad[xx], 0, 3915, "libertyhi3", "mp_snow");
- SetObjectMaterial(chilliad[xx], 1, 3915, "libertyhi3", "mp_snow");
- SetObjectMaterial(chilliad[xx], 2, 3915, "libertyhi3", "mp_snow");
- SetObjectMaterial(chilliad[xx], 3, 3915, "libertyhi3", "mp_snow");
- SetObjectMaterial(chilliad[xx], 4, 3915, "libertyhi3", "mp_snow");
- SetObjectMaterial(chilliad[xx], 5, 3915, "libertyhi3", "mp_snow");
- }
- return 1;
- }
- public OnGameModeExit()
- {
- for(new i=0; i<MAX_PLAYERS; i++) {
- TextDrawHideForPlayer(i, PlayersOnServer);
- }
- for(new i = 0, PP = GetMaxPlayers(); i <= PP; i++)
- {
- if(!IsPlayerConnected(i)) continue;
- TextDrawDestroy(ProgressaoInfo[i][TPontos]);
- }
- for(new xx; xx < sizeof(chilliad); xx++)
- {
- if(IsValidObject(chilliad[xx]))
- {
- DestroyObject(chilliad[xx]);
- }
- }
- DestroyAllPropertyPickups();
- TextDrawHideForAll(txtTimeDisp);
- TextDrawDestroy(txtTimeDisp);
- TextDrawHideForAll(txtDateDisp);
- TextDrawDestroy(txtDateDisp);
- return 1;
- }
- public SendPlayerFormattedText(playerid, const str[], define)
- {
- new tmpbuf[256];
- format(tmpbuf, sizeof(tmpbuf), str, define);
- SendClientMessage(playerid, 0xFF004040, tmpbuf);
- }
- public SendAllFormattedText(playerid, const str[], define)
- {
- new tmpbuf[256];
- format(tmpbuf, sizeof(tmpbuf), str, define);
- SendClientMessageToAll(0xFFFF00AA, tmpbuf);
- }
- strtok(const string[], &index)
- {
- new length = strlen(string);
- while ((index < length) && (string[index] <= ' '))
- {
- index++;
- }
- new offset = index;
- new result[20];
- while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
- {
- result[index - offset] = string[index];
- index++;
- }
- result[index - offset] = EOS;
- return result;
- }
- public SendMSG()
- {
- new randMSG = random(sizeof(RandomMSG));
- SendClientMessageToAll(CoresV[random(sizeof(CoresV))], RandomMSG[randMSG]);
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- new str[1000];
- new stringa[1000];
- if(dialogid == STUNTS) // Stunts
- {
- if(response)
- {
- if(listitem == 0) // Aero LS
- {
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- format(stringa, sizeof(stringa), "[SERVER] %s Foi Para Stunt no Aero de LS ( /stunts )", pname);
- SendClientMessageToAll(COR_DELETE, stringa);
- new cartype = GetPlayerVehicleID(playerid);
- new State=GetPlayerState(playerid);
- SetPlayerInterior(playerid,0);
- {
- if(State!=PLAYER_STATE_DRIVER)
- {
- SetPlayerPos(playerid,1508.4031,1449.0800,10.8494);
- }
- else if(IsPlayerInVehicle(playerid, cartype) == 1)
- {
- SetVehiclePos(cartype,1508.4031,1449.0800,10.8494);
- SetVehicleZAngle(cartype,30.6101);}
- else
- {
- SetPlayerPos(playerid,1508.4031,1449.0800,10.8494);
- }
- GameTextForPlayer(playerid,"Bem Vindo Ao aero porto de LV",2500,3);
- }
- }
- if(listitem == 1) // Aero SF
- {
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- format(stringa, sizeof(stringa), "[SERVER] %s Foi Para o Stunt no Aero de SF ( /stunts )", pname);
- SendClientMessageToAll(COR_DELETE, stringa);
- new cartype = GetPlayerVehicleID(playerid);
- new State=GetPlayerState(playerid);
- SetPlayerInterior(playerid,0);
- {
- if(State!=PLAYER_STATE_DRIVER)
- {
- SetPlayerPos(playerid,-1444.3123,31.4322,14.1484);
- }
- else if(IsPlayerInVehicle(playerid, cartype) == 1)
- {
- SetVehiclePos(cartype,-1444.3123,31.4322,14.1484);
- SetVehicleZAngle(cartype,30.6101);}
- else
- {
- SetPlayerPos(playerid,-1444.3123,31.4322,14.1484);
- }
- GameTextForPlayer(playerid,"Bem Vindo Ao aero porto de SF",2500,3);
- }
- }
- if(listitem == 2) // Drop
- {
- if(IsPlayerInAnyVehicle(playerid)) {
- new VehicleID;
- VehicleID = GetPlayerVehicleID(playerid);
- SetVehiclePos(VehicleID,-174.9214,-1858.2277,698.5009);
- SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- format(stringa, sizeof(stringa), "[SERVER] %s Foi Para o Drop ( /stunts )", pname);
- SendClientMessageToAll(COR_DELETE, stringa);
- SetPlayerInterior(playerid,0);
- }else{
- SetPlayerPos(playerid,-174.9214,-1858.2277,698.5009);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- format(stringa, sizeof(stringa), "[SERVER] %s Foi Para o Drop ( /stunts )", pname);
- SendClientMessageToAll(COR_DELETE, stringa);
- SetPlayerInterior(playerid,0);
- }
- }
- if(listitem == 3) // Drift no deserto
- {
- SetPlayerInterior(playerid, 0);
- SetCameraBehindPlayer(playerid);
- SetPlayerPos(playerid, -293.8877,1565.9523,75.3594);
- SetPlayerFacingAngle(playerid, 0);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, COLOR_RED, "[SERVER] DESÇA A PISTA DE DRIFT");
- format(stringa, sizeof(stringa), "[SERVER] %s Foi Para o Drift no deserto ( /stunts )", pname);
- Create3DTextLabel("Vire à direita",COLOR_RED,-432.7356,1444.8005,34.1391,50,0);
- SendClientMessageToAll(COR_DELETE, stringa);
- }
- if(listitem == 4) // Drift no desafio
- {
- SetPlayerInterior(playerid, 0);
- SetCameraBehindPlayer(playerid);
- SetPlayerPos(playerid, 2644.2627,1473.4487,10.8070);
- SetPlayerFacingAngle(playerid, 0);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, COLOR_RED, "[SERVER] Cuidado com os obstáculos");
- format(stringa, sizeof(stringa), "[SERVER] %s Foi Para Desafio do Drift ( /stunts )", pname);
- SendClientMessageToAll(COR_DELETE, stringa);
- }
- if(listitem == 5) // Motocross
- {
- new cross1;
- new cross2;
- SetPlayerInterior(playerid,14);
- GameTextForPlayer(playerid,"~r~Bem-vindo ao MotoCross", 3000, 5);
- SetPlayerPos(playerid,-1465.268676,1557.868286,1052.531250);
- cross1 = AddStaticVehicle(468,-1473.3514,1561.9587,1052.7500, 1, 1, 10000);
- cross2 = AddStaticVehicle(468,-1478.5458,1564.2191,1052.5313, 1, 1, 10000);
- LinkVehicleToInterior(cross1, 14);
- LinkVehicleToInterior(cross2, 14);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, COR_DELETE, "[SERVER] Use '/kill' para sair daqui");
- format(stringa, sizeof(stringa), "[SERVER] %s Foi Para o MotoCross ( /stunts )", pname);
- SendClientMessageToAll(COR_DELETE, stringa);
- }
- if(listitem == 6) // Stadium
- {
- SetPlayerInterior(playerid, 15);
- SetCameraBehindPlayer(playerid);
- SetPlayerPos(playerid, -1398.103515,937.631164,1036.479125);
- SetPlayerFacingAngle(playerid, 0);
- SendClientMessage(playerid, 0x7F00FFBE, "[SERVER] Bem Vindo ao Stadium");
- SendClientMessage(playerid, COR_DELETE, "[SERVER] Use '/kill' para sair daqui");
- format(stringa, sizeof(stringa), "[SERVER] %s Foi Para o Stadium ( /stunts )", pname);
- SendClientMessageToAll(COR_DELETE, stringa);
- }
- }
- return 1;
- }
- if(dialogid == DMs) // DMs
- {
- if(response)
- {
- if(listitem == 0) // X1
- {
- x1dm(playerid);
- }
- if(listitem == 1) // Minigun
- {
- minigun(playerid);
- }
- if(listitem == 2) // Sniper
- {
- sniper(playerid);
- }
- if(listitem == 3) // Area 69
- {
- area69(playerid);
- }
- if(listitem == 4) // RPG DM
- {
- rpgdm(playerid);
- }
- }
- return 1;
- }
- if(dialogid == DialogBoxExxx)
- {
- if(response)
- {
- if(listitem == 0)
- {
- new strdialog[1024];
- format(strdialog, sizeof(strdialog),"%s","{FF0000}TUTORIAL{FFFFFF}\n\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "Quando você entra no servidor, seu nick é branco, isso significa que você não tem gang.\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "Peça gang ou espere receber convite dos players com cores no servidor.\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "Com sua gang, você pode depositar, sacar e ver o saldo da sua gang no banco.\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "Todas suas armas, dinheiro e etc serão salvos ao você sair do servidor.\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "Caso você seja banido sem querer, peça no fórum do server para ser desbanido.\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "Você pode obter mais ajuda com /ajuda\n");
- ShowPlayerDialog(playerid, DialogBoxEx, DIALOG_STYLE_MSGBOX, "===== Tutorial do Server =====", strdialog, "OK", "");
- Leu[playerid] = 1;
- sLeuTuto(playerid);
- }
- if(listitem == 1)
- {
- Leu[playerid] = 1;
- sLeuTuto(playerid);
- }
- }
- return 1;
- }
- if(dialogid == AJUDA) // Ajuda do servidor
- {
- if(response)
- {
- if(listitem == 0) // Objetivo
- {
- 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);
- ShowPlayerDialog(playerid, DialogBoxEx, DIALOG_STYLE_MSGBOX, "Objetivo do City of Killers", str, "OK", "");
- }
- if(listitem == 1) // Gangs
- {
- 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);
- ShowPlayerDialog(playerid, DialogBoxEx, DIALOG_STYLE_MSGBOX, "Ajuda das gangs", str, "OK", "");
- }
- if(listitem == 2) // Outros
- {
- 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);
- ShowPlayerDialog(playerid, DialogBoxEx, DIALOG_STYLE_MSGBOX, "Outras ajudas", str, "OK", "");
- }
- if(listitem == 3) // Perguntas frequentes
- {
- format(str, sizeof(str), "{FFFFFF}Basta acessar esse link: {AA3333}http://cokbr.forumbrasil.net/faq", playerid);
- ShowPlayerDialog(playerid, DialogBoxEx, DIALOG_STYLE_MSGBOX, "Perguntas frequentes", str, "OK", "");
- }
- if(listitem == 4) // Tutorial
- {
- new strdialog[1024];
- format(strdialog, sizeof(strdialog),"%s","{FF0000}TUTORIAL{FFFFFF}\n\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "Quando você entra no servidor, seu nick é branco, isso significa que você não tem gang.\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "Peça gang ou espere receber convite dos players com cores no servidor.\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "Com sua gang, você pode depositar, sacar e ver o saldo da sua gang no banco.\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "Todas suas armas, dinheiro e etc serão salvos ao você sair do servidor.\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "Caso você seja banido sem querer, peça no fórum do server para ser desbanido.\n");
- format(strdialog, sizeof(strdialog),"%s%s",strdialog, "Você pode obter mais ajuda com /ajuda\n");
- ShowPlayerDialog(playerid, DialogBoxEx, DIALOG_STYLE_MSGBOX, "===== Tutorial do Server =====", strdialog, "OK", "");
- }
- }
- return 1;
- }
- if(dialogid == DIALOGID) // Teleportes
- {
- if(response)
- {
- if(listitem == 0) // Los Santos
- {
- 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");
- }
- if(listitem == 1) // San Fierro
- {
- 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");
- }
- if(listitem == 2) // Las Venturas
- {
- 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");
- }
- if(listitem == 3) // Estacionamento
- {
- if(IsPlayerInAnyVehicle(playerid)) {return SendClientMessage(playerid, 0x00FFFFAA, "[SERVER] Você já tem um veículo.");}
- SetPlayerPos(playerid,1728.9591,-1063.1030,23.9398);
- SetPlayerInterior(playerid,0);
- }
- if(listitem == 4) // Outros
- {
- 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");
- }
- }
- return 1;
- }
- if(dialogid == DIALOGID+1) // Los Santos
- {
- if(response)
- {
- if(listitem == 0) // Aeroporto
- {
- if(IsPlayerInAnyVehicle(playerid)) {
- new VehicleID;
- VehicleID = GetPlayerVehicleID(playerid);
- SetVehiclePos(VehicleID,1934.8811,-2305.5283,13.5469);
- SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Aeroporto de Los Santos.");
- SetPlayerInterior(playerid,0);
- }else{
- SetPlayerPos(playerid,1934.8811,-2305.5283,13.5469);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Aeroporto de Los Santos.");
- SetPlayerInterior(playerid,0);
- }
- }
- if(listitem == 1) //Santa Marina
- {
- if(IsPlayerInAnyVehicle(playerid)) {
- new VehicleID;
- VehicleID = GetPlayerVehicleID(playerid);
- SetVehiclePos(VehicleID,433.1179,-1796.5649,5.5469);
- SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Praia de Marina.");
- }else{
- SetPlayerPos(playerid,433.1179,-1796.5649,5.5469);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Praia de Marina.");
- SetPlayerInterior(playerid,0);
- }
- }
- if(listitem == 2) // Grove Street
- {
- if(IsPlayerInAnyVehicle(playerid)) {
- new VehicleID;
- VehicleID = GetPlayerVehicleID(playerid);
- SetVehiclePos(VehicleID,2493.2285,-1684.6071,13.5099);
- SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Grove Street.");
- }else{
- SetPlayerPos(playerid,2493.2285,-1684.6071,13.5099);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Grove Street.");
- SetPlayerInterior(playerid,0);
- }
- }
- if(listitem == 3) // City Hall
- {
- if(IsPlayerInAnyVehicle(playerid)) {
- new VehicleID;
- VehicleID = GetPlayerVehicleID(playerid);
- SetVehiclePos(VehicleID,1461.0043,-1019.4626,24.6975);
- SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Los Santos City Hall.");
- }else{
- SetPlayerPos(playerid,1461.0043,-1019.4626,24.6975);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Los Santos City Hall.");
- SetPlayerInterior(playerid,0);
- }
- }
- if(listitem == 4) // Police Station
- {
- if(IsPlayerInAnyVehicle(playerid)) {
- new VehicleID;
- VehicleID = GetPlayerVehicleID(playerid);
- SetVehiclePos(VehicleID,1544.8700,-1675.8081,13.5593);
- SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Departamento de polícia de Los Santos.");
- }else{
- SetPlayerPos(playerid,1544.8700,-1675.8081,13.5593);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Departamento de polícia de Los Santos.");
- SetPlayerInterior(playerid,0);
- }
- }
- if(listitem == 5) // Bank
- {
- if(IsPlayerInAnyVehicle(playerid)) {
- new VehicleID;
- VehicleID = GetPlayerVehicleID(playerid);
- SetVehiclePos(VehicleID,595.1895,-1243.1205,18.0844);
- SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Banco de Los Santos.");
- }else{
- SetPlayerPos(playerid,595.1895,-1243.1205,18.0844);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Banco de Los Santos.");
- SetPlayerInterior(playerid,0);
- }
- }
- if(listitem == 6) // Ocean Docks
- {
- if(IsPlayerInAnyVehicle(playerid)) {
- new VehicleID;
- VehicleID = GetPlayerVehicleID(playerid);
- SetVehiclePos(VehicleID,2791.1782,-2534.6309,13.6303);
- SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Ocean Docks.");
- }else{
- SetPlayerPos(playerid,2791.1782,-2534.6309,13.6303);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Ocean Docks.");
- SetPlayerInterior(playerid,0);
- }
- }
- if(listitem == 7) // Crazybob's House
- {
- if(IsPlayerInAnyVehicle(playerid)) {
- new VehicleID;
- VehicleID = GetPlayerVehicleID(playerid);
- SetVehiclePos(VehicleID,2791.1782,-2534.6309,13.6303);
- SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Crazybob's House.");
- }else{
- SetPlayerPos(playerid,2791.1782,-2534.6309,13.6303);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Crazybob's House.");
- SetPlayerInterior(playerid,0);
- }
- }
- if(listitem == 8) // Jefferson Motel
- {
- if(IsPlayerInAnyVehicle(playerid)) {
- new VehicleID;
- VehicleID = GetPlayerVehicleID(playerid);
- SetVehiclePos(VehicleID,2229.0200,-1159.8000,25.7981);
- SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Jefferson Motel.");
- }else{
- SetPlayerPos(playerid,2229.0200,-1159.8000,25.7981);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Jefferson Motel.");
- SetPlayerInterior(playerid,0);
- }
- }
- if(listitem == 9) // Above Los Santos
- {
- SetPlayerPos(playerid, 1744.1571,-1426.3916,1513.2897);
- SetPlayerFacingAngle(playerid, 0);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Above Los Santos.");
- GivePlayerWeapon(playerid, 46, 1);
- SendClientMessage(playerid, 0x00FFFFAA, "Você ganhou um paraquedas.");
- OnSkyDiving[playerid]=1;
- }
- if(listitem == 10) // Voltar
- {
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Categorias do teleporte", "Los Santos\nSan Fierro\nLas Venturas\nOutros", "Selecionar", "Cancelar");
- }
- }
- return 1;
- }
- if(dialogid == DIALOGID+2) // San Fierro
- {
- if(response)
- {
- if(listitem == 0) // Aeroporto
- {
- if(IsPlayerInAnyVehicle(playerid)) {
- new VehicleID;
- VehicleID = GetPlayerVehicleID(playerid);
- SetVehiclePos(VehicleID,-1315.9419,-223.8595,14.1484);
- SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Aeroporto de San Fierro.");
- }else{
- SetPlayerPos(playerid,-1315.9419,-223.8595,14.1484);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Aeroporto de San Fierro.");
- SetPlayerInterior(playerid,0);
- }
- }
- if(listitem == 1) // City Hall
- {
- if(IsPlayerInAnyVehicle(playerid)) {
- new VehicleID;
- VehicleID = GetPlayerVehicleID(playerid);
- SetVehiclePos(VehicleID,-1917.0334,297.4962,41.0469);
- SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Concessionária de San Fierro.");
- }else{
- SetPlayerPos(playerid,-1917.0334,297.4962,41.0469);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Concessionária de San Fierro.");
- SetPlayerInterior(playerid,0);
- }
- }
- if(listitem == 2) // Bank
- {
- if(IsPlayerInAnyVehicle(playerid)) {
- new VehicleID;
- VehicleID = GetPlayerVehicleID(playerid);
- SetVehiclePos(VehicleID,-2050.6089,459.3649,35.1719);
- SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Banco de San Fierro.");
- }else{
- SetPlayerPos(playerid,-2050.6089,459.3649,35.1719);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Banco de San Fierro.");
- SetPlayerInterior(playerid,0);
- }
- }
- if(listitem == 3) // Ocen Flats
- {
- if(IsPlayerInAnyVehicle(playerid)) {
- new VehicleID;
- VehicleID = GetPlayerVehicleID(playerid);
- SetVehiclePos(VehicleID,-2670.1101,-4.9832,6.1328);
- SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para San Fierro Ocean Flats.");
- }else{
- SetPlayerPos(playerid,-2670.1101,-4.9832,6.1328);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para San Fierro Ocean Flats.");
- SetPlayerInterior(playerid,0);
- }
- }
- if(listitem == 4) // Missionary Hill
- {
- if(IsPlayerInAnyVehicle(playerid)) {
- new VehicleID;
- VehicleID = GetPlayerVehicleID(playerid);
- SetVehiclePos(VehicleID,-2515.6768,-611.6651,132.5625);
- SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Monte do Missionário.");
- }else{
- SetPlayerPos(playerid,-2515.6768,-611.6651,132.5625);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Monte do Missionário.");
- SetPlayerInterior(playerid,0);
- }
- }
- if(listitem == 5) // Jizzy's Pleasure Dome
- {
- if(IsPlayerInAnyVehicle(playerid)) {
- new VehicleID;
- VehicleID = GetPlayerVehicleID(playerid);
- SetVehiclePos(VehicleID,-2621.0244,1403.7534,7.0938);
- SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Jizzy's Pleasure Dome.");
- }else{
- SetPlayerPos(playerid,-2621.0244,1403.7534,7.0938);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Jizzy's Pleasure Dome.");
- SetPlayerInterior(playerid,0);
- }
- }
- if(listitem == 6) // Police Station
- {
- if(IsPlayerInAnyVehicle(playerid)) {
- new VehicleID;
- VehicleID = GetPlayerVehicleID(playerid);
- SetVehiclePos(VehicleID,-1608.1376,718.9722,12.4356);
- SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Estação de Polícia de San Fierro.");
- }else{
- SetPlayerPos(playerid,-1608.1376,718.9722,12.4356);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Estação de Polícia de San Fierro.");
- SetPlayerInterior(playerid,0);
- }
- }
- if(listitem == 7) // Voltar
- {
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Categorias do Teleporte", "Los Santos\nSan Fierro\nLas Venturas\nOutros", "Selelecionar", "Cancelar");
- }
- }
- return 1;
- }
- if(dialogid == DIALOGID+3) // Las Venturas
- {
- if(response)
- {
- if(listitem == 0) // Aeroporto
- {
- if(IsPlayerInAnyVehicle(playerid)) {
- new VehicleID;
- VehicleID = GetPlayerVehicleID(playerid);
- SetVehiclePos(VehicleID,1487.9703,1736.9537,10.8125);
- SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Aeroporto de Las Venturas.");
- }else{
- SetPlayerPos(playerid,1487.9703,1736.9537,10.8125);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Aeroporto de Las Venturas.");
- SetPlayerInterior(playerid,0);
- }
- }
- if(listitem == 1) // City Hall
- {
- if(IsPlayerInAnyVehicle(playerid)) {
- new VehicleID;
- VehicleID = GetPlayerVehicleID(playerid);
- SetVehiclePos(VehicleID,2421.7185,1121.9866,10.8125);
- SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Las Venturas City Hall.");
- }else{
- SetPlayerPos(playerid,2421.7185,1121.9866,10.8125);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Las Venturas City Hall.");
- SetPlayerInterior(playerid,0);
- }
- }
- if(listitem == 2) // Police Station
- {
- if(IsPlayerInAnyVehicle(playerid)) {
- new VehicleID;
- VehicleID = GetPlayerVehicleID(playerid);
- SetVehiclePos(VehicleID,2287.2561,2426.2576,10.8203);
- SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Estação de Polícia de Las Venturas.");
- }else{
- SetPlayerPos(playerid,2287.2561,2426.2576,10.8203);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Estação de Polícia de Las Venturas.");
- SetPlayerInterior(playerid,0);
- }
- }
- if(listitem == 3) // Bank
- {
- if(IsPlayerInAnyVehicle(playerid)) {
- new VehicleID;
- VehicleID = GetPlayerVehicleID(playerid);
- SetVehiclePos(VehicleID,2463.6680,2240.7524,10.8203);
- SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Banco de Las Venturas.");
- }else{
- SetPlayerPos(playerid,2463.6680,2240.7524,10.8203);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Banco de Las Venturas.");
- SetPlayerInterior(playerid,0);
- }
- }
- if(listitem == 4) // Last Dime Motel
- {
- if(IsPlayerInAnyVehicle(playerid)) {
- new VehicleID;
- VehicleID = GetPlayerVehicleID(playerid);
- SetVehiclePos(VehicleID,1929.0522,707.8507,10.8203);
- SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Last Dime Motel.");
- }else{
- SetPlayerPos(playerid,1929.0522,707.8507,10.8203);
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Last Dime Motel.");
- SetPlayerInterior(playerid,0);
- }
- }
- if(listitem == 5) // Above Las Venturas
- {
- SetPlayerPos(playerid, 2201.6697,1997.7933,1500.1992);
- SetPlayerFacingAngle(playerid, 0);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Above Las Venturas.");
- GivePlayerWeapon(playerid, 46, 1);
- SendClientMessage(playerid, 0x00FFFFAA, "Você ganhou um paraquedas.");
- OnSkyDiving[playerid]=1;
- }
- if(listitem == 6) // Voltar
- {
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Categorias do Teleporte", "Los Santos\nSan Fierro\nLas Venturas\nOutros", "Selecionar", "Cancelar");
- }
- }
- return 1;
- }
- if(dialogid == DIALOGID+4) // Outros
- {
- if(response)
- {
- if(listitem == 0) // Verdant Meadows
- {
- SetPlayerInterior(playerid, 0);
- SetPlayerPos(playerid, 414.9159,2532.9700,19.1484);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Verdant Meadows.");
- }
- if(listitem == 1) // Bayside
- {
- SetPlayerPos(playerid, -2271.0764, 2317.8457, 4.8202);
- SetPlayerFacingAngle(playerid, 180);
- SendClientMessage(playerid, 0x00FFFFAA, "Aye there fisherman, your at Bayside.");
- }
- if(listitem == 2) // Palomino Creek
- {
- SetPlayerPos(playerid, 2259.5532, -85.0334, 26.5107);
- SetPlayerFacingAngle(playerid, 180);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Palomino Creek.");
- }
- if(listitem == 3) // Montgomery
- {
- SetPlayerInterior(playerid, 0);
- SetPlayerPos(playerid, 1377.4314,271.4077,19.5669);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Montgomery.");
- }
- if(listitem == 4) // Blueberry
- {
- SetPlayerInterior(playerid, 0);
- SetPlayerPos(playerid, 183.9907,-108.5440,2.0234);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Blueberry.");
- }
- if(listitem == 5) // Drylake
- {
- SetPlayerPos(playerid, -12.7000, 1481.7000, 14.00);
- GameTextForPlayer(playerid,"~W~Welcome to ~B~Dry lake~W~!", 1000, 0);
- SetPlayerInterior(playerid,0);
- }
- if(listitem == 6) // Sniper Death Match
- {
- sniper(playerid);
- }
- if(listitem == 7) // Bike Race
- {
- if(iSpawnedCar[playerid] != -1) DestroyVehicle(iSpawnedCar[playerid]);
- SetPlayerInterior(playerid,4);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Bike Race. Use /exit to exit.");
- iSpawnedCar[playerid] = CreateVehicle(468,-1424.93,-664.58,1059.85, 180.0, -1, -1, -1);
- LinkVehicleToInterior(iSpawnedCar[playerid], 4);
- PutPlayerInVehicle(playerid,iSpawnedCar[playerid], 0);
- }
- if(listitem == 8) // Car Race
- {
- if(iSpawnedCar[playerid] != -1) DestroyVehicle(iSpawnedCar[playerid]);
- SetPlayerInterior(playerid,7);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Car Race. Use /exit to exit.");
- iSpawnedCar[playerid] = CreateVehicle(415,-1394.54,-243.56,1043.20, 180.0, -1, -1, -1);
- LinkVehicleToInterior(iSpawnedCar[playerid],7);
- PutPlayerInVehicle(playerid,iSpawnedCar[playerid], 0);
- }
- if(listitem == 9) // Mount Chilliad Cabin
- {
- SetPlayerPos(playerid, -2809.0000, -1516.5000, 142.0000);
- SetPlayerFacingAngle(playerid, 270);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para the cabin at Mount Chilliad.");
- GameTextForPlayer(playerid,"~W~Welcome to~N~~R~~H~Mount Chilliad Cabin~W~!",1000,0);
- }
- if(listitem == 10) // Top of Mount Chilliad
- {
- SetPlayerPos(playerid, -2238.0000, -1712.2700, 482.0000);
- SetPlayerFacingAngle(playerid, 90);
- SendClientMessage(playerid, 0x00FFFFAA, "You've been teleported on top of Mount Chilliad.");
- GameTextForPlayer(playerid,"~W~Welcome to~N~~R~~H~Top of Mount Chilliad~W~!",1000,0);
- }
- if(listitem == 11) // Mount Chilliad
- {
- SetPlayerPos(playerid, -2409.5000, -2190.0000, 35.0000);
- SetPlayerFacingAngle(playerid, 270);
- SendClientMessage(playerid, 0x00FFFFAA, "Você se teletransportou para Mount Chilliad. Type /mccabin or /mctop for more places.");
- GameTextForPlayer(playerid,"~W~Welcome to~N~~R~Mount Chilliad~W~!",1000,0);
- }
- if(listitem == 12) // Area69
- {
- area69(playerid);
- }
- if(listitem == 13) // Voltar
- {
- ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Categorias do Teleporte", "Los Santos\nSan Fierro\nLas Venturas\nOutros", "Selecionar", "Cancelar");
- }
- }
- return 1;
- }
- if(dialogid == 1245){
- if(response){
- if(listitem == 0){
- {
- StopAudioStreamForPlayer(playerid);
- PlayAudioStreamForPlayer(playerid,"http://yp.shoutcast.com/sbin/tunein-station.pls?id=377999");//Radio Hunter
- TextDrawHideForPlayer(playerid, cokfundo);
- SendClientMessage(playerid, 0x33CCFFAA, "[SERVER] {FF0000}Radio Hunter {FFFFFF}Ligada!");
- SendClientMessage(playerid, 0x33CCFFAA, "{FFFFFF} Acesse: www.radiohunter.com.br");
- }
- }
- if(listitem == 1){
- {
- StopAudioStreamForPlayer(playerid);
- PlayAudioStreamForPlayer(playerid,"http://radiosupermix.com.br:7585/listen.pls");// SUPER MIX
- TextDrawHideForPlayer(playerid, cokfundo);
- SendClientMessage(playerid, 0x33CCFFAA, "[SERVER] {FF0000}Radio Super Mix {FFFFFF}Ligada!");
- SendClientMessage(playerid, 0x33CCFFAA, "{FFFFFF} Acesse: www.supermixfm.net");
- }
- }
- if(listitem == 2){
- {
- StopAudioStreamForPlayer(playerid);
- PlayAudioStreamForPlayer(playerid,"http://96.9.138.101/player/13786/winamp.pls");//Radio RockFreeday
- TextDrawHideForPlayer(playerid, cokfundo);
- SendClientMessage(playerid, 0x33CCFFAA, "[SERVER] {FF0000}Radio RockFreeDay {FFFFFF}Ligada!");
- SendClientMessage(playerid, 0x33CCFFAA, "{FFFFFF} Acesse: www.rockfreeday.com.br");
- }
- }
- if(listitem == 3){
- {
- StopAudioStreamForPlayer(playerid);
- PlayAudioStreamForPlayer(playerid,"http://pagodefm.com/play/playlist.pls");//Radio Pagode FM
- TextDrawHideForPlayer(playerid, cokfundo);
- SendClientMessage(playerid, 0x33CCFFAA, "[SERVER] {FF0000}Radio Pagode FM {FFFFFF}Ligada!");
- SendClientMessage(playerid, 0x33CCFFAA, "{FFFFFF} Acesse: www.pagodefm.com");
- }
- }
- if(listitem == 4){
- {
- StopAudioStreamForPlayer(playerid);
- PlayAudioStreamForPlayer(playerid,"http://streaming15.brlogic.com:8084/live");//Radio Electro Vibe
- TextDrawHideForPlayer(playerid, cokfundo);
- SendClientMessage(playerid, 0x33CCFFAA, "[SERVER] {FF0000}Radio Electro Vibe {FFFFFF}Ligada!");
- SendClientMessage(playerid, 0x33CCFFAA, "{FFFFFF} Acesse: www.radioelectrovibe.com.br");
- }
- }
- if(listitem == 5){
- {
- StopAudioStreamForPlayer(playerid);
- PlayAudioStreamForPlayer(playerid,"http://pagodefm.com/play/sertanejo/playlist.pls");//Radio Sertanejo FM
- TextDrawHideForPlayer(playerid, cokfundo);
- SendClientMessage(playerid, 0x33CCFFAA, "[SERVER] {FF0000}Radio Setanejo FM {FFFFFF}Ligada!");
- SendClientMessage(playerid, 0x33CCFFAA, "{FFFFFF} Acesse: www.pagodefm.com");
- }
- }
- if(listitem == 6){
- {
- StopAudioStreamForPlayer(playerid);
- PlayAudioStreamForPlayer(playerid,"http://streaming18.brlogic.com:8204/live");//Relax
- TextDrawHideForPlayer(playerid, cokfundo);
- SendClientMessage(playerid, 0x33CCFFAA, "[SERVER] {FF0000}Radio Relax {FFFFFF}Ligada!");
- }
- }
- if(listitem == 7){
- {
- StopAudioStreamForPlayer(playerid);
- SendClientMessage(playerid, 0x33CCFFAA, "[SERVER] {BCBCBC}Você Desligou a Radio!");
- TextDrawShowForPlayer(playerid, cokfundo);
- }
- }
- }
- else{
- }
- return 1;
- }
- if(dialogid == 755)
- {
- ReceiverID[playerid] = strval(inputtext);
- ShowPlayerDialog(playerid,756,DIALOG_STYLE_INPUT,"==== Celular ====","Digite a mensagem:","Enviar","Cancelar");
- SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USECELLPHONE);
- return 1;
- }
- if(dialogid == 756)
- {
- if(response == 1)
- {
- if(reply[playerid] == 0)
- {
- PMfrom[ReceiverID[playerid]] = playerid;
- GetPlayerName(playerid, pname, sizeof(pname));
- SendClientMessage(playerid, 0xFF66FFAA, "[SERVER] Mensagem enviada com sucesso.");
- SetPlayerSpecialAction(playerid,SPECIAL_ACTION_STOPUSECELLPHONE);
- format(string, 120, "[SERVER] Mensagem de %s : %s", pname,inputtext);
- SendClientMessage(ReceiverID[playerid], 0xE6E6E6E6, string);
- GameTextForPlayer(ReceiverID[playerid],"~w~~n~~n~~n~~n~~n~~n~~n~~Voce recebeu mensagem",2000,3);
- PlayerPlaySound(ReceiverID[playerid], 1052, 0.0, 0.0, 0.0);
- PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
- }
- else if(reply[playerid] == 1)
- {
- PMfrom[ReceiverID[playerid]] = playerid;
- GetPlayerName(playerid, pname, sizeof(pname));
- SendClientMessage(playerid, 0xFF66FFAA, "[SERVER] Mensagem Respondida Com sucesso.");
- SetPlayerSpecialAction(playerid,SPECIAL_ACTION_STOPUSECELLPHONE);
- format(string, 120, "[SERVER] Mensagem de: %s : %s", pname,inputtext);
- SendClientMessage(PMfrom[playerid], 0xE6E6E6E6, string);
- GameTextForPlayer(PMfrom[playerid],"~w~~n~~n~~n~~n~~n~~n~~n~~Voce recebeu mensagem",2000,3);
- reply[playerid] = 0;
- PlayerPlaySound(PMfrom[playerid], 1052, 0.0, 0.0, 0.0);
- PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
- }
- }
- return 1;
- }
- if(dialogid == 757)
- {
- if(response == 1)
- {
- ShowPlayerDialog(playerid,756,DIALOG_STYLE_INPUT,"==== Celular ====","Digite a mensagem:","Enviar","Cancelar");
- return reply[playerid] = 1;
- }
- return 1;
- }
- if(dialogid==IDMENU) {
- if(response) {
- if(listitem==0) {
- if(GetPlayerMoney(playerid)<VPISTOL) return SendClientMessage(playerid,vermelho,SDinheiro);
- else {ShowPlayerDialog(playerid,PISTOL,DIALOG_STYLE_INPUT,"Balas para sua Pistola",MSGComprar,Btn1,Btn2);}
- return 1;}
- if(listitem==1) {
- if(GetPlayerMoney(playerid)<VDESERT) return SendClientMessage(playerid,vermelho,SDinheiro);
- else {ShowPlayerDialog(playerid,DESERT,DIALOG_STYLE_INPUT,"Balas para sua Desert",MSGComprar,Btn1,Btn2);}
- return 1;}
- if(listitem==2) {
- if(GetPlayerMoney(playerid)<VSAWN) return SendClientMessage(playerid,vermelho,SDinheiro);
- else {ShowPlayerDialog(playerid,SAWN,DIALOG_STYLE_INPUT,"Balas para sua Sawn-Off",MSGComprar,Btn1,Btn2);}
- return 1;}
- if(listitem==3) {
- if(GetPlayerMoney(playerid)<VTEC) return SendClientMessage(playerid,vermelho,SDinheiro);
- else {ShowPlayerDialog(playerid,SAWN,DIALOG_STYLE_INPUT,"Balas para sua Sawnoff Shotgun",MSGComprar,Btn1,Btn2);}
- return 1;}
- if(listitem==4) {
- if(GetPlayerMoney(playerid)<VCOMBAT) return SendClientMessage(playerid,vermelho,SDinheiro);
- else {ShowPlayerDialog(playerid,COMBAT,DIALOG_STYLE_INPUT,"Balas para sua Combat",MSGComprar,Btn1,Btn2);}
- return 1;}
- if(listitem==5) {
- if(GetPlayerMoney(playerid)<VMicroSMG) return SendClientMessage(playerid,vermelho,SDinheiro);
- else {ShowPlayerDialog(playerid,MicroSMG,DIALOG_STYLE_INPUT,"Balas para sua Micro SMG",MSGComprar,Btn1,Btn2);}
- return 1;}
- if(listitem==6) {
- if(GetPlayerMoney(playerid)<VSMG) return SendClientMessage(playerid,vermelho,SDinheiro);
- else {ShowPlayerDialog(playerid,SMG,DIALOG_STYLE_INPUT,"Balas para sua SMG",MSGComprar,Btn1,Btn2);}
- return 1;}
- if(listitem==7) {
- if(GetPlayerMoney(playerid)<VAK) return SendClientMessage(playerid,vermelho,SDinheiro);
- else {ShowPlayerDialog(playerid,AK,DIALOG_STYLE_INPUT,"Balas para sua Ak-47",MSGComprar,Btn1,Btn2);}
- return 1;}
- if(listitem==8) {
- if(GetPlayerMoney(playerid)<VCOLT) return SendClientMessage(playerid,vermelho,SDinheiro);
- else {ShowPlayerDialog(playerid,COLT,DIALOG_STYLE_INPUT,"Balas para sua Colt M4A1",MSGComprar,Btn1,Btn2);}
- return 1;}
- if(listitem==9) {
- if(GetPlayerMoney(playerid)<VSNIPER) return SendClientMessage(playerid,vermelho,SDinheiro);
- else {ShowPlayerDialog(playerid,SNIPER,DIALOG_STYLE_INPUT,"Balas para sua Sniper",MSGComprar,Btn1,Btn2);}
- return 1;}
- if(listitem==10) {
- if(GetPlayerMoney(playerid)<VEXTIN) return SendClientMessage(playerid,vermelho,SDinheiro);
- else {ShowPlayerDialog(playerid,EXTIN,DIALOG_STYLE_INPUT,"Balas para sua Sniper",MSGComprar,Btn1,Btn2);}
- return 1;}}
- return 1;
- }
- if(dialogid==SAWN) {
- if(response) {
- new BalasP=strval(inputtext)*PSAWN+VSAWN;
- if(GetPlayerMoney(playerid)<BalasP) return SendClientMessage(playerid,vermelho,SBDinheiro);
- else {GivePlayerMoney(playerid,-(BalasP));GivePlayerWeapon(playerid,26,strval(inputtext));SendClientMessage(playerid,amarelo,MSGSucesso);}}
- return 1;
- }
- if(dialogid==TEC) {
- if(response) {
- new BalasP=strval(inputtext)*PTEC+VTEC;
- if(GetPlayerMoney(playerid)<BalasP) return SendClientMessage(playerid,vermelho,SBDinheiro);
- else {GivePlayerMoney(playerid,-(BalasP));GivePlayerWeapon(playerid,32,strval(inputtext));SendClientMessage(playerid,amarelo,MSGSucesso);}}
- return 1;
- }
- if(dialogid==PISTOL) {
- if(response) {
- new BalasP=strval(inputtext)*PPISTOL+VPISTOL;
- if(GetPlayerMoney(playerid)<BalasP) return SendClientMessage(playerid,vermelho,SBDinheiro);
- else {GivePlayerMoney(playerid,-(BalasP));GivePlayerWeapon(playerid,22,strval(inputtext));SendClientMessage(playerid,amarelo,MSGSucesso);}}
- return 1;
- }
- if(dialogid==DESERT) {
- if(response) {
- new BalasP=strval(inputtext)*PDESERT+VDESERT;
- if(GetPlayerMoney(playerid)<BalasP) return SendClientMessage(playerid,vermelho,SBDinheiro);
- else {GivePlayerMoney(playerid,-(BalasP));GivePlayerWeapon(playerid,23,strval(inputtext));SendClientMessage(playerid,amarelo,MSGSucesso);}}
- return 1;
- }
- if(dialogid==COMBAT) {
- if(response) {
- new BalasP=strval(inputtext)*PCOMBAT+VCOMBAT;
- if(GetPlayerMoney(playerid)<BalasP) return SendClientMessage(playerid,vermelho,SBDinheiro);
- else {GivePlayerMoney(playerid,-(BalasP));GivePlayerWeapon(playerid,27,strval(inputtext));SendClientMessage(playerid,amarelo,MSGSucesso);}}
- return 1;
- }
- if(dialogid==MicroSMG) {
- if(response) {
- new BalasP=strval(inputtext)*PMicroSMG+VMicroSMG;
- if(GetPlayerMoney(playerid)<BalasP) return SendClientMessage(playerid,vermelho,SBDinheiro);
- else {GivePlayerMoney(playerid,-(BalasP));GivePlayerWeapon(playerid,28,strval(inputtext));SendClientMessage(playerid,amarelo,MSGSucesso);}}
- return 1;
- }
- if(dialogid==SMG) {
- if(response) {
- new BalasP=strval(inputtext)*PSMG+VSMG;
- if(GetPlayerMoney(playerid)<BalasP) return SendClientMessage(playerid,vermelho,SBDinheiro);
- else {GivePlayerMoney(playerid,-(BalasP));GivePlayerWeapon(playerid,29,strval(inputtext));SendClientMessage(playerid,amarelo,MSGSucesso);}}
- return 1;
- }
- if(dialogid==AK) {
- if(response) {
- new BalasP=strval(inputtext)*PAK+VAK;
- if(GetPlayerMoney(playerid)<BalasP) return SendClientMessage(playerid,vermelho,SBDinheiro);
- else {GivePlayerMoney(playerid,-(BalasP));GivePlayerWeapon(playerid,30,strval(inputtext));SendClientMessage(playerid,amarelo,MSGSucesso);}}
- return 1;
- }
- if(dialogid==COLT) {
- if(response) {
- new BalasP=strval(inputtext)*PCOLT+VCOLT;
- if(GetPlayerMoney(playerid)<BalasP) return SendClientMessage(playerid,vermelho,SBDinheiro);
- else {GivePlayerMoney(playerid,-(BalasP));GivePlayerWeapon(playerid,31,strval(inputtext));SendClientMessage(playerid,amarelo,MSGSucesso);}}
- return 1;
- }
- if(dialogid==SNIPER) {
- if(response) {
- new BalasP=strval(inputtext)*PSNIPER+VSNIPER;
- if(GetPlayerMoney(playerid)<BalasP) return SendClientMessage(playerid,vermelho,SBDinheiro);
- else {GivePlayerMoney(playerid,-(BalasP));GivePlayerWeapon(playerid,34,strval(inputtext));SendClientMessage(playerid,amarelo,MSGSucesso);}}
- return 1;
- }
- if(dialogid==EXTIN) {
- if(response) {
- new BalasP=strval(inputtext)*PEXTIN+VEXTIN;
- if(GetPlayerMoney(playerid)<BalasP) return SendClientMessage(playerid,vermelho,SBDinheiro);
- else {GivePlayerMoney(playerid,-(BalasP));GivePlayerWeapon(playerid,42,strval(inputtext));SendClientMessage(playerid,amarelo,MSGSucesso);}}
- return 1;
- }
- return 1;
- }
- forward drawagain();
- public drawagain(){
- if(PlayersOnServer){
- TextDrawDestroy(PlayersOnServer);
- }
- format(string, sizeof(string), "%i/%i PLAYERS", totalon, MaxP);
- PlayersOnServer = TextDrawCreate(30,326, string);
- return 1;
- }
- forward pOnline();
- public pOnline(){
- totalon = 0;
- for(new i=0; i<MAX_PLAYERS; i++) {
- if(IsPlayerConnected(i)) {
- if(totalon == 0){
- totalon = 1;
- }
- else if (totalon > 0){
- totalon++;
- }
- }
- }
- drawagain();
- TextDrawFont(PlayersOnServer,1);
- TextDrawUseBox(PlayersOnServer,0);
- TextDrawColor(PlayersOnServer,0xFF7100FF);
- TextDrawBackgroundColor(PlayersOnServer,0x000000AA);
- TextDrawAlignment(PlayersOnServer, 1);
- TextDrawSetOutline(PlayersOnServer,1);
- TextDrawSetShadow(PlayersOnServer,0);
- for(new i=0; i<MAX_PLAYERS; i++) {
- if(IsPlayerConnected(i)) {
- TextDrawShowForPlayer(i, PlayersOnServer);
- }
- else{
- TextDrawHideForPlayer(i, PlayersOnServer);
- }
- }
- return 1;
- }
- public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
- {
- if(IsPlayerInAnyVehicle(playerid))
- {
- TextDrawShowForPlayer(playerid,Textdraw0);
- TextDrawShowForPlayer(playerid,Textdraw1);
- TextDrawShowForPlayer(playerid,Textdraw2);
- TextDrawShowForPlayer(playerid,Textdraw3);
- TextDrawShowForPlayer(playerid,Textdraw4);
- TextDrawShowForPlayer(playerid,Textdraw5);
- TextDrawShowForPlayer(playerid,Textdraw6);
- TextDrawShowForPlayer(playerid,Textdraw7);}
- return 1;
- }
- public OnPlayerExitVehicle(playerid, vehicleid)
- {
- TextDrawHideForPlayer(playerid,Textdraw0);
- TextDrawHideForPlayer(playerid,Textdraw1);
- TextDrawHideForPlayer(playerid,Textdraw2);
- TextDrawHideForPlayer(playerid,Textdraw3);
- TextDrawHideForPlayer(playerid,Textdraw4);
- TextDrawHideForPlayer(playerid,Textdraw5);
- TextDrawHideForPlayer(playerid,Textdraw6);
- TextDrawHideForPlayer(playerid,Textdraw7);
- return 1;
- }
- public Speedo()
- {
- for(new playerid=0;playerid<MAX_PLAYERS;playerid++)
- {
- if(IsPlayerConnected(playerid) && IsPlayerInAnyVehicle(playerid))
- {
- //---------------------------------CHECAR VELOCIDADE----------------------------
- TextDrawHideForPlayer(playerid, Textdraw2);
- format(string,sizeof(string),"~g~Velocidade ~r~%dKM/H", VelocidadeKM(playerid));
- TextDrawSetString(Textdraw2, string);
- TextDrawShowForPlayer(playerid, Textdraw2);
- //-------------------------------CHECAR LATARIA---------------------------------
- GetVehicleHealth(GetPlayerVehicleID(playerid), Lataria);
- TextDrawHideForPlayer(playerid, Textdraw5);
- format(string,sizeof(string),"~g~Lataria ~r~%0.0f%%", Lataria);
- TextDrawSetString(Textdraw5, string);
- TextDrawShowForPlayer(playerid, Textdraw5);
- //---------------------------------CHECAR VEICULO-------------------------------
- format(string,sizeof(string),"~g~Veiculo ~r~%s", Veiculos[GetVehicleModel(GetPlayerVehicleID(playerid))-400]);
- TextDrawSetString(Textdraw3, string);
- TextDrawShowForPlayer(playerid, Textdraw3);
- //-------------------------------CHECAR ZONAS-----------------------------------
- GetPlayer2DZone(playerid, zone, MAX_ZONE_NAME);
- format(string,sizeof(string),"~r~%s", zone);
- TextDrawSetString(Textdraw7, string);
- TextDrawShowForPlayer(playerid, Textdraw7);
- //-----------------------------------CHECAR COMBUSTIVEL-------------------------
- format(string,sizeof(string),"~g~Combustivel ~r~%d%", Gas[GetPlayerVehicleID(playerid)]);
- TextDrawSetString(Textdraw4, string);
- TextDrawShowForPlayer(playerid, Textdraw4);
- }
- else
- {
- TextDrawHideForPlayer(playerid,Textdraw2);
- TextDrawHideForPlayer(playerid,Textdraw3);
- TextDrawHideForPlayer(playerid,Textdraw4);
- TextDrawHideForPlayer(playerid,Textdraw5);
- TextDrawHideForPlayer(playerid,Textdraw7);
- }
- }
- }
- public Float:GetDistanceBetweenPlayerToPoint(p1,Float:px,Float:py,Float:pz)
- {
- if(!IsPlayerConnected(p1))
- return -1.00;
- GetPlayerPos(p1,x1,y1,z1);
- x2 = px;
- y2 = py;
- z2 = pz;
- return floatsqroot(floatpower(floatabs(floatsub(x2,x1)),2)+floatpower(floatabs(floatsub(y2,y1)),2)+floatpower(floatabs(floatsub(z2,z1)),2));
- }
- public NoPosto(playerid)
- {
- if(IsPlayerConnected(playerid))
- {
- if(IsPlayerInRangeOfPoint(playerid,6.0,1004.0070,-939.3102,42.1797) || IsPlayerInRangeOfPoint(playerid,6.0,1944.3260,-1772.9254,13.3906))
- {//LS
- return 1;
- }
- else if(IsPlayerInRangeOfPoint(playerid,6.0,-90.5515,-1169.4578,2.4079) || IsPlayerInRangeOfPoint(playerid,6.0,-1609.7958,-2718.2048,48.5391))
- {//LS
- return 1;
- }
- else if(IsPlayerInRangeOfPoint(playerid,6.0,-2029.4968,156.4366,28.9498) || IsPlayerInRangeOfPoint(playerid,8.0,-2408.7590,976.0934,45.4175))
- {//SF
- return 1;
- }
- else if(IsPlayerInRangeOfPoint(playerid,5.0,-2243.9629,-2560.6477,31.8841) || IsPlayerInRangeOfPoint(playerid,8.0,-1676.6323,414.0262,6.9484))
- {//Between LS and SF
- return 1;
- }
- else if(IsPlayerInRangeOfPoint(playerid,6.0,2202.2349,2474.3494,10.5258) || IsPlayerInRangeOfPoint(playerid,10.0,614.9333,1689.7418,6.6968))
- {//LV
- return 1;
- }
- else if(IsPlayerInRangeOfPoint(playerid,8.0,-1328.8250,2677.2173,49.7665) || IsPlayerInRangeOfPoint(playerid,6.0,70.3882,1218.6783,18.5165))
- {//LV
- return 1;
- }
- else if(IsPlayerInRangeOfPoint(playerid,8.0,2113.7390,920.1079,10.5255) || IsPlayerInRangeOfPoint(playerid,6.0,-1327.7218,2678.8723,50.0625))
- {//LV
- return 1;
- }
- else if(IsPlayerInRangeOfPoint(playerid,8.0,2146.5759,2750.8442,10.6447) || IsPlayerInRangeOfPoint(playerid,6.0,2146.8779,2739.6157,10.6435))
- {//LV2
- return 1;
- }
- else if(IsPlayerInRangeOfPoint(playerid,8.0,1595.3046,2191.1331,10.6454) || IsPlayerInRangeOfPoint(playerid,6.0,1596.3274,2206.7070,10.6449))
- {//LV3
- return 1;
- }
- else if(IsPlayerInRangeOfPoint(playerid,8.0,-736.9305,2742.6138,47.0158))
- {//Landtankstelle
- return 1;
- }
- }
- return 0;
- }
- public CheckGas()
- {
- for(new i=0;i<MAX_PLAYERS;i++)
- {
- if(IsPlayerConnected(i))
- {
- if(GetPlayerState(i) == PLAYER_STATE_DRIVER)
- {
- if(Gas[GetPlayerVehicleID(i)] >= 1)
- {
- Gas[GetPlayerVehicleID(i)]--;
- }
- }
- }
- }
- return 1;
- }
- public StoppedVehicle()
- {
- for(new i=0; i<MAX_PLAYERS; i++)
- {
- if(IsPlayerConnected(i))
- {
- if(IsPlayerInAnyVehicle(i))
- {
- GetPlayerPos(i, x, y, z);
- 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));
- value = floatround(distance * 3600);
- if(UpdateSeconds > 1)
- {
- value = floatround(value / UpdateSeconds);
- }
- if(value == 0)
- {
- Gas[GetPlayerVehicleID(i)]++;
- }
- SavePlayerPos[i][LastX] = x;
- SavePlayerPos[i][LastY] = y;
- SavePlayerPos[i][LastZ] = z;
- }
- }
- }
- return 1;
- }
- public Fillup()
- {
- for(new i=0; i<MAX_PLAYERS; i++)
- {
- if(IsPlayerConnected(i))
- {
- FillUp = GasMax - Gas[GetPlayerVehicleID(i)];
- if(Refueling[i] == 1)
- {
- FillUpPrice = FillUp * 10;
- if(GetPlayerMoney(i) >= FillUpPrice)
- {
- Gas[GetPlayerVehicleID(i)] += FillUp;
- format(string,sizeof(string),"[SERVER] Você Reabasteceu Seu Veiculo Por $%d .",FillUpPrice);
- SendClientMessage(i,0x33CCFFAA,string);
- GivePlayerMoney(i,-FillUpPrice);
- if(FillUpPrice > 0)
- FillUpPrice = 0;
- Refueling[i] = 0;
- }
- else
- {
- format(string,sizeof(string),"[SERVER] Você Não Tem $%d Para Reabastecer Seu Veiculo",FillUpPrice);
- SendClientMessage(i,0x33CCFFAA,string);
- }
- }
- }
- }
- return 1;
- }
- stock VelocidadeKM(playerid)
- {
- if(IsPlayerInAnyVehicle(playerid))
- {
- GetVehicleVelocity(GetPlayerVehicleID(playerid), pos[0], pos[1], pos[2]);
- pos[3] = floatmul(floatsqroot(floatadd(floatadd(floatpower(pos[0], 2), floatpower(pos[1], 2)), floatpower(pos[2], 2))), 170.0);
- spe = floatround(pos[3] * 1);
- }
- else
- return false;
- return spe;
- }
- stock IsPlayerInZone(playerid, zoneada[])
- {
- GetPlayer3DZone(playerid, TmpZone, sizeof(TmpZone));
- for(new i = 0; i != sizeof(gSAZones); i++)
- {
- if(strfind(TmpZone, zoneada, true) != -1)
- return 1;
- }
- return 0;
- }
- stock GetPlayer2DZone(playerid, zoneada[], len)
- {
- GetPlayerPos(playerid, x, y, z);
- for(new i = 0; i != sizeof(gSAZones); i++ )
- {
- 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])
- {
- return format(zoneada, len, gSAZones[i][SAZONE_NAME], 0);
- }
- }
- return 0;
- }
- stock GetPlayer3DZone(playerid, zoneada[], len)
- {
- GetPlayerPos(playerid, x, y, z);
- for(new i = 0; i != sizeof(gSAZones); i++ )
- {
- 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])
- {
- return format(zoneada, len, gSAZones[i][SAZONE_NAME], 0);
- }
- }
- return 0;
- }
- public OnPlayerText(playerid, text[]){
- format(string, sizeof(string), "[%d]: %s", playerid, text);
- SendPlayerMessageToAll(playerid,string);
- return 0;
- }
- area69(playerid){
- if(Ta69[playerid] == true)
- {
- SendClientMessage(playerid, COR_CINZA, "[SERVER] Você ja está na arena");
- return true;
- }
- if(!Libere)
- {
- SendClientMessage(playerid, COR_CINZA, "[SERVER] A arena esta fechada!");
- return true;
- }
- if(Players69 == 2)
- {
- SendClientMessage(playerid, COR_CINZA, "[SERVER] Ja tem 2 pessoas na Área 69");
- return true;
- }
- if(Players69 == 0){SetPlayerPos(playerid, 276.8945,1832.0430,7.7266);}
- if(Players69 == 1){SetPlayerPos(playerid, 217.8081,1823.4215,6.4141);}
- GameTextForPlayer(playerid,"~W~Bem-vindo a ~G~Area 69~W~!",1000,0);
- Players69 ++;
- Ta69[playerid] = true;
- GetPlayerName(playerid, nome, sizeof(nome));
- format(string, sizeof(string),"[SERVER] %s Foi Para Área 69 ( /dms )", nome);
- SendClientMessageToAll(COR_BRANCO,string);
- SendClientMessage(playerid, COLOR_RED, "[SERVER] Para comprar armas, digite /armas");
- SendClientMessage(playerid, COLOR_YELLOW, "[SERVER] PARA SAIR DAQUI, DIGITE: /sairdm");
- SetPlayerInterior(playerid,0);
- ResetPlayerWeapons(playerid);
- GivePlayerWeapon(playerid, 24, 100000);
- SetPlayerArmour(playerid, 100.0);
- SetPlayerHealth(playerid, 100.0);
- if(Players69 == 2)
- {
- format(string, sizeof(string),"[SERVER] A arena ja tem 2 jogadores, ninguem mais pode entrar até terminar! ");
- SendClientMessage(playerid, COR_BRANCO,string);
- }
- return 1;
- }
- minigun(playerid){
- if(TaMG[playerid] == true)
- {
- SendClientMessage(playerid, COR_CINZA, "[SERVER] Você ja está na arena");
- return true;
- }
- if(!Libera)
- {
- SendClientMessage(playerid, COR_CINZA, "[SERVER] A arena esta fechada!");
- return true;
- }
- if(Playersmg == 2)
- {
- SendClientMessage(playerid, COR_CINZA, "[SERVER] Ja tem 2 pessoas no minigun");
- return true;
- }
- 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.
- if(Playersmg == 1){SetPlayerPos(playerid,2544.8992,2809.7876,10.8203);}//- Seta ele pra essa posição caso tenha 1 player na arena.
- SetPlayerInterior(playerid,0);
- Playersmg ++;
- TaMG[playerid] = true;
- GetPlayerName(playerid, nome, sizeof(nome));
- format(string, sizeof(string),"[SERVER] %s Foi Para Arena Minigun ( /dms )", nome);
- SendClientMessageToAll(COR_BRANCO,string);
- SendClientMessage(playerid, COLOR_YELLOW, "[SERVER] PARA SAIRD DAQUI, DIGITE: /sair");
- ResetPlayerWeapons(playerid);
- GivePlayerWeapon(playerid, 38, 1000000);
- SetPlayerArmour(playerid, 100.0);
- SetPlayerHealth(playerid, 100.0);
- if(Playersmg == 2)
- {
- format(string, sizeof(string),"[SERVER] A arena ja tem 2 jogadores, ninguem mais pode entrar até terminar! ");
- SendClientMessage(playerid, COR_BRANCO,string);
- }
- return 1;
- }
- sniper(playerid){
- new PlayerName[MAX_PLAYER_NAME];
- new iRandom=random(sizeof(RandomSpawn));
- if(TaSN[playerid] == true)
- {
- SendClientMessage(playerid, COR_CINZA, "[SERVER] Você ja está na arena");
- return true;
- }
- if(!Liberu)
- {
- SendClientMessage(playerid, COR_CINZA, "[SERVER] A arena esta fechada!");
- return true;
- }
- if(Playerssn == 2)
- {
- SendClientMessage(playerid, COR_CINZA, "[SERVER] Ja tem 2 pessoas no SniperDM");
- return true;
- }
- GetPlayerName(playerid, PlayerName ,sizeof(PlayerName));
- SetPlayerPos(playerid, RandomSpawn[iRandom][0], RandomSpawn[iRandom][1],RandomSpawn[iRandom][2]);
- SetPlayerFacingAngle(playerid, RandomSpawn[iRandom][3]);
- SetPlayerInterior(playerid,10);
- Playerssn ++;
- TaSN[playerid] = true;
- GetPlayerName(playerid, nome, sizeof(nome));
- format(string, sizeof(string),"[SERVER] %s Foi Para o SniperDM ( /dms )", nome);
- SendClientMessageToAll(COR_BRANCO,string);
- SendClientMessage(playerid, COLOR_YELLOW, "[SERVER] PARA SAIRD DAQUI, DIGITE: /sairsn");
- ResetPlayerWeapons(playerid);
- GivePlayerWeapon(playerid, 34, 5000);
- GivePlayerWeapon(playerid, 24, 5000);
- SetPlayerArmour(playerid, 100.0);
- SetPlayerHealth(playerid, 100.0);
- if(Playerssn == 2)
- {
- format(string, sizeof(string),"[SERVER] A arena ja tem 2 jogadores, ninguem mais pode entrar até terminar! ");
- SendClientMessage(playerid, COR_BRANCO,string);
- }
- return 1;
- }
- x1dm(playerid){
- if(TaX1[playerid] == true)
- {
- SendClientMessage(playerid, COR_CINZA, "[SERVER] Você ja está na arena");
- return true;
- }
- if(!Libero)
- {
- SendClientMessage(playerid, COR_CINZA, "[SERVER] A arena esta fechada!");
- return true;
- }
- if(Playersx1 == 2)
- {
- SendClientMessage(playerid, COR_CINZA, "[SERVER] Ja tem 2 pessoas no x1");
- return true;
- }
- SetPlayerPos(playerid, 1416.107000,0.268620,1000.926000);
- Playersx1 ++;
- TaX1[playerid] = true;
- GetPlayerName(playerid, nome, sizeof(nome));
- format(string, sizeof(string),"[SERVER] %s Foi Para Arena X1 ( /dms )", nome);
- SendClientMessageToAll(COR_BRANCO,string);
- SendClientMessage(playerid, COLOR_YELLOW, "[SERVER] PARA SAIRD DAQUI, DIGITE: /sair");
- SetPlayerInterior(playerid,1);
- ResetPlayerWeapons(playerid);
- GivePlayerWeapon(playerid, 23, 100000);
- GivePlayerWeapon(playerid, 29, 100000);
- GivePlayerWeapon(playerid, 31, 100000);
- SetPlayerArmour(playerid, 100.0);
- SetPlayerHealth(playerid, 100.0);
- GivePlayerWeapon(playerid, 16, 2);
- if(Playersx1 == 2)
- {
- format(string, sizeof(string),"[SERVER] A arena ja tem 2 jogadores, ninguem mais pode entrar até terminar! ");
- SendClientMessage(playerid, COR_BRANCO,string);
- }
- return 1;
- }
- rpgdm(playerid){
- if(TaRPG[playerid] == true)
- {
- SendClientMessage(playerid, COR_CINZA, "[SERVER] Você ja está na arena");
- return true;
- }
- if(!Liberi)
- {
- SendClientMessage(playerid, COR_CINZA, "[SERVER] A arena esta fechada!");
- return true;
- }
- if(Playersrpg == 2)
- {
- SendClientMessage(playerid, COR_CINZA, "[SERVER] Ja tem 2 pessoas na Arena RPG");
- return true;
- }
- SetPlayerPos(playerid, -1467.9493,378.6432,30.0859);
- Playersrpg ++;
- TaRPG[playerid] = true;
- GetPlayerName(playerid, nome, sizeof(nome));
- format(string, sizeof(string),"[SERVER] %s Foi Para Arena RPG ( /dms )", nome);
- SendClientMessageToAll(COR_BRANCO,string);
- SendClientMessage(playerid, COLOR_YELLOW, "[SERVER] PARA SAIRD DAQUI, DIGITE: /sairdm");
- SetPlayerInterior(playerid,0);
- ResetPlayerWeapons(playerid);
- GivePlayerWeapon(playerid, 35, 100000);
- SetPlayerArmour(playerid, 100.0);
- SetPlayerHealth(playerid, 100.0);
- if(Playersrpg == 2)
- {
- format(string, sizeof(string),"[SERVER] A arena ja tem 2 jogadores, ninguem mais pode entrar até terminar! ");
- SendClientMessage(playerid, COR_BRANCO,string);
- }
- return 1;
- }
- sairdm(playerid)
- {
- if(TaX1[playerid] == true)
- {
- if(Playersx1 == 1)
- {
- SetPlayerPos(playerid,2421.7185,1121.9866,10.8125);
- SetPlayerInterior(playerid,0);
- ResetPlayerWeapons(playerid);
- GivePlayerWeapon(playerid,24,300);
- SetPlayerArmour(playerid, 0.0);
- SetPlayerHealth(playerid, 100.0);
- TaX1[playerid] = false;
- Playersx1 = 0;
- new pName[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pName, sizeof(pName));
- format(string, sizeof(string), "[SERVER] %s saiu do X1.", pName);
- return SendClientMessageToAll(0xFFFFFFAA, string);
- }
- if(Playersx1 == 2)
- {
- return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode sair daqui enquanto a batalha não terminar.");
- }
- }
- if(TaMG[playerid] == true)
- {
- if(Playersmg == 1)
- {
- SetPlayerPos(playerid,2287.2561,2426.2576,10.8203);
- SetPlayerInterior(playerid,0);
- ResetPlayerWeapons(playerid);
- GivePlayerWeapon(playerid,24,300);
- TaMG[playerid] = false;
- SetPlayerArmour(playerid, 0.0);
- SetPlayerHealth(playerid, 100.0);
- Playersmg = 0;
- new pName[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pName, sizeof(pName));
- format(string, sizeof(string), "[SERVER] %s saiu do Minigun.", pName);
- return SendClientMessageToAll(0xFFFFFFAA, string);
- }
- if(Playersmg == 2)
- {
- return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode sair daqui enquanto a batalha não terminar.");
- }
- }
- return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não está no Minigun DM ou no X1.");
- }
- sairdm2(playerid)
- {
- if(Ta69[playerid] == true)
- {
- if(Players69 == 1)
- {
- SetPlayerPos(playerid,2421.7185,1121.9866,10.8125);
- SetPlayerInterior(playerid,0);
- ResetPlayerWeapons(playerid);
- GivePlayerWeapon(playerid,24,300);
- SetPlayerArmour(playerid, 0.0);
- SetPlayerHealth(playerid, 100.0);
- Ta69[playerid] = false;
- Players69 = 0;
- new pName[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pName, sizeof(pName));
- format(string, sizeof(string), "[SERVER] %s saiu da Área 69.", pName);
- return SendClientMessageToAll(0xFFFFFFAA, string);
- }
- if(Players69 == 2)
- {
- return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode sair daqui enquanto a batalha não terminar.");
- }
- }
- if(TaRPG[playerid] == true)
- {
- if(Playersrpg == 1)
- {
- SetPlayerPos(playerid,2287.2561,2426.2576,10.8203);
- SetPlayerInterior(playerid,0);
- ResetPlayerWeapons(playerid);
- GivePlayerWeapon(playerid,24,300);
- TaRPG[playerid] = false;
- SetPlayerArmour(playerid, 0.0);
- SetPlayerHealth(playerid, 100.0);
- Playersrpg = 0;
- new pName[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pName, sizeof(pName));
- format(string, sizeof(string), "[SERVER] %s saiu do RPG DM.", pName);
- return SendClientMessageToAll(0xFFFFFFAA, string);
- }
- if(Playersrpg == 2)
- {
- return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode sair daqui enquanto a batalha não terminar.");
- }
- }
- return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não está no RPG ou na Área 69.");
- }
- sairsn(playerid)
- {
- if(TaSN[playerid] == true)
- {
- if(Playerssn == 1)
- {
- SetPlayerPos(playerid,2287.2561,2426.2576,10.8203);
- SetPlayerInterior(playerid,0);
- ResetPlayerWeapons(playerid);
- GivePlayerWeapon(playerid,24,300);
- TaSN[playerid] = false;
- SetPlayerArmour(playerid, 0.0);
- SetPlayerHealth(playerid, 100.0);
- Playerssn = 0;
- new pName[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pName, sizeof(pName));
- format(string, sizeof(string), "[SERVER] %s saiu do SniperDM.", pName);
- return SendClientMessageToAll(0xFFFFFFAA, string);
- }
- if(Playerssn == 2)
- {
- return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não pode sair daqui enquanto a batalha não terminar.");
- }
- }
- return SendClientMessage(playerid, COR_CINZA, "[SERVER] Você não está no SniperDM.");
- }
- public SalvarInformacoes(playerid)
- {
- format(arquivo, sizeof(arquivo), "%s.ini",ppNome(playerid));
- INI_Open(arquivo);
- INI_WriteInt("Matou", ProgressaoInfo[playerid][Matou]);
- INI_WriteInt("Morreu", ProgressaoInfo[playerid][Morreu]);
- INI_Save();
- INI_Close();
- return true;
- }
- public sLeuTuto(playerid)
- {
- format(arquivo, sizeof(arquivo), "%s.ini",ppNome(playerid));
- INI_Open(arquivo);
- INI_WriteInt("Tutorial", Leu[playerid]);
- INI_Save();
- INI_Close();
- return true;
- }
- public CarregarInformacoes(playerid)
- {
- format(arquivo, sizeof(arquivo), "%s.ini",ppNome(playerid));
- if(fexist(arquivo))
- {
- INI_Open(arquivo);
- ProgressaoInfo[playerid][Matou] = INI_ReadInt("Matou");
- ProgressaoInfo[playerid][Morreu] = INI_ReadInt("Morreu");
- INI_Close();
- }
- else SalvarInformacoes(playerid);
- return true;
- }
- stock ppNome(playerid)
- {
- new nomew[MAX_PLAYER_NAME];
- GetPlayerName(playerid, nomew, sizeof(nomew));
- return nomew;
- }
- forward CarSpawner(playerid,model);
- public CarSpawner(playerid,model)
- {
- new Float:xx, Float:yy, Float:zz, Float:angle;
- GetPlayerPos(playerid, xx, yy, zz);
- GetPlayerFacingAngle(playerid, angle);
- new vehicleid=CreateVehicle(model, x, y, z, angle, -1, -1, -1);
- PutPlayerInVehicle(playerid, vehicleid, 0);
- SetVehicleVirtualWorld(vehicleid, GetPlayerVirtualWorld(playerid));
- LinkVehicleToInterior(vehicleid, GetPlayerInterior(playerid));
- ChangeVehicleColor(vehicleid,0,7);
- return 1;
- }
- stock AtualizarText(playerid) {
- Delete3DTextLabel(Text3D:TextID[playerid]);
- if(ProgressaoInfo[playerid][Connectado] == false){
- format(message,sizeof(message), "Pontos: %d", ProgressaoInfo[playerid][Pontos]);
- TextID[playerid] = Create3DTextLabel(message, Branco, 0.0, 0.0, 0.0, 5, 0, 0);
- Attach3DTextLabelToPlayer(TextID[playerid] , playerid, 0.0, 0.0, 0.30);
- }
- }
- public OnPlayerPickUpPickup(playerid, pickupid)
- {
- OnPropertyPickupPickup(playerid, pickupid);
- return 1;
- }
- SaveWeaponsToFile(playerid) // salvar armas
- {
- new i, path[50], weaponid, ammo;
- path = GetPlayerFormattedName(playerid);
- if (!dini_Exists(path)) dini_Create(path);
- for (i=0; i<13; i++)
- {
- GetPlayerWeaponData(playerid,i,weaponid,ammo);
- format(string,sizeof(string),"Arma - %d",i);
- dini_IntSet(path,string,weaponid);
- format(string,sizeof(string),"Municao - %d",i);
- dini_IntSet(path,string,ammo == 65535 ? 0 : ammo);
- }
- }
- forward LoadArmasToFile(playerid);
- public LoadArmasToFile(playerid)
- {
- new i, path[50], weaponid, ammo;
- path = GetPlayerFormattedName(playerid);
- ResetPlayerWeapons(playerid);
- for (i=0; i<13; i++)
- {
- format(string,sizeof(string),"Arma - %d",i);
- weaponid = dini_Int(path,string);
- format(string,sizeof(string),"Municao - %d",i);
- ammo = dini_Int(path,string);
- GivePlayerWeapon(playerid,weaponid,ammo);
- }
- AlreadyGiveWeapons[playerid] = true;
- }
- GetPlayerFormattedName(playerid)
- {
- new name[24], full[50];
- GetPlayerName(playerid,name,sizeof(name));
- format(full,sizeof(full),"%s.ini",name);
- return full;
- }
- public ProcessGameTime(playerid)
- {
- new
- segundo,
- frad,
- frad2,
- dia,
- mes,
- ano;
- gettime(frad, frad2, segundo);
- getdate(ano, mes, dia);
- SetPlayerTime(playerid,frad,frad2); //Horário atual no server
- format(string, sizeof string, "%02d:%02d:%02d", frad, frad2, segundo);
- TextDrawSetString(txtTimeDisp, string);
- format(string, sizeof string, "%02d/%02d/%04d", dia, mes, ano);
- TextDrawSetString(txtDateDisp, string);
- }
Add Comment
Please, Sign In to add comment