Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Date: 20/03/2013
- Scripter: Parka
- Mode: Team DeathMach
- HostName Original: Guerra de Bandas
- [!]============[ 0.0.8 ]============[!]
- 1°- Eleger skin por PlayerTextDraw O mas optimizado possível.
- 2°- Sistema de Registo e Início com Y_INI.
- 3°- zonas Conquistáveis por TurfWar.
- 4°- PlayerTextDraw Informativo e Text3D velocímetro, também TextDraw Informação de conquista.
- 5°- Quatro Equipas: Groove, Ballas, Aztecaz, Vagos.
- 6°- Ao todo há 54 zonas conquistables, Dialog para tomar armas e Quartel Geral da cada Banda.
- [!]============[ 0.1.0 ]============[!]
- 1°- DropWeapons by Jeffry.
- 2°- Ataud + Text3D.
- 3°- empresas adicionada (ammu-nation).
- 4°- Vendas de armas como em GTA IV.
- Plágio:
- O plágio é o ato de assinar ou apresentar uma obra intelectual de qualquer
- natureza (texto, música, obra pictórica, fotografia, obra audiovisual, etc)
- contendo partes de uma obra que pertença a outra pessoa sem colocar os
- créditos para o autor original. No acto de plágio, o plagiador apropria-se
- indevidamente da obra intelectual de outra pessoa, assumindo a autoria da mesma.
- */
- #include <a_samp> /// SA-MP Team
- #include <zcmd> /// Zeex
- #include <sscanf2> /// Y_LESS
- #include <YSI\y_ini> /// Y_LESS
- main()
- {
- print("[!]================================[!]");
- print("[!]======[ Scripter: Parka ]=======[!]");
- print("[!]================================[!]");
- }
- // * [ { Archivo Save } ] * //
- #define Archivo "%s.ini"
- #define GM "Server: "
- #define Version "Version: 0.1.0"
- // * [ { Dialogid´s } ] * //
- #define DIALOG_REGISTER (1)
- #define DIALOG_LOGIN (2)
- // * [ { TEAM´S } ] * //
- #define TEAM_GROOVE (1)
- #define TEAM_BALLAS (2)
- #define TEAM_VAGOS (3)
- #define TEAM_AZTECAZ (4)
- #define MAX_BIZZ (2)
- #define AMMO_SELL (50)
- #define COLOR_GROOVE 0x00FF0066
- #define COLOR_BALLAS 0x80008066
- #define COLOR_VAGOS 0xFFFF0066
- #define COLOR_AZTECAZ 0x00FFFF66
- #define MR "{FF0000}"
- #define LA "{88AA88}"
- #define KA "{F0E68C}"
- #define PT "{C0C0C0}"
- #define MAM "{FFFF00}"
- #define AD "{00FA9A}"
- #define GL "{FFD700}"
- #define BC "{FFFFFF}"
- #define LI "{00FF00}"
- #define KK "{00FF00}"
- #define LL "{88AA88}"
- // * [ { Main Colores } ] * //
- #define MainAzul 0x0000FFAA
- #define MainRojo 0xFF0000AA
- #define MainVerde 0x008000AA
- #define MainAmarillo 0xFFFF00AA
- #define MainNegro 0x000000AA
- #define MainBlanco 0xFFFFFFAA
- #define MainNaranja 0xFFA500AA
- #define MainPurpura 0x800080AA
- #define MainCian 0x00FFFFAA
- #define WEAPON_RESPAWN_TIME 30
- #define MONEY_BAG_MONEY 1
- #define MONEY_BAG_MODE 0
- new ForbiddenWeapons[]= { 38, 44, 45 };
- new WeaponDrop[MAX_PLAYERS][14];
- new WeaponData[MAX_PLAYERS][14][2];
- new WeaponTimer[MAX_PLAYERS];
- new BagMoney = MONEY_BAG_MONEY;
- new BagMode = MONEY_BAG_MODE;
- new TeleporId[MAX_PLAYERS];
- #define Tecla(%0) \
- (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))
- #define CallBack:%0(%1) forward%0(%1); public%0(%1)
- #define SPAWN_CAR (240)
- #define MAX_TEAMS (4)
- #define MAX_ZONE_NAME (28)
- /*====[ Y_LESS ]====*/
- SendClientMessageEx(const iPlayer, const iColor, const szFormat[], { Float, _ }: ...)
- {
- new iArgs = (numargs() - 3) << 2;
- if(iArgs)
- {
- static s_szBuf[144], s_iAddr1, s_iAddr2;
- #emit ADDR.PRI szFormat
- #emit STOR.PRI s_iAddr1
- for(s_iAddr2 = s_iAddr1 + iArgs, iArgs += 12; s_iAddr2 != s_iAddr1; s_iAddr2 -= 4)
- {
- #emit LOAD.PRI s_iAddr2
- #emit LOAD.I
- #emit PUSH.PRI
- }
- #emit CONST.PRI s_szBuf
- #emit PUSH.S szFormat
- #emit PUSH.C 144
- #emit PUSH.PRI
- #emit PUSH.S iArgs
- #emit SYSREQ.C format
- #emit LCTRL 4
- #emit LOAD.S.ALT iArgs
- #emit ADD.C 4
- #emit ADD
- #emit SCTRL 4
- return (iPlayer != -1) ? SendClientMessage(iPlayer, iColor, s_szBuf) : SendClientMessageToAll(iColor, s_szBuf);
- }
- return (iPlayer != -1) ? SendClientMessage(iPlayer, iColor, szFormat) : SendClientMessageToAll(iColor, szFormat);
- }
- enum pInfo
- {
- pPass,
- pCash,
- pAdmin,
- pScore,
- pKills,
- pDeaths,
- pSkin
- }
- new PlayerInfo[MAX_PLAYERS][pInfo];
- enum tdInfo
- {
- PlayerText:Textdraw_a,
- PlayerText:Textdraw_b,
- PlayerText:Textdraw_c,
- PlayerText:Textdraw_d,
- PlayerText:Textdraw_e,
- PlayerText:Textdraw_f,
- PlayerText:Textdraw_g,
- PlayerText:Textdraw_h,
- PlayerText:Textdraw_i,
- PlayerText:Textdraw_j,
- PlayerText:Textdraw_k,
- PlayerText:Textdraw_l
- }
- new TextDrawInfo[MAX_PLAYERS][tdInfo];
- new Text:TextdrawGlobal[4];
- new bool:InformationText[4];
- static Equipo[MAX_PLAYERS];
- new PlayerText3D:Veloz[MAX_PLAYERS];
- new Seleccion[MAX_PLAYERS];
- #define MAX_ZONES 54
- new ZoneTakeOverTeam[MAX_ZONES];
- new ZoneTakeOverTime[MAX_ZONES];
- enum Teleport
- {
- World,
- Interior,
- Float:EntraceX,
- Float:EntraceY,
- Float:EntraceZ,
- Float:ExitX,
- Float:ExitY,
- Float:ExitZ
- }
- new TeleportInfo[ MAX_BIZZ ][ Teleport ] =
- {
- {0,6,1367.7223,-1279.9056,13.5469,316.258087,-169.656600,999.601013},
- {1,6,2400.4622,-1981.4117,13.5469,316.258087,-169.656600,999.601013}
- };
- enum Z_Info
- {
- Float:z_minx,
- Float:z_miny,
- Float:z_maxx,
- Float:z_maxy,
- z_team,
- z_id
- }
- new ZoneInfo[MAX_ZONES][Z_Info] =
- {
- {2193.3593,-1746.0937,2552.7343,-1587.8906,TEAM_GROOVE},
- {2195.3125,-1832.0310,2550.7812,-1744.1406,TEAM_GROOVE},
- {2068.3593,-1830.0781,2195.3125,-1500.0000,TEAM_GROOVE},
- {1949.2187,-1878.9060,2066.4062,-1501.9531,TEAM_GROOVE},
- {1814.4531,-1939.4531,1951.1718,-1490.2343,TEAM_GROOVE},
- {2068.3593,-1949.2187,2544.9218,-1828.1250,TEAM_GROOVE},
- {1953.1250,-1949.2187,2066.4062,-1878.9062,TEAM_GROOVE},
- {2197.2656,-1585.9375,2554.6875,-1500.0000,TEAM_GROOVE},
- {2548.8281,-1583.9843,2982.4218,-1453.1250,TEAM_GROOVE},
- {2550.7812,-1767.5781,2748.0468,-1583.9843,TEAM_GROOVE},
- {2552.7343,-1906.2500,2750.0000,-1767.5781,TEAM_GROOVE},
- {2554.6875,-2064.4531,2740.2343,-1904.2968,TEAM_GROOVE},
- {2750.0000,-1777.3437,2974.6093,-1582.0312,TEAM_GROOVE},
- {2746.0937,-1960.9375,2980.4687,-1783.2031,TEAM_GROOVE},
- {2736.3281,-2068.3593,2984.3750,-1955.0781,TEAM_GROOVE},
- {2656.2500,-1281.2500,2947.2656,-1169.9218,TEAM_BALLAS},
- {2658.2031,-1388.6718,2960.9375,-1277.3437,TEAM_BALLAS},
- {2662.1093,-1476.5625,2957.0312,-1386.7187,TEAM_BALLAS},
- {2173.8281,-1458.9843,2652.3437,-1310.5468,TEAM_BALLAS},
- {2376.9531,-1310.5468,2650.3906,-1162.1093,TEAM_BALLAS},
- {2166.0156,-1312.5000,2380.8593,-1152.3437,TEAM_BALLAS},
- {1808.5937,-1314.4531,2177.7343,-1111.3281,TEAM_BALLAS},
- {1812.5000,-1455.0781,2175.7812,-1312.5000,TEAM_BALLAS},
- {1560.5468,-1451.1718,1812.5000,-1310.5468,TEAM_BALLAS},
- {1564.4531,-1310.5468,1810.5465,-1177.7343,TEAM_BALLAS},
- {1570.3125,-1179.6875,1812.5000,-1097.6562,TEAM_BALLAS},
- {1158.2031,-1251.9531,1583.9843,-1052.7343,TEAM_BALLAS},
- {1048.8281,-1250.1160,1562.0000,-1054.6875,TEAM_BALLAS},
- {1808.5937,-2183.5937,1986.3281,-1945.3125,TEAM_AZTECAZ},
- {1988.2812,-2179.6875,2185.5465,-1947.2656,TEAM_AZTECAZ},
- {1550.7815,-2181.6406,1812.5000,-1939.4531,TEAM_AZTECAZ},
- {1546.8750,-1943.3593,1810.5468,-1740.2343,TEAM_AZTECAZ},
- {1542.9680,-1742.1875,1812.5000,-1511.7187,TEAM_AZTECAZ},
- {1281.2500,-1923.8281,1546.8750,-1716.7968,TEAM_AZTECAZ},
- {1105.4687,-1910.1562,1283.2031,-1708.9843,TEAM_AZTECAZ},
- {1308.5935,-1712.8906,1544.9218,-1474.6093,TEAM_AZTECAZ},
- {1078.1250,-1730.4687,1326.1718,-1451.1718,TEAM_AZTECAZ},
- {1294.9218,-1476.5625,1535.1562,-1246.0937,TEAM_AZTECAZ},
- {1072.6562,-1455.0781,1298.8281,-1236.3281,TEAM_AZTECAZ},
- {2736.3281,-2068.3593,2984.3750,-1955.0781,TEAM_AZTECAZ},
- {2187.5000,-2062.5000,2539.0625,-1960.9375,TEAM_AZTECAZ},
- {2189.4531,-2167.9685,2533.2031,-2062.5000,TEAM_AZTECAZ},
- {2193.3595,-2222.6562,2539.0625,-2164.0625,TEAM_AZTECAZ},
- {1076.1718,-1050.7812,1267.5781,-871.0937,TEAM_VAGOS},
- {1265.6250,-1044.9218,1416.0156,-859.3750,TEAM_VAGOS},
- {1417.9687,-1050.7812,1548.8281,-861.3281,TEAM_VAGOS},
- {1546.8750,-1052.7343,1662.1093,-863.2812,TEAM_VAGOS},
- {1660.1562,-1087.8906,1779.2968,-865.2343,TEAM_VAGOS},
- {1777.3437,-1107.4218,1957.0312,-863.2812,TEAM_VAGOS},
- {1960.9375,-1121.0937,2152.3437,-863.2812,TEAM_VAGOS},
- {2150.3906,-1136.7187,2425.7812,-943.3593,TEAM_VAGOS},
- {2423.8281,-1130.8593,2662.1093,-945.3125,TEAM_VAGOS},
- {2632.8125,-1150.3906,2804.6875,-958.9843,TEAM_VAGOS},
- {2802.7343,-1154.2968,2929.6875,-960.9375,TEAM_VAGOS}
- };
- new Float:Armarse[4][3] =
- {
- {2494.7810,-1707.4922,1014.7422},
- {293.3715,-34.6835,1001.5156},
- {2342.7156,-1187.3286,1027.9766},
- {288.0291,-76.7479,1001.5156}
- };
- new Pickup_a, Pickup_b, Pickup_c, Pickup_d;
- enum SAZONE_MAIN { //Betamaster
- SAZONE_NAME[28],
- Float:SAZONE_AREA[6]
- };
- new CarName[212][] = {
- "Landstalker","Bravura","Buffalo","Linerunner","Pereniel","Sentinel","Dumper","Firetruck","Trashmaster","Stretch","Manana","Infernus",
- "Voodoo","Pony","Mule","Cheetah","Ambulance","Leviathan","Moonbeam","Esperanto","Taxi","Washington","Bobcat","Mr 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","ZR3 50","Walton","Regina",
- "Comet","BMX","Burrito","Camper","Marquis","Baggage","Dozer","Maverick","News Chopper","Rancher","FBI Rancher","Virgo","Greenwood",
- "Jetmax","Hotring","Sandking","Blista Compact","Police Maverick","Boxville","Benson","Mesa","RC Goblin","Hotring Racer A","Hotring Racer B",
- "Bloodring Banger","Rancher","Super GT","Elegant","Journey","Bike","Mountain Bike","Beagle","Cropdust","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 A",
- "Monster B","Uranus","Jester","Sultan","Stratum","Elegy","Raindance","RC Tiger","Flash","Tahoma","Savanna","Bandito","Freight","Trailer",
- "Kart","Mower","Duneride","Sweeper","Broadway","Tornado","AT-400","DFT-30","Huntley","Stafford","BF-400","Newsvan","Tug","Trailer A","Emperor",
- "Wayfarer","Euros","Hotdog","Club","Trailer B","Trailer C","Andromada","Dodo","RC Cam","Launch","Police Car (LSPD)","Police Car (SFPD)",
- "Police Car (LVPD)","Police Ranger","Picador","S.W.A.T. Van","Alpha","Phoenix","Glendale","Sadler","Luggage Trailer A","Luggage Trailer B",
- "Stair Trailer","Boxville","Farm Plow","Utility Trailer"
- };
- static const gSAZones[][SAZONE_MAIN] = { // Majority of names and area coordinates adopted from Mabako's 'Zones Script' v0.2
- // NAME AREA (Xmin,Ymin,Zmin,Xmax,Ymax,Zmax)
- {"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}}
- };
- AntiDeAMX()
- {
- new a[][] =
- {
- "Unarmed (Fist)",
- "Brass K"
- };
- #pragma unused a
- }
- public OnGameModeInit()
- {
- AntiDeAMX();
- SetGameModeText("TDM / "Version" ");
- SendRconCommand("mapname Los Santos");
- SendRconCommand("hostname Guerra de Bandas");
- UsePlayerPedAnims();
- DisableInteriorEnterExits();
- OnWeaponDropInit();
- SetTimer("ZoneUpdate", 1000, true);
- SetTimer("OnPlayerUpdateEx", 1000, true);
- for(new i=0; i<MAX_ZONES; i++)
- {
- ZoneInfo[i][z_id] = GangZoneCreate(ZoneInfo[i][z_minx], ZoneInfo[i][z_miny], ZoneInfo[i][z_maxx], ZoneInfo[i][z_maxy]);
- ZoneTakeOverTeam[i] = -1;
- }
- AddPlayerClass( 1 , 0.0 , 0.0 , 0.0 , 0.0 , 0 , 0 , 0 , 0 , 0 , 0 );
- AddStaticPickup( 1239 , 1 , 2352.1458 , -1180.8553 , 1027.9766 ); // salida
- AddStaticPickup( 1239 , 1 , 286.0979 , -40.8708 , 1001.5156 ); // salida
- AddStaticPickup( 1239 , 1 , 2495.9336 , -1692.9189 , 1014.7422 ); // salida
- AddStaticPickup( 1239 , 1 , 286.4053 , -86.0965 , 1001.5229 ); // salida
- AddStaticPickup( 1239 , 1 , 2628.5081 , -1067.8882 , 69.6127 ); // vagos
- AddStaticPickup( 1239 , 1 , 2232.5061 , -1333.3407 , 23.9816 ); // ballas
- AddStaticPickup( 1239 , 1 , 2495.3494 , -1690.7244 , 14.7656 ); // groove
- AddStaticPickup( 1239 , 1 , 1753.3136 , -1893.2559 , 13.5572 ); // aztecas
- Create3DTextLabel( ""LA"ShotGun: $2000\n"LA"M4: $2200\n"LA"AK-47: $2500\n"LA"Shiper Rifle: $5000",-1,310.6954,-165.1933,999.5938+0.75,30.0,0,1);
- Create3DTextLabel( ""KK"9mm: $600\n"KK"9mm Silenciada: $800\n"KK"Desert Eagle: $1200\n"KK"Rifle County: $3500",-1,314.8313,-165.2574,999.5938+0.75,30.0,0,1);
- Create3DTextLabel( ""BC"Uzi: $1500\n"BC"MP5: $1600\n"BC"Tec-90: $1200\n"BC"Chaleco: $200",-1,317.6752,-161.3642,999.5938+0.75,30.0,0,1);
- Create3DTextLabel( ""LL"Para comprar uma arma colocate \n"LL"frente da mesma e pressione a letra '"KK"Y"LL"'",-1,311.4319,-168.8823,999.5938+0.75,30.0,0,1);
- for( new i; i < sizeof TeleportInfo; i++ )
- {
- AddStaticPickup( 1239 , 1 , TeleportInfo[ i ][ EntraceX ] , TeleportInfo[ i ][ EntraceY ] , TeleportInfo[ i ][ EntraceZ ] );
- }
- Pickup_a = CreatePickup( 1314 , 3 , Armarse[0][0], Armarse[0][1], Armarse[0][2] );
- Pickup_b = CreatePickup( 1314 , 3 , Armarse[1][0], Armarse[1][1], Armarse[1][2] );
- Pickup_c = CreatePickup( 1314 , 3 , Armarse[2][0], Armarse[2][1], Armarse[2][2] );
- Pickup_d = CreatePickup( 1314 , 3 , Armarse[3][0], Armarse[3][1], Armarse[3][2] );
- CreateObject(356,311.6000061,-162.3999939,999.5999756,276.4063721,159.3993530,250.2672729); //object(1)
- CreateObject(355,310.5000000,-163.1999969,999.5999756,278.1065674,146.1935425,138.9589844); //object(2)
- CreateObject(349,309.8999939,-162.6000061,999.5999756,84.6968384,261.8941650,200.1403198); //object(3)
- CreateObject(358,310.5000000,-161.3999939,999.5999756,82.6160889,246.1438599,121.5330811); //object(4)
- CreateObject(357,314.8999939,-161.5000000,999.5999756,83.5934448,290.4814453,79.1505127); //object(5)
- CreateObject(348,314.2000122,-162.1999969,999.5999756,271.4998169,180.0000000,87.7500000); //object(6)
- CreateObject(347,315.0000000,-163.1999969,999.5999756,281.4702148,11.3864746,11.1648560); //object(7)
- CreateObject(346,315.8999939,-162.3999939,999.5999756,278.1066895,213.8062134,311.7905273); //object(8)
- CreateObject(1242,319.1000061,-159.8000031,999.9000244,0.0000000,0.0000000,0.0000000); //object(bodyarmour) (1)
- CreateObject(352,319.0000000,-163.3000031,999.7999878,271.4998169,180.0000000,77.2500000); //object(9)
- CreateObject(353,318.8999939,-162.3999939,999.7999878,84.1447144,230.2736206,217.6237183); //object(10)
- CreateObject(372,319.0000000,-160.8999939,999.7999878,83.8161926,345.9354248,104.7360229); //object(11)
- Create3DTextLabel("{00FF00}Groove Cuartel General", -1 , 2495.3494 , -1690.7244 , 14.7656 , 60.0 , 0 , 0 );
- Create3DTextLabel("{800080}Ballas Cuartel General", -1 , 2232.5061 , -1333.3407 , 23.9816 , 60.0 , 0 , 0 );
- Create3DTextLabel("{FFFF00}Vagos Cuartel General", -1 , 2628.5081 , -1067.8882 , 69.6127 , 60.0 , 0 , 0 );
- Create3DTextLabel("{00FFFF}Aztecas Cuartel General", -1 , 1753.3136 , -1893.2559 , 13.5572 , 60.0 , 0 , 0 );
- AddStaticVehicleEx(489,2448.3999023,-1671.0000000,13.8999996,0.0000000,-1,-1,SPAWN_CAR); //Rancher
- AddStaticVehicleEx(489,2445.1000977,-1671.0000000,13.8999996,0.0000000,-1,-1,SPAWN_CAR); //Rancher
- AddStaticVehicleEx(489,2441.8999023,-1671.0000000,13.8999996,0.0000000,-1,-1,SPAWN_CAR); //Rancher
- AddStaticVehicleEx(489,2438.8000488,-1671.0000000,13.8999996,0.0000000,-1,-1,SPAWN_CAR); //Rancher
- AddStaticVehicleEx(489,2435.6999512,-1671.0000000,13.8999996,0.0000000,-1,-1,SPAWN_CAR); //Rancher
- AddStaticVehicleEx(560,2432.0000000,-1671.1999512,13.3999996,0.0000000,-1,-1,SPAWN_CAR); //Sultan
- AddStaticVehicleEx(560,2429.3999023,-1671.1999512,13.3999996,0.0000000,-1,-1,SPAWN_CAR); //Sultan
- AddStaticVehicleEx(560,2426.8999023,-1671.1999512,13.3999996,0.0000000,-1,-1,SPAWN_CAR); //Sultan
- AddStaticVehicleEx(560,2424.1000977,-1671.1999512,13.3999996,0.0000000,-1,-1,SPAWN_CAR); //Sultan
- AddStaticVehicleEx(600,2473.6999512,-1692.8000488,13.3999996,0.0000000,-1,-1,SPAWN_CAR); //Picador
- AddStaticVehicleEx(492,2507.1000977,-1667.5999756,13.3000002,0.0000000,-1,-1,SPAWN_CAR); //Greenwood
- AddStaticVehicleEx(466,2470.8999023,-1670.3000488,13.1999998,0.0000000,-1,-1,SPAWN_CAR); //Glendale
- AddStaticVehicleEx(468,2469.6999512,-1655.5000000,13.1000004,0.0000000,-1,-1,SPAWN_CAR); //Sanchez
- AddStaticVehicleEx(468,2471.3999023,-1655.5000000,13.1000004,0.0000000,-1,-1,SPAWN_CAR); //Sanchez
- AddStaticVehicleEx(468,2473.1999512,-1655.5000000,13.1000004,0.0000000,-1,-1,SPAWN_CAR); //Sanchez
- AddStaticVehicleEx(468,2475.1000977,-1655.5000000,13.1000004,0.0000000,-1,-1,SPAWN_CAR); //Sanchez
- AddStaticVehicleEx(468,2477.0000000,-1655.5000000,13.1000004,0.0000000,-1,-1,SPAWN_CAR); //Sanchez
- AddStaticVehicleEx(468,2478.3000488,-1655.5000000,13.1000004,0.0000000,-1,-1,SPAWN_CAR); //Sanchez
- AddStaticVehicleEx(567,2425.5000000,-1643.6999512,13.5000000,0.0000000,-1,-1,SPAWN_CAR); //Savanna
- AddStaticVehicleEx(567,2428.6999512,-1643.6999512,13.5000000,0.0000000,-1,-1,SPAWN_CAR); //Savanna
- AddStaticVehicleEx(567,2431.8000488,-1643.6999512,13.5000000,0.0000000,-1,-1,SPAWN_CAR); //Savanna
- AddStaticVehicleEx(459,2464.3000488,-1681.8000488,13.6999998,0.0000000,-1,-1,SPAWN_CAR); //Berkley's RC Van
- AddStaticVehicleEx(567,1784.3000488,-1931.0000000,13.3999996,0.0000000,-1,-1,SPAWN_CAR); //Savanna // 23
- AddStaticVehicleEx(567,1787.9000244,-1931.0000000,13.3999996,0.0000000,-1,-1,SPAWN_CAR); //Savanna
- AddStaticVehicleEx(567,1791.4000244,-1931.0000000,13.3999996,0.0000000,-1,-1,SPAWN_CAR); //Savanna
- AddStaticVehicleEx(567,1794.8000488,-1931.0000000,13.3999996,0.0000000,-1,-1,SPAWN_CAR); //Savanna
- AddStaticVehicleEx(567,1798.5000000,-1931.0000000,13.3999996,0.0000000,-1,-1,SPAWN_CAR); //Savanna
- AddStaticVehicleEx(535,1795.0999756,-1914.4000244,13.1999998,0.0000000,-1,-1,SPAWN_CAR); //Slamvan
- AddStaticVehicleEx(535,1798.4000244,-1914.4000244,13.1999998,0.0000000,-1,-1,SPAWN_CAR); //Slamvan
- AddStaticVehicleEx(535,1804.9000244,-1914.4000244,13.1999998,0.0000000,-1,-1,SPAWN_CAR); //Slamvan
- AddStaticVehicleEx(535,1801.8000488,-1914.4000244,13.1999998,0.0000000,-1,-1,SPAWN_CAR); //Slamvan
- AddStaticVehicleEx(468,1775.9000244,-1901.0999756,13.1000004,0.0000000,-1,-1,SPAWN_CAR); //Sanchez
- AddStaticVehicleEx(468,1777.4000244,-1901.0999756,13.1000004,0.0000000,-1,-1,SPAWN_CAR); //Sanchez
- AddStaticVehicleEx(468,1779.3000488,-1901.0999756,13.1000004,0.0000000,-1,-1,SPAWN_CAR); //Sanchez
- AddStaticVehicleEx(468,1781.0000000,-1901.0999756,13.1000004,0.0000000,-1,-1,SPAWN_CAR); //Sanchez
- AddStaticVehicleEx(468,1782.5999756,-1901.0999756,13.1000004,0.0000000,-1,-1,SPAWN_CAR); //Sanchez
- AddStaticVehicleEx(422,1783.6999512,-1916.6999512,13.5000000,0.0000000,-1,-1,SPAWN_CAR); //Bobcat
- AddStaticVehicleEx(422,1780.5000000,-1916.6999512,13.5000000,0.0000000,-1,-1,SPAWN_CAR); //Bobcat
- AddStaticVehicleEx(422,1777.0999756,-1916.6999512,13.5000000,0.0000000,-1,-1,SPAWN_CAR); //Bobcat
- AddStaticVehicleEx(609,1765.5999756,-1901.4000244,13.8000002,0.0000000,-1,-1,SPAWN_CAR); //Boxville
- AddStaticVehicleEx(515,1763.3000488,-1941.3000488,14.6999998,0.0000000,-1,-1,SPAWN_CAR); //Roadtrain
- AddStaticVehicleEx(515,1767.9000244,-1941.3000488,14.6999998,0.0000000,-1,-1,SPAWN_CAR); //Roadtrain
- AddStaticVehicleEx(480,1828.8000488,-1906.3000488,13.3999996,0.0000000,-1,-1,SPAWN_CAR); //Comet
- AddStaticVehicleEx(480,1828.9000244,-1900.1999512,13.3999996,0.0000000,-1,-1,SPAWN_CAR); //Comet // 44 aztecas
- AddStaticVehicleEx(517,2207.8000488,-1399.0999756,23.7999992,0.0000000,-1,-1,SPAWN_CAR); //Majestic // 43 ballas
- AddStaticVehicleEx(517,2216.0996094,-1333.8994141,23.8999996,0.0000000,-1,-1,SPAWN_CAR); //Majestic
- AddStaticVehicleEx(517,2265.5000000,-1318.1992188,23.8999996,0.0000000,-1,-1,SPAWN_CAR); //Majestic
- AddStaticVehicleEx(549,2230.8000488,-1350.5999756,23.7999992,0.0000000,-1,-1,SPAWN_CAR); //Tampa
- AddStaticVehicleEx(549,2210.6999512,-1327.6999512,23.7999992,0.0000000,-1,-1,SPAWN_CAR); //Tampa
- AddStaticVehicleEx(471,2214.8999023,-1355.0999756,23.6000004,0.0000000,-1,-1,SPAWN_CAR); //Quad
- AddStaticVehicleEx(471,2216.6000977,-1355.0999756,23.6000004,0.0000000,-1,-1,SPAWN_CAR); //Quad
- AddStaticVehicleEx(471,2218.3999023,-1355.0999756,23.6000004,0.0000000,-1,-1,SPAWN_CAR); //Quad
- AddStaticVehicleEx(471,2250.3999023,-1400.0000000,23.6000004,0.0000000,-1,-1,SPAWN_CAR); //Quad
- AddStaticVehicleEx(459,2270.1000977,-1400.9000244,24.1000004,0.0000000,-1,-1,SPAWN_CAR); //Berkley's RC Van
- AddStaticVehicleEx(459,2220.2998047,-1404.0996094,24.1000004,0.0000000,-1,-1,SPAWN_CAR); //Berkley's RC Van
- AddStaticVehicleEx(402,2219.6999512,-1427.0000000,23.8999996,0.0000000,-1,-1,SPAWN_CAR); //Buffalo
- AddStaticVehicleEx(402,2265.6999512,-1348.0000000,23.8999996,0.0000000,-1,-1,SPAWN_CAR); //Buffalo
- AddStaticVehicleEx(541,2172.1999512,-1338.5999756,23.7000008,0.0000000,-1,-1,SPAWN_CAR); //Bullet
- AddStaticVehicleEx(541,2172.1992188,-1362.7998047,23.7000008,0.0000000,-1,-1,SPAWN_CAR); //Bullet
- AddStaticVehicleEx(565,2127.8000488,-1398.0000000,23.5000000,0.0000000,-1,-1,SPAWN_CAR); //Flash
- AddStaticVehicleEx(565,2127.8000488,-1406.8000488,23.5000000,0.0000000,-1,-1,SPAWN_CAR); //Flash
- AddStaticVehicleEx(421,2161.1999512,-1353.1999512,24.0000000,0.0000000,-1,-1,SPAWN_CAR); //Washington
- AddStaticVehicleEx(421,2280.6999512,-1412.6999512,23.8999996,0.0000000,-1,-1,SPAWN_CAR); //Washington
- AddStaticVehicleEx(566,2230.3999023,-1363.6999512,23.8999996,0.0000000,-1,-1,SPAWN_CAR); //Tahoma
- AddStaticVehicleEx(566,2226.1999512,-1363.6999512,23.8999996,0.0000000,-1,-1,SPAWN_CAR); //Tahoma // 63
- AddStaticVehicleEx(475,2603.3999023,-1068.1999512,69.5000000,0.0000000,-1,-1,SPAWN_CAR); //Sabre // 64
- AddStaticVehicleEx(475,2598.8000488,-1068.1999512,69.5000000,0.0000000,-1,-1,SPAWN_CAR); //Sabre
- AddStaticVehicleEx(467,2637.5000000,-1072.5000000,69.5000000,0.0000000,-1,-1,SPAWN_CAR); //Oceanic
- AddStaticVehicleEx(467,2637.5000000,-1079.5000000,69.5000000,0.0000000,-1,-1,SPAWN_CAR); //Oceanic
- AddStaticVehicleEx(467,2637.5000000,-1086.9000244,69.5000000,0.0000000,-1,-1,SPAWN_CAR); //Oceanic
- AddStaticVehicleEx(489,2662.3999023,-1063.4000244,69.8000031,0.0000000,-1,-1,SPAWN_CAR); //Rancher
- AddStaticVehicleEx(489,2666.6000977,-1063.4000244,69.8000031,0.0000000,-1,-1,SPAWN_CAR); //Rancher
- AddStaticVehicleEx(489,2670.6000977,-1063.4000244,69.8000031,0.0000000,-1,-1,SPAWN_CAR); //Rancher
- AddStaticVehicleEx(461,2654.8999023,-1055.5999756,69.3000031,0.0000000,-1,-1,SPAWN_CAR); //PCJ-600
- AddStaticVehicleEx(461,2658.5000000,-1055.5999756,69.3000031,0.0000000,-1,-1,SPAWN_CAR); //PCJ-600
- AddStaticVehicleEx(461,2662.0000000,-1055.5999756,69.3000031,0.0000000,-1,-1,SPAWN_CAR); //PCJ-600
- AddStaticVehicleEx(461,2665.3999023,-1055.5999756,69.3000031,0.0000000,-1,-1,SPAWN_CAR); //PCJ-600
- AddStaticVehicleEx(578,2654.6000977,-1041.0000000,70.1999969,90.0000000,-1,-1,SPAWN_CAR); //DFT-30
- AddStaticVehicleEx(411,2662.8000488,-1083.4000244,69.0999985,0.0000000,-1,-1,SPAWN_CAR); //Infernus
- AddStaticVehicleEx(411,2666.1999512,-1083.4000244,69.0999985,0.0000000,-1,-1,SPAWN_CAR); //Infernus
- AddStaticVehicleEx(411,2669.6999512,-1083.4000244,69.0999985,0.0000000,-1,-1,SPAWN_CAR); //Infernus
- AddStaticVehicleEx(560,2636.1000977,-1040.6999512,69.4000015,0.0000000,-1,-1,SPAWN_CAR); //Sultan
- AddStaticVehicleEx(560,2632.8000488,-1040.6999512,69.4000015,0.0000000,-1,-1,SPAWN_CAR); //Sultan
- AddStaticVehicleEx(474,2616.6999512,-1040.5000000,69.5000000,0.0000000,-1,-1,SPAWN_CAR); //Hermes
- AddStaticVehicleEx(474,2612.8999023,-1040.5000000,69.5000000,0.0000000,-1,-1,SPAWN_CAR); //Hermes
- AddStaticVehicleEx(474,2609.1000977,-1040.5000000,69.5000000,0.0000000,-1,-1,SPAWN_CAR); //Hermes
- AddStaticVehicleEx(474,2605.5000000,-1040.5000000,69.5000000,0.0000000,-1,-1,SPAWN_CAR); //Hermes// 85
- TextdrawGlobal[1] = TextDrawCreate(329.000000, 344.000000, "Parka Esta robando el aereopuerto abandonado de livery city");
- TextDrawAlignment(TextdrawGlobal[1], 2);
- TextDrawBackgroundColor(TextdrawGlobal[1], 255);
- TextDrawFont(TextdrawGlobal[1], 1);
- TextDrawLetterSize(TextdrawGlobal[1], 0.229999, 1.200000);
- TextDrawColor(TextdrawGlobal[1], -1);
- TextDrawSetOutline(TextdrawGlobal[1], 1);
- TextDrawSetProportional(TextdrawGlobal[1], 1);
- TextdrawGlobal[2] = TextDrawCreate(329.000000, 362.000000, "Parka Esta robando el aereopuerto abandonado de livery city");
- TextDrawAlignment(TextdrawGlobal[2], 2);
- TextDrawBackgroundColor(TextdrawGlobal[2], 255);
- TextDrawFont(TextdrawGlobal[2], 1);
- TextDrawLetterSize(TextdrawGlobal[2], 0.229999, 1.200000);
- TextDrawColor(TextdrawGlobal[2], -1);
- TextDrawSetOutline(TextdrawGlobal[2], 1);
- TextDrawSetProportional(TextdrawGlobal[2], 1);
- TextdrawGlobal[3] = TextDrawCreate(329.000000, 380.000000, "Parka Esta robando el aereopuerto abandonado de livery city");
- TextDrawAlignment(TextdrawGlobal[3], 2);
- TextDrawBackgroundColor(TextdrawGlobal[3], 255);
- TextDrawFont(TextdrawGlobal[3], 1);
- TextDrawLetterSize(TextdrawGlobal[3], 0.229999, 1.200000);
- TextDrawColor(TextdrawGlobal[3], -1);
- TextDrawSetOutline(TextdrawGlobal[3], 1);
- TextDrawSetProportional(TextdrawGlobal[3], 1);
- TextdrawGlobal[0] = TextDrawCreate(329.000000, 396.000000, "Parka Esta robando el aereopuerto abandonado de livery city");
- TextDrawAlignment(TextdrawGlobal[0], 2);
- TextDrawBackgroundColor(TextdrawGlobal[0], 255);
- TextDrawFont(TextdrawGlobal[0], 1);
- TextDrawLetterSize(TextdrawGlobal[0], 0.229999, 1.200000);
- TextDrawColor(TextdrawGlobal[0], -1);
- TextDrawSetOutline(TextdrawGlobal[0], 1);
- TextDrawSetProportional(TextdrawGlobal[0], 1);
- return 1;
- }
- public OnGameModeExit()
- {
- return 1;
- }
- public OnPlayerRequestClass(playerid, classid)
- {
- if(fexist(UserPath(playerid)))
- {
- INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
- ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""PT"Login...",""PT"Digite sua senha para entrar no Server.","Aceitar","");
- }
- else
- {
- ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT, ""PT"Registrar....",""PT"Digite uma senha para entrar no servidor.","Aceitar","");
- }
- return 1;
- }
- public OnPlayerRequestSpawn(playerid)
- {
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- SetPlayerMapIcon(playerid, 0, 2628.5081 , -1067.8882 , 69.6127, 60, -1 , MAPICON_GLOBAL ); // vagos
- SetPlayerMapIcon(playerid, 1, 2232.5061 , -1333.3407 , 23.9816, 59, -1 , MAPICON_GLOBAL ); // ballas
- SetPlayerMapIcon(playerid, 2, 2495.3494 , -1690.7244 , 14.7656, 62, -1 , MAPICON_GLOBAL ); // groove
- SetPlayerMapIcon(playerid, 3, 1753.3136 , -1893.2559 , 13.5572, 58, -1 , MAPICON_GLOBAL ); // aztecas
- RemoveBuildingForPlayer(playerid, 18105, 313, -164, 1000, 50.0);
- TextDrawInfo[playerid][Textdraw_a] = CreatePlayerTextDraw( playerid , 270.000000, 120.000000, "New Textdraw");
- PlayerTextDrawBackgroundColor( playerid , TextDrawInfo[playerid][Textdraw_a], 0x00000033);
- PlayerTextDrawFont( playerid , TextDrawInfo[playerid][Textdraw_a], 5);
- PlayerTextDrawLetterSize( playerid , TextDrawInfo[playerid][Textdraw_a], 0.500000, 1.000000);
- PlayerTextDrawSetOutline( playerid , TextDrawInfo[playerid][Textdraw_a], 0);
- PlayerTextDrawSetProportional( playerid , TextDrawInfo[playerid][Textdraw_a], 1);
- PlayerTextDrawSetShadow( playerid , TextDrawInfo[playerid][Textdraw_a], 1);
- PlayerTextDrawUseBox( playerid , TextDrawInfo[playerid][Textdraw_a], 1);
- PlayerTextDrawBoxColor( playerid , TextDrawInfo[playerid][Textdraw_a], 0);
- PlayerTextDrawTextSize( playerid , TextDrawInfo[playerid][Textdraw_a], 97.000000, 100.000000);
- PlayerTextDrawSetPreviewModel( playerid , TextDrawInfo[playerid][Textdraw_a], 105);
- PlayerTextDrawSetPreviewRot( playerid , TextDrawInfo[playerid][Textdraw_a], 0.000000, 0.000000, 1.000000, 1.000000);
- PlayerTextDrawSetSelectable( playerid , TextDrawInfo[playerid][Textdraw_a], 0);
- TextDrawInfo[playerid][Textdraw_b] = CreatePlayerTextDraw( playerid , 130.000000, 120.000000, "New Textdraw");
- PlayerTextDrawBackgroundColor( playerid , TextDrawInfo[playerid][Textdraw_b], 0x00000033);
- PlayerTextDrawFont( playerid , TextDrawInfo[playerid][Textdraw_b], 5);
- PlayerTextDrawLetterSize( playerid , TextDrawInfo[playerid][Textdraw_b], 0.500000, 1.000000);
- PlayerTextDrawSetOutline( playerid , TextDrawInfo[playerid][Textdraw_b], 0);
- PlayerTextDrawSetProportional( playerid , TextDrawInfo[playerid][Textdraw_b], 1);
- PlayerTextDrawSetShadow( playerid , TextDrawInfo[playerid][Textdraw_b], 1);
- PlayerTextDrawUseBox( playerid , TextDrawInfo[playerid][Textdraw_b], 1);
- PlayerTextDrawBoxColor( playerid , TextDrawInfo[playerid][Textdraw_b], 0);
- PlayerTextDrawTextSize( playerid , TextDrawInfo[playerid][Textdraw_b], 97.000000, 100.000000);
- PlayerTextDrawSetPreviewModel( playerid , TextDrawInfo[playerid][Textdraw_b], 106);
- PlayerTextDrawSetPreviewRot( playerid , TextDrawInfo[playerid][Textdraw_b], 0.000000, 0.000000, 1.000000, 1.000000);
- PlayerTextDrawSetSelectable( playerid , TextDrawInfo[playerid][Textdraw_b], 0);
- TextDrawInfo[playerid][Textdraw_c] = CreatePlayerTextDraw( playerid , 410.000000, 120.000000, "New Textdraw");
- PlayerTextDrawBackgroundColor( playerid , TextDrawInfo[playerid][Textdraw_c], 0x00000033);
- PlayerTextDrawFont( playerid , TextDrawInfo[playerid][Textdraw_c], 5);
- PlayerTextDrawLetterSize( playerid , TextDrawInfo[playerid][Textdraw_c], 0.500000, 1.000000);
- PlayerTextDrawSetOutline( playerid , TextDrawInfo[playerid][Textdraw_c], 0);
- PlayerTextDrawSetProportional( playerid , TextDrawInfo[playerid][Textdraw_c], 1);
- PlayerTextDrawSetShadow( playerid , TextDrawInfo[playerid][Textdraw_c], 1);
- PlayerTextDrawUseBox( playerid , TextDrawInfo[playerid][Textdraw_c], 1);
- PlayerTextDrawBoxColor( playerid , TextDrawInfo[playerid][Textdraw_c], 0);
- PlayerTextDrawTextSize( playerid , TextDrawInfo[playerid][Textdraw_c], 97.000000, 100.000000);
- PlayerTextDrawSetPreviewModel( playerid , TextDrawInfo[playerid][Textdraw_c], 107);
- PlayerTextDrawSetPreviewRot( playerid , TextDrawInfo[playerid][Textdraw_c], 0.000000, 0.000000, 1.000000, 1.000000);
- PlayerTextDrawSetSelectable( playerid , TextDrawInfo[playerid][Textdraw_c], 0);
- TextDrawInfo[playerid][Textdraw_d] = CreatePlayerTextDraw( playerid , 90.000000, 340.000000, "~g~Groove");
- PlayerTextDrawAlignment( playerid , TextDrawInfo[playerid][Textdraw_d], 2);
- PlayerTextDrawBackgroundColor( playerid , TextDrawInfo[playerid][Textdraw_d], 255);
- PlayerTextDrawFont( playerid , TextDrawInfo[playerid][Textdraw_d], 1);
- PlayerTextDrawLetterSize( playerid , TextDrawInfo[playerid][Textdraw_d], 0.480000, 1.400000);
- PlayerTextDrawColor( playerid , TextDrawInfo[playerid][Textdraw_d], -1);
- PlayerTextDrawSetOutline( playerid , TextDrawInfo[playerid][Textdraw_d], 1);
- PlayerTextDrawSetProportional( playerid , TextDrawInfo[playerid][Textdraw_d], 1);
- PlayerTextDrawUseBox( playerid , TextDrawInfo[playerid][Textdraw_d], 1);
- PlayerTextDrawBoxColor( playerid , TextDrawInfo[playerid][Textdraw_d], -16777182);
- PlayerTextDrawTextSize( playerid , TextDrawInfo[playerid][Textdraw_d], 20.00 , 80.00);
- PlayerTextDrawSetSelectable( playerid , TextDrawInfo[playerid][Textdraw_d], 0);
- TextDrawInfo[playerid][Textdraw_e] = CreatePlayerTextDraw( playerid , 240.000000, 340.000000, "~p~Ballas");
- PlayerTextDrawAlignment( playerid , TextDrawInfo[playerid][Textdraw_e], 2);
- PlayerTextDrawBackgroundColor( playerid , TextDrawInfo[playerid][Textdraw_e], 255);
- PlayerTextDrawFont( playerid , TextDrawInfo[playerid][Textdraw_e], 1);
- PlayerTextDrawLetterSize( playerid , TextDrawInfo[playerid][Textdraw_e], 0.480000, 1.400000);
- PlayerTextDrawColor( playerid , TextDrawInfo[playerid][Textdraw_e], -1);
- PlayerTextDrawSetOutline( playerid , TextDrawInfo[playerid][Textdraw_e], 1);
- PlayerTextDrawSetProportional( playerid , TextDrawInfo[playerid][Textdraw_e], 1);
- PlayerTextDrawUseBox( playerid , TextDrawInfo[playerid][Textdraw_e], 1);
- PlayerTextDrawBoxColor( playerid , TextDrawInfo[playerid][Textdraw_e], -16777182);
- PlayerTextDrawTextSize( playerid , TextDrawInfo[playerid][Textdraw_e], 20.00 , 80.00);
- PlayerTextDrawSetSelectable( playerid , TextDrawInfo[playerid][Textdraw_e], 0);
- TextDrawInfo[playerid][Textdraw_f] = CreatePlayerTextDraw( playerid , 380.000000, 340.000000, "~y~Vagos");
- PlayerTextDrawAlignment( playerid , TextDrawInfo[playerid][Textdraw_f], 2);
- PlayerTextDrawBackgroundColor( playerid , TextDrawInfo[playerid][Textdraw_f], 255);
- PlayerTextDrawFont( playerid , TextDrawInfo[playerid][Textdraw_f], 1);
- PlayerTextDrawLetterSize( playerid , TextDrawInfo[playerid][Textdraw_f], 0.480000, 1.400000);
- PlayerTextDrawColor( playerid , TextDrawInfo[playerid][Textdraw_f], -1);
- PlayerTextDrawSetOutline( playerid , TextDrawInfo[playerid][Textdraw_f], 1);
- PlayerTextDrawSetProportional( playerid , TextDrawInfo[playerid][Textdraw_f], 1);
- PlayerTextDrawUseBox( playerid , TextDrawInfo[playerid][Textdraw_f], 1);
- PlayerTextDrawBoxColor( playerid , TextDrawInfo[playerid][Textdraw_f], -16777182);
- PlayerTextDrawTextSize( playerid , TextDrawInfo[playerid][Textdraw_f], 20.00, 80.00);
- PlayerTextDrawSetSelectable( playerid , TextDrawInfo[playerid][Textdraw_f], 0);
- TextDrawInfo[playerid][Textdraw_g] = CreatePlayerTextDraw( playerid , 530.000000, 340.000000, "~b~~h~~h~Aztecas");
- PlayerTextDrawAlignment( playerid , TextDrawInfo[playerid][Textdraw_g], 2);
- PlayerTextDrawBackgroundColor( playerid , TextDrawInfo[playerid][Textdraw_g], 255);
- PlayerTextDrawFont( playerid , TextDrawInfo[playerid][Textdraw_g], 1);
- PlayerTextDrawLetterSize( playerid , TextDrawInfo[playerid][Textdraw_g], 0.480000, 1.400000);
- PlayerTextDrawColor( playerid , TextDrawInfo[playerid][Textdraw_g], -1);
- PlayerTextDrawSetOutline( playerid , TextDrawInfo[playerid][Textdraw_g], 1);
- PlayerTextDrawSetProportional( playerid , TextDrawInfo[playerid][Textdraw_g], 1);
- PlayerTextDrawUseBox( playerid , TextDrawInfo[playerid][Textdraw_g], 1);
- PlayerTextDrawBoxColor( playerid , TextDrawInfo[playerid][Textdraw_g], -16777182);
- PlayerTextDrawTextSize( playerid , TextDrawInfo[playerid][Textdraw_g], 20.0 , 80.00);
- PlayerTextDrawSetSelectable( playerid , TextDrawInfo[playerid][Textdraw_g], 0);
- TextDrawInfo[playerid][Textdraw_h] = CreatePlayerTextDraw( playerid , 313.000000, 326.000000, " ");
- PlayerTextDrawAlignment( playerid , TextDrawInfo[playerid][Textdraw_h], 2);
- PlayerTextDrawBackgroundColor( playerid , TextDrawInfo[playerid][Textdraw_h], 255);
- PlayerTextDrawFont( playerid , TextDrawInfo[playerid][Textdraw_h], 1);
- PlayerTextDrawLetterSize( playerid , TextDrawInfo[playerid][Textdraw_h], 0.500000, 5.099997);
- PlayerTextDrawColor( playerid , TextDrawInfo[playerid][Textdraw_h], -1);
- PlayerTextDrawSetOutline( playerid , TextDrawInfo[playerid][Textdraw_h], 1);
- PlayerTextDrawSetProportional( playerid , TextDrawInfo[playerid][Textdraw_h], 1);
- PlayerTextDrawUseBox( playerid , TextDrawInfo[playerid][Textdraw_h], 1);
- PlayerTextDrawBoxColor( playerid , TextDrawInfo[playerid][Textdraw_h], 51);
- PlayerTextDrawTextSize( playerid , TextDrawInfo[playerid][Textdraw_h], 0.000000, 656.000000);
- PlayerTextDrawSetSelectable( playerid , TextDrawInfo[playerid][Textdraw_h], 0);
- TextDrawInfo[playerid][Textdraw_i] = CreatePlayerTextDraw(playerid,553.000000, 102.000000, "informacoes~n~_~n~_~n~_~n~_~n~__~n~_~n~_~n~_~n~__~n~_~n~_~n~_~n~__~n~_~n~_~n~_~n~__~n~_~n~_~n~_~n~_");
- PlayerTextDrawAlignment(playerid,TextDrawInfo[playerid][Textdraw_i], 2);
- PlayerTextDrawBackgroundColor(playerid,TextDrawInfo[playerid][Textdraw_i], 255);
- PlayerTextDrawFont(playerid,TextDrawInfo[playerid][Textdraw_i], 1);
- PlayerTextDrawLetterSize(playerid,TextDrawInfo[playerid][Textdraw_i], 0.380000, 1.200000);
- PlayerTextDrawColor(playerid,TextDrawInfo[playerid][Textdraw_i], -1);
- PlayerTextDrawSetOutline(playerid,TextDrawInfo[playerid][Textdraw_i], 1);
- PlayerTextDrawSetProportional(playerid,TextDrawInfo[playerid][Textdraw_i], 1);
- PlayerTextDrawUseBox(playerid,TextDrawInfo[playerid][Textdraw_i], 1);
- PlayerTextDrawBoxColor(playerid,TextDrawInfo[playerid][Textdraw_i], 68);
- PlayerTextDrawTextSize(playerid,TextDrawInfo[playerid][Textdraw_i], 3.000000, 103.000000);
- PlayerTextDrawSetSelectable(playerid,TextDrawInfo[playerid][Textdraw_i], 0);
- TextDrawInfo[playerid][Textdraw_j] = CreatePlayerTextDraw(playerid,553.000000, 119.000000, "~n~_~n~_~n~_~n~_~n~_~n~__~n~_~n~_~n~_~n~__~n~_~n~_~n~_~n~__~n~_~n~_~n~_~n~__~n~_~n~_~n~_~n~_~n~_");
- PlayerTextDrawAlignment(playerid,TextDrawInfo[playerid][Textdraw_j], 2);
- PlayerTextDrawBackgroundColor(playerid,TextDrawInfo[playerid][Textdraw_j], 255);
- PlayerTextDrawFont(playerid,TextDrawInfo[playerid][Textdraw_j], 1);
- PlayerTextDrawLetterSize(playerid,TextDrawInfo[playerid][Textdraw_j], 0.370000, 1.000000);
- PlayerTextDrawColor(playerid,TextDrawInfo[playerid][Textdraw_j], -1);
- PlayerTextDrawSetOutline(playerid,TextDrawInfo[playerid][Textdraw_j], 1);
- PlayerTextDrawSetProportional(playerid,TextDrawInfo[playerid][Textdraw_j], 1);
- PlayerTextDrawUseBox(playerid,TextDrawInfo[playerid][Textdraw_j], 1);
- PlayerTextDrawBoxColor(playerid,TextDrawInfo[playerid][Textdraw_j], 65297);
- PlayerTextDrawTextSize(playerid,TextDrawInfo[playerid][Textdraw_j], -2.000000, 98.000000);
- PlayerTextDrawSetSelectable(playerid,TextDrawInfo[playerid][Textdraw_j], 0);
- TextDrawInfo[playerid][Textdraw_k] = CreatePlayerTextDraw(playerid,502.000000, 121.000000, "~r~kills~w~: 0~n~~g~score~w~: 0~n~~n~ Zonas~n~~n~~p~Ballas~w~: 0~n~~y~Vagos~w~: 0~n~~g~Groove~w~: 0~n~~b~~h~~h~aztecas~w~");
- PlayerTextDrawBackgroundColor(playerid,TextDrawInfo[playerid][Textdraw_k], 255);
- PlayerTextDrawFont(playerid,TextDrawInfo[playerid][Textdraw_k], 1);
- PlayerTextDrawLetterSize(playerid,TextDrawInfo[playerid][Textdraw_k], 0.250000, 1.000000);
- PlayerTextDrawColor(playerid,TextDrawInfo[playerid][Textdraw_k], -1);
- PlayerTextDrawSetOutline(playerid,TextDrawInfo[playerid][Textdraw_k], 0);
- PlayerTextDrawSetProportional(playerid,TextDrawInfo[playerid][Textdraw_k], 1);
- PlayerTextDrawSetShadow(playerid,TextDrawInfo[playerid][Textdraw_k], 1);
- PlayerTextDrawSetSelectable(playerid,TextDrawInfo[playerid][Textdraw_k], 0);
- TextDrawInfo[playerid][Textdraw_l] = CreatePlayerTextDraw(playerid,502.000000, 219.000000, "Conquista: para conquistar ~n~una zona deben haber 3 ~n~personas del mismo equipo ~n~dentro de la misma la~n~conquista comenzara");
- PlayerTextDrawBackgroundColor(playerid,TextDrawInfo[playerid][Textdraw_l], 255);
- PlayerTextDrawFont(playerid,TextDrawInfo[playerid][Textdraw_l], 1);
- PlayerTextDrawLetterSize(playerid,TextDrawInfo[playerid][Textdraw_l], 0.230000, 1.100000);
- PlayerTextDrawColor(playerid,TextDrawInfo[playerid][Textdraw_l], -1);
- PlayerTextDrawSetOutline(playerid,TextDrawInfo[playerid][Textdraw_l], 0);
- PlayerTextDrawSetProportional(playerid,TextDrawInfo[playerid][Textdraw_l], 1);
- PlayerTextDrawSetShadow(playerid,TextDrawInfo[playerid][Textdraw_l], 1);
- PlayerTextDrawSetSelectable(playerid,TextDrawInfo[playerid][Textdraw_l], 0);
- Seleccion[playerid] = 0;
- for(new i; i < MAX_PLAYERS; i++){SendClientMessageEx( i , -1 ,""KA""GM" %s introduziu o servidor*",Nome(playerid));}
- SendClientMessageEx( playerid , -1 ,""KA"Comandos úteis: /help, /regras, /cmds, /suges");
- SendClientMessageEx( playerid , -1 ,""KA"Se você quiser compartilhar suas idéias com o servidor grava /suges");
- SendClientMessageEx( playerid , -1 ,""KA"e podem aparecer em suas idéias neste servidor ;)");
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- new INI:File = INI_Open(UserPath(playerid));
- INI_SetTag(File,"data");
- INI_WriteInt(File,"Cash",GetPlayerMoney(playerid));
- INI_WriteInt(File,"Admin",PlayerInfo[playerid][pAdmin]);
- INI_WriteInt(File,"Score",PlayerInfo[playerid][pScore]);
- INI_WriteInt(File,"Kills",PlayerInfo[playerid][pKills]);
- INI_WriteInt(File,"Deaths",PlayerInfo[playerid][pDeaths]);
- INI_Close(File);
- PlayerTextDrawDestroy( playerid , TextDrawInfo[playerid][Textdraw_a] );
- PlayerTextDrawDestroy( playerid , TextDrawInfo[playerid][Textdraw_b] );
- PlayerTextDrawDestroy( playerid , TextDrawInfo[playerid][Textdraw_c] );
- PlayerTextDrawDestroy( playerid , TextDrawInfo[playerid][Textdraw_d] );
- PlayerTextDrawDestroy( playerid , TextDrawInfo[playerid][Textdraw_e] );
- PlayerTextDrawDestroy( playerid , TextDrawInfo[playerid][Textdraw_f] );
- PlayerTextDrawDestroy( playerid , TextDrawInfo[playerid][Textdraw_g] );
- PlayerTextDrawDestroy( playerid , TextDrawInfo[playerid][Textdraw_h] );
- PlayerTextDrawDestroy( playerid , TextDrawInfo[playerid][Textdraw_i] );
- PlayerTextDrawDestroy( playerid , TextDrawInfo[playerid][Textdraw_j] );
- PlayerTextDrawDestroy( playerid , TextDrawInfo[playerid][Textdraw_k] );
- return 1;
- }
- public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid)
- {
- if(playertextid == TextDrawInfo[playerid][Textdraw_d])
- {
- Equipo[playerid] = TEAM_GROOVE;
- Mostrar(playerid);
- }
- if(playertextid == TextDrawInfo[playerid][Textdraw_e])
- {
- Equipo[playerid] = TEAM_BALLAS;
- Mostrar(playerid);
- }
- if(playertextid == TextDrawInfo[playerid][Textdraw_f])
- {
- Equipo[playerid] = TEAM_VAGOS;
- Mostrar(playerid);
- }
- if(playertextid == TextDrawInfo[playerid][Textdraw_g])
- {
- Equipo[playerid] = TEAM_AZTECAZ;
- Mostrar(playerid);
- }
- if(playertextid == TextDrawInfo[playerid][Textdraw_a])
- {
- if( Equipo[playerid] == TEAM_GROOVE )
- {
- PlayerSkin( playerid , 105 );
- Esconder( playerid );
- }
- if( Equipo[playerid] == TEAM_BALLAS )
- {
- PlayerSkin( playerid , 102 );
- Esconder( playerid );
- }
- if( Equipo[playerid] == TEAM_VAGOS )
- {
- PlayerSkin( playerid , 108 );
- Esconder( playerid );
- }
- if( Equipo[playerid] == TEAM_AZTECAZ )
- {
- PlayerSkin( playerid , 114 );
- Esconder( playerid );
- }
- }
- if(playertextid == TextDrawInfo[playerid][Textdraw_b])
- {
- if( Equipo[playerid] == TEAM_GROOVE )
- {
- PlayerSkin( playerid , 106 );
- Esconder( playerid );
- }
- if( Equipo[playerid] == TEAM_BALLAS )
- {
- PlayerSkin( playerid , 103 );
- Esconder( playerid );
- }
- if( Equipo[playerid] == TEAM_VAGOS )
- {
- PlayerSkin( playerid , 109 );
- Esconder( playerid );
- }
- if( Equipo[playerid] == TEAM_AZTECAZ )
- {
- PlayerSkin( playerid , 115 );
- Esconder( playerid );
- }
- }
- if(playertextid == TextDrawInfo[playerid][Textdraw_c])
- {
- if( Equipo[playerid] == TEAM_GROOVE )
- {
- PlayerSkin( playerid , 107 );
- Esconder( playerid );
- }
- if( Equipo[playerid] == TEAM_BALLAS )
- {
- PlayerSkin( playerid , 104 );
- Esconder( playerid );
- }
- if( Equipo[playerid] == TEAM_VAGOS )
- {
- PlayerSkin( playerid , 110 );
- Esconder( playerid );
- }
- if( Equipo[playerid] == TEAM_AZTECAZ )
- {
- PlayerSkin( playerid , 116 );
- Esconder( playerid );
- }
- }
- return 1;
- }
- public OnPlayerSpawn(playerid)
- {
- if( Seleccion[ playerid ] == 0 )
- {
- SetPlayerCameraPos(playerid, 2106.758789, 987.219055, 15.645994);
- SetPlayerCameraLookAt(playerid, 2107.028320, 992.095153, 14.573153);
- SetPlayerPosEx( playerid, 2100.5720 , 1006.2416 , 11.0033 , 231.0222 );
- SelectTextDraw( playerid , 0xFFFFFFAA );
- PlayerTextDrawSetSelectable( playerid , TextDrawInfo[playerid][Textdraw_d] , 1);
- PlayerTextDrawSetSelectable( playerid , TextDrawInfo[playerid][Textdraw_e] , 1);
- PlayerTextDrawSetSelectable( playerid , TextDrawInfo[playerid][Textdraw_f] , 1);
- PlayerTextDrawSetSelectable( playerid , TextDrawInfo[playerid][Textdraw_g] , 1);
- PlayerTextDrawShow( playerid , TextDrawInfo[playerid][Textdraw_d] );
- PlayerTextDrawShow( playerid , TextDrawInfo[playerid][Textdraw_e] );
- PlayerTextDrawShow( playerid , TextDrawInfo[playerid][Textdraw_f] );
- PlayerTextDrawShow( playerid , TextDrawInfo[playerid][Textdraw_g] );
- PlayerTextDrawShow( playerid , TextDrawInfo[playerid][Textdraw_h] );
- }
- if( Equipo[ playerid ] == TEAM_GROOVE )
- {
- SetPlayerPosEx(playerid,2495.1921,-1686.7445,13.5142,7.6413); //
- PlayerTextDrawShow( playerid , TextDrawInfo[playerid][Textdraw_i] );
- PlayerTextDrawShow( playerid , TextDrawInfo[playerid][Textdraw_j] );
- PlayerTextDrawShow( playerid , TextDrawInfo[playerid][Textdraw_k] );
- PlayerTextDrawSetString( playerid , TextDrawInfo[playerid][Textdraw_l] , "Guerra de Bandas~n~Espero que desfrutes de~n~nosso grandioso servidor");
- PlayerTextDrawShow( playerid , TextDrawInfo[playerid][Textdraw_l] );
- SetPlayerColor( playerid , MainVerde );
- }
- if( Equipo[ playerid ] == TEAM_BALLAS )
- {
- SetPlayerPosEx(playerid,2230.0200,-1359.6014,23.9880,85.4661); //
- PlayerTextDrawShow( playerid , TextDrawInfo[playerid][Textdraw_i] );
- PlayerTextDrawShow( playerid , TextDrawInfo[playerid][Textdraw_j] );
- PlayerTextDrawShow( playerid , TextDrawInfo[playerid][Textdraw_k] );
- PlayerTextDrawSetString( playerid , TextDrawInfo[playerid][Textdraw_l] , "Guerra de Bandas~n~Espero que desfrutes de~n~nosso grandioso servidor");
- PlayerTextDrawShow( playerid , TextDrawInfo[playerid][Textdraw_l] );
- SetPlayerColor( playerid , MainPurpura );
- }
- if( Equipo[ playerid ] == TEAM_VAGOS )
- {
- SetPlayerPosEx(playerid,2628.2773,-1082.5399,69.6164,269.4668); //
- PlayerTextDrawShow( playerid , TextDrawInfo[playerid][Textdraw_i] );
- PlayerTextDrawShow( playerid , TextDrawInfo[playerid][Textdraw_j] );
- PlayerTextDrawShow( playerid , TextDrawInfo[playerid][Textdraw_k] );
- PlayerTextDrawSetString( playerid , TextDrawInfo[playerid][Textdraw_l] , "Guerra de Bandas~n~Espero que desfrutes de~n~nosso grandioso servidor");
- PlayerTextDrawShow( playerid , TextDrawInfo[playerid][Textdraw_l] );
- SetPlayerColor( playerid , MainAmarillo );
- }
- if( Equipo[ playerid ] == TEAM_AZTECAZ )
- {
- SetPlayerPosEx(playerid,1771.1144,-1908.2556,13.5555,268.4390); //
- PlayerTextDrawShow( playerid , TextDrawInfo[playerid][Textdraw_i] );
- PlayerTextDrawShow( playerid , TextDrawInfo[playerid][Textdraw_j] );
- PlayerTextDrawShow( playerid , TextDrawInfo[playerid][Textdraw_k] );
- PlayerTextDrawSetString( playerid , TextDrawInfo[playerid][Textdraw_l] , "Guerra de Bandas~n~Espero que desfrutes de~n~nosso grandioso servidor");
- PlayerTextDrawShow( playerid , TextDrawInfo[playerid][Textdraw_l] );
- SetPlayerColor( playerid , MainCian );
- }
- SetPlayerInterior( playerid , 0 );
- SetPlayerSkin( playerid , PlayerInfo[playerid][pSkin]);
- for(new i=0; i<MAX_ZONES; i++)
- {
- GangZoneShowForPlayer(playerid, ZoneInfo[i][z_id], GetTeamColor(ZoneInfo[i][z_team]));
- if(ZoneTakeOverTeam[i] != -1) GangZoneFlashForPlayer(playerid, ZoneInfo[i][z_id], GetTeamColor(ZoneTakeOverTeam[i]));
- }
- return 1;
- }
- new Text3D:AtaudLabel[MAX_PLAYERS];
- new AtaudPickup[MAX_PLAYERS] = -1;
- public OnPlayerDeath(playerid, killerid, reason)
- {
- OnWeaponDrop(playerid);
- if( killerid != INVALID_PLAYER_ID )
- {
- new string[256], Float:Old[3];
- format( string, sizeof string,"{00ff00}[_____R.I.P_____]\n{ff0000}Assassino{ffffff}: %s\n{0000ff}Morte{ffffff}:%s",
- Nome( killerid ), Nome( playerid ));
- GetPlayerPos( playerid,Old[0], Old[1], Old[2]);
- AtaudLabel [ playerid ] = Create3DTextLabel( string, 0x00ff00ff, Old[0], Old[1], Old[2], 80.0, 0, 0);
- AtaudPickup[ playerid ] = CreatePickup( 2896, 1, Old[0], Old[1], Old[2], -1);
- SetTimerEx("DestroysAtuds", 8000, false, "d", playerid);
- }
- return 1;
- }
- CallBack: DestroysAtuds(vehicleid)
- {
- for(new i, t = GetMaxPlayers(); i < t; i++)
- {
- Delete3DTextLabel( AtaudLabel [ i ] );
- DestroyPickup ( AtaudPickup[ i ] );
- }
- return 1;
- }
- public OnVehicleSpawn(vehicleid)
- {
- return 1;
- }
- public OnVehicleDeath(vehicleid, killerid)
- {
- return 1;
- }
- public OnPlayerText(playerid, text[])
- {
- return 1;
- }
- /* [{(- ZCMD -)}] */
- /* [{(- OnPlayerCommandPerformed -)}] */
- public OnPlayerCommandPerformed(playerid, cmdtext[], success)
- {
- if(!success)
- {
- new str[128];
- Sonido(playerid, 1058);
- format( str , sizeof ( str ) , "{ffffff}"GM"{ffd700}%s {ffffff}O Comando '{00ff00}%s{ffffff}' Não Existe Faz favor Utiliza /Cmds " , Nome(playerid) , cmdtext );
- SendClientMessageEx( playerid, -1 , str );
- return true;
- }
- return 1;
- }
- public OnPlayerCommandReceived(playerid, cmdtext[] )
- {
- return 1;
- }
- new Cadena[256];
- CMD:suges(playerid,params[])
- {
- if( sscanf( params, "s[256]", params[0] ) ) return SendClientMessage( playerid , -1 ,""KA""GM" Escreve /suges ( texto tua sugestão para o servidor ) **");
- suges( params[0] );
- SendClientMessage( playerid , -1 ,""KA""GM" Obrigado por sugerir novas funções e inovações para nosso servidor *");
- return 1;
- }
- CallBack: suges( string[] )
- {
- new entry[256];
- format(entry, sizeof(entry), "%s\n",string);
- new File:hFile;
- hFile = fopen("suges.log", io_append);
- fwrite(hFile, entry);
- fclose(hFile);
- }
- CMD:kill(playerid,params[])
- {
- SetPlayerHealth( playerid , 0.0 );
- return 1;
- }
- CMD:conquista(playerid,params[])
- {
- new strons[200];
- format( strons , sizeof strons ,
- "~y~Conquista~w~: conquistar uma~n~\
- area deve ter 3~n~\
- pessoas da mesma equipe~n~\
- na conquista mesmo comecou~n~\
- em 10 segudos e~n~\
- dura 2 minutos");
- PlayerTextDrawSetString( playerid , TextDrawInfo[playerid][Textdraw_l] , strons);
- PlayerTextDrawShow( playerid , TextDrawInfo[playerid][Textdraw_l] );
- return 1;
- }
- CMD:cmds(playerid,params[])
- {
- new strons[200];
- format( strons , sizeof strons ,
- "~p~Cmds~w~:~n~\
- /creditos~n~\
- /regras~n~\
- /conquista~n~\
- /reforco~n~\
- /pm~n~");
- PlayerTextDrawSetString( playerid , TextDrawInfo[playerid][Textdraw_l] , strons);
- PlayerTextDrawShow( playerid , TextDrawInfo[playerid][Textdraw_l] );
- return 1;
- }
- CMD:creditos(playerid,params[])
- {
- new strons[200];
- format( strons , sizeof strons ,
- "~g~creditos~w~: este servidor~n~\
- foi feito por Parka~n~\
- Actualizado por Parka~n~\
- Inconvenientes, dúvidas,~n~\
- contratos, trabalhos~n~\
- comunicar-se com~n~\
- Skype: cesar.delgado39~n~\
- ");
- PlayerTextDrawSetString( playerid , TextDrawInfo[playerid][Textdraw_l] , strons);
- PlayerTextDrawShow( playerid , TextDrawInfo[playerid][Textdraw_l] );
- return 1;
- }
- CMD:reforco(playerid,params[])
- {
- new zone[MAX_ZONE_NAME];
- GetPlayer3DZone(playerid , zone, MAX_ZONE_NAME);
- for(new i; i < MAX_PLAYERS; i++)
- {
- if( Equipo[i] == Equipo[playerid] )
- {
- if( Equipo[i] == TEAM_GROOVE )
- {
- SendClientMessageEx( i , MainVerde , "Team Groove: %s chamadas reforco perto: %s", Nome(playerid), zone );
- }
- if( Equipo[i] == TEAM_BALLAS )
- {
- SendClientMessageEx( i , MainPurpura , "Equipo Ballas: %s chamadas reforco perto: %s", Nome(playerid), zone );
- }
- if( Equipo[i] == TEAM_VAGOS )
- {
- SendClientMessageEx( i , MainAmarillo , "Equipo Vagos: %s chamadas reforco perto: %s", Nome(playerid), zone );
- }
- if( Equipo[i] == TEAM_AZTECAZ )
- {
- SendClientMessageEx( i , MainCian , "Equipo Astecaz: %s chamadas reforco perto: %s", Nome(playerid), zone );
- }
- }
- }
- return 1;
- }
- CMD:pm(playerid, params[])
- {
- if(sscanf(params, "us", params[0], params[1])) return SendClientMessage(playerid, MainRojo, ""GM" Use /pm (ID) (Text)");
- if(!IsPlayerConnected(params[0])) return SendClientMessage(playerid, MainRojo, ""GM" O jogador não está conectado.!");
- if(playerid == params[0]) return SendClientMessage(playerid, MainRojo, ""GM" Você pode enviar-se pm.!");
- format(Cadena, sizeof(Cadena),""GL"[>>]PM %s[%d]: %s",Nome(params[0]), params[0], params[1]);
- SendClientMessage(playerid, -1, Cadena);
- format(Cadena, sizeof(Cadena),""GL"[<<]PM %s[%d]: %s",Nome( playerid ), playerid, params[1]);
- SendClientMessage(params[0], -1, Cadena);
- Sonido(params[0], 1058);
- Sonido(playerid, 1058);
- return 1;
- }
- public OnPlayerExitVehicle(playerid, vehicleid)
- {
- return 1;
- }
- public OnPlayerStateChange(playerid, newstate, oldstate)
- {
- new OldCar = GetPlayerVehicleID( playerid );
- if(newstate == PLAYER_STATE_DRIVER)
- {
- Veloz[playerid] = CreatePlayer3DTextLabel(playerid, "Test", -1, 0.0, -1.2, 0.0, 40.0, INVALID_PLAYER_ID, GetPlayerVehicleID(playerid) , 1);
- }
- else if(newstate == PLAYER_STATE_ONFOOT)
- {
- DeletePlayer3DTextLabel( playerid,Veloz[playerid]);
- }
- if( Equipo[playerid] != TEAM_GROOVE && OldCar >= 1 && OldCar <= 22 )
- return RemovePlayerFromVehicle( playerid );
- if( Equipo[playerid] != TEAM_BALLAS && OldCar >= 43 && OldCar <= 63 )
- return RemovePlayerFromVehicle( playerid );
- if( Equipo[playerid] != TEAM_VAGOS && OldCar >= 64 && OldCar <= 85 )
- return RemovePlayerFromVehicle( playerid );
- if( Equipo[playerid] != TEAM_AZTECAZ && OldCar >= 23 && OldCar <= 44 )
- return RemovePlayerFromVehicle( playerid );
- return 1;
- }
- public OnPlayerEnterCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerLeaveCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerEnterRaceCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerLeaveRaceCheckpoint(playerid)
- {
- return 1;
- }
- public OnRconCommand(cmd[])
- {
- return 1;
- }
- public OnObjectMoved(objectid)
- {
- return 1;
- }
- public OnPlayerObjectMoved(playerid, objectid)
- {
- return 1;
- }
- public OnPlayerPickUpPickup(playerid, pickupid)
- {
- if( pickupid == Pickup_a)
- {
- ShowPlayerDialog( playerid , 3 , DIALOG_STYLE_LIST , "{ff0000}brasão{000000}, {00ff00}Armadura {ffff00}e mais" , "{00ff00}brasão Packs 1 ( score: 0 )\n{0000ff}brasão Packs 2 + Armadura ( score: 50 )\n{ff0000}brasão Packs 3 + Armadura ( score: 500 )", "Aceitar", "");
- }
- if( pickupid == Pickup_b)
- {
- ShowPlayerDialog( playerid , 3 , DIALOG_STYLE_LIST , "{ff0000}brasão{000000}, {00ff00}Armadura {ffff00}e mais" , "{00ff00}brasão Packs 1 ( score: 0 )\n{0000ff}brasão Packs 2 + Armadura ( score: 50 )\n{ff0000}brasão Packs 3 + Armadura ( score: 500 )", "Aceitar", "");
- }
- if( pickupid == Pickup_c)
- {
- ShowPlayerDialog( playerid , 3 , DIALOG_STYLE_LIST , "{ff0000}brasão{000000}, {00ff00}Armadura {ffff00}e mais" , "{00ff00}brasão Packs 1 ( score: 0 )\n{0000ff}brasão Packs 2 + Armadura ( score: 50 )\n{ff0000}brasão Packs 3 + Armadura ( score: 500 )", "Aceitar", "");
- }
- if( pickupid == Pickup_d)
- {
- ShowPlayerDialog( playerid , 3 , DIALOG_STYLE_LIST , "{ff0000}brasão{000000}, {00ff00}Armadura {ffff00}e mais" , "{00ff00}brasão Packs 1 ( score: 0 )\n{0000ff}brasão Packs 2 + Armadura ( score: 50 )\n{ff0000}brasão Packs 3 + Armadura ( score: 500 )", "Aceitar", "");
- }
- OnWeaponDropPickup(playerid, pickupid);
- return 1;
- }
- public OnVehicleMod(playerid, vehicleid, componentid)
- {
- return 1;
- }
- public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
- {
- return 1;
- }
- public OnVehicleRespray(playerid, vehicleid, color1, color2)
- {
- return 1;
- }
- public OnPlayerSelectedMenuRow(playerid, row)
- {
- return 1;
- }
- public OnPlayerExitedMenu(playerid)
- {
- return 1;
- }
- public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
- {
- return 1;
- }
- public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
- {
- if( Tecla ( KEY_SECONDARY_ATTACK ) )
- {
- if(IsPlayerInRangeOfPoint( playerid , 1.5 , 2628.5081 , -1067.8882 , 69.6127 ))
- {
- SetPlayerPosEx( playerid , 2352.1458 , -1180.8553 , 1027.9766 , 269.5085 );
- SetPlayerInterior( playerid , 5 );
- GameTextForPlayer( playerid , "~y~Vagos HQ" , 1200 , 1 );
- }
- if(IsPlayerInRangeOfPoint( playerid , 1.5 , 2232.5061 , -1333.3407 , 23.9816 ))
- {
- SetPlayerPosEx( playerid , 286.0979 , -40.8708 , 1001.5156 , 181.7953 );
- SetPlayerInterior( playerid , 1 );
- GameTextForPlayer( playerid , "~p~Ballas HQ" , 1200 , 1 );
- }
- if(IsPlayerInRangeOfPoint( playerid , 1.5 , 2495.3494 , -1690.7244 , 14.7656 ))
- {
- SetPlayerPosEx( playerid , 2495.9336 , -1692.9189 , 1014.7422 , 359.6031 );
- SetPlayerInterior( playerid , 3 );
- GameTextForPlayer( playerid , "~g~Groove HQ" , 1200 , 1 );
- }
- if(IsPlayerInRangeOfPoint( playerid , 1.5 , 1753.3136 , -1893.2559 , 13.5572 ))
- {
- SetPlayerPosEx( playerid , 286.4053,-86.0965,1001.5229,181.4169 );
- SetPlayerInterior( playerid , 4 );
- GameTextForPlayer( playerid , "~b~~h~~h~Aztecas HQ" , 1200 , 1 );
- }
- }
- for( new i; i < sizeof TeleportInfo; i++ )
- {
- if( Tecla ( KEY_SECONDARY_ATTACK ) )
- {
- if( IsPlayerInRangeOfPoint( playerid, 1.0, TeleportInfo[ i ][ EntraceX ], TeleportInfo[ i ][ EntraceY ], TeleportInfo[ i ][ EntraceZ ]))
- {
- SetPlayerPos( playerid, TeleportInfo[ i ][ ExitX ], TeleportInfo[ i ][ ExitY ], TeleportInfo[ i ][ ExitZ ]);
- SetPlayerVirtualWorld( playerid, TeleportInfo[ i ][ World ]);
- SetPlayerInterior( playerid, TeleportInfo[ i ][ Interior ]);
- TeleporId[ playerid ] = i;
- }
- if( IsPlayerInRangeOfPoint( playerid, 1.0, TeleportInfo[ i ][ ExitX ], TeleportInfo[ i ][ ExitY ], TeleportInfo[ i ][ ExitZ ]))
- {
- if( TeleporId[ playerid ] == i )
- {
- SetPlayerPos( playerid, TeleportInfo[ i ][ EntraceX ], TeleportInfo[ i ][ EntraceY ], TeleportInfo[ i ][ EntraceZ ]);
- SetPlayerVirtualWorld( playerid, 0);
- SetPlayerInterior( playerid, 0);
- }
- }
- }
- }
- if( Tecla ( KEY_SECONDARY_ATTACK ) )
- {
- if(IsPlayerInRangeOfPoint( playerid , 1.5 , 2352.1458 , -1180.8553 , 1027.9766 ))
- {
- SetPlayerPosEx( playerid , 2628.5081 , -1067.8882 , 69.6127 , 0.0 );
- SetPlayerInterior( playerid , 0 );
- GameTextForPlayer( playerid , "~y~Vagos HQ" , 1200 , 1 );
- }
- if(IsPlayerInRangeOfPoint( playerid , 1.5 , 286.0979 , -40.8708 , 1001.5156 ))
- {
- SetPlayerPosEx( playerid , 2232.5061 , -1333.3407 , 23.9816 , 0.0 );
- SetPlayerInterior( playerid , 0 );
- GameTextForPlayer( playerid , "~p~Ballas HQ" , 1200 , 1 );
- }
- if(IsPlayerInRangeOfPoint( playerid , 1.5 , 2495.9336 , -1692.9189 , 1014.7422 ))
- {
- SetPlayerPosEx( playerid , 2495.3494 , -1690.7244 , 14.7656 , 0.0 );
- SetPlayerInterior( playerid , 0 );
- GameTextForPlayer( playerid , "~g~Groove HQ" , 1200 , 1 );
- }
- if(IsPlayerInRangeOfPoint( playerid , 1.5 , 286.4053 , -86.0965 , 1001.5229 ))
- {
- SetPlayerPosEx( playerid , 1753.3136 , -1893.2559 , 13.5572 , 0.0 );
- SetPlayerInterior( playerid , 0 );
- GameTextForPlayer( playerid , "~b~~h~~h~Aztecas HQ" , 1200 , 1 );
- }
- }
- if( Tecla( KEY_YES ) )
- {
- if(IsPlayerInRangeOfPoint(playerid, 0.7 , 309.0719 , -162.4290 , 999.5938 ))
- {
- if( GetPlayerMoney( playerid ) < 2000 )
- return SendClientMessage(playerid, MainRojo, ""GM" Você não tem dinheiro suficiente para comprar a arma **");
- GivePlayerMoney(playerid, -2000);
- GivePlayerWeapon(playerid, 25, AMMO_SELL);
- }
- if(IsPlayerInRangeOfPoint(playerid, 0.7 , 312.2012,-162.3321,999.5938 ))
- {
- if( GetPlayerMoney( playerid ) < 2200 )
- return SendClientMessage(playerid, MainRojo, ""GM" Você não tem dinheiro suficiente para comprar a arma **");
- GivePlayerMoney(playerid, -2200);
- GivePlayerWeapon(playerid, 31, AMMO_SELL);
- }
- if(IsPlayerInRangeOfPoint(playerid, 0.7 , 310.7312,-163.7771,999.5938 ))
- {
- if( GetPlayerMoney( playerid ) < 2500 )
- return SendClientMessage(playerid, MainRojo, ""GM" Você não tem dinheiro suficiente para comprar a arma **");
- GivePlayerMoney(playerid, -2500);
- GivePlayerWeapon(playerid, 30, AMMO_SELL);
- }
- if(IsPlayerInRangeOfPoint(playerid, 0.7 , 310.6336,-160.9112,999.5938 ))
- {
- if( GetPlayerMoney( playerid ) < 5000 )
- return SendClientMessage(playerid, MainRojo, ""GM" Você não tem dinheiro suficiente para comprar a arma **");
- GivePlayerMoney(playerid, -5000);
- GivePlayerWeapon(playerid, 34, AMMO_SELL);
- }
- if(IsPlayerInRangeOfPoint(playerid, 0.7 , 316.5230,-162.2719,999.5938 ))
- {
- if( GetPlayerMoney( playerid ) < 600 )
- return SendClientMessage(playerid, MainRojo, ""GM" Você não tem dinheiro suficiente para comprar a arma **");
- GivePlayerMoney(playerid, -600);
- GivePlayerWeapon(playerid, 22, AMMO_SELL);
- }
- if(IsPlayerInRangeOfPoint(playerid, 0.7 , 315.0421,-163.7780,999.5938 ))
- {
- if( GetPlayerMoney( playerid ) < 800 )
- return SendClientMessage(playerid, MainRojo, ""GM" Você não tem dinheiro suficiente para comprar a arma **");
- GivePlayerMoney(playerid, -800);
- GivePlayerWeapon(playerid, 23, AMMO_SELL);
- }
- if(IsPlayerInRangeOfPoint(playerid, 0.7 , 313.6808,-162.2760,999.5938 ))
- {
- if( GetPlayerMoney( playerid ) < 1200 )
- return SendClientMessage(playerid, MainRojo, ""GM" Você não tem dinheiro suficiente para comprar a arma **");
- GivePlayerMoney(playerid, -1200);
- GivePlayerWeapon(playerid, 24, AMMO_SELL);
- }
- if(IsPlayerInRangeOfPoint(playerid, 0.7 , 315.0736,-160.9113,999.5938 ))
- {
- if( GetPlayerMoney( playerid ) < 3500 )
- return SendClientMessage(playerid, MainRojo, ""GM" Você não tem dinheiro suficiente para comprar a arma **");
- GivePlayerMoney(playerid, -3500);
- GivePlayerWeapon(playerid, 33, AMMO_SELL);
- }
- if(IsPlayerInRangeOfPoint(playerid, 0.7 , 318.2810,-163.4189,999.6010 ))
- {
- if( GetPlayerMoney( playerid ) < 1500 )
- return SendClientMessage(playerid, MainRojo, ""GM" Você não tem dinheiro suficiente para comprar a arma **");
- GivePlayerMoney(playerid, -1500);
- GivePlayerWeapon(playerid, 28, AMMO_SELL);
- }
- if(IsPlayerInRangeOfPoint(playerid, 0.7 , 318.2810,-162.1685,999.5938 ))
- {
- if( GetPlayerMoney( playerid ) < 1600 )
- return SendClientMessage(playerid, MainRojo, ""GM" Você não tem dinheiro suficiente para comprar a arma **");
- GivePlayerMoney(playerid, -1600);
- GivePlayerWeapon(playerid, 29, AMMO_SELL);
- }
- if(IsPlayerInRangeOfPoint(playerid, 0.7 , 318.2815,-160.7358,999.5938 ))
- {
- if( GetPlayerMoney( playerid ) < 1200 )
- return SendClientMessage(playerid, MainRojo, ""GM" Você não tem dinheiro suficiente para comprar a arma **");
- GivePlayerMoney(playerid, -1200);
- GivePlayerWeapon(playerid, 32, AMMO_SELL);
- }
- if(IsPlayerInRangeOfPoint(playerid, 0.7 , 318.2815,-159.7386,999.5938 ))
- {
- if( GetPlayerMoney( playerid ) < 200 )
- return SendClientMessage(playerid, MainRojo, ""GM" Você não tem dinheiro suficiente para comprar Armadura **");
- new Float:Ammoid;
- if( GetPlayerArmour( playerid , Ammoid) >= 200 )
- return SendClientMessage(playerid, MainRojo, ""GM" Você tem bastante armadura não pode comprar mais **");
- GivePlayerMoney(playerid, -200);
- SetPlayerArmour(playerid, 100);
- }
- }
- return 1;
- }
- public OnRconLoginAttempt(ip[], password[], success)
- {
- return 1;
- }
- CallBack: OnPlayerUpdateEx( )
- {
- for( new playerid, t = GetMaxPlayers(); playerid < t; playerid++ )
- {
- new str[200], TXT[24] , Float:Healthv , vehicleid = GetPlayerVehicleID(playerid);
- new Float:X, Float:Y, Float:Z, Float:Speed;
- GetVehicleVelocity(vehicleid, X, Y, Z);
- Speed = floatmul(floatsqroot(floatadd(floatadd(floatpower(X, 2), floatpower(Y, 2)), floatpower(Z, 2))), 100.0);
- GetVehicleHealth(vehicleid, Healthv);
- switch( floatround(Healthv) )
- {
- case 0 .. 400: TXT = "{FF0000}Crítico";
- case 401 .. 600: TXT = "{FFFF00}Sério";
- case 601 .. 800: TXT = "{0000FF}Normal";
- case 801 .. 1000: TXT = "{00FF00}Perfeito";
- }
- format(str , sizeof str ,""KA"Modelo: [%s]\n"LA"Estado: [%s"LA"]\n"LI"Speed["GL"KMH: %d "LI"/ "PT"MPH: %d"LI"]",CarName[GetVehicleModel( vehicleid ) - 400], TXT, floatround(Speed, floatround_floor), floatround(floatdiv(Speed, 1.609344), floatround_floor));
- UpdatePlayer3DTextLabelText(playerid, Veloz[playerid], -1, str);
- }
- return 1;
- }
- public OnPlayerUpdate( playerid )
- {
- Informacion( playerid );
- return 1;
- }
- public OnPlayerStreamIn(playerid, forplayerid)
- {
- return 1;
- }
- public OnPlayerStreamOut(playerid, forplayerid)
- {
- return 1;
- }
- public OnVehicleStreamIn(vehicleid, forplayerid)
- {
- return 1;
- }
- public OnVehicleStreamOut(vehicleid, forplayerid)
- {
- return 1;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- switch( dialogid )
- {
- case DIALOG_REGISTER:
- {
- if (!response) return Kick(playerid);
- if(response)
- {
- if(!strlen(inputtext)) return ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT, ""PT" Registrar",""MR"Você deve digitar uma senha para jogar.\n"PT"Digite uma senha para entrar no servidor.","Aceitar","");
- new INI:File = INI_Open(UserPath(playerid));
- INI_SetTag(File,"data");
- INI_WriteInt(File,"Password",udb_hash(inputtext));
- INI_WriteInt(File,"Cash",0);
- INI_WriteInt(File,"Admin",0);
- INI_WriteInt(File,"Kills",0);
- INI_WriteInt(File,"Deaths",0);
- INI_Close(File);
- SetSpawnInfo(playerid, 0, 0, 1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0);
- SpawnPlayer(playerid);
- }
- }
- case DIALOG_LOGIN:
- {
- if ( !response ) return Kick ( playerid );
- if( response )
- {
- if(udb_hash(inputtext) == PlayerInfo[playerid][pPass])
- {
- INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
- }
- else
- {
- ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""PT"Login..",""MR"A senha está incorreta, por favor escreva o correto.\n"PT"Digite uma senha para entrar no servidor.","Aceitar","");
- }
- return 1;
- }
- }
- }
- if( dialogid == 3 )
- {
- if ( response ) {
- if( listitem == 0 ) {
- if( Equipo[playerid] == TEAM_GROOVE ) {
- ResetPlayerWeapons( playerid );
- DropWeapons( playerid , 22 , 25 , 29 , 31 , 150 );
- }
- if( Equipo[playerid] == TEAM_BALLAS ) {
- ResetPlayerWeapons( playerid );
- DropWeapons( playerid , 24 , 25 , 32 , 30 , 150 );
- }
- if( Equipo[playerid] == TEAM_VAGOS ) {
- ResetPlayerWeapons( playerid );
- DropWeapons( playerid , 24 , 27 , 29 , 31 , 150 );
- }
- if( Equipo[playerid] == TEAM_AZTECAZ ) {
- ResetPlayerWeapons( playerid );
- DropWeapons( playerid , 23 , 37 , 29 , 34 , 150 );
- }
- }
- if( listitem == 1 )
- {
- if( PlayerInfo[playerid][pScore] >= 50 )
- {
- if( Equipo[playerid] == TEAM_GROOVE ) {
- ResetPlayerWeapons( playerid );
- DropWeapons( playerid , 22 , 25 , 29 , 31 , 300 );
- SetPlayerArmour( playerid , 20 );
- }
- if( Equipo[playerid] == TEAM_BALLAS ) {
- ResetPlayerWeapons( playerid );
- DropWeapons( playerid , 24 , 25 , 32 , 30 , 300 );
- SetPlayerArmour( playerid , 20 );
- }
- if( Equipo[playerid] == TEAM_VAGOS ) {
- ResetPlayerWeapons( playerid );
- DropWeapons( playerid , 24 , 27 , 29 , 31 , 300 );
- SetPlayerArmour( playerid , 20 );
- }
- if( Equipo[playerid] == TEAM_AZTECAZ ) {
- ResetPlayerWeapons( playerid );
- DropWeapons( playerid , 23 , 37 , 29 , 34 , 300 );
- SetPlayerArmour( playerid , 20 );
- }
- }
- }
- if( listitem == 2 )
- {
- if( PlayerInfo[playerid][pScore] >= 500 )
- {
- if( Equipo[playerid] == TEAM_GROOVE ) {
- ResetPlayerWeapons( playerid );
- DropWeapons( playerid , 22 , 25 , 29 , 31 , 500 );
- SetPlayerArmour( playerid , 100 );
- }
- if( Equipo[playerid] == TEAM_BALLAS ) {
- ResetPlayerWeapons( playerid );
- DropWeapons( playerid , 24 , 25 , 32 , 30 , 500 );
- SetPlayerArmour( playerid , 100 );
- }
- if( Equipo[playerid] == TEAM_VAGOS ) {
- ResetPlayerWeapons( playerid );
- DropWeapons( playerid , 24 , 27 , 29 , 31 , 500 );
- SetPlayerArmour( playerid , 100 );
- }
- if( Equipo[playerid] == TEAM_AZTECAZ ) {
- ResetPlayerWeapons( playerid );
- DropWeapons( playerid , 23 , 37 , 29 , 34 , 500 );
- SetPlayerArmour( playerid , 100 );
- }
- }
- }
- }
- }
- return 1;
- }
- public OnPlayerClickPlayer(playerid, clickedplayerid, source)
- {
- return 1;
- }
- CallBack: LoadUser_data(playerid,name[],value[])
- {
- INI_Int("Password",PlayerInfo[playerid][pPass]);
- INI_Int("Cash",PlayerInfo[playerid][pCash]);
- INI_Int("Admin",PlayerInfo[playerid][pAdmin]);
- INI_Int("Score",PlayerInfo[playerid][pScore]);
- INI_Int("Kills",PlayerInfo[playerid][pKills]);
- INI_Int("Deaths",PlayerInfo[playerid][pDeaths]);
- return 1;
- }
- CallBack: Esconder( playerid )
- {
- Seleccion[playerid] = 1;
- SpawnPlayer( playerid );
- SetCameraBehindPlayer( playerid );
- CancelSelectTextDraw(playerid);
- PlayerTextDrawHide( playerid , TextDrawInfo[playerid][Textdraw_a] );
- PlayerTextDrawHide( playerid , TextDrawInfo[playerid][Textdraw_b] );
- PlayerTextDrawHide( playerid , TextDrawInfo[playerid][Textdraw_c] );
- PlayerTextDrawHide( playerid , TextDrawInfo[playerid][Textdraw_d] );
- PlayerTextDrawHide( playerid , TextDrawInfo[playerid][Textdraw_e] );
- PlayerTextDrawHide( playerid , TextDrawInfo[playerid][Textdraw_f] );
- PlayerTextDrawHide( playerid , TextDrawInfo[playerid][Textdraw_g] );
- PlayerTextDrawHide( playerid , TextDrawInfo[playerid][Textdraw_h] );
- }
- CallBack: Mostrar(playerid)
- {
- if( Equipo[playerid] == TEAM_GROOVE )
- {
- PlayerTextDrawSetPreviewModel( playerid , TextDrawInfo[playerid][Textdraw_a], 105);
- PlayerTextDrawSetPreviewModel( playerid , TextDrawInfo[playerid][Textdraw_b], 106);
- PlayerTextDrawSetPreviewModel( playerid , TextDrawInfo[playerid][Textdraw_c], 107);
- }
- if( Equipo[playerid] == TEAM_BALLAS )
- {
- PlayerTextDrawSetPreviewModel( playerid , TextDrawInfo[playerid][Textdraw_a], 102);
- PlayerTextDrawSetPreviewModel( playerid , TextDrawInfo[playerid][Textdraw_b], 103);
- PlayerTextDrawSetPreviewModel( playerid , TextDrawInfo[playerid][Textdraw_c], 104);
- }
- if( Equipo[playerid] == TEAM_VAGOS )
- {
- PlayerTextDrawSetPreviewModel( playerid , TextDrawInfo[playerid][Textdraw_a], 108);
- PlayerTextDrawSetPreviewModel( playerid , TextDrawInfo[playerid][Textdraw_b], 109);
- PlayerTextDrawSetPreviewModel( playerid , TextDrawInfo[playerid][Textdraw_c], 110);
- }
- if( Equipo[playerid] == TEAM_AZTECAZ )
- {
- PlayerTextDrawSetPreviewModel( playerid , TextDrawInfo[playerid][Textdraw_a], 114);
- PlayerTextDrawSetPreviewModel( playerid , TextDrawInfo[playerid][Textdraw_b], 115);
- PlayerTextDrawSetPreviewModel( playerid , TextDrawInfo[playerid][Textdraw_c], 116);
- }
- SelectTextDraw( playerid , 0xFFFFFFAA );
- PlayerTextDrawSetSelectable( playerid , TextDrawInfo[playerid][Textdraw_a] , 1);
- PlayerTextDrawSetSelectable( playerid , TextDrawInfo[playerid][Textdraw_b] , 1);
- PlayerTextDrawSetSelectable( playerid , TextDrawInfo[playerid][Textdraw_c] , 1);
- PlayerTextDrawShow( playerid , TextDrawInfo[playerid][Textdraw_a] );
- PlayerTextDrawShow( playerid , TextDrawInfo[playerid][Textdraw_b] );
- PlayerTextDrawShow( playerid , TextDrawInfo[playerid][Textdraw_c] );
- return 1;
- }
- CallBack: DropMoney( playerid , Cantidad )
- {
- PlayerInfo[playerid][pCash] += Cantidad;
- ResetPlayerMoney( playerid );
- GivePlayerMoney( playerid , PlayerInfo[playerid][pCash] );
- return 1;
- }
- CallBack: DropScore( playerid , Cantidad )
- {
- PlayerInfo[playerid][pScore] += Cantidad;
- SetPlayerScore( playerid , PlayerInfo[playerid][pScore] );
- return 1;
- }
- CallBack: DropWeapons( playerid , weaponida, weaponidb, weaponidc, weaponidd, ammo )
- {
- GivePlayerWeapon( playerid , weaponida, ammo );
- GivePlayerWeapon( playerid , weaponidb, ammo );
- GivePlayerWeapon( playerid , weaponidc, ammo );
- GivePlayerWeapon( playerid , weaponidd, ammo );
- return 1;
- }
- CallBack: Informacion( playerid )
- {
- new strons[128];
- new zone[MAX_ZONE_NAME];
- GetPlayer3DZone(playerid , zone, MAX_ZONE_NAME);
- format( strons , sizeof strons ,
- "~r~Kills~w~: %d~n~~n~~g~Score~w~: %d~n~~n~~y~Nome~w~: %s~n~~n~~p~Ubicacion~w~: ~n~%s",
- PlayerInfo[playerid][pKills],
- PlayerInfo[playerid][pScore],
- Nome( playerid),
- zone
- );
- PlayerTextDrawSetString( playerid , TextDrawInfo[playerid][Textdraw_k] , strons );
- return 1;
- }
- CallBack: ZoneUpdate()
- {
- for(new z=0; z < MAX_ZONES; z++)
- {
- if(ZoneTakeOverTeam[z] == -1)
- {
- for(new t=0; t < MAX_TEAMS; t++)
- {
- if(t == ZoneInfo[z][z_team]) continue;
- if(GetMembersInZone(z, t) >= 3)
- {
- ZoneTakeOverTeam[z] = t;
- GangZoneFlashForAll(ZoneInfo[z][z_id], GetTeamColor(t));
- ZoneTakeOverTime[z] = 0;
- }
- }
- }
- else
- {
- if(GetMembersInZone(z, ZoneTakeOverTeam[z]) > 0)
- {
- ZoneTakeOverTime[z]++;
- if(ZoneTakeOverTime[z] >= 20)//20
- {
- GangZoneStopFlashForAll(ZoneInfo[z][z_id]);
- GangZoneShowForAll(ZoneInfo[z][z_id], GetTeamColor(ZoneTakeOverTeam[z]));
- ZoneInfo[z][z_team] = ZoneTakeOverTeam[z];
- for(new i=0; i<MAX_PLAYERS; i++)
- {
- if(IsPlayerConnected(i))
- {
- if(GetPlayerZone(i) == z && Equipo[i] == ZoneTakeOverTeam[z])
- {
- PlayerWinZone( i );
- }
- }
- }
- ZoneTakeOverTeam[z] = -1;
- ZoneTakeOverTime[z] = 0;
- }
- }
- else
- {
- ZoneTakeOverTeam[z] = -1;
- GangZoneStopFlashForAll(ZoneInfo[z][z_id]);
- ZoneTakeOverTime[z] = 0;
- }
- }
- }
- }
- CallBack: PlayerWinZone( playerid )
- {
- GameTextForPlayer( playerid , "_~n~_~n~_~n~_~g~~h~~h~Tem conquistado esta zona~n~~y~~h~ +3 Score~n~~p~~h~ $2300", 2000 , 6 );
- DropMoney( playerid , 2300 );
- DropScore( playerid , 3 );
- new str[128], txt[24] ,zone[MAX_ZONE_NAME];
- switch ( Equipo[playerid] )
- {
- case 1: txt = "~g~Groove";
- case 2: txt = "~p~Ballas";
- case 3: txt = "~y~Vagos";
- case 4: txt = "~b~~h~~h~Aztecas";
- }
- GetPlayer3DZone(playerid , zone, MAX_ZONE_NAME);
- format( str , sizeof str , "~w~Team %s ~w~dominaram uma zona para perto de ~y~%s",txt , zone);
- Anuncios( str );
- return 1;
- }
- CallBack: Anuncios( text[] ) {
- if (!InformationText[0]) {
- InformationText[0] = true;
- TextDrawSetString(TextdrawGlobal[1], text);
- TextDrawShowForAll(TextdrawGlobal[1]);
- SetTimerEx("LiberarEspacio", 8000, false, "d", 0);
- }
- else if (!InformationText[1]) {
- InformationText[1] = true;
- TextDrawSetString(TextdrawGlobal[2], text);
- TextDrawShowForAll(TextdrawGlobal[2]);
- SetTimerEx("LiberarEspacio", 8000, false, "d", 1);
- }
- else if (!InformationText[2]) {
- InformationText[2] = true;
- TextDrawSetString(TextdrawGlobal[3], text);
- TextDrawShowForAll(TextdrawGlobal[3]);
- SetTimerEx("LiberarEspacio", 8000, false, "d", 2);
- }
- else if (!InformationText[3]) {
- InformationText[3] = true;
- TextDrawSetString(TextdrawGlobal[0], text);
- TextDrawShowForAll(TextdrawGlobal[0]);
- SetTimerEx("LiberarEspacio", 8000, false, "d", 3);
- }
- return 1;
- }
- CallBack: LiberarEspacio(slot) {
- InformationText[slot] = false;
- switch(slot) {
- case 0: TextDrawHideForAll(TextdrawGlobal[1]);
- case 1: TextDrawHideForAll(TextdrawGlobal[2]);
- case 2: TextDrawHideForAll(TextdrawGlobal[3]);
- case 3: TextDrawHideForAll(TextdrawGlobal[0]);
- }
- return 1;
- }
- ////////////////////////////////////////////////////////////////////////////////
- /* stock´s */
- stock PlayerSkin( playerid , skinid )
- {
- PlayerInfo[playerid][pSkin] = skinid;
- SetPlayerSkin( playerid , skinid);
- return 1;
- }
- stock Sonido( playerid, sonido)
- {
- PlayerPlaySound(playerid, sonido, 0.0, 0.0, 0.0);
- return sonido;
- }
- stock Nome( targerid )
- {
- new Name[24];
- GetPlayerName( targerid , Name , 24 );
- return Name;
- }
- stock UserPath(playerid)
- {
- new string[128];
- format( string , sizeof string , Archivo , Nome(playerid));
- return string;
- }
- stock GetPlayer3DZone(playerid, zone[], len) //Credits to Cueball, Betamaster, Mabako, and Simon (for finetuning).
- {
- new Float:x, Float:y, Float:z;
- 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(zone, len, gSAZones[i][SAZONE_NAME], 0);
- }
- }
- return 0;
- }
- stock OnWeaponDropInit()
- {
- for(new i=0; i<MAX_PLAYERS; i++)
- {
- for(new a=0; a<14; a++)
- {
- WeaponDrop[i][a] = -1;
- WeaponData[i][a][0] = -1;
- WeaponData[i][a][1] = -1;
- }
- WeaponTimer[i] = -1;
- }
- return 1;
- }
- stock OnWeaponDropPickup(playerid, pickupid)
- {
- for(new i=0; i<MAX_PLAYERS; i++)
- {
- for(new a=0; a<13; a++)
- {
- if(WeaponDrop[i][a] == pickupid)
- {
- WeaponDrop[i][a] = -1;
- DestroyPickup(pickupid);
- GivePlayerWeapon(playerid, WeaponData[i][a][0], WeaponData[i][a][1]);
- WeaponData[i][a][0] = -1;
- WeaponData[i][a][1] = -1;
- }
- }
- if(WeaponDrop[i][13] == pickupid)
- {
- WeaponDrop[i][13] = -1;
- DestroyPickup(pickupid);
- GivePlayerMoney(playerid, WeaponData[i][13][0]);
- WeaponData[i][13][0] = -1;
- WeaponData[i][13][1] = -1;
- }
- }
- return 1;
- }
- stock OnWeaponDrop(playerid)
- {
- RemovePickups(playerid);
- new Float:x, Float:y, Float:z, dropped;
- GetPlayerPos(playerid,x,y,z);
- for(new i=0; i<13; i++)
- {
- new weapon, ammo;
- GetPlayerWeaponData(playerid, i, weapon, ammo);
- if((ammo > 0 || weapon == 1) && weapon != 0)
- {
- new model = GetModel(weapon);
- if(model != -1)
- {
- WeaponData[playerid][i][0] = weapon;
- WeaponData[playerid][i][1] = ammo;
- dropped++;
- }
- }
- }
- if(BagMoney != 0)
- {
- if(BagMoney == -1 && GetPlayerMoney(playerid) > 0)
- {
- WeaponData[playerid][13][0] = GetPlayerMoney(playerid);
- if(BagMode) GivePlayerMoney(playerid, -WeaponData[playerid][13][0]);
- WeaponDrop[playerid][13] = CreatePickup(1550, 1, x, y, z);
- if(dropped <= 0) dropped=1;
- }
- if(BagMoney > 0)
- {
- WeaponData[playerid][13][0] = BagMoney;
- if(BagMode) GivePlayerMoney(playerid, -WeaponData[playerid][13][0]);
- WeaponDrop[playerid][13] = CreatePickup(1550, 1, x, y, z);
- if(dropped <= 0) dropped=1;
- }
- }
- if(dropped > 0)
- {
- new radius;
- if(dropped < 3) radius = 1;
- if(dropped < 6) radius = 2; /*If you want another radius, change it here.*/
- if(dropped < 9) radius = 3;
- if(dropped > 8) radius = 4;
- new Float:degree, Float:tmp;
- degree = 360.0 / (float(dropped));
- tmp = degree;
- if(WeaponTimer[playerid] != -1) KillTimer(WeaponTimer[playerid]);
- WeaponTimer[playerid] = SetTimerEx("RemovePickups", WEAPON_RESPAWN_TIME*1000, 0, "d", playerid);
- for(new i=0; i<13; i++)
- {
- if((WeaponData[playerid][i][1] > 0 || WeaponData[playerid][i][0] == 1) && WeaponData[playerid][i][0] > 0)
- {
- new model = GetModel(WeaponData[playerid][i][0]);
- if(model != -1)
- {
- WeaponDrop[playerid][i] = CreatePickup(model, 1, x+(floatsin(degree, degrees)*radius), y+(floatcos(degree, degrees)*radius), z);
- degree = degree + tmp;
- }
- }
- }
- }
- return 1;
- }
- stock GetModel(weaponid)
- {
- for(new i=0; i<sizeof(ForbiddenWeapons); i++)
- {
- if(weaponid == ForbiddenWeapons[i])
- {
- return -1;
- }
- }
- switch(weaponid)
- {
- case 1: return 331;
- case 2: return 333;
- case 3: return 334;
- case 4: return 335;
- case 5: return 336;
- case 6: return 337;
- case 7: return 338;
- case 8: return 339;
- case 9: return 341;
- case 10: return 321;
- case 11: return 322;
- case 12: return 323;
- case 13: return 324;
- case 14: return 325;
- case 15: return 326;
- case 16: return 342;
- case 17: return 343;
- case 18: return 344;
- case 22: return 346;
- case 23: return 347;
- case 24: return 348;
- case 25: return 349;
- case 26: return 350;
- case 27: return 351;
- case 28: return 352;
- case 29: return 353;
- case 30: return 355;
- case 31: return 356;
- case 32: return 372;
- case 33: return 357;
- case 34: return 358;
- case 35: return 359;
- case 36: return 360;
- case 37: return 361;
- case 38: return 362;
- case 39: return 363;
- case 40: return 364;
- case 41: return 365;
- case 42: return 366;
- case 43: return 367;
- case 44: return 368;
- case 45: return 369;
- case 46: return 371;
- default: return -1;
- }
- return -1;
- }
- CallBack: RemovePickups(playerid)
- {
- if(WeaponTimer[playerid] != -1) KillTimer(WeaponTimer[playerid]);
- WeaponTimer[playerid] = -1;
- for(new a=0; a<14; a++)
- {
- if(WeaponDrop[playerid][a] != -1)
- {
- DestroyPickup(WeaponDrop[playerid][a]);
- WeaponDrop[playerid][a] = -1;
- WeaponData[playerid][a][0] = -1;
- WeaponData[playerid][a][1] = -1;
- }
- }
- return 1;
- }
- /*Credits to Dracoblue*/
- stock udb_hash(buf[]) {
- new length=strlen(buf);
- new s1 = 1;
- new s2 = 0;
- new n;
- for (n=0; n<length; n++)
- {
- s1 = (s1 + buf[n]) % 65521;
- s2 = (s2 + s1) % 65521;
- }
- return (s2 << 16) + s1;
- }
- stock SetPlayerPosEx(playerid, Float:x, Float:y, Float:z, Float:a)
- {
- SetPlayerPos(playerid, x, y, z);
- SetPlayerFacingAngle(playerid, a);
- return 1;
- }
- stock GetPlayerZone(playerid)
- {
- if(GetPlayerState(playerid) != PLAYER_STATE_WASTED)
- {
- new Float:px, Float:py, Float:pz;
- GetPlayerPos(playerid, px, py, pz);
- for(new i=0; i<MAX_ZONES; i++)
- {
- if(px > ZoneInfo[i][z_minx] && py > ZoneInfo[i][z_miny] && px < ZoneInfo[i][z_maxx] && py < ZoneInfo[i][z_maxy]) return i;
- }
- }
- return -1;
- }
- GetMembersInZone(zoneid, team)
- {
- new count = 0;
- new Float:px, Float:py, Float:pz;
- for(new i=0; i<MAX_PLAYERS; i++)
- {
- if(IsPlayerConnected(i))
- {
- if(GetPlayerState(i) != PLAYER_STATE_WASTED && Equipo[i] == team)
- {
- GetPlayerPos(i, px, py, pz);
- if(px > ZoneInfo[zoneid][z_minx] && py > ZoneInfo[zoneid][z_miny] && px < ZoneInfo[zoneid][z_maxx] && py < ZoneInfo[zoneid][z_maxy])
- {
- count++;
- }
- }
- }
- }
- return count;
- }
- GetTeamColor(team)
- {
- switch(team)
- {
- case TEAM_GROOVE : return COLOR_GROOVE;
- case TEAM_BALLAS : return COLOR_BALLAS;
- case TEAM_VAGOS : return COLOR_VAGOS;
- case TEAM_AZTECAZ: return COLOR_AZTECAZ;
- }
- return 0;
- }
- CMD:voy( playerid, params[])
- {
- SetPlayerPos( playerid, TeleportInfo[ 0 ][ EntraceX ], TeleportInfo[ 0 ][ EntraceY ], TeleportInfo[ 0 ][ EntraceZ ]);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement