rendered paste body/*------------------------------------------------------------------------------
---------------------------------------------------
- -
- Los Santos Freeroam 0.2 By Jasen [JA53N] -
- -
---------------------------------------------------
- Copyright © 2007 JA53N
- Type - Gamemode
- Version 0.2
- Contact at jasen52@gmail.com
------------------------------------------------------------------------------*/
#define PP_ADLER32
#include <a_samp>
#include <core>
#include <float>
#include <a_objects>
#include <a_players>
#include <a_vehicles>
#include <datagram>
#include <file>
#include <string>
#include <time>
#include <YSI>
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x33AA33AA
#define COLOR_RED 0xAA3333AA
#define COLOR_LIGHTRED 0xFF0000AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_BLUE 0x0000BBAA
#define COLOR_LIGHTBLUE 0x33CCFFAA
#define COLOR_ORANGE 0xFF9900AA
#define RC_BANDIT 441
#define RC_BARON 464
#define RC_GOBLIN 501
#define RC_RAIDER 465
#define D_TRAM 449
#define RC_TANK 564
#define RC_CAM 594
#define PocketMoney 3000
main()
{
print("\n----------------------------------");
print(" Los Santos Freeroam ~0.2");
print(" BY ");
print(" JASEN[JA53N]");
print("----------------------------------\n");
}
forward MoneyGrubScoreUpdate();
forward ycmd_kill(playerid, params[], help);
forward LoginDat_YSI_LVDM_LG(playerid, identifier[], text[]);
forward DestroyTextTimer();
forward SetPlayerRandomSpawn(playerid);
forward SetPlayerRandomSpawnRC(playerid);
forward TimeUpdate();
forward WeatherUpdate();
forward PlayerLeaveGang(playerid);
forward SendPlayerFormattedTextg(playerid, const str[], define);
forward SendPlayerFormattedText(playerid, const str[], define);
new CashScoreOld;
new iSpawnSet[MAX_PLAYERS];
new iSpawnSetRC[MAX_PLAYERS];
new bounty[MAX_PLAYERS];
new worldTime;
new racetest;
new Fastlane;
new pickuptele[MAX_PLAYERS] = 0;
new pdgate;
new libin;
new playercolours[100] = {
0xFF8C13FF,0xC715FFFF,0x20B2AAFF,0xDC143CFF,0x6495EDFF,0xf0e68cFF,0x778899FF,0xFF1493FF,0xF4A460FF,0xEE82EEFF,0xFFD720FF,
0x8b4513FF,0x4949A0FF,0x148b8bFF,0x14ff7fFF,0x556b2fFF,0x0FD9FAFF,0x10DC29FF,0x534081FF,0x0495CDFF,0xEF6CE8FF,0xBD34DAFF,
0x247C1BFF,0x0C8E5DFF,0x635B03FF,0xCB7ED3FF,0x65ADEBFF,0x5C1ACCFF,0xF2F853FF,0x11F891FF,0x7B39AAFF,0x53EB10FF,0x54137DFF,
0x275222FF,0xF09F5BFF,0x3D0A4FFF,0x22F767FF,0xD63034FF,0x9A6980FF,0xDFB935FF,0x3793FAFF,0x90239DFF,0xE9AB2FFF,0xAF2FF3FF,
0x057F94FF,0xB98519FF,0x388EEAFF,0x028151FF,0xA55043FF,0x0DE018FF,0x93AB1CFF,0x95BAF0FF,0x369976FF,0x18F71FFF,0x4B8987FF,
0x491B9EFF,0x829DC7FF,0xBCE635FF,0xCEA6DFFF,0x20D4ADFF,0x2D74FDFF,0x3C1C0DFF,0x12D6D4FF,0x48C000FF,0x2A51E2FF,0xE3AC12FF,
0xFC42A8FF,0x2FC827FF,0x1A30BFFF,0xB740C2FF,0x42ACF5FF,0x2FD9DEFF,0xFAFB71FF,0x05D1CDFF,0xC471BDFF,0x94436EFF,0xC1F7ECFF,
0xCE79EEFF,0xBD1EF2FF,0x93B7E4FF,0x3214AAFF,0x184D3BFF,0xAE4B99FF,0x7E49D7FF,0x4C436EFF,0xFA24CCFF,0xCE76BEFF,0xA04E0AFF,
0x9F945CFF,0xDCDE3DFF,0x10C9C5FF,0x70524DFF,0x0BE472FF,0x8A2CD7FF,0x6152C2FF,0xCF72A9FF,0xE59338FF,0xEEDC2DFF,0xD8C762FF,
0x3FE65CFF
};
#define MAX_GANGS 32
#define MAX_GANG_MEMBERS 6
#define MAX_GANG_NAME 16
new gangMembers[MAX_GANGS][MAX_GANG_MEMBERS];
new gangNames[MAX_GANGS][MAX_GANG_NAME];
new gangInfo[MAX_GANGS][3]; //0-created,1-members,2-colour
new gangBank[MAX_GANGS];
new playerGang[MAX_PLAYERS];
new gangInvite[MAX_PLAYERS];
new Float:gRandomPlayerSpawns[37][3] = {
{2805.0862,-1180.9579,25.4536},
{2530.4785,-1063.5999,69.5695},
{2042.9279,-1013.6509,39.7422},
{1497.0605,-689.1375,95.1092},
{1255.1125,-803.2986,84.1406},
{829.4501,-858.8712,70.1248},
{699.3003,-1059.2599,49.4217},
{299.0901,-1155.5858,80.9099},
{315.2544,-1772.5730,4.6776},
{333.3540,-1519.2587,35.8672},
{763.0789,-1564.3256,13.5536},
{986.0850,-1095.0150,27.6041},
{1109.6948,-972.4279,42.7656},
{1438.9014,-927.2687,39.6406},
{1656.6252,-1076.3080,23.8984},
{1956.1605,-1116.0430,27.8305},
{2224.1555,-1240.3496,25.1478},
{2338.8757,-1289.3113,27.9766},
{2436.4819,-1303.6724,24.6679},
{2450.9358,-1493.6650,24.0000},
{2519.8420,-1678.7356,14.8524},
{2507.6228,-2019.1085,13.5469},
{1957.7228,-2183.6519,13.5469},
{1857.9117,-2042.3588,13.5469},
{1734.1467,-2099.2144,13.8666},
{2511.4326,-2589.3069,13.6443},
{2785.9890,-2417.7148,13.6341},
{2261.2937,-1930.7488,12.8935},
{2105.2878,-1913.1111,13.3828},
{1833.2399,-1681.1813,13.4816},
{1665.9006,-1559.9375,13.5469},
{1125.5248,-1372.0935,13.9844},
{1289.0425,-1134.7928,23.8281},
{2842.1575,-1335.5879,14.7421},
{2767.4480,-1610.6735,10.9219},
{2753.1375,-1308.9150,53.0938},
{2789.2317,-2494.3286,13.6485}
};
new Float:gCopPlayerSpawns[2][3] = {
{1579.9010, -1636.5945, 13.5587},
{1525.2365, -1678.0016, 5.8906}
};
new Float:gRCPlayerSpawns[6][3] = {
{-1130.0795, 1029.1222, 1349.1802},
{-974.4329, 1089.7754, 1348.4375},
{-1131.8273, 1049.3777, 1345.7482},
{-972.7863, 1069.9608, 1345.0060},
{-1132.2308, 1062.6487, 1345.7610},
{-973.7194, 1056.5718, 1345.0155}
};
public ycmd_kill(playerid, params[], help)
{
if (!help) SetPlayerHealth(playerid, 0.0);
return 1;
}
public PlayerLeaveGang(playerid) {
new string[256];
new playername[MAX_PLAYER_NAME];
new gangnum = playerGang[playerid];
if(gangnum > 0) {
for(new i = 0; i < gangInfo[gangnum][1]; i++) {
if(gangMembers[gangnum][i]==playerid) {
//One less gang member
gangInfo[gangnum][1]--;
for(new j = i; j < gangInfo[gangnum][1]; j++) {
//Shift gang members
gangMembers[gangnum][j]=gangMembers[gangnum][j+1];
}
//Disband gang if no more members
if(gangInfo[gangnum][1]<1) {
gangInfo[gangnum][0]=0;
gangInfo[gangnum][1]=0;
gangBank[gangnum]=0;
}
//Notify other members
for(new j = 0; j < gangInfo[gangnum][1]; j++) {
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string),"%s has quit your gang.", playername);
SendClientMessage(gangMembers[gangnum][j], COLOR_ORANGE, string);
}
format(string, sizeof(string),"You have quit the gang '%s' (id: %d)", gangNames[gangnum], gangnum);
SendClientMessage(playerid, COLOR_ORANGE, string);
playerGang[playerid]=0;
SetPlayerColor(playerid,playercolours[playerid]);
return;
}
}
} else {
SendClientMessage(playerid, COLOR_RED, "You are not in a gang.");
}
}
//------------------------------------------------------------------------------
public TimeUpdate() {
worldTime++;
worldTime%=24;
SetWorldTime(worldTime);
}
//------------------------------------------------------------------------------
public WeatherUpdate() {
new rand = random(10);
SetWeather(rand);
}
//------------------------------------------------------------------------------
public MoneyGrubScoreUpdate()
{
new CashScore;
new name[MAX_PLAYER_NAME];
//new string[256];
for(new i=0; i<MAX_PLAYERS; i++)
{
if (IsPlayerConnected(i))
{
GetPlayerName(i, name, sizeof(name));
CashScore = GetPlayerMoney(i);
SetPlayerScore(i, CashScore);
if (CashScore > CashScoreOld)
{
CashScoreOld = CashScore;
}
}
}
}
//------------------------------------------------------------------------------
Script_OnGameModeInit()
{
SetGameModeText("Los Santos Freeroam v0.2");
ShowPlayerMarkers(1);
ShowNameTags(1);
UsePlayerPedAnims();
EnableTirePopping(1);
AllowInteriorWeapons(1);
//DisableInteriorEnterExits();
//SetNameTagDrawDistance(10.0);
EnableStuntBonusForAll(1);
ycmd(kill);
Langs_AddLanguage("EN", "English");
Langs_AddLanguage("NL", "Nederlands");
Langs_AddLanguage("FR", "Français");
Langs_AddLanguage("DE", "Deutsch");
Langs_AddFile("core", "YSI");
CreateBank(-22.2549, -55.6575, 1003.5469); // 24-7 bank
CreateBank(-23.0664, -90.0882, 1003.5469); // 24-7 bank 2
CreateBank(-33.9593, -29.0792, 1003.5573); // 24-7 bank 3
new AreaPirate = Area_AddBox(1995.5, 1518.0, 2006.0, 1569.0); // LV Pirate ship
CreateMoneyArea(AreaPirate, 200, 5000);
new AreaSky = Area_AddBox(1526.1332, -1370.5281, 1558.4066, -1346.3019); // LS SkyScarper
CreateMoneyArea(AreaSky, 200, 5000);
new AreaZombot = Area_AddBox(-2020.2151, 593.7877, -1882.4504, 745.5773); // SF Zombotech
CreateMoneyArea(AreaZombot, 200, 5000);
new AreaMotel = Area_AddBox(2057.90, 2147.35, 2107.26, 2196.20); // LV Motel
CreateMoneyArea(AreaMotel, 200, 5000);
CreateAmmunation(291.0004, -84.5168, 1001.5156, 1, 1,
WEAPON_SHOTGUN, 100, 2500,
WEAPON_SHOTGSPA, 120, 5000,
WEAPON_UZI, 400, 7000,
WEAPON_TEC9, 400, 6000,
WEAPON_MP5, 400, 6500,
WEAPON_AK47, 700, 10000,
WEAPON_M4, 700, 13000,
WEAPON_SAWEDOFF, 200, 6000,
WEAPON_ARMOUR, 1, 50000
);
CreateAmmunation(291.1157, -39.9011, 1001.5156, 1, 1,
WEAPON_SHOTGUN, 100, 2500,
WEAPON_SHOTGSPA, 120, 5000,
WEAPON_UZI, 400, 7000,
WEAPON_TEC9, 400, 6000,
WEAPON_MP5, 400, 6500,
WEAPON_AK47, 700, 10000,
WEAPON_M4, 700, 13000,
WEAPON_SAWEDOFF, 200, 6000,
WEAPON_ARMOUR, 1, 50000
);
CreateProperty("Caligula's Casino", 2235.5408, 1679.0402, 1008.3594, 100000, 10000);
CreateProperty("4 Dragons Casino", 1989.0619, 1005.5241, 994.4688, 80000, 8000 );
CreateProperty("The Visage", 2022.5179, 1916.6848, 12.3397, 75000, 7500 );
CreateProperty("Emerald Isle", 2127.5940, 2370.4255, 10.8203, 60000, 6000 );
CreateProperty("Sex Shop", -103.5525, -22.4661, 1000.7188, 25000, 2500 );
CreateProperty("Shithole Bar", 501.4927, -75.4323, 998.7578, 30000, 3000 );
CreateProperty("Zip", 161.1875, -79.9915, 1001.8047, 20000, 2000 );
CreateProperty("Binco", 207.5640, -97.8188, 1005.2578, 25000, 2500 );
CreateProperty("Victim", 210.3724, -8.1825, 1005.2109, 25000, 2500 );
CreateProperty("DidierSachs", 204.0677, -157.7979, 1000.5234, 30000, 3000 );
CreateProperty("Urban", 203.8557, -40.4717, 1001.8047, 10000, 1000 );
CreateProperty("Tatoo Parlour", -201.5237, -26.2863, 1002.2734, 10000, 1000 );
CreateProperty("Barbers", 418.5547, -80.1667, 1001.8047, 10000, 1000 );
CreateProperty("Inside Track", 823.1849, 3.0067, 1004.1797, 10000, 1000 );
CreateProperty("Motel", 2216.9026, -1146.9421, 1025.7969, 20000, 2000 );
CreateProperty("Museum", 1722.0383, -1652.1132, 20.0625, 40000, 4000 );
CreateProperty("Jizzy's", -2650.8259, 1410.2885, 906.2734, 30000, 3000 );
CreateProperty("Zero RC", -2233.7097, 133.7087, 1035.4210, 15000, 1500 );
CreateProperty("Otto's Auto", -1657.8334, 1207.3041, 7.2500, 30000, 3000 );
CreateProperty("Wang's Cars", -1957.3124, 302.8924, 35.4688, 50000, 5000 );
CreateProperty("Cobra Marital Arts",768.2014, -36.9461, 1000.6865, 25000, 2500 );
CreateProperty("The Sherman Dam", -955.5327, 1948.5414, 9.0000, 45000, 4500 );
CreateProperty("Hair Studio", 411.9587, -17.9706, 1001.8047, 15000, 1500 );
CreateProperty("Alhambra", 500.7049, -13.3777, 1000.6797, 35000, 3500 );
new svehicle[15];
new rcvehicle[7];
// Interior Vehicles
rcvehicle[1] = AddStaticVehicle(441,-1130.5984,1057.6873,1345.5332,271.9754,79,42); // car
rcvehicle[2] = AddStaticVehicle(441,-974.6420,1061.0623,1344.7937,89.2727,67,86); // car
rcvehicle[3] = AddStaticVehicle(564,-974.6385,1089.6849,1344.1459,87.8237,0,0); // tank
rcvehicle[4] = AddStaticVehicle(564,-1131.9742,1029.3104,1344.9011,270.0776,0,0); // tank
rcvehicle[5] = AddStaticVehicle(465,-973.7269,1077.1667,1344.5204,94.9497,14,75); // copper
rcvehicle[6] = AddStaticVehicle(501,-1131.7607,1041.9950,1345.3804,270.8329,14,75); // copper
svehicle[1] = AddStaticVehicle(504,-1405.7095,-250.3539,1043.3439,346.8589,45,29); // 8 Track
svehicle[2] = AddStaticVehicle(504,-1400.6729,-251.3275,1043.3286,349.1358,34,9); // 8 Track2
svehicle[3] = AddStaticVehicle(522,-1434.3691,1612.9963,1052.1069,133.6629,3,3); // kickstart
svehicle[4] = AddStaticVehicle(522,-1433.5319,1623.1156,1052.1039,35.0682,3,8); // kickstart2
svehicle[5] = AddStaticVehicle(481,-1432.6555,1617.8323,1052.0470,92.3824,3,3); // kickstart3
svehicle[6] = AddStaticVehicle(494,-1413.6984,961.7424,1025.0435,271.6057,36,13); // Blood Bowl
svehicle[7] = AddStaticVehicle(494,-1413.6713,970.6685,1024.1975,268.9241,42,30); // Blood Bowl2
svehicle[8] = AddStaticVehicle(494,-1413.9547,965.9675,1024.6420,271.9733,42,33); // Blood Bowl3
svehicle[9] = AddStaticVehicle(468,-1425.0809,-660.7905,1059.5729,91.5328,46,46); // dirtbike
svehicle[10] = AddStaticVehicle(468,-1425.1791,-667.3725,1059.5349,93.0519,53,53); // dirtbike2
svehicle[11] = AddStaticVehicle(468,-1424.2489,-663.4770,1059.4762,87.2683,3,3); // dirtbike3
svehicle[12] = AddStaticVehicle(494,-1386.0509,1303.4363,1028.0032,253.9981,54,36); // Vice
svehicle[13] = AddStaticVehicle(494,-1388.8517,1293.2479,1028.0736,259.1395,75,79); // Vice2
svehicle[14] = AddStaticVehicle(494,-1388.2559,1299.0170,1027.8958,254.9286,92,101); // Vice3
LinkVehicleToInterior(rcvehicle[1],10);
LinkVehicleToInterior(rcvehicle[2],10);
LinkVehicleToInterior(rcvehicle[3],10);
LinkVehicleToInterior(rcvehicle[4],10);
LinkVehicleToInterior(rcvehicle[5],10);
LinkVehicleToInterior(rcvehicle[6],10);
LinkVehicleToInterior(svehicle[1],7);
LinkVehicleToInterior(svehicle[2],7);
LinkVehicleToInterior(svehicle[3],14);
LinkVehicleToInterior(svehicle[4],14);
LinkVehicleToInterior(svehicle[5],14);
LinkVehicleToInterior(svehicle[6],15);
LinkVehicleToInterior(svehicle[7],15);
LinkVehicleToInterior(svehicle[8],15);
LinkVehicleToInterior(svehicle[9],4);
LinkVehicleToInterior(svehicle[10],4);
LinkVehicleToInterior(svehicle[11],4);
LinkVehicleToInterior(svehicle[12],16);
LinkVehicleToInterior(svehicle[13],16);
LinkVehicleToInterior(svehicle[14],16);
// Vehicles With Number Plates
{
new tmpVehicleID;
tmpVehicleID = AddStaticVehicle(411,1569.5225,-1475.3027,13.2777,89.0421,64,1); // infernus
SetVehicleNumberPlate( tmpVehicleID, "JA53N-52" );
SetVehicleToRespawn( tmpVehicleID );
}
{
new tmpVehicleID;
tmpVehicleID = AddStaticVehicle(451,2599.5623,-1485.4296,16.2357,174.9098,75,75); // trismo
SetVehicleNumberPlate( tmpVehicleID, "Liberty" );
SetVehicleToRespawn( tmpVehicleID );
}
//Player Class's
AddPlayerClass(280,1958.3783,1343.1572,15.3746,270.1425,0,0,24,300,-1,-1);
AddPlayerClass(281,1958.3783,1343.1572,15.3746,270.1425,0,0,24,300,-1,-1);
AddPlayerClass(282,1958.3783,1343.1572,15.3746,270.1425,0,0,24,300,-1,-1);
AddPlayerClass(283,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(285,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(286,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(287,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(254,1958.3783,1343.1572,15.3746,0.0,0,0,24,300,-1,-1);
AddPlayerClass(255,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(256,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(257,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(258,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(259,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(260,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(261,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(262,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(263,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(264,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(274,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(275,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(276,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(1,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(2,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(290,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(291,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(292,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(293,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(294,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(295,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(296,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(297,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(298,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(299,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(277,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(278,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(279,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(288,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(47,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(48,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(49,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(50,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(51,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(52,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(53,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(54,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(55,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(56,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(57,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(58,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(59,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(60,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(61,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(62,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(63,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(64,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(66,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(67,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(68,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(69,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(70,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(71,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(72,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(73,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(75,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(76,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(78,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(79,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(80,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(81,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(82,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(83,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(84,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(85,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(87,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(88,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(89,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(91,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(92,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(93,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(95,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(96,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(97,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(98,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(99,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(100,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(101,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(102,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(103,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(104,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(105,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(106,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(107,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(108,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(109,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(110,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(111,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(112,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(113,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(114,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(115,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(116,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(117,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(118,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(120,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(121,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(122,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(123,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(124,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(125,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(126,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(127,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(128,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(129,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(131,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(133,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(134,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(135,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(136,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(137,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(138,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(139,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(140,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(141,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(142,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(143,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(144,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(145,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(146,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(147,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(148,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(150,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(151,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(152,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(153,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(154,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(155,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(156,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(157,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(158,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(159,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(160,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(161,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(162,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(163,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(164,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(165,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(166,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(167,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(168,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(169,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(170,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(171,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(172,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(173,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(174,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(175,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(176,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(177,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(178,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(179,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(180,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(181,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(182,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(183,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(184,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(185,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(186,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(187,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(188,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(189,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(190,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(191,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(192,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(193,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(194,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(195,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(196,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(197,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(198,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(199,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(200,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(201,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(202,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(203,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(204,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(205,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(206,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(207,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(209,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(210,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(211,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(212,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(213,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(214,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(215,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(216,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(217,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(218,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(219,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(220,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(221,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(222,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(223,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(224,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(225,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(226,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(227,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(228,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(229,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(230,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(231,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(232,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(233,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(234,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(235,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(236,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(237,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(238,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(239,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(240,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(241,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(242,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(243,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(244,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(245,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(246,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(247,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(248,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(249,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(250,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(251,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(253,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(0,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
// Car Spawns
AddStaticVehicle(567,2508.2312,-1666.4536,13.1796,11.6929,-1,-1);
AddStaticVehicle(534,2473.1646,-1697.4138,13.2988,1.1746,-1,-1);
AddStaticVehicle(482,2297.2532,-1633.3859,14.4298,269.4626,-1,-1);
AddStaticVehicle(507,2158.4851,-1808.1165,13.4877,359.4795,-1,-1);
AddStaticVehicle(562,2119.6868,-1782.6039,13.2567,179.7940,-1,-1);
AddStaticVehicle(411,2069.0737,-1881.9088,13.1172,269.2706,-1,-1);
AddStaticVehicle(603,2529.3069,-2003.3335,13.0598,133.2911,-1,-1);
AddStaticVehicle(507,2498.8933,-1953.5988,13.3193,359.7628,-1,-1);
AddStaticVehicle(439,2728.9031,-1935.3430,13.2556,90.0094,-1,-1);
AddStaticVehicle(560,2854.1719,-1909.5021,10.5896,179.5905,-1,-1);
AddStaticVehicle(477,2822.0244,-1553.3268,10.6042,89.4986,-1,-1);
AddStaticVehicle(549,2742.9841,-1463.0424,30.2372,359.1269,-1,-1);
AddStaticVehicle(475,2791.5891,-1284.7643,42.8108,178.8319,-1,-1);
AddStaticVehicle(522,2806.3848,-1186.9303,25.0279,307.7415,-1,-1);
AddStaticVehicle(451,2752.6775,-1177.2931,69.2420,89.6505,-1,-1);
AddStaticVehicle(534,2322.5037,-1159.1552,26.7191,266.7604,-1,-1);
AddStaticVehicle(567,2506.4182,-1287.6383,34.5474,178.1351,-1,-1);
AddStaticVehicle(558,2432.1082,-1224.7516,24.8794,356.5074,-1,-1);
AddStaticVehicle(480,2391.1511,-1497.3237,23.6727,89.4172,-1,-1);
AddStaticVehicle(533,2489.6265,-1558.6204,23.5562,359.5309,-1,-1);
AddStaticVehicle(470,2473.1877,-1545.3008,23.4819,181.2033,-1,-1);
AddStaticVehicle(404,2106.5850,-1364.1143,23.8393,0.3906,-1,-1);
AddStaticVehicle(580,2229.1389,-1363.6033,23.8190,89.8660,-1,-1);
AddStaticVehicle(415,2235.8062,-1262.7324,23.4519,285.3175,-1,-1);
AddStaticVehicle(542,2148.6777,-1138.4310,25.2664,270.0773,-1,-1);
AddStaticVehicle(487,2148.7661,-1199.0145,23.4831,89.3399,-1,-1);//maverick chopper
AddStaticVehicle(496,2031.4387,-1141.1813,24.3093,269.8185,-1,-1);
AddStaticVehicle(445,1803.7166,-1931.8333,13.1109,359.8419,-1,-1);
AddStaticVehicle(555,1779.4896,-1887.1788,13.2558,268.6338,-1,-1);
AddStaticVehicle(535,1904.1558,-2047.0872,13.2997,90.4966,-1,-1);
AddStaticVehicle(559,2757.5005,-2388.5466,13.6266,179.3206,-1,-1);
AddStaticVehicle(579,2763.6816,-2510.6714,13.6339,0.0716,-1,-1);
AddStaticVehicle(587,2488.0601,-2242.5610,13.4219,358.8076,-1,-1);
AddStaticVehicle(491,2192.6189,-2247.0283,13.2067,222.6344,-1,-1);
AddStaticVehicle(534,1981.1094,-1985.5371,13.2902,359.5516,-1,-1);
AddStaticVehicle(405,1924.2258,-2122.6487,13.3471,359.0740,-1,-1);
AddStaticVehicle(487,1972.9603,-2345.6387,13.7229,49.2012,-1,-1);//maverick chopper
AddStaticVehicle(487,1974.8606,-2312.5300,13.7203,47.3370,-1,-1);//maverick chopper
AddStaticVehicle(593,1960.2064,-2647.5012,14.0086,0.6559,-1,-1);//dodo plane
AddStaticVehicle(519,1468.4178,-2436.6125,13.1128,244.4017,-1,-1);//shamal plane
AddStaticVehicle(489,2657.2908,-1691.8491,9.0838,269.6595,-1,-1);
AddStaticVehicle(585,1731.0698,-1008.6317,23.6590,347.0643,-1,-1);
AddStaticVehicle(565,1713.7269,-1069.0457,23.5859,179.0714,-1,-1);
AddStaticVehicle(602,1947.5813,-1376.5216,18.0939,57.1534,-1,-1);
AddStaticVehicle(541,1974.1716,-1448.2616,13.0208,54.7374,-1,-1);
AddStaticVehicle(402,1623.8126,-1858.7850,13.3271,180.6303,-1,-1);
AddStaticVehicle(482,1646.7180,-1597.9443,13.1843,269.8346,-1,-1);
AddStaticVehicle(596,1535.9027,-1673.6801,13.1024,0.9604,-1,-1);//cop car
AddStaticVehicle(596,1585.8513,-1667.6764,5.6129,270.8032,-1,-1);//cop car
AddStaticVehicle(507,1460.4645,-1506.9532,13.4812,87.2633,-1,-1);
AddStaticVehicle(562,1333.5404,-1081.1383,24.8731,269.0622,-1,-1);
AddStaticVehicle(411,1065.3420,-1221.7240,16.5594,0.1669,-1,-1);
AddStaticVehicle(555,1146.9253,-1313.1802,14.0365,0.3839,-1,-1);
AddStaticVehicle(400,867.5660,-1282.5898,14.8665,0.5736,-1,-1);
AddStaticVehicle(603,840.1666,-1391.3821,13.2792,92.0202,-1,-1);
AddStaticVehicle(507,1450.4374,-930.1359,36.6003,173.5922,-1,-1);
AddStaticVehicle(487,1291.1396,-787.5708,96.6350,179.5610,-1,-1);//maverick chopper
AddStaticVehicle(439,1351.2683,-621.1136,108.9058,19.9575,-1,-1);
AddStaticVehicle(560,1363.1368,-1354.7874,13.2996,357.4546,-1,-1);
AddStaticVehicle(477,685.3112,-1072.3215,49.2644,60.1660,-1,-1);
AddStaticVehicle(549,283.8333,-1161.1090,80.7880,223.3897,-1,-1);
AddStaticVehicle(475,405.2888,-1262.5371,50.5532,22.5417,-1,-1);
AddStaticVehicle(506,782.5436,-1633.8582,13.1803,269.1530,-1,-1);
AddStaticVehicle(451,1357.6841,-1748.9628,13.0077,89.7186,-1,-1);
AddStaticVehicle(420,974.6000,-1106.2140,23.4440,56.1713,-1,-1);//car taxi
AddStaticVehicle(480,660.3052,-1678.1238,14.1770,266.8718,-1,-1);
AddStaticVehicle(533,1034.0940,-2042.7858,12.8263,167.7733,-1,-1);
AddStaticVehicle(470,331.0582,-1883.9817,1.5477,134.3129,-1,-1);
AddStaticVehicle(580,441.8103,-1303.0439,14.7358,245.0446,-1,-1);
AddStaticVehicle(415,1246.0278,-2011.6395,59.6959,0.9539,-1,-1);
AddStaticVehicle(542,1276.6846,-2010.6200,58.6758,178.7380,-1,-1);
AddStaticVehicle(496,1271.2167,-2042.6799,59.0398,1.4495,-1,-1);
AddStaticVehicle(522,545.3229,-1477.2467,14.4734,1.8863,-1,-1);
AddStaticVehicle(555,1240.9360,-1566.8942,13.3638,87.8000,-1,-1);
AddStaticVehicle(535,582.2130,-1885.4453,3.8559,220.5502,-1,-1);
AddStaticVehicle(559,362.5190,-1641.1151,32.5754,83.0536,-1,-1);
AddStaticVehicle(579,2088.4944,-2089.7324,14.1534,180.1658,-1,-1);
AddStaticVehicle(587,166.3514,-1341.6031,69.3802,178.2354,-1,-1);
AddStaticVehicle(491,797.0284,-843.6050,60.4141,191.0260,-1,-1);
AddStaticVehicle(550,133.5142,-1489.0701,18.4300,58.3215,-1,-1);
AddStaticVehicle(523,1560.7695,-1694.4358,5.6122,32.7235,-1,-1);//cop bike
AddStaticVehicle(523,1563.5020,-1694.8240,5.4627,21.6809,-1,-1);//cop bike
AddStaticVehicle(420,1713.9504,-2323.2983,12.9492,273.7584,-1,-1);//car taxi
AddStaticVehicle(565,2489.3066,-2605.5688,13.3711,0.4802,-1,-1);
AddStaticVehicle(596,1570.5022,-1710.5771,5.6091,179.8262,-1,-1);//cop car
//Car Spawns Las Venturas
AddStaticVehicle(567,2040.0520,1319.2799,10.3779,183.2439,-1,-1);
AddStaticVehicle(558,2040.5247,1359.2783,10.3516,177.1306,-1,-1);
AddStaticVehicle(602,2110.4102,1398.3672,10.7552,359.5964,-1,-1);
AddStaticVehicle(541,2075.6038,1666.9750,10.4252,359.7507,-1,-1);
AddStaticVehicle(402,2119.5845,1938.5969,10.2967,181.9064,-1,-1);
AddStaticVehicle(482,1944.1003,1344.7717,8.9411,0.8168,-1,-1);
AddStaticVehicle(562,2172.1682,1988.8643,10.5474,89.9151,-1,-1);
AddStaticVehicle(411,2245.5759,2042.4166,10.5000,270.7350,-1,-1);
AddStaticVehicle(400,2361.1538,1993.9761,10.4260,178.3929,-1,-1);
AddStaticVehicle(603,2221.9946,1998.7787,9.6815,92.6188,-1,-1);
AddStaticVehicle(507,2602.7769,1853.0667,10.5468,91.4813,-1,-1);
AddStaticVehicle(439,2610.7600,1694.2588,10.6585,89.3303,-1,-1);
AddStaticVehicle(560,2635.2419,1075.7726,10.5472,89.9571,-1,-1);
AddStaticVehicle(477,2394.1021,989.4888,10.4806,89.5080,-1,-1);
AddStaticVehicle(411,2039.1257,1545.0879,10.3481,359.6690,-1,-1);
AddStaticVehicle(475,2009.8782,2411.7524,10.5828,178.9618,-1,-1);
AddStaticVehicle(506,2076.4033,2468.7947,10.5923,359.9186,-1,-1);
AddStaticVehicle(451,1919.5863,2760.7595,10.5079,100.0753,-1,-1);
AddStaticVehicle(415,1673.8038,2693.8044,10.5912,359.7903,-1,-1);
AddStaticVehicle(480,1591.0482,2746.3982,10.6519,172.5125,-1,-1);
AddStaticVehicle(533,1455.9305,2878.5288,10.5837,181.0987,-1,-1);
AddStaticVehicle(470,1537.8425,2578.0525,10.5662,0.0650,-1,-1);
AddStaticVehicle(404,1433.1594,2607.3762,10.3781,88.0013,-1,-1);
AddStaticVehicle(580,2223.5898,1288.1464,10.5104,182.0297,-1,-1);
AddStaticVehicle(415,2461.8162,1629.2268,10.4496,181.4625,-1,-1);
AddStaticVehicle(542,2395.7554,1658.9591,10.5740,359.7374,-1,-1);
AddStaticVehicle(496,1553.3696,1020.2884,10.5532,270.6825,-1,-1);
AddStaticVehicle(445,1383.4630,1035.0420,10.9131,91.2515,-1,-1);
AddStaticVehicle(555,1445.4526,974.2831,10.5534,1.6213,-1,-1);
AddStaticVehicle(535,1658.5463,1028.5432,10.5533,359.8419,-1,-1);
AddStaticVehicle(559,1383.6959,1042.2114,10.4121,85.7269,-1,-1);
AddStaticVehicle(579,1064.2332,1215.4158,10.4157,177.2942,-1,-1);
AddStaticVehicle(522,1111.4536,1788.3893,10.4158,92.4627,-1,-1);
AddStaticVehicle(550,1439.5662,1999.9822,10.5843,0.4194,-1,-1);
AddStaticVehicle(405,2156.3540,2188.6572,10.2414,22.6504,-1,-1);
AddStaticVehicle(598,2256.2891,2458.5110,10.5680,358.7335,-1,-1);//cop car
AddStaticVehicle(598,2251.6921,2477.0205,10.5671,179.5244,-1,-1);//cop car
AddStaticVehicle(523,2290.7268,2441.3323,10.3944,16.4594,-1,-1);//cop bike
AddStaticVehicle(523,2295.5503,2455.9656,2.8444,272.6913,-1,-1);//cop bike
AddStaticVehicle(420,2580.5320,2267.9595,10.3917,271.2372,-1,-1);//car taxi
AddStaticVehicle(489,2827.4143,2345.6953,10.5768,270.0668,-1,-1);
AddStaticVehicle(585,1670.1089,1297.8322,10.3864,359.4936,-1,-1);
AddStaticVehicle(487,1614.7153,1548.7513,11.2749,347.1516,-1,-1);//maverick chopper
AddStaticVehicle(593,1283.5107,1361.3171,9.5382,271.1684,-1,-1);//dodo plane
AddStaticVehicle(593,1283.6847,1386.5137,11.5300,272.1003,-1,-1);//dodo plane
AddStaticVehicle(565,1319.1038,1279.1791,10.5931,0.9661,-1,-1);
AddStaticVehicle(534,2805.1650,2027.0028,10.3920,357.5978,-1,-1);
AddStaticVehicle(567,2822.3628,2240.3594,10.5812,89.7540,-1,-1);
AddStaticVehicle(558,2842.0554,2637.0105,10.5000,182.2949,-1,-1);
AddStaticVehicle(602,2327.6484,2787.7327,10.5174,179.5639,-1,-1);
AddStaticVehicle(541,2104.9446,2658.1331,10.3834,82.2700,-1,-1);
AddStaticVehicle(402,1914.2322,2148.2590,10.3906,267.7297,-1,-1);
AddStaticVehicle(482,1904.7527,2157.4312,10.5175,183.7728,-1,-1);
AddStaticVehicle(507,1532.6139,2258.0173,10.5176,359.1516,-1,-1);
AddStaticVehicle(562,1552.1292,2341.7854,10.9126,274.0815,-1,-1);
AddStaticVehicle(411,1637.6285,2329.8774,10.5538,89.6408,-1,-1);
AddStaticVehicle(400,1357.4165,2259.7158,10.9126,269.5567,-1,-1);
AddStaticVehicle(603,1305.5295,2528.3076,10.3955,88.7249,-1,-1);
AddStaticVehicle(507,993.9020,2159.4194,10.3905,88.8805,-1,-1);
AddStaticVehicle(522,2299.5872,1469.7910,10.3815,258.4984,-1,-1);
AddStaticVehicle(439,2404.6636,647.9255,10.7919,183.7688,-1,-1);
AddStaticVehicle(560,2628.1047,746.8704,10.5246,352.7574,-1,-1);
AddStaticVehicle(477,2817.6445,928.3469,10.4470,359.5235,-1,-1);
AddStaticVehicle(420,661.7609,1720.9894,6.5641,19.1231,-1,-1);//car taxi
AddStaticVehicle(549,660.0554,1719.1187,6.5642,12.7699,-1,-1);
AddStaticVehicle(475,1031.8435,1920.3726,11.3369,89.4978,-1,-1);
AddStaticVehicle(506,1641.6802,1299.2113,10.6869,271.4891,-1,-1);
AddStaticVehicle(451,2135.8757,1408.4512,10.6867,180.4562,-1,-1);
AddStaticVehicle(480,2461.7380,1345.5385,10.6975,0.9317,-1,-1);
AddStaticVehicle(533,2804.4365,1332.5348,10.6283,271.7682,-1,-1);
AddStaticVehicle(470,2805.1685,1361.4004,10.4548,270.2340,-1,-1);
AddStaticVehicle(451,2119.9751,2049.3127,10.5423,180.1963,-1,-1);
AddStaticVehicle(580,2785.0261,-1835.0374,9.6874,226.9852,-1,-1);
AddStaticVehicle(420,1713.9319,1467.8354,10.5219,342.8006,-1,-1);//car taxi
AddStaticVehicle(415,2038.1359,1009.4887,10.2686,178.2425,-1,-1);
AddStaticVehicle(542,2142.2698,1019.3512,10.4130,91.3079,-1,-1);
AddStaticVehicle(496,2075.0247,1149.5356,10.2645,2.6380,-1,-1);
AddStaticVehicle(445,2132.7168,1028.6659,10.4175,275.6147,-1,-1);
AddStaticVehicle(555,2004.5626,740.4858,10.6432,183.2937,-1,-1);
AddStaticVehicle(535,1654.2909,730.8658,10.4145,5.3444,-1,-1);
AddStaticVehicle(519,1323.9281,1573.8071,10.3853,271.3071,-1,-1);//shamal plane
//Car Spawns San Fierro
AddStaticVehicle(587,-2652.9031,-297.2605,8.0617,315.6009,-1,-1);
AddStaticVehicle(491,-2618.9480,1376.7870,7.7322,181.1998,-1,-1);
AddStaticVehicle(550,-2645.5964,1376.7522,7.8935,267.8349,-1,-1);
AddStaticVehicle(405,-2126.2573,650.7344,53.2421,88.8335,-1,-1);
AddStaticVehicle(522,-2223.2629,1083.2794,80.7819,359.6700,-1,-1);
AddStaticVehicle(565,-2517.2996,1229.3512,38.7999,209.3221,-1,-1);
AddStaticVehicle(534,-1654.1005,1211.9901,14.2380,315.9562,-1,-1);
AddStaticVehicle(477,-1660.4161,1213.3704,8.0209,295.4768,-1,-1);
AddStaticVehicle(558,-1497.4607,845.8477,7.9671,88.5197,-1,-1);
AddStaticVehicle(602,-1699.4597,1035.9624,46.0932,91.6588,-1,-1);
AddStaticVehicle(541,-1786.6871,1206.5266,25.7813,178.8742,-1,-1);
AddStaticVehicle(482,-2438.0117,1340.9783,8.7316,86.7979,-1,-1);
AddStaticVehicle(507,-2166.5498,1251.0760,28.2782,1.6030,-1,-1);
AddStaticVehicle(562,-2636.3838,932.3286,72.5378,187.1212,-1,-1);
AddStaticVehicle(411,-2464.8860,896.7036,63.6223,0.6326,-1,-1);
AddStaticVehicle(400,-2459.9055,786.4501,36.2643,89.8722,-1,-1);
AddStaticVehicle(603,-2673.5830,802.1517,51.0693,0.3607,-1,-1);
AddStaticVehicle(507,-2970.6746,497.2838,1.3557,4.0073,-1,1);
AddStaticVehicle(439,-2902.7820,342.5712,6.3723,138.7612,-1,-1);
AddStaticVehicle(477,-1382.4279,455.8060,7.1838,359.9849,-1,-1);
AddStaticVehicle(549,-1465.0304,455.6730,7.9280,358.9676,-1,-1);
AddStaticVehicle(519,-1387.8518,-484.0513,15.6341,247.9289,-1,-1);//shamal plane
AddStaticVehicle(519,-1317.8910,-260.4665,16.4827,288.2876,-1,-1);//shamal plane
AddStaticVehicle(593,-1362.9397,-183.5522,16.4848,308.6994,-1,-1);//dodo plane
AddStaticVehicle(487,-1222.7996,-10.4235,15.1594,45.5780,-1,-1);//maverick chopper
AddStaticVehicle(475,-1872.5575,-820.7949,32.8273,90.7921,-1,-1);
AddStaticVehicle(506,-1898.3019,-915.5814,33.3947,91.2857,-1,-1);
AddStaticVehicle(451,-2124.4800,-929.0856,32.7397,269.1853,-1,-1);
AddStaticVehicle(480,-2134.1428,-453.9576,36.1699,95.0875,-1,-1);
AddStaticVehicle(533,-2035.6851,170.2529,29.4610,268.9087,-1,-1);
AddStaticVehicle(470,-2352.0959,-126.8848,35.9374,179.5324,-1,-1);
AddStaticVehicle(404,-2180.1277,41.8536,36.1953,269.9865,-1,-1);
AddStaticVehicle(580,-2269.4526,69.5823,35.7279,89.6104,-1,-1);
AddStaticVehicle(415,-2129.2864,787.6249,70.3666,87.1679,-1,-1);
AddStaticVehicle(542,-2424.9958,740.8871,35.8205,177.6701,-1,-1);
AddStaticVehicle(496,-2545.7666,627.5895,15.1684,89.1952,-1,-1);
AddStaticVehicle(445,-2498.4822,357.5526,35.7969,58.0823,-1,-1);
AddStaticVehicle(555,-2664.9673,268.9968,5.0156,357.6026,-1,-1);
AddStaticVehicle(522,-2626.5276,-53.6779,5.1144,357.7703,-1,-1);
AddStaticVehicle(559,-2487.5295,-125.3075,26.5715,90.9363,-1,-1);
AddStaticVehicle(579,-2486.0298,51.5018,27.7954,177.2178,-1,-1);
AddStaticVehicle(587,-2574.9736,146.5981,5.4279,1.8790,-1,-1);
AddStaticVehicle(491,-1741.0009,811.0599,25.5879,270.6703,-1,-1);
AddStaticVehicle(550,-1920.7559,875.2713,36.1113,270.0973,-1,-1);
AddStaticVehicle(420,-2040.4465,1107.7076,54.4032,89.8491,-1,-1);//car taxi
AddStaticVehicle(405,-1968.8488,465.6065,36.2766,89.3124,-1,-1);
AddStaticVehicle(489,-1825.2035,-0.4858,15.8965,270.0104,-1,-1);
AddStaticVehicle(585,-1687.9076,1003.5587,18.2656,91.3972,-1,-1);
AddStaticVehicle(534,-2782.3508,442.1533,5.5383,57.1401,-1,-1);
AddStaticVehicle(567,-2836.3665,865.6495,44.1470,268.7662,-1,-1);
AddStaticVehicle(558,-2899.3823,1112.4786,27.3954,268.9744,-1,-1);
AddStaticVehicle(602,-2618.7363,627.2617,15.6024,179.6464,-1,-1);
AddStaticVehicle(541,-2151.4924,428.9210,35.1902,176.6156,-1,-1);
AddStaticVehicle(482,-2641.7395,1333.0645,6.8700,356.7557,-1,-1);
AddStaticVehicle(507,-2129.8242,288.0418,34.9864,269.9582,-1,-1);
AddStaticVehicle(562,-2664.0950,-259.9579,6.5482,74.4868,-1,-1);
AddStaticVehicle(597,-1594.2644,672.5858,6.9564,176.7420,-1,-1);//cop car
AddStaticVehicle(597,-1622.6423,651.3411,6.9558,179.1608,-1,-1);//cop car
AddStaticVehicle(597,-1584.1769,749.3150,-5.4735,1.1909,-1,-1);//cop car
AddStaticVehicle(411,-1231.5951,48.1695,13.7616,229.8069,-1,-1);
AddStaticVehicle(420,-1425.8613,-294.0004,13.5707,54.8251,-1,-1);//car taxi
AddStaticVehicle(400,-2147.9944,-406.9189,35.0502,43.5458,-1,-1);
AddStaticVehicle(415,-2899.2644,1112.4993,26.5128,270.6545,-1,-1);
AddStaticVehicle(559,-1852.7903,569.7672,34.9839,223.2814,-1,-1);
//boats
AddStaticVehicle(493,720.9388,-1700.4620,-0.5290,35.6348,-1,-1);
AddStaticVehicle(493,2355.2488,-2514.3970,-0.5287,158.8268,-1,-1);
AddStaticVehicle(493,2364.3354,517.6652,-0.4520,89.2890,-1,-1);
AddStaticVehicle(493,-1476.2301,691.7451,-0.4462,356.6588,-1,-1);
AddStaticVehicle(473,831.3725,-2074.9124,-0.2471,93.2310,56,15); //
AddStaticVehicle(493,166.4895,-1914.6749,0.0293,184.2937,36,13); //
AddStaticVehicle(446,2459.5652,-2715.0710,-0.5813,271.8095,1,5); //
AddStaticVehicle(446,2764.4958,-2584.4636,-0.1956,88.6565,3,3); //
AddStaticVehicle(446,2960.8884,-1487.8135,-0.0435,357.6226,3,3); //
//trains
AddStaticVehicle(537,1701.4758,-1953.6572,15.0995,89.8181,1,1); // train
//+ v0.2 added
AddStaticVehicle(420,-1393.3545,-336.3529,13.8505,24.0909,-1,-1); // car taxi
AddStaticVehicle(420,1660.3115,-2314.4729,13.2351,90.8312,-1,-1);
AddStaticVehicle(405,1127.3945,-940.5890,42.5764,92.2462,-1,-1);
AddStaticVehicle(602,-2330.9387,558.7618,29.3441,270.7266,-1,-1);
AddStaticVehicle(402,-2480.8093,1069.6036,55.6982,180.6722,-1,-1);
AddStaticVehicle(411,-1954.0840,262.1563,40.7033,60.7457,-1,-1);
AddStaticVehicle(475,-1722.1432,1345.3258,6.9462,45.2691,-1,-1);
AddStaticVehicle(506,1596.8951,1850.6595,10.5247,0.1090,-1,-1);
AddStaticVehicle(415,1316.5466,1933.3358,11.1649,179.9110,-1,-1);
AddStaticVehicle(550,1040.6141,2298.2034,10.4479,91.5839,-1,-1);
AddStaticVehicle(480,1461.3431,787.6978,10.5246,358.7591,-1,-1);
AddStaticVehicle(477,2535.2056,2014.5221,10.5246,270.1910,-1,-1);
AddStaticVehicle(580,1808.8506,-1718.1846,13.3794,0.0484,-1,-1);
AddStaticVehicle(560,-2796.0449,88.3034,6.8933,91.3375,-1,-1);
AddStaticVehicle(541,1560.3633,-2254.2666,13.1725,269.4279,-1,-1);
AddStaticVehicle(420,-1384.6299,-375.4851,13.8536,4.7845,-1,-1); // car taxi
AddStaticVehicle(445,374.6159,-2031.1123,7.7402,359.6444,-1,-1);
AddStaticVehicle(603,1062.9089,-1772.4189,13.0404,90.6724,-1,-1);
AddStaticVehicle(580,1617.2734,-1293.5737,16.8480,89.0802,-1,-1);
AddStaticVehicle(402,-2248.0791,336.6792,34.3907,6.0747,-1,-1);
AddStaticVehicle(522,336.6037,-1344.3010,14.0800,118.4670,51,118); //
AddStaticVehicle(522,1633.3906,-1910.5906,13.1176,285.5543,3,3); //
AddStaticVehicle(522,1909.5345,-1361.0244,13.0960,154.6100,3,8); //
AddStaticVehicle(522,1930.9344,-1267.6815,17.3417,271.3274,6,25); //
AddStaticVehicle(522,2232.6331,-1489.6938,23.3608,270.3134,7,79); //
AddStaticVehicle(522,2340.8213,-1764.7324,13.1067,35.1257,8,82); //
AddStaticVehicle(522,2396.0317,-1927.9396,12.9552,340.9238,36,105); //
AddStaticVehicle(522,1788.6151,-1592.9467,13.0269,133.0099,39,106); //
AddStaticVehicle(522,1504.7610,-1312.5005,13.8693,12.3269,51,118); //
AddStaticVehicle(522,1960.1514,-2221.4604,15.6820,179.6269,6,25); // bike
AddStaticVehicle(522,1963.2070,-2221.1870,15.6939,177.9756,7,79); // bike
AddStaticVehicle(522,1330.4817,-1232.7192,13.1153,293.8802,7,79); // bike - NRG-500
AddStaticVehicle(497,1550.9933,-1609.7014,13.5595,88.9351,0,1); // police copper
AddStaticVehicle(451,2535.5850,-1031.2520,69.2878,175.0976,36,36); // turismo
//PICKUPS
AddStaticPickup(1272, 1, 167.1029, -1308.1591, 70.3513); // House pickup outside Mansion
AddStaticPickup(371,2,-772.5848,2423.1196,157.0880); // sse_para
AddStaticPickup(371,2,-809.8860,2429.0366,156.9699); // sse_para
AddStaticPickup(371,2,-226.1909,1394.2926,172.4141); // bigear_para
AddStaticPickup(371,2,-224.0347,1394.2474,172.4141); // bigear_para
AddStaticPickup(371,2,2051.6555,2407.1292,150.4766); // emerald_para
AddStaticPickup(371,2,-1753.7095,885.9033,295.8750); // para_pointy_build
AddStaticPickup(371,2,-1520.9993,674.6617,139.2734); // bridge1_para
AddStaticPickup(371,2,-1518.5388,677.5485,139.2734); // bringe1_para
AddStaticPickup(371,2,-1532.2827,688.2155,133.0514); // bridge1_para
AddStaticPickup(371,15,-2667.5481,1933.8230,181.5822); // bridge2_para2
AddStaticPickup(371,15,-2667.5481,1933.8230,181.5822); // bridge2_para2
AddStaticPickup(371,2,-2311.0059,-1572.5967,479.9083); // para_chill
AddStaticPickup(371,2,-2264.2344,-1684.8676,481.1554); // parachute
AddStaticPickup(371,2,-2230.6846,-1743.9265,480.8720); // parachute
AddStaticPickup(371,2,-2255.2649,-1749.4268,487.5909); // parachute
AddStaticPickup(371,2,-2432.3979,-1620.2229,526.8325); // parachute
AddStaticPickup(371,2,1524.3611,-1358.8881,330.0000); // para_1
AddStaticPickup(371,2,1537.5822,-1338.6387,329.9711); // para_2
AddStaticPickup(371,2,1562.1649,-1346.8159,329.9346); // para_3
AddStaticPickup(371,2,1557.6104,-1369.5931,329.8975); // para_4
AddStaticPickup(371,2,1541.5498,-1364.5927,326.2109); // para_5
AddStaticPickup(352,2,277.9320,-1535.0631,24.5938); // Micro Uzi
AddStaticPickup(352,2,280.7308,-1530.6802,24.5938); // Micro Uzi
AddStaticPickup(352,2,283.8827,-1526.2990,24.5938); // Micro Uzi
AddStaticPickup(352,2,287.6674,-1521.6750,24.5938); // Micro Uzi
AddStaticPickup(352,2,290.4845,-1517.5920,24.5938); // Micro Uzi
AddStaticPickup(352,2,293.7652,-1513.4087,24.5938); // Micro Uzi
AddStaticPickup(352,2,296.9008,-1508.9896,24.5938); // Micro Uzi
AddStaticPickup(352,2,300.4129,-1503.6178,24.5938); // Micro Uzi
AddStaticPickup(352,2,300.0444,-1489.7018,24.5938); // Micro Uzi
AddStaticPickup(352,2,303.6185,-1485.7365,24.5938); // Micro Uzi
AddStaticPickup(352,2,306.6078,-1481.4547,24.5938); // Micro Uzi
AddStaticPickup(352,2,299.1205,-1537.4529,24.5938); // Micro Uzi
AddStaticPickup(352,2,296.0561,-1541.2012,24.5938); // Micro Uzi
AddStaticPickup(352,2,292.6215,-1545.3187,24.5938); // Micro Uzi
AddStaticPickup(1242,2,1510.5927,-1457.9182,9.5000); // Armour
AddStaticPickup(1242,2,1516.3456,-1457.2239,9.5000); // Armour
AddStaticPickup(1242,2,1527.5884,-1457.6683,9.5000); // Armour
AddStaticPickup(362,2,389.9955,-2028.5991,34.5670); // Minigun
AddStaticPickup(353,2,153.9915,-1952.1437,51.3438); // MP5
AddStaticPickup(353,2,154.2106,-1949.5530,47.8750); // MP5
AddStaticPickup(353,2,156.3691,-1951.0714,47.8750); // MP5
AddStaticPickup(353,2,155.2781,-1954.0964,47.8722); // MP5
AddStaticPickup(353,2,152.0631,-1953.1229,47.8750); // MP5
AddStaticPickup(361,2,1094.0884,-2036.8947,82.7557); // FlameThrower
AddStaticPickup(361,2,1116.1079,-2069.9519,82.2083); // FlameThrower
AddStaticPickup(361,2,1116.1422,-2004.1357,82.1576); // FlameThrower
AddStaticPickup(361,2,1117.7856,-2036.8618,78.7500); // FlameThrower
AddStaticPickup(362,2,1357.3903,-632.4167,109.1328); // Minigun
AddStaticPickup(362,2,1354.2958,-633.1100,109.1328); // Minigun
AddStaticPickup(362,2,1355.8765,-629.3375,109.1328); // Minigun
AddStaticPickup(362,2,1353.3851,-629.0894,109.1328); // Minigun
AddStaticPickup(347,2,873.7814,-14.0592,63.1953); // S-Pistol
AddStaticPickup(361,2,-547.7530,-74.8351,62.8594); // FlameThrower
AddStaticPickup(361,2,-544.3164,-74.8511,62.8594); // FlameThrower
AddStaticPickup(361,2,-540.6652,-74.5170,62.8594); // FlameThrower
AddStaticPickup(361,2,-536.5796,-74.3883,62.8594); // FlameThrower
AddStaticPickup(361,2,-542.4195,-60.3302,62.9922); // FlameThrower
AddStaticPickup(361,2,-540.3120,-60.6138,62.9922); // FlameThrower
AddStaticPickup(361,2,-537.1304,-60.7579,62.9922); // FlameThrower
AddStaticPickup(361,2,-533.2617,-60.8072,62.9922); // FlameThrower
AddStaticPickup(1242,2,-537.0891,-98.3965,63.2969); // Armour
AddStaticPickup(366,2,1952.6736,-2188.2031,13.5469); // FireExtinguisher
AddStaticPickup(366,2,1954.4995,-2188.3374,13.5469); // FireExtinguisher
AddStaticPickup(366,2,1806.3290,-2183.1599,13.5469); // FireExtinguisher
AddStaticPickup(366,2,1805.6187,-2180.4426,13.5542); // FireExtinguisher
AddStaticPickup(366,2,1806.0299,-2178.2036,13.5542); // FireExtinguisher
AddStaticPickup(366,2,1808.5315,-2178.4329,13.5542); // FireExtinguisher
AddStaticPickup(366,2,1808.6058,-2180.6692,13.5469); // FireExtinguisher
AddStaticPickup(366,2,1808.4233,-2183.3533,13.5469); // FireExtinguisher
//pick-ups - House Mansion Steep Drive Way
AddStaticPickup(1242,2,163.9570,-1290.9415,70.3513); // Armour
AddStaticPickup(355,2,163.9374,-1326.1045,70.3513); // AK47
AddStaticPickup(355,2,166.3202,-1326.1548,70.3513); // AK47
AddStaticPickup(355,2,163.0152,-1322.4055,70.3513); // AK47
AddStaticPickup(370,2,163.2465,-1253.3217,76.0995); // JETPACK
//LOS SANTOS AIRPORT STUNTS
CreateObject(13592, 1941.184570, -2594.825439, 22.342508, 0, 0, 11.25);
CreateObject(13592, 1940.829346, -2587.432129, 22.392508, 0, 0, 11.25);
CreateObject(13592, 1940.497803, -2580.177490, 22.467506, 0, 0, 11.25);
CreateObject(13592, 1940.154663, -2572.900635, 22.517506, 0, 0, 11.25);
CreateObject(13592, 1939.797852, -2565.549561, 22.442507, 0, 0, 11.25);
CreateObject(13641, 1931.084106, -2606.538330, 14.266119, 0, 0, 180);
CreateObject(13592, 1932.929932, -2474.408447, 22.259754, 0, 0, 11.25);
CreateObject(13592, 1943.516968, -2465.318848, 22.359753, 0, 0, 11.25);
CreateObject(13592, 1954.898438, -2456.052979, 22.309753, 0, 0, 11.25);
CreateObject(13592, 1966.045288, -2446.833740, 22.342508, 0, 0, 11.25);
CreateObject(13592, 1977.217163, -2437.569336, 22.317474, 0, 0, 11.25);
CreateObject(1632, 1988.279053, -2432.796631, 13.846987, 304.1366, 0, 90);
CreateObject(13367, 1823.177368, -2644.866211, 37.474686, 0, 0, 0);
CreateObject(13367, 1889.783691, -2645.486816, 37.486248, 0, 0, 0);
CreateObject(13367, 1755.019409, -2645.562988, 37.459862, 0, 0, 0);
CreateObject(13367, 1683.284790, -2646.274902, 37.470459, 0, 0, 0);
CreateObject(13367, 1617.322998, -2645.611572, 37.489388, 0, 0, 0);
CreateObject(1683, 2051.491455, -2498.624756, 18.449501, 0, 0, 90);
CreateObject(1245, 2031.505249, -2483.047363, 14.026692, 0, 0, 180);
CreateObject(1245, 2031.425781, -2486.090576, 14.026690, 0, 0, 180);
CreateObject(1245, 2031.539185, -2489.122070, 14.026690, 0, 0, 180);
CreateObject(1245, 2031.584473, -2492.090820, 14.026690, 0, 0, 180);
CreateObject(1245, 2031.535156, -2495.225586, 14.034448, 0, 0, 180);
CreateObject(1245, 2031.393311, -2498.101318, 14.034448, 0, 0, 180);
CreateObject(1245, 2031.271729, -2500.893311, 14.034448, 0, 0, 180);
CreateObject(1245, 2031.154907, -2503.763428, 14.034448, 0, 0, 180);
CreateObject(1245, 2031.066040, -2506.740723, 14.034448, 0, 0, 180);
CreateObject(1245, 1936.940674, -2650.350830, 13.959449, 0, 10.3132, 1.7188);
CreateObject(18561, 1738.640625, -2665.273193, 21.969423, 0, 0, 0);
CreateObject(620, 1927.329956, -2463.234863, 12.606274, 0, 0, 0);
CreateObject(620, 1938.824585, -2455.100098, 12.606274, 0, 0, 0);
CreateObject(620, 1951.590088, -2443.923096, 12.606274, 0, 0, 0);
CreateObject(620, 1961.725952, -2433.521484, 12.614033, 0, 0, 0);
CreateObject(620, 1945.156494, -2475.610107, 12.606274, 0, 0, 0);
CreateObject(620, 1957.717041, -2466.550537, 12.606274, 0, 0, 0);
CreateObject(620, 1969.798828, -2458.106934, 12.614033, 0, 0, 0);
CreateObject(620, 1980.734009, -2448.096924, 12.614033, 0, 0, 0);
CreateObject(16120, 2148.951416, -2467.553711, 12.995626, 0, 0, 146.25);
CreateObject(16120, 2146.189941, -2515.608398, 12.576662, 0, 0, 146.25);
CreateObject(16120, 2144.894043, -2563.604980, 12.376665, 0, 0, 146.25);
CreateObject(16120, 2124.151611, -2606.194824, 12.401665, 0, 0, 101.25);
CreateObject(16120, 2146.773193, -2423.524414, 12.751659, 0, 0, 134.9999);
CreateObject(687, 1394.473022, -2593.220215, 12.566631, 0, 0, 0);
CreateObject(687, 1393.197876, -2494.370605, 12.574444, 0, 0, 0);
CreateObject(4602, 1872.316040, -2287.137939, 83.232307, 0, 0, 0);
CreateObject(3996, 1872.505005, -2346.629150, 138.747787, 0, 341.9518, 90);
CreateObject(3996, 1871.800781, -2440.276855, 123.464691, 0, 0, 89.1405);
CreateObject(3996, 1813.979126, -2480.175049, 105.092033, 0, 338.5141, 358.0403);
CreateObject(3996, 1718.918091, -2476.920898, 67.597717, 0, 338.5141, 358.0403);
CreateObject(3996, 1624.546143, -2473.682129, 30.303654, 0, 338.5141, 358.0403);
CreateObject(3997, 1870.947876, -2238.326172, 154.397461, 0, 0, 180);
CreateObject(5126, 1922.129272, -2259.711182, 27.671225, 0, 0, 270);
CreateObject(1632, 1922.326416, -2308.879150, 13.846987, 304.1366, 0.8594, 180.0001);
CreateObject(13592, 1460.724243, -2445.798828, 20.954708, 263.7431, 5.1566, 15.5472);
CreateObject(13592, 1459.439697, -2445.204834, 28.279711, 263.7431, 5.1566, 15.5472);
CreateObject(13592, 1458.201172, -2444.617920, 35.325603, 263.7431, 5.1566, 15.5472);
CreateObject(1632, 1469.537354, -2453.851318, 14.354799, 7.7349, 36.0963, 130.1551);
CreateObject(13592, 1456.936401, -2444.023438, 42.625538, 263.7431, 5.1566, 15.5472);
CreateObject(13592, 1455.609375, -2443.404053, 49.998360, 263.7431, 5.1566, 15.5472);
CreateObject(8251, 1821.122681, -2257.139404, 158.300278, 0, 0, 0);
CreateObject(9241, 1428.997192, -2460.997070, 51.863586, 0, 0, 357.559);
CreateObject(8251, 1924.624878, -2257.659424, 158.300278, 0, 0, 180);
CreateObject(3996, 1428.957031, -2523.033936, 52.702412, 0, 0, 268.195);
CreateObject(8251, 1871.092896, -2226.430176, 158.275284, 0, 0, 270);
CreateObject(3997, 1581.389771, -2570.246338, 52.688046, 0, 0, 90);
CreateObject(12956, 1541.850098, -2557.457031, 56.066257, 0, 0, 180);
CreateObject(16302, 1622.842285, -2509.556152, 59.122707, 0, 0, 0);
CreateObject(14467, 1873.951538, -2259.789551, 164.010712, 0, 0, 0);
CreateObject(10236, 1880.387695, -2297.341309, 165.436066, 0, 0, 0);
CreateObject(10236, 1864.520508, -2297.013916, 165.436066, 0, 0, 180);
CreateObject(1681, 2053.156006, -2483.306396, 19.794947, 0, 0, 0);
CreateObject(3279, 1635.773560, -2643.178223, 52.863670, 0, 0, 180);
CreateObject(16776, 1578.151611, -2614.981445, 54.538895, 0, 0, 270);
CreateObject(1632, 1578.470459, -2588.364502, 54.088165, 13.751, 0, 180.0001);
CreateObject(3776, 1777.367920, -2548.929443, 21.602509, 0, 0, 0);
CreateObject(1245, 1604.971924, -2667.886719, 25.834255, 0, 10.3132, 1.7188);
CreateObject(1245, 1781.290527, -2575.860352, 14.034448, 0, 10.3132, 271.7188);
CreateObject(1245, 1772.723877, -2511.325928, 14.042260, 0, 10.3132, 91.7191);
CreateObject(13592, 1588.480103, -2536.205322, 62.533554, 0, 0, 281.25);
CreateObject(1632, 1646.863647, -2543.104736, 17.534487, 30.9397, 0, 270);
CreateObject(764, 1954.485596, -2559.293213, 12.587494, 0, 0, 0);
CreateObject(13592, 1939.448242, -2558.043457, 22.467480, 0, 0, 11.25);
CreateObject(619, 1957.253662, -2570.617432, 12.696268, 0, 0, 225);
CreateObject(9076, 1442.858154, -2594.666748, 29.463606, 0, 0, 181.7189);
CreateObject(16120, 1435.956177, -2598.757080, 13.451649, 0, 0, 146.2502);
CreateObject(3873, 1767.775635, -2413.346924, 39.108818, 0, 0, 0);
CreateObject(3873, 1525.242798, -2414.260254, 39.058937, 0, 0, 0);
CreateObject(18267, 1543.171997, -2623.471436, 14.006972, 0, 0, 90);
CreateObject(1632, 1878.664551, -2543.173096, 17.534487, 30.9397, 0, 270);
CreateObject(12950, 1615.960693, -2613.225342, 13.853177, 0, 0, 90);
CreateObject(12950, 1605.347168, -2613.351318, 13.853177, 0, 0, 270);
CreateObject(1245, 1963.262207, -2623.013184, 15.819740, 359.1406, 7.7349, 176.5621);
CreateObject(1632, 1889.357544, -2543.231689, 17.527157, 30.9397, 0, 90.0001);
CreateObject(1632, 1658.245239, -2542.997803, 17.446903, 30.9397, 0, 90.0001);
CreateObject(1632, 1387.501099, -2543.041992, 17.247866, 30.9397, 0, 90.0001);
CreateObject(1632, 1375.944214, -2543.146240, 17.534487, 30.9397, 0, 270.0004);
CreateObject(3689, 1964.765259, -2321.588623, 20.533405, 0, 0, 270);
CreateObject(971, 1960.101440, -2189.667725, 15.891811, 0, 0, 0);
CreateObject(971, 1965.862793, -2189.679443, 15.566816, 0, 0, 0);
CreateObject(1503, 2006.749756, -2344.738770, 13.265987, 15.4699, 0, 90);
CreateObject(971, 1939.489258, -2182.134766, 26.817793, 0, 9.4538, 355.6255);
CreateObject(971, 1930.859131, -2181.839355, 27.777664, 0, 0.8594, 358.2038);
CreateObject(971, 1922.120728, -2181.544189, 28.686512, 0, 0, 357.3444);
CreateObject(971, 1913.775269, -2181.416748, 27.921467, 0, 0, 0.7821);
CreateObject(971, 1904.756348, -2181.544678, 26.705116, 0, 348.8273, 0.7821);
CreateObject(1245, 1920.868896, -2229.592285, 26.956324, 0, 10.3132, 91.7188);
CreateObject(1245, 1900.651611, -2226.711426, 23.471022, 0, 10.3132, 35.4688);
CreateObject(971, 1857.254639, -2244.977539, 25.124605, 0, 0, 269.9227);
CreateObject(969, 2083.019287, -2377.335205, 21.630848, 270.6186, 357.4217, 0);
CreateObject(969, 2074.270508, -2377.729980, 21.613760, 270.6186, 357.4217, 0);
CreateObject(969, 2065.605469, -2377.722656, 21.638742, 269.7592, 0, 0);
CreateObject(969, 2057.229004, -2377.719727, 21.641882, 269.7592, 0, 0);
CreateObject(10836, 1593.075195, -2449.207275, 36.372612, 268.0403, 0.8594, 357.267);
CreateObject(1245, 2062.181396, -2374.982910, 22.837576, 0, 12.8916, 0);
CreateObject(3996, 1484.686768, -2565.992432, 52.679924, 0, 0, 358.4358);
CreateObject(1245, 2007.563721, -2381.190430, 26.949783, 0, 0, 0);
CreateObject(1245, 2030.822021, -2364.239746, 24.476654, 0, 0, 270);
CreateObject(1245, 2031.376953, -2296.004883, 23.980415, 0, 0, 270);
CreateObject(1245, 2008.279785, -2314.193115, 26.939278, 0, 0, 0);
CreateObject(1245, 2008.080811, -2249.050049, 26.983635, 0, 0, 22.5);
CreateObject(3187, 2042.895996, -2624.319336, 16.599373, 0, 0, 180);
CreateObject(3454, 2016.457886, -2622.579102, 16.824448, 0, 0, 0);
CreateObject(3583, 1992.713867, -2621.240479, 15.693488, 0, 0, 0);
CreateObject(3587, 1977.575073, -2621.931396, 15.148346, 0, 0, 180);
CreateObject(17565, 1705.641113, -2492.472900, 15.063394, 0, 0, 90);
CreateObject(18451, 1798.903198, -2452.697266, 13.067114, 0, 0, 258.75);
CreateObject(1660, 1681.713135, -2614.957764, 12.191797, 0, 0, 90);
CreateObject(1894, 1780.309937, -2441.485107, 12.554688, 0, 0, 0);
CreateObject(3363, 1538.737305, -2644.487305, 12.582231, 0, 0, 90);
CreateObject(6052, 1868.583862, -2412.089844, 15.277326, 0, 0, 315);
CreateObject(13722, 2136.030273, -2540.320313, 30.352499, 0, 0, 270);
CreateObject(13831, 2136.134521, -2540.331055, 30.403481, 0, 0, 270);
CreateObject(10838, 1989.979004, -2495.728027, 28.641550, 0, 0, 0);
CreateObject(2745, 1833.182617, -2242.004150, 156.030975, 0, 0, 90);
CreateObject(10757, 1684.320923, -2411.712402, 26.102211, 0, 0, 0);
CreateObject(10757, 1607.175781, -2413.124268, 26.102211, 0, 0, 0);
CreateObject(10757, 1989.160278, -2494.889893, 32.321613, 0, 0, 63.5983);
CreateObject(1632, 1960.715576, -2621.849121, 13.846987, 0, 0, 267.0442);
CreateObject(6052, 1868.430542, -2437.485352, 15.302327, 0, 0, 135.0001);
CreateObject(6052, 1881.124023, -2424.870605, 15.177329, 0, 0, 225);
CreateObject(6052, 1855.952393, -2424.592773, 15.352326, 0, 0, 45.0001);
CreateObject(3528, 1834.484741, -2245.464111, 162.435745, 0, 0, 0);
CreateObject(3528, 1834.484741, -2269.600830, 162.744034, 0, 0, 0);
CreateObject(3528, 1911.262817, -2268.926758, 162.434250, 0, 0, 180);
CreateObject(3528, 1882.570190, -2239.792236, 163.208954, 0, 0, 270);
CreateObject(3528, 1859.019287, -2239.792236, 162.915649, 0, 0, 270);
CreateObject(6965, 1873.582520, -2259.616943, 158.010162, 0, 0, 0);
CreateObject(7392, 2132.678223, -2524.360840, 46.089336, 0, 0, 180.8595);
CreateObject(9833, 1868.461426, -2424.229492, 21.256182, 0, 0, 348.75);
CreateObject(13562, 1922.033813, -2263.498047, 44.330322, 0, 0, 0);
CreateObject(14608, 1889.575806, -2639.999268, 14.142899, 0, 0, 320.234);
CreateObject(8483, 1822.218384, -2644.463623, 18.578207, 0, 0, 90);
CreateObject(13667, 1766.288574, -2413.582520, 72.349091, 0, 0, 0);
CreateObject(955, 1989.037476, -2514.102783, 12.949923, 0, 0, 270);
CreateObject(5001, 1542.812256, -2523.246338, 55.559868, 118.6023, 97.9757, 82.1286);
CreateObject(10810, 1566.988525, -2499.885986, 57.686485, 0, 0, 202.5);
CreateObject(10763, 1389.708862, -2436.462891, 45.315109, 0, 0, 315);
CreateObject(1682, 1570.331787, -2497.680664, 69.140709, 0, 0, 0);
CreateObject(3381, 1518.799927, -2585.187988, 22.223892, 0, 0, 270);
CreateObject(3381, 1597.373047, -2585.170654, 22.223900, 0, 0, 270);
CreateObject(3381, 1675.896484, -2585.176025, 22.198893, 0, 0, 270);
CreateObject(3381, 1754.268677, -2585.180176, 22.223900, 0, 0, 270);
CreateObject(3381, 1832.607910, -2585.165283, 22.198900, 0, 0, 270);
CreateObject(7854, 1556.889160, -2543.285645, 12.935860, 0, 0, 270);
CreateObject(1632, 2060.532959, -2621.882813, 13.644583, 0, 359.1406, 92.2011);
CreateObject(13594, 2053.334229, -2497.206543, 22.908186, 0, 0, 90);
CreateObject(13592, 1941.557617, -2602.196045, 22.317509, 0, 0, 11.25);
CreateObject(3363, 1424.476807, -2461.921631, 12.415046, 0.8594, 3.4377, 271.5643);
CreateObject(7073, 2133.215820, -2583.496094, 40.133350, 0, 0, 0);
CreateObject(10757, 2132.252686, -2554.573242, 41.580910, 354.8434, 33.518, 187.3483);
CreateObject(3528, 1911.262817, -2245.260254, 162.186111, 0, 0, 180);
CreateObject(13592, 1941.135620, -2594.733154, 22.337303, 0, 0, 11.25);
CreateObject(17550, 1903.253662, -2544.018311, 19.085289, 0, 0, 285.5472);
CreateObject(8533, 3250.240723, -746.371033, 30.502472, 0, 0, 0);
CreateObject(8533, 3191.248291, -746.358643, 30.475603, 0, 0, 180);
CreateObject(10487, 3360.282227, -751.458801, 17.025053, 0, 0, 0.8594);
//LIB CITY ADDED ROADS
CreateObject(4182, -980.3202, 456.9075, 1338.8450, 5.69, 180.0, 270.0); // done (Road 1)
CreateObject(4182, -963.1958, 513.9208, 1340.8012, 180.0, 0.0, 180.0); // done (Road 2)
CreateObject(4182, -893.1497, 544.0392, 1345.8934, 180.0, 0.0, 0.0); // done (Road 3)
CreateObject(4182, -963.2008, 374.3512, 1333.8443, 5.69, 180.0, 0.0); // done (Road 4)
CreateObject(4182, -963.2008, 323.9987, 1335.8002, 0.0, 180.0, 0.0); // done (Road 5)
CreateObject(3923, -985.6633, 365.2737, 1343.4932, 0.0, 0.0, 180.0); // done (Road Image)
//MANSION (STEEP-DRIVE-WAY) OUSIDE
CreateObject(1281,166.140213,-1296.554321,70.357597,0,0,0); //Mansion Table
//MANSION (STEEP-DRIVE-WAY) INSIDE
CreateObject(2780,254.636596,1034.538940,1083.610595,0,0,0); //smoke
CreateObject(976,221.740341,1023.456604,1082.801513,0.000000,0.000000,0.000000); //gate
CreateObject(976,221.264923,1023.601440,1085.778076,444.000000,360.000000,360.000000); //gate
//TEST GATE
pdgate = CreateObject(988,97.118011,1920.152099,18.227085,0.000000,0.000000,89.448699);
//------------------------------------------------------------------------------
// Race's
//------------------------------------------------------------------------------
Race_Race(); //racetest
racetest = Race_Create(3, 1000, 5, false, true, 10, 0, 0, false);
Race_AddStart(racetest, 2760.1887, -2424.7979, 13.3445,180.0);
Race_AddStart(racetest, 2768.6829, -2425.2236, 13.2746,180.0);
Race_AddStart(racetest, 2753.6592, -2423.7915, 13.2677,180.0);
Race_AddCheckpoint(racetest, 2758.3635, -2493.1011, 13.3677);
Race_AddCheckpoint(racetest, 2686.1333, -2501.3845, 13.3472);
Race_AddCheckpoint(racetest, 2688.6768, -2404.6624, 13.3448);
Race_AddCheckpoint(racetest, 2759.9504, -2418.1450, 13.1321);
Race_SetRestart(racetest, 0);
Race_SetPrize(racetest, 0, 10000);
Race_SetPrize(racetest, 1, 5000);
Race_Race(); //Fastlane
Fastlane = Race_Create(0, 1000, 5, false, true, 10, 0, 0, false);
Race_AddStart(Fastlane, 960.4440, 733.6182, 10.4246,180.0); //race start 1
Race_AddStart(Fastlane, 958.7385, 747.2970, 10.4663,180.0); //race start 2
Race_AddStart(Fastlane, 948.1540, 757.3545, 10.4645,180.0); //race start 3
Race_AddStart(Fastlane, 945.6989, 784.9964, 14.4076,180.0); //race start 4
Race_AddCheckpoint(Fastlane, 702.5709, 657.0952, 9.2782);
Race_AddCheckpoint(Fastlane, 381.6338, 755.2902, 5.8612);
Race_AddCheckpoint(Fastlane, -73.7830, 584.2697, 13.7547);
Race_AddCheckpoint(Fastlane, -569.7733, 616.8351, 16.3647);
Race_AddCheckpoint(Fastlane, -888.3674, 846.1666, 19.1802);
Race_AddCheckpoint(Fastlane, 381.6338, 755.2902, 5.8612);
Race_AddCheckpoint(Fastlane, -1125.6389, 1517.3347, 22.2438);
Race_AddCheckpoint(Fastlane, -1612.1970, 1782.3490, 9.9386);
Race_AddCheckpoint(Fastlane, -1743.8693, 2172.2529, 16.6304);
Race_AddCheckpoint(Fastlane, -2007.6545, 2572.9683, 54.8235);
Race_AddCheckpoint(Fastlane, -2695.5010, 2552.4841, 76.3446);
Race_AddCheckpoint(Fastlane, -2714.0632, 2360.6011, 71.1038);
Race_AddCheckpoint(Fastlane, -2628.7134, 2506.1189, 27.8944);
Race_AddCheckpoint(Fastlane, -2488.9316, 2428.6089, 16.0156);
Race_AddCheckpoint(Fastlane, -2276.6877, 2354.9668, 4.6336);
Race_SetRestart(Fastlane, 0);
Race_SetPrize(Fastlane, 0, 10000);
Race_SetPrize(Fastlane, 1, 5000);
//------------------------------------------------------------------------------
libin = CreateCheckpoint(-776.4406, 489.6827, 1376.5798 , 3.0);
//------------------------------------------------------------------------------
SetTimer("MoneyGrubScoreUpdate", 1000, 1);
SetTimer("TimeUpdate",300000, 1);
SetTimer("WeatherUpdate",100000, 1);
return 1;
}
Script_OnPlayerRequestClass(playerid, classid)
{
SetPlayerInterior(playerid,10);
SetPlayerPos(playerid,-1130.0795,1029.1222,1349.1802);
SetPlayerFacingAngle(playerid, 90);
SetPlayerCameraPos(playerid,-1132.8027,1028.9460,1350.1802);
SetPlayerCameraLookAt(playerid,-1130.0795,1029.1222,1349.1802);
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE2);
AllowPlayerTeleport(playerid, 0);
AllowAdminTeleport(1);
PlayerPlaySound(playerid,1076,0.0,0.0,0.0);
new Text:text = TextDrawCreate(10, 432.0, "~r~LOS-SANTOS-FREEROAM-0.2 ~g~BY JA53N");
TextDrawUseBox(text, 0);
TextDrawBoxColor(text, 0x000000AA);
TextDrawFont(text, 1);
TextDrawSetShadow(text, 0);
TextDrawSetOutline(text, 1);
TextDrawBackgroundColor(text, 0x000000FF);
TextDrawColor(text, 0xFFFFFFFF);
TimeTextForPlayer(playerid, text, 10000);
return 1;
}
public LoginDat_YSI_LVDM_LG(playerid, identifier[], text[])
{
if (!strcmp(identifier, "health")) SetPlayerHealth(playerid, floatstr(text));
else if (!strcmp(identifier, "armour")) SetPlayerArmour(playerid, floatstr(text));
else if (!strcmp(identifier, "money"))
{
ResetPlayerMoney(playerid);
GivePlayerMoney(playerid, strval(text));
}
Property_LoadWeapons(playerid, identifier, text);
Property_LoadBank(playerid, identifier, text);
}
Script_OnPlayerLogout(playerid)
{
Player_SetTag("YSI_LVDM_LG");
new
Float:health;
GetPlayerHealth(playerid, health);
Player_WriteFloat("health", health);
GetPlayerArmour(playerid, health);
Player_WriteFloat("armour", health);
Player_WriteInt("money", GetPlayerMoney(playerid));
Property_SaveWeapons(playerid);
Property_SaveBank(playerid);
return 1;
}
Script_OnPlayerConnect(playerid)
{
GameTextForPlayer(playerid,"~w~SA-MP: ~r~Los Santos ~g~Freeroam 0.2",5000,5);
SendClientMessage(playerid,COLOR_GREEN,"Los Santos Freeroam 0.2");
SendClientMessage(playerid,COLOR_GREEN," ~By JASEN[JA53N]~");
SendClientMessage(playerid,0x00FF00FF,"Type /help for some useful inforamtion");
SendClientMessage(playerid,0x00FF00FF,"and always remember to /login FIRST!");
SendClientMessage(playerid,0x00FF00FF,"Type /info for some information!");
//--Map-Icons-------------------------------------------------------------------
SetPlayerMapIcon( playerid, 0, 2204.9468, 1986.2877, 16.7380, 52, 0 ); //lv bank
//SetPlayerMapIcon( playerid, 1, 1937.8361, 2309.9324, 10.8203, 52, 0 ); //lv bank2
SetPlayerMapIcon( playerid, 1, 1000.1940, -918.1357, 42.3281, 52, 0 ); //ls bank
SetPlayerMapIcon( playerid, 2, 1312.9158, -897.8206, 39.5781, 52, 0 ); //ls bank2
SetPlayerMapIcon( playerid, 3, 1833.6959, -1841.0413, 13.5781, 52, 0 ); //ls bank3
SetPlayerMapIcon( playerid, 4, -1560.3301, -2733.6934, 48.7435, 52, 0 ); //sf cilliard bank
SetPlayerMapIcon( playerid, 5, 162.6295, -1307.3717, 70.3513, 48, 0 ); //ls mansion
new name[25];
GetPlayerName(playerid, name, sizeof name);
if (strcmp(name, "[LTP]JA53N", true)==0) {
SendClientMessageToAll(COLOR_LIGHTRED, "THE MAKER OF THIS GAMEMODE HAS JOINED THE SERVER!");
}
return 1;
}
Script_OnPlayerDisconnect(playerid, reason) return 1;
Script_OnPlayerSpawn(playerid)
{
new name[25];
GetPlayerName(playerid, name, sizeof name);
if(GetPlayerMoney(playerid)>=0)
{
GivePlayerMoney(playerid, PocketMoney);
}
SetPlayerInterior(playerid,0);
SetPlayerRandomSpawn(playerid);
PlayerPlaySound(playerid,1076+1,0.0,0.0,0.0);
if (strcmp(name, "[LTP]JA53N", true)==0) {
SetPlayerPos(playerid, 165.9521, -1317.6952, 70.3513);
}
return 1;
}
public SetPlayerRandomSpawn(playerid)
{
if (iSpawnSet[playerid] == 1)
{
new rand = random(sizeof(gCopPlayerSpawns));
SetPlayerPos(playerid, gCopPlayerSpawns[rand][0], gCopPlayerSpawns[rand][1], gCopPlayerSpawns[rand][2]); // Warp the player
SetPlayerFacingAngle(playerid, 270.0);
}
if (iSpawnSet[playerid] == 2)
{
SetPlayerPos(playerid,191.4718,-1308.3307,70.2882);
}
else if (iSpawnSet[playerid] == 0)
{
new rand = random(sizeof(gRandomPlayerSpawns));
SetPlayerPos(playerid, gRandomPlayerSpawns[rand][0], gRandomPlayerSpawns[rand][1], gRandomPlayerSpawns[rand][2]); // Warp the player
}
return 1;
}
public SetPlayerRandomSpawnRC(playerid)
{
if (iSpawnSetRC[playerid] == 0)
{
new rand = random(sizeof(gRCPlayerSpawns));
SetPlayerPos(playerid, gRCPlayerSpawns[rand][0], gRCPlayerSpawns[rand][1], gRCPlayerSpawns[rand][2]); // Warp the player
}
return 1;
}
Script_OnPlayerCommandText(playerid, cmdtext[]){
new string[256];
new playermoney;
new giveplayername[MAX_PLAYERS];
new sendername[MAX_PLAYER_NAME];
new giveplayer[MAX_PLAYER_NAME];
new giveplayerid, moneys, idx;
new cmd[256];
new sit;
new stadium;
cmd = strtok(cmdtext, idx);
// ------------------- /HELP
if(strcmp(cmd, "/help", true) == 0) {
SendClientMessage(playerid, COLOR_GREEN,"Los Santos Freeroam 0.2 Help");
SendClientMessage(playerid, COLOR_YELLOW,"This is a freeroam gamemode where you can kill playes to receive their money. You can hold");
SendClientMessage(playerid, COLOR_YELLOW,"the Skyscraper roof to gain money. You can buy properties in order to constantly gain");
SendClientMessage(playerid, COLOR_YELLOW,"money, go to the checkpoints in the interiors of most stores in Los Santos for more");
SendClientMessage(playerid, COLOR_YELLOW,"information. You can visit ATMs in convenience stores to bank your money. You can use");
SendClientMessage(playerid, COLOR_YELLOW,"the /hitman command to put a bounty on someone's head and /givecash to send money to");
SendClientMessage(playerid, COLOR_YELLOW,"other players. Finally, you can purchase weapons in the Ammunation that you will have");
SendClientMessage(playerid, COLOR_YELLOW,"every time you spawn and buy plane tickets at the Airport.");
SendClientMessage(playerid, COLOR_ORANGE,"Type /gamecommands for a full list of commands and /gangcommands for a list of gang commands!");
return 1;
}
if(strcmp(cmd, "/info", true) == 0) {
SendClientMessage(playerid, COLOR_GREEN,"Los Santos Freeroam 0.2 Info");
SendClientMessage(playerid, COLOR_YELLOW,"This gamemode was made by JA53N!");
SendClientMessage(playerid, COLOR_YELLOW,"Small amounts of the gamemode were made by Ap0cALyPs3!");
SendClientMessage(playerid, COLOR_YELLOW,"If you would like to comment send a email or add jasen52@gmail.com to msn!");
SendClientMessage(playerid, COLOR_YELLOW,"This gamemode is Copyright © 2007");
return 1;
}
if(strcmp(cmd, "/gamecommands", true) == 0) {
SendClientMessage(playerid, COLOR_GREEN,"Available commands:");
SendClientMessage(playerid, COLOR_YELLOW,"/bank [amount], /withdraw [amount], /balance");
SendClientMessage(playerid, COLOR_YELLOW,"/givecash [playerid] [amount]");
SendClientMessage(playerid, COLOR_YELLOW,"/hitman [playerid] [amount]");
SendClientMessage(playerid, COLOR_YELLOW,"/bounty [playerid], /numberplate [name]");
SendClientMessage(playerid, COLOR_YELLOW,"/buy, /properties, /properties2, /properties3");
SendClientMessage(playerid, COLOR_YELLOW,"/me - eg. /me says hello!");
SendClientMessage(playerid, COLOR_YELLOW,"/bounties, /gangs");
SendClientMessage(playerid, COLOR_YELLOW,"/flylv, /flysf, /flyls");
SendClientMessage(playerid, COLOR_YELLOW,"/gamecommands2 for even more commands!");
return 1;
}
if(strcmp(cmd, "/gamecommands2", true) == 0) {
SendClientMessage(playerid, COLOR_GREEN,"Available commands:");
SendClientMessage(playerid, COLOR_YELLOW,"/cls - Clears all the text!");
SendClientMessage(playerid, COLOR_YELLOW,"/stadium [1-6]");
SendClientMessage(playerid, COLOR_YELLOW,"/stadiumexit");
SendClientMessage(playerid, COLOR_YELLOW,"/rc, /rcexit");
SendClientMessage(playerid, COLOR_YELLOW,"/sit [style 1-5], /stopanim");
SendClientMessage(playerid, COLOR_YELLOW,"/drunk, /pointgun, /stopanim");
SendClientMessage(playerid, COLOR_YELLOW,"/races - Another menu with a list of races!");
SendClientMessage(playerid, COLOR_YELLOW,"/admincommands only if your logged in as rcon admin!");
return 1;
}
if(strcmp(cmd, "/gangcommands", true) == 0) {
SendClientMessage(playerid, COLOR_GREEN,"Gang commands:");
SendClientMessage(playerid, COLOR_YELLOW,"/gang create [name]");
SendClientMessage(playerid, COLOR_YELLOW,"/gang join");
SendClientMessage(playerid, COLOR_YELLOW,"/gang invite [playerID]");
SendClientMessage(playerid, COLOR_YELLOW,"/gang quit");
SendClientMessage(playerid, COLOR_YELLOW,"/ganginfo [number] (no number given shows your gang's info)");
SendClientMessage(playerid, COLOR_YELLOW,"! (prefix text for gang-chat)");
return 1;
}
if(strcmp(cmd, "/races", true) == 0) {
SendClientMessage(playerid, COLOR_GREEN,"Available race commands:");
SendClientMessage(playerid, COLOR_YELLOW,"/racejoin");
SendClientMessage(playerid, COLOR_YELLOW,"/racestart");
SendClientMessage(playerid, COLOR_YELLOW,"/raceexit");
SendClientMessage(playerid, COLOR_YELLOW,"/race1 - racetest");
SendClientMessage(playerid, COLOR_YELLOW,"/race2 - Fastlane");
SendClientMessage(playerid, COLOR_YELLOW,"/race3 - Nothing Yet!");
SendClientMessage(playerid, COLOR_YELLOW,"/races2 - For more Races!");
return 1;
}
if(strcmp(cmd, "/races2", true) == 0) {
SendClientMessage(playerid, COLOR_GREEN,"Available race commands:");
SendClientMessage(playerid, COLOR_YELLOW,"/race4");
SendClientMessage(playerid, COLOR_YELLOW,"/race5");
SendClientMessage(playerid, COLOR_YELLOW,"/race6");
SendClientMessage(playerid, COLOR_YELLOW,"/race7");
SendClientMessage(playerid, COLOR_YELLOW,"/race8");
SendClientMessage(playerid, COLOR_YELLOW,"/race9");
SendClientMessage(playerid, COLOR_YELLOW,"/race10");
return 1;
}
if(strcmp(cmdtext, "/admincommands", true) == 0)
{
if IsPlayerAdmin(playerid) *then
{
SendClientMessage(playerid, COLOR_RED, "Admin Commands:");
SendClientMessage(playerid, COLOR_RED, "/kick [ID] - kicks a player!");
SendClientMessage(playerid, COLOR_RED, "/freeze [ID], /unfreeze [ID]");
SendClientMessage(playerid, COLOR_RED, "/goto [id], /get [id]");
SendClientMessage(playerid, COLOR_RED, "/god, /godoff - God mode on and off!");
SendClientMessage(playerid, COLOR_RED, "/healall - Heal's Everyone!");
SendClientMessage(playerid, COLOR_RED, "/armourall - Give's Armour to Everyone!");
SendClientMessage(playerid, COLOR_RED, "/admincash - Give's $10000 cash to the admin!");
SendClientMessage(playerid, COLOR_RED, "/vr - Repairs Your Vehicle!");
SendClientMessage(playerid, COLOR_RED, "For more admin commands type /admincommands2");
}
else
{
SendClientMessage(playerid, 0xB4B5B7FF, "You are not authorized to use that command!");
}
return 1;
}
if(strcmp(cmdtext, "/admincommands2", true) == 0)
{
if IsPlayerAdmin(playerid) *then
{
SendClientMessage(playerid, COLOR_RED, "Admin Commands2:");
SendClientMessage(playerid, COLOR_RED, "/sunny, /stormy, /day, /night");
SendClientMessage(playerid, COLOR_RED, "/hydralics - To give your car hydralics!");
SendClientMessage(playerid, COLOR_RED, "/nos2, /nos5, nos10 - For NOS in your Car!");
SendClientMessage(playerid, COLOR_RED, "/admincls - Clears Everyone's Text!");
SendClientMessage(playerid, COLOR_RED, "somthing");
SendClientMessage(playerid, COLOR_RED, "somthing");
SendClientMessage(playerid, COLOR_RED, "somthing");
SendClientMessage(playerid, COLOR_RED, "somthing");
SendClientMessage(playerid, COLOR_RED, "For Admin Teleport Commands type /adminteles");
}
else
{
SendClientMessage(playerid, 0xB4B5B7FF, "You are not authorized to use that command!");
}
return 1;
}
if(strcmp(cmdtext, "/adminteles", true) == 0)
{
if IsPlayerAdmin(playerid) *then
{
SendClientMessage(playerid, COLOR_RED, "Admin Teleport Commands:");
SendClientMessage(playerid, COLOR_RED, "/lib - To get teleported to Liberty City!");
SendClientMessage(playerid, COLOR_RED, "/somthinghere");
SendClientMessage(playerid, COLOR_RED, "/somthinghere");
SendClientMessage(playerid, COLOR_RED, "/somthinghere");
SendClientMessage(playerid, COLOR_RED, "/somthinghere");
SendClientMessage(playerid, COLOR_RED, "/somthinghere");
SendClientMessage(playerid, COLOR_RED, "/somthinghere");
SendClientMessage(playerid, COLOR_RED, "/somthinghere");
SendClientMessage(playerid, COLOR_RED, "/somthinghere");
}
else
{
SendClientMessage(playerid, 0xB4B5B7FF, "You are not authorized to use that command!");
}
return 1;
}
// ------------------- /ADMIN CLS
if(strcmp(cmdtext, "/admincls", true) == 0)
{
if IsPlayerAdmin(playerid) *then
{
SendClientMessageToAll(0xFF9900AA, " ");
SendClientMessageToAll(0xFF9900AA, " ");
SendClientMessageToAll(0xFF9900AA, " ");
SendClientMessageToAll(0xFF9900AA, " ");
SendClientMessageToAll(0xFF9900AA, " ");
SendClientMessageToAll(0xFF9900AA, " ");
SendClientMessageToAll(0xFF9900AA, " ");
SendClientMessageToAll(0xFF9900AA, " ");
SendClientMessageToAll(0xFF9900AA, " ");
SendClientMessageToAll(0xFF9900AA, " ");
}
else
{
SendClientMessage(playerid, 0xB4B5B7FF, "You are not authorized to use that command!");
}
return 1;
}
// ------------------- /ADMIN SUNNY
if(strcmp(cmdtext, "/sunny", true) == 0)
{
if IsPlayerAdmin(playerid) *then
{
SetWeather(1);
}
else
{
SendClientMessage(playerid, 0xB4B5B7FF, "You are not authorized to use that command!");
}
return 1;
}
// ------------------- /ADMIN STORMY
if(strcmp(cmdtext, "/stormy", true) == 0)
{
if IsPlayerAdmin(playerid) *then
{
SetWeather(08);
}
else
{
SendClientMessage(playerid, 0xB4B5B7FF, "You are not authorized to use that command!");
}
return 1;
}
// ------------------- /ADMIN DAY
if(strcmp(cmdtext, "/day", true) == 0)
{
if IsPlayerAdmin(playerid) *then
{
SetWorldTime(7);
}
else
{
SendClientMessage(playerid, 0xB4B5B7FF, "You are not authorized to use that command!");
}
return 1;
}
// ------------------- /ADMIN NIGHT
if(strcmp(cmdtext, "/night", true) == 0)
{
if IsPlayerAdmin(playerid) *then
{
SetWorldTime(1);
}
else
{
SendClientMessage(playerid, 0xB4B5B7FF, "You are not authorized to use that command!");
}
return 1;
}
// ------------------- /ADMIN VR (VEHICLE REPAIR)
if(strcmp(cmdtext, "/vr", true) == 0)
{
if IsPlayerAdmin(playerid) *then
{
if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_RED, "You must be in a vehicle to repair!");
SetVehicleHealth(GetPlayerVehicleID(playerid),1000.0);
SendClientMessage(playerid, COLOR_RED, "Vehicle Repaired Successfully!");
}
else
{
SendClientMessage(playerid, 0xB4B5B7FF, "You are not authorized to use that command!");
}
return 1;
}
//--------------------- /ADMIN KICK
if(strcmp(cmd, "/kick", true) == 0)
{
if(IsPlayerAdmin(playerid) == 1)
{
new Playerid;
new str[256];
new pname[256];
new aname[256];
new tmp[256];
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_YELLOW, "USAGE: /kick [id]");
return 1;
}
Playerid = strval(tmp);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_YELLOW, "USAGE: /kick [id]");
return 1;
}
GetPlayerName(Playerid, pname, sizeof (str));
GetPlayerName(playerid, aname, sizeof (str));
format(str, sizeof (str), "***Admin %s Kicked %s***", aname, pname);
SendClientMessageToAll(COLOR_YELLOW, str);
Kick(Playerid);
print(str);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_RED, "You are not authorized to use that command!");
return 1;
}
}
//-------------------- /ADMIN FREEZE/UNFREEZE
if(strcmp(cmd, "/freeze", true) == 0)
{
if(IsPlayerAdmin(playerid) == 1)
{
new Playerid;
new str[256];
new pname[256];
new aname[256];
new tmp[256];
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_YELLOW, "USAGE: /freeze [id]");
return 1;
}
Playerid = strval(tmp);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_YELLOW, "USAGE: /freeze [id]");
return 1;
}
GetPlayerName(Playerid, pname, sizeof (str));
GetPlayerName(playerid, aname, sizeof (str));
format(str, sizeof (str), "***Admin %s Freezed %s***", aname, pname);
SendClientMessageToAll(COLOR_YELLOW, str);
TogglePlayerControllable(Playerid, 0);
print(str);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_RED, "You are not authorized to use that command!");
return 1;
}
}
if(strcmp(cmd, "/unfreeze", true) == 0)
{
if(IsPlayerAdmin(playerid) == 1)
{
new Playerid;
new str[256];
new pname[256];
new aname[256];
new tmp[256];
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_YELLOW, "USAGE: /unfreeze [id]");
return 1;
}
Playerid = strval(tmp);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_YELLOW, "USAGE: /unfreeze [id]");
return 1;
}
GetPlayerName(Playerid, pname, sizeof (str));
GetPlayerName(playerid, aname, sizeof (str));
format(str, sizeof (str), "***Admin %s Unfreezed %s***", aname, pname);
SendClientMessageToAll(COLOR_YELLOW, str);
TogglePlayerControllable(Playerid, 1);
print(str);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_RED, "You are not authorized to use that command!");
return 1;
}
}
//------------------- /ADMIN HEALALL
if(strcmp(cmdtext, "/healall", true) == 0)
{
if(IsPlayerAdmin(playerid))
{
new str[256];
new aname[256];
GetPlayerName(playerid, aname, sizeof (str));
for(new i=0; i<MAX_PLAYERS; i++)
SetPlayerHealth(i, 100.0);
format(str, sizeof (str), "***Admin %s Healed everyone!***", aname);
SendClientMessageToAll(COLOR_YELLOW, str);
print(str);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_RED, "You are not authorized to use that command!");
return 1;
}
}
//------------------- /ADMIN ARMOURALL
if(strcmp(cmdtext, "/armourall", true) == 0)
{
if(IsPlayerAdmin(playerid))
{
new str[256];
new aname[256];
GetPlayerName(playerid, aname, sizeof (str));
for(new i=0; i<MAX_PLAYERS; i++)
SetPlayerArmour(i, 100.0);
format(str, sizeof (str), "***Admin %s gave armour to everyone!***", aname);
SendClientMessageToAll(COLOR_YELLOW, str);
print(str);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_RED, "You are not authorized to use that command!");
return 1;
}
}
//------------------- /ADMIN FLIP
if (strcmp("/flip", cmdtext, true, 10) == 0)
{
if(IsPlayerInAnyVehicle(playerid) == 1)
{
SetVehicleZAngle(GetPlayerVehicleID(playerid), 270.0);
SendClientMessage(playerid, 0x33AA33AA, "You have fliped your vehicle");
}
else
{
SendClientMessage(playerid, 0xAA3333AA, "You have to be in vehicle to flip your car");
}
return 1;
}
//--------------------- /ADMIN GIVECASHTOSELF
if(strcmp(cmdtext, "/admincash", true) == 0)
{
if(IsPlayerAdmin(playerid))
{
GivePlayerMoney(playerid, 10000);
SendClientMessage(playerid, 0x33AA33AA, "You have given yourself cash!");
return 1;
}
else
{
SendClientMessage(playerid, COLOR_RED, "You are not authorized to use that command!");
return 1;
}
}
//--------------------- /ADMIN GOD
if(strcmp(cmdtext, "/god", true) == 0)
{
if(IsPlayerAdmin(playerid))
{
SetPlayerHealth(playerid, 100000);
SendClientMessage(playerid, COLOR_RED, "You turned on God Mode!");
return 1;
}
else
{
SendClientMessage(playerid, COLOR_RED, "You are not authorized to use that command!");
return 1;
}
}
//--------------------- /ADMIN GOD OFF
if(strcmp(cmdtext, "/godoff", true) == 0)
{
if(IsPlayerAdmin(playerid))
{
SetPlayerHealth(playerid, 100);
SendClientMessage(playerid, COLOR_RED, "You turned on Off God Mode!");
return 1;
}
else
{
SendClientMessage(playerid, COLOR_RED, "You are not authorized to use that command!");
return 1;
}
}
//------------------- /ADMIN HYDRALICS
if(strcmp(cmdtext, "/hydralics", true) == 0)
{
if(IsPlayerAdmin(playerid))
{
new car = GetPlayerVehicleID(playerid);
AddVehicleComponent(car,1087);
SendClientMessage(playerid, COLOR_RED, "Hydralics installed!");
return 1;
}
else
{
SendClientMessage(playerid, COLOR_RED, "You are not authorized to use that command!");
return 1;
}
}
//------------------- /ADMIN NOS x2
if(strcmp(cmdtext, "/nos2", true) == 0)
{
if(IsPlayerAdmin(playerid))
{
new car = GetPlayerVehicleID(playerid);
AddVehicleComponent(car,1009);
SendClientMessage(playerid, COLOR_RED, "NOS x2 installed!");
return 1;
}
else
{
SendClientMessage(playerid, COLOR_RED, "You are not authorized to use that command!");
return 1;
}
}
//------------------- /ADMIN NOS x5
if(strcmp(cmdtext, "/nos5", true) == 0)
{
if(IsPlayerAdmin(playerid))
{
new car = GetPlayerVehicleID(playerid);
AddVehicleComponent(car,1008);
SendClientMessage(playerid, COLOR_RED, "NOS x5 installed!");
return 1;
}
else
{
SendClientMessage(playerid, COLOR_RED, "You are not authorized to use that command!");
return 1;
}
}
//------------------- /ADMIN NOS x10
if(strcmp(cmdtext, "/nos10", true) == 0)
{
if(IsPlayerAdmin(playerid))
{
new car = GetPlayerVehicleID(playerid);
AddVehicleComponent(car,1010);
SendClientMessage(playerid, COLOR_RED, "NOS x10 installed!");
return 1;
}
else
{
SendClientMessage(playerid, COLOR_RED, "You are not authorized to use that command!");
return 1;
}
}
//------------------- /ADMIN SPAWN NRG-500
if (strcmp("/nrg", cmdtext, true, 10) == 0)
{
if(IsPlayerAdmin(playerid))
{
new Float:X;
new Float:Y;
new Float:Z;
new di;
GetPlayerPos(playerid, X, Y, Z);
di = CreateVehicle(522, X, Y, Z, 40.19, -1, -1, 1403);
PutPlayerInVehicle(playerid, di, 0);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_RED, "You are not authorized to use that command!");
return 1;
}
}
//------------------- /ADMIN weapon
if(!strcmp(cmd, "/weapon", true)) {
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, COLOR_RED, "You are not an admin!");
new weaponid, ammo, tmp[256], tmp2[256];
tmp = strtok(cmdtext, idx), tmp2 = strtok(cmdtext,idx);
if(!strlen(tmp)||!strlen(tmp2)) return SendClientMessage(playerid, COLOR_YELLOW, "USAGE: /weapon [weaponid] [ammo]");
weaponid = strval(tmp), ammo = strval(tmp2);
return GivePlayerWeapon(playerid, weaponid, ammo);
}
//------------------- /ME
if (strcmp(cmdtext, "/me", true, 3) == 0)
{
if (cmdtext[3] == 0) SendClientMessage(playerid,COLOR_WHITE,"USAGE: /me [text]");
else if (cmdtext[3] == ' ')
{
new str[64];
GetPlayerName(playerid, str ,sizeof (str));
format(str, sizeof (str), "%s %s", str, cmdtext[4]);
SendClientMessageToAll(COLOR_LIGHTBLUE, str);
}
return 1;
}
//------------------- /MES
if (strcmp(cmdtext, "/mes", true, 3) == 0)
{
if (cmdtext[3] == 0) SendClientMessage(playerid,COLOR_WHITE,"USAGE: /mes [text]");
else if (cmdtext[3] == ' ')
{
new str[64];
GetPlayerName(playerid, str ,sizeof (str));
format(str, sizeof (str), "%s's %s", str, cmdtext[4]);
SendClientMessageToAll(COLOR_LIGHTBLUE, str);
}
return 1;
}
//------------------- /RC BATTLEFIELD IN
if(strcmp(cmd, "/rc", true) == 0) {
SetPlayerInterior(playerid, 10);
SetPlayerRandomSpawnRC(playerid);
SendClientMessage(playerid, COLOR_RED, "Welcome to the RC Battlefield!");
SendClientMessage(playerid, COLOR_RED, "Type /rcexit to leave the RC Battlefield!");
return 1;
}
//------------------- /RC BATTLEFIELD OUT
if(strcmp(cmd, "/rcexit", true) == 0)
{
if(GetPlayerInterior(playerid) == 10)
{
SpawnPlayer(playerid);
SendClientMessage(playerid, COLOR_RED, "You have successfully left the RC Battlefield!");
}
else
{
SendClientMessage(playerid, 0xB4B5B7FF, "You are not at the RC Battlefield!");
}
return 1;
}
// ------------------- /LIBERTY CITY IN
if(strcmp(cmdtext, "/lib", true) == 0)
{
if IsPlayerAdmin(playerid) *then
{
SetPlayerInterior(playerid, 1);
SetPlayerPos(playerid,-900.5807,457.8928,1346.8750);
SendClientMessage(playerid, COLOR_RED, "Welcome to Liberty City! Watch your step!");
SendClientMessage(playerid, COLOR_RED, "Type /libexit to leave Liberty City!");
}
else
{
SendClientMessage(playerid, 0xB4B5B7FF, "You are not authorized to use that command!");
}
return 1;
}
//------------------- /LIBERTY CITY OUT
if(strcmp(cmd, "/libexit", true) == 0)
{
if(GetPlayerInterior(playerid) == 1)
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 2623.0967, -1476.9813, 16.6705);
SendClientMessage(playerid, COLOR_RED, "You have successfully left Liberty City!");
}
else
{
SendClientMessage(playerid, 0xB4B5B7FF, "You are not at Liberty City!");
}
return 1;
}
//------------------- / MANSION EXIT
if(strcmp(cmd, "/mansionexit", true) == 0)
{
if(GetPlayerInterior(playerid) == 7)
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 163.4378,-1308.0645,70.3513);
SendClientMessage(playerid,COLOR_WHITE,"You have left the Mansion!");
}
else
{
SendClientMessage(playerid, 0xB4B5B7FF, "You are not at the Mansion!");
}
return 1;
}
//------------------- / Stadium's Exit's
if(strcmp(cmd, "/stadiumexit", true) == 0) {
SpawnPlayer(playerid);
SendClientMessage(playerid, COLOR_RED, "You have successfully left the Stadium!");
return 1;
}
//------------------- / STADIUMS
if(strcmp(cmd, "/stadium", true) == 0) {
if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
new tmp[256];
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) {
SendClientMessage(playerid,0xFF0000FF,"Usage: /stadium [1-5], /stadiumexit");
return 1;
}
stadium = strval(tmp);
if(stadium < 1 || stadium > 6) {
SendClientMessage(playerid,0xFF0000FF,"Usage: /stadium [1-5], /stadiumexit");
return 1;
}
if(stadium == 1) {
SetPlayerInterior(playerid, 1);
SetPlayerPos(playerid, -1402.6613, 106.3897, 1032.2734);
SendClientMessage(playerid, COLOR_RED, "Welcome to the Oval Stadium!");
}
else if(stadium == 2) {
SetPlayerInterior(playerid, 7);
SetPlayerPos(playerid, -1403.0116, -250.4526, 1043.5341);
SendClientMessage(playerid, COLOR_RED, "Welcome to the 8-Track Stadium!");
}
else if(stadium == 3) {
SetPlayerInterior(playerid, 14);
SetPlayerPos(playerid, -1420.4277, 1616.9221, 1052.5313);
SendClientMessage(playerid, COLOR_RED, "Welcome to the Kickstart Stadium!");
}
else if(stadium == 4) {
SetPlayerInterior(playerid, 15);
SetPlayerPos(playerid, -1417.8927, 932.4482, 1041.5313);
SendClientMessage(playerid, COLOR_RED, "Welcome to the Blood Bowl Stadium!");
}
else if(stadium == 5) {
SetPlayerInterior(playerid, 4);
SetPlayerPos(playerid, -1421.5618, -663.8262, 1059.5569);
SendClientMessage(playerid, COLOR_RED, "Welcome to the Dirtbike Stadium!");
}
else if(stadium == 6) {
SetPlayerInterior(playerid, 16);
SetPlayerPos(playerid, -1401.067, 1265.3706, 1039.8672);
SendClientMessage(playerid, COLOR_RED, "Welcome to the Vice Stadium!");
return 1;
}
}
return 1;
}
//------------------- / SIT/LAY
if(strcmp(cmd, "/sit", true) == 0) {
if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
new tmp[256];
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) {
SendClientMessage(playerid,0xFF0000FF,"Usage: /sit [style 1-5], /stopanim");
return 1;
}
sit = strval(tmp);
if(sit < 1 || sit > 5) {
SendClientMessage(playerid,0xFF0000FF,"Usage: /sit [style 1-5], /stopanim");
return 1;
}
if(sit == 1) {
ApplyAnimation(playerid, "BEACH", "bather", 4.000000, 0, 1, 1, 1, -1);
}
else if(sit == 2) {
ApplyAnimation(playerid, "BEACH", "Lay_Bac_Loop", 4.000000, 0, 1, 1, 1, -1);
}
else if(sit == 3) {
ApplyAnimation(playerid, "BEACH", "ParkSit_M_loop", 4.000000, 0, 1, 1, 1, -1);
}
else if(sit == 4) {
ApplyAnimation(playerid, "BEACH", "ParkSit_W_loop", 4.000000, 0, 1, 1, 1, -1);
}
else if(sit == 5) {
ApplyAnimation(playerid, "BEACH", "SitnWait_loop_W", 4.000000, 0, 1, 1, 1, -1);
return 1;
}
}
return 1;
}
//------------------- / STOP ANIM
if(strcmp(cmd, "/stopanim", true) == 0) {
ApplyAnimation(playerid, "CARRY", "crry_prtial", 4.0, 0, 0, 0, 0, 0);
SendClientMessage(playerid, COLOR_RED, "You have stoped playing the Anim!");
return 1;
}
//------------------- / DRUNK WALK, POINT GUN
if(strcmp(cmd, "/drunk", true) == 0) {
ApplyAnimation(playerid,"PED","WALK_DRUNK",4.1,1,1,1,1,1);
SendClientMessage(playerid, COLOR_RED, "To stop being Drunk type /stopanim!");
return 1;
}
if(strcmp(cmd, "/pointgun", true) == 0) {
ApplyAnimation(playerid,"PED","ARRESTgun",4.1,0,1,1,1,1);
SendClientMessage(playerid, COLOR_RED, "To stop pointing your gun type /stopanim!");
return 1;
}
//-------------------- / Race Join - racetest
if(strcmp(cmd, "/racejoin1", true) == 0) {
Race_PlayerJoin(playerid, racetest);
SendClientMessage(playerid, COLOR_RED, "You have Joined the Race!");
return 1;
}
//-------------------- / Race Join - Fastlane
if(strcmp(cmd, "/racejoin2", true) == 0) {
Race_PlayerJoin(playerid, Fastlane);
SendClientMessage(playerid, COLOR_RED, "You have Joined the Race!");
return 1;
}
//-------------------- / Race Start - racetest
if(strcmp(cmd, "/racestart1", true) == 0) {
Race_Start(racetest);
SendClientMessage(playerid, COLOR_RED, "You have Started the Race!");
return 1;
}
//-------------------- / Race Start - Fastlane
if(strcmp(cmd, "/racestart2", true) == 0) {
Race_Start(Fastlane);
SendClientMessage(playerid, COLOR_RED, "You have Started the Race!");
return 1;
}
//-------------------- / Race Exit
if(strcmp(cmd, "/raceexit", true) == 0) {
Race_PlayerLeave(playerid, 1);
SendClientMessage(playerid, COLOR_RED, "You have left the Race!");
return 1;
}
//-------------------- / CLS
if(strcmp(cmd, "/cls", true) == 0) {
SendClientMessage(playerid, COLOR_WHITE, " ");
SendClientMessage(playerid, COLOR_WHITE, " ");
SendClientMessage(playerid, COLOR_WHITE, " ");
SendClientMessage(playerid, COLOR_WHITE, " ");
SendClientMessage(playerid, COLOR_WHITE, " ");
SendClientMessage(playerid, COLOR_WHITE, " ");
SendClientMessage(playerid, COLOR_WHITE, " ");
SendClientMessage(playerid, COLOR_WHITE, " ");
SendClientMessage(playerid, COLOR_WHITE, " ");
SendClientMessage(playerid, COLOR_WHITE, " ");
return 1;
}
// ------------------- /GIVECASH
if(strcmp(cmd, "/givecash", true) == 0) {
new tmp[256];
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) {
SendClientMessage(playerid, COLOR_WHITE, "USAGE: /givecash [playerid] [amount]");
return 1;
}
giveplayerid = strval(tmp);
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) {
SendClientMessage(playerid, COLOR_WHITE, "USAGE: /givecash [playerid] [amount]");
return 1;
}
moneys = strval(tmp);
//printf("givecash_command: %d %d",giveplayerid,moneys);
if (IsPlayerConnected(giveplayerid)) {
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
playermoney = GetPlayerMoney(playerid);
if (moneys > 0 && playermoney >= moneys) {
GivePlayerMoney(playerid, (0 - moneys));
GivePlayerMoney(giveplayerid, moneys);
format(string, sizeof(string), "You have sent %s(player: %d), $%d.", giveplayer,giveplayerid, moneys);
SendClientMessage(playerid, COLOR_YELLOW, string);
format(string, sizeof(string), "You have recieved $%d from %s(player: %d).", moneys, sendername, playerid);
SendClientMessage(giveplayerid, COLOR_YELLOW, string);
printf("%s(playerid:%d) has transfered %d to %s(playerid:%d)",sendername, playerid, moneys, giveplayer, giveplayerid);
}
else {
SendClientMessage(playerid, COLOR_YELLOW, "Invalid transaction amount.");
}
}
else {
format(string, sizeof(string), "%d is not an active player.", giveplayerid);
SendClientMessage(playerid, COLOR_YELLOW, string);
}
return 1;
}
//------------------- /hitman
if(strcmp(cmd, "/hitman", true) == 0) {
new tmp[256];
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) {
SendClientMessage(playerid, COLOR_WHITE, "USAGE: /hitman [playerid] [amount]");
return 1;
}
giveplayerid = strval(tmp);
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) {
SendClientMessage(playerid, COLOR_WHITE, "USAGE: /hitman [playerid] [amount]");
return 1;
}
moneys = strval(tmp);
if(moneys > GetPlayerMoney(playerid)) {
SendClientMessage(playerid, COLOR_RED, "You don't have enough money!");
return 1;
}
if(moneys < 1) {
SendClientMessage(playerid, COLOR_YELLOW, "Hey what are you trying to pull here.");
return 1;
}
if(IsPlayerConnected(giveplayerid)==0) {
SendClientMessage(playerid, COLOR_RED, "No such player exists.");
return 1;
}
bounty[giveplayerid]+=moneys;
GivePlayerMoney(playerid, 0-moneys);
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "%s has had a $%d bounty put on his head from %s (total: $%d).", giveplayer, moneys, sendername, bounty[giveplayerid]);
SendClientMessageToAll(COLOR_ORANGE, string);
format(string, sizeof(string), "You have had a $%d bounty put on you from %s (id: %d).", moneys, sendername, playerid);
SendClientMessage(giveplayerid, COLOR_RED, string);
return 1;
}
//------------------- /bounty
if(strcmp(cmd, "/bounty", true) == 0) {
new tmp[256];
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) {
SendClientMessage(playerid, COLOR_WHITE, "USAGE: /bounty [playerid]");
return 1;
}
giveplayerid = strval(tmp);
if(IsPlayerConnected(giveplayerid)) {
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
format(string, sizeof(string), "Player %s (id: %d) has a $%d bounty on his head.", giveplayer,giveplayerid,bounty[giveplayerid]);
SendClientMessage(playerid, COLOR_YELLOW, string);
} else {
SendClientMessage(playerid, COLOR_RED, "No such player exists!");
}
return 1;
}
//------------------- /bounties
if(strcmp(cmd, "/bounties", true) == 0)
{
// new tmp[256];
new x;
SendClientMessage(playerid, COLOR_GREEN, "Current Bounties:");
for(new i=0; i < MAX_PLAYERS; i++) {
if(IsPlayerConnected(i) && bounty[i] > 0) {
GetPlayerName(i, giveplayer, sizeof(giveplayer));
format(string, sizeof(string), "%s%s(%d): $%d", string,giveplayer,i,bounty[i]);
x++;
if(x > 3) {
SendClientMessage(playerid, COLOR_YELLOW, string);
x = 0;
format(string, sizeof(string), "");
} else {
format(string, sizeof(string), "%s, ", string);
}
}
}
if(x <= 3 && x > 0) {
string[strlen(string)-2] = '.';
SendClientMessage(playerid, COLOR_YELLOW, string);
}
return 1;
}
//------------------- /gang
if(strcmp(cmd, "/gang", true) == 0) {
new tmp[256];
new gangcmd, gangnum;
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) {
SendClientMessage(playerid, COLOR_WHITE, "USAGE: /gang [create/join/invite/quit] [name/number]");
return 1;
}
giveplayerid = strval(tmp);
if(strcmp(tmp, "create", true)==0)
gangcmd = 1;
else if(strcmp(tmp, "invite", true)==0)
gangcmd = 2;
else if(strcmp(tmp, "join", true)==0)
gangcmd = 3;
else if(strcmp(tmp, "quit", true)==0)
gangcmd = 4;
tmp = strtok(cmdtext, idx);
if(gangcmd < 3 && !strlen(tmp)) {
if(gangcmd==0)
SendClientMessage(playerid, COLOR_WHITE, "USAGE: /gang [create/join/invite/quit] [name/number]");
else if(gangcmd==1)
SendClientMessage(playerid, COLOR_WHITE, "USAGE: /gang [create] [name]");
else if(gangcmd==2)
SendClientMessage(playerid, COLOR_WHITE, "USAGE: /gang [invite] [playerID]");
return 1;
}
//Create Gang//
if(gangcmd==1) {
if(playerGang[playerid]>0) {
SendClientMessage(playerid, COLOR_RED, "You are already in a gang!");
return 1;
}
for(new i = 1; i < MAX_GANGS; i++) {
if(gangInfo[i][0]==0) {
//name gang
format(gangNames[i], MAX_GANG_NAME, "%s", tmp);
//Gang exists
gangInfo[i][0]=1;
//There is one member
gangInfo[i][1]=1;
//Gang colour is player's colour
gangInfo[i][2]=playercolours[playerid];
//Player is the first gang member
gangMembers[i][0] = playerid;
format(string, sizeof(string),"You have created the gang '%s' (id: %d)", gangNames[i], i);
SendClientMessage(playerid, COLOR_GREEN, string);
playerGang[playerid]=i;
return 1;
}
}
return 1;
//Join Gang//
} else if (gangcmd==3) {
gangnum = gangInvite[playerid];
if(playerGang[playerid]>0) {
SendClientMessage(playerid, COLOR_RED, "You are already in a gang!");
return 1;
}
if(gangInvite[playerid]==0) {
SendClientMessage(playerid, COLOR_RED, "You have not been invited to a gang.");
return 1;
}
if(gangInfo[gangnum][0]==0) {
SendClientMessage(playerid, COLOR_RED, "That gang does not exist!");
return 1;
}
if(gangInfo[gangnum][1] < MAX_GANG_MEMBERS) {
new i = gangInfo[gangnum][1];
gangInvite[playerid]=0;
gangMembers[gangnum][i] = playerid;
GetPlayerName(playerid, sendername, MAX_PLAYER_NAME);
for(new j = 0; j < gangInfo[gangnum][1]; j++) {
format(string, sizeof(string),"%s has joined your gang.", sendername);
SendClientMessage(gangMembers[gangnum][j], COLOR_ORANGE, string);
}
gangInfo[gangnum][1]++;
playerGang[playerid] = gangnum;
SetPlayerColor(playerid,gangInfo[gangnum][2]);
format(string, sizeof(string),"You have joined the gang '%s' (id: %d)", gangNames[gangnum], gangnum);
SendClientMessage(playerid, COLOR_GREEN, string);
return 1;
}
SendClientMessage(playerid, COLOR_RED, "That gang is full.");
return 1;
//Invite to Gang//
} else if (gangcmd==2) {
giveplayerid = strval(tmp);
if(playerGang[playerid]==0) {
SendClientMessage(playerid, COLOR_RED, "You are not in a gang!");
return 1;
}
if(IsPlayerConnected(giveplayerid)) {
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string),"You have sent a gang invite to %s.", giveplayer);
SendClientMessage(playerid, COLOR_GREEN, string);
format(string, sizeof(string),"You have recieved a gang invite from %s to '%s' (id: %d)", sendername, gangNames[playerGang[playerid]],playerGang[playerid]);
SendClientMessage(giveplayerid, COLOR_GREEN, string);
gangInvite[giveplayerid]=playerGang[playerid];
} else
SendClientMessage(playerid, COLOR_RED, "No such player exists!");
//Leave Gang//
} else if (gangcmd==4) {
PlayerLeaveGang(playerid);
}
return 1;
}
//------------------- /ganginfo
if(strcmp(cmd, "/ganginfo", true) == 0) {
new tmp[256];
new gangnum;
tmp = strtok(cmdtext, idx);
if(!strlen(tmp) && playerGang[playerid]==0) {
SendClientMessage(playerid, COLOR_WHITE, "USAGE: /ganginfo [number]");
return 1;
} else if (!strlen(tmp))
gangnum = playerGang[playerid];
else
gangnum = strval(tmp);
if(gangInfo[gangnum][0]==0) {
SendClientMessage(playerid, COLOR_RED, "No such gang exists!");
return 1;
}
format(string, sizeof(string),"'%s' Gang Members (id: %d)", gangNames[gangnum], gangnum);
SendClientMessage(playerid, COLOR_GREEN, string);
for(new i = 0; i < gangInfo[gangnum][1]; i++) {
GetPlayerName(gangMembers[gangnum][i], giveplayer, sizeof(giveplayer));
format(string, sizeof(string),"%s (%d)", giveplayer, gangMembers[gangnum][i]);
SendClientMessage(playerid, COLOR_YELLOW, string);
}
return 1;
}
//------------------- /gangs
if(strcmp(cmd, "/gangs", true) == 0)
{
new x;
SendClientMessage(playerid, COLOR_GREEN, "Current Gangs:");
for(new i=0; i < MAX_GANGS; i++) {
if(gangInfo[i][0]==1) {
format(string, sizeof(string), "%s%s(%d) - %d members", string,gangNames[i],i,gangInfo[i][1]);
x++;
if(x > 2) {
SendClientMessage(playerid, COLOR_YELLOW, string);
x = 0;
format(string, sizeof(string), "");
} else {
format(string, sizeof(string), "%s, ", string);
}
}
}
if(x <= 2 && x > 0) {
string[strlen(string)-2] = '.';
SendClientMessage(playerid, COLOR_YELLOW, string);
}
return 1;
}
//------------------- /goto
if(strcmp(cmd, "/goto", true) == 0) {
new tmp[256];
tmp = strtok(cmdtext, idx);
if IsPlayerAdmin(playerid) *then
if(!strlen(tmp)) {
SendPlayerFormattedText(playerid,"Usage: /goto [id]",0);
} else {
if(!IsPlayerConnected(strval(tmp))) {
SendPlayerFormattedText(playerid,"Invalid Player ID to goto.",0);
} else {
new Float:X;
new Float:Y;
new Float:Z;
new Float:Angle;
if(IsPlayerInAnyVehicle(playerid)) {
new VehicleID;
VehicleID = GetPlayerVehicleID(playerid);
GetPlayerPos(strval(tmp),X,Y,Z);
GetPlayerFacingAngle(strval(tmp),Angle);
SetVehiclePos(VehicleID, X + 0.01, Y + 0.01, Z);
SetPlayerFacingAngle(playerid,Angle);
} else {
GetPlayerPos(strval(tmp),X,Y,Z);
GetPlayerFacingAngle(strval(tmp),Angle);
SetPlayerFacingAngle(playerid,Angle);
SetPlayerPos(playerid, X + 0.01, Y + 0.01, Z);
}
new tempstr[256];
GetPlayerName(strval(tmp),giveplayername,sizeof(giveplayername));
format(tempstr, sizeof(tempstr), "You have been teleported to %s's location.",giveplayername);
SendPlayerFormattedTextg(playerid,tempstr,0);
}
}
else
{
SendClientMessage(playerid, COLOR_RED, "You are not authorized to use that command!");
return 1;
}
return 1;
}
//------------------- /get
if(strcmp(cmd, "/get", true) == 0) {
new tmp[256];
tmp = strtok(cmdtext, idx);
if IsPlayerAdmin(playerid) *then
if(!strlen(tmp)) {
SendPlayerFormattedText(playerid,"Usage: /get [id]",0);
} else {
if(!IsPlayerConnected(strval(tmp))) {
SendPlayerFormattedText(playerid,"Invalid Player ID to get.",0);
} else {
{
new Float:x,Float:y,Float:z,Float:a;
GetPlayerPos(playerid, x, y, z);
GetPlayerFacingAngle(playerid, a);
SetPlayerInterior(strval(tmp), 0);
SetPlayerPos(strval(tmp), x, y, z + 5);
SetCameraBehindPlayer(strval(tmp));
}
new tempstr[256];
GetPlayerName(strval(tmp),giveplayername,sizeof(giveplayername));
format(tempstr, sizeof(tempstr), "You have teleported %s's to your location.",giveplayername);
SendPlayerFormattedTextg(playerid,tempstr,0);
}
}
else
{
SendClientMessage(playerid, COLOR_RED, "You are not authorized to use that command!");
return 1;
}
return 1;
}
if (strcmp(cmdtext, "/open", true)==0)
{
MoveObject (pdgate,97.409934,1926.133544,18.360435,0.592236);
return 1;
}
if (strcmp(cmdtext, "/close", true)==0)
{
MoveObject (pdgate,97.118011,1920.152099,18.227085,0.592236);
return 1;
}
//------------------------------------------------------------------------------
return 0;
}
//------------------------------------------------------------------------------
Script_OnPlayerEnterCheckpointEx(playerid, cpid)
{
if (cpid == libin)
{
SetPlayerPos(playerid,-900.5807,457.8928,1346.8750);
}
}
//------------------------------------------------------------------------------
Script_OnPlayerStateChange(playerid, newstate, oldstate) return 1;
Script_OnPlayerEnterCheckpoint(playerid) return 1;
Script_OnPlayerLeaveCheckpoint(playerid) return 1;
Script_OnPlayerEnterRaceCheckpoint(playerid) return 1;
Script_OnPlayerSelectedMenuRow(playerid, row) return 1;
Script_OnPlayerExitedMenu(playerid) return 1;
Script_OnPlayerLogin(playerid, yid) return 1;
//------------------------------------------------------------------------------
public OnPlayerText(playerid, text[])
{
if(text[0] == '!') {
if(playerGang[playerid] > 0) {
new gangChat[256];
new senderName[MAX_PLAYER_NAME];
new string[256];
strmid(gangChat,text,1,strlen(text));
GetPlayerName(playerid, senderName, sizeof(senderName));
format(string, sizeof(string),"%s: %s", senderName, gangChat);
for(new i = 0; i < gangInfo[playerGang[playerid]][1]; i++) {
SendClientMessage(gangMembers[playerGang[playerid]][i], COLOR_LIGHTBLUE, string);
}
}
return 0;
}
return 1;
}
//------------------------------------------------------------------------------
public OnPlayerPickUpPickup(playerid, pickupid)
{
if (pickupid == 0){
SetPlayerInterior(playerid, 7);
SetPlayerPos(playerid, 225.7041,1024.8735,1084.0078);
pickuptele[playerid] = 0;
SendClientMessage(playerid,COLOR_WHITE,"Welcome to the Mansion!");
SendClientMessage(playerid,COLOR_WHITE,"Type /mansionexit to leave!");
}
return 1;
}
//------------------------------------------------------------------------------
public SendPlayerFormattedTextg(playerid, const str[], define)
{
new tmpbuf[256];
format(tmpbuf, sizeof(tmpbuf), str, define);
SendClientMessage(playerid, COLOR_GREEN, tmpbuf);
}
public SendPlayerFormattedText(playerid, const str[], define)
{
new tmpbuf[256];
format(tmpbuf, sizeof(tmpbuf), str, define);
SendClientMessage(playerid, COLOR_ORANGE, tmpbuf);
}
//------------------------------------------------------------------------------
strtok(const string[], &index)
{
new length = strlen(string);
while ((index < length) && (string[index] <= ' '))
{
index++;
}
new offset = index;
new result[20];
while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
{
result[index - offset] = string[index];
index++;
}
result[index - offset] = EOS;
return result;
}
//------------------------------------------------------------------------------
// Makes RC Vehicles Work and Makes Trams work on the Tram Tracks in SF
//------------------------------------------------------------------------------
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newkeys == KEY_SECONDARY_ATTACK ){
if(!IsPlayerInAnyVehicle(playerid)){
new Float:x, Float:y, Float:z, vehicle;
GetPlayerPos(playerid, x, y, z );
GetVehicleWithinDistance(playerid, x, y, z, 20.0, vehicle);
if(IsVehicleRcTram(vehicle)){
PutPlayerInVehicle(playerid, vehicle, 0);
}
}
else {
new vehicleID = GetPlayerVehicleID(playerid);
if(IsVehicleRcTram(vehicleID) || GetVehicleModel(vehicleID) == RC_CAM){
if(GetVehicleModel(vehicleID) != D_TRAM){
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
SetPlayerPos(playerid, x+0.5, y, z+1.0);
}
}
}
}
}
GetVehicleWithinDistance( playerid, Float:x1, Float:y1, Float:z1, Float:dist, &veh){
for(new i = 1; i < MAX_VEHICLES; i++){
if(GetVehicleModel(i) > 0){
if(GetPlayerVehicleID(playerid) != i ){
new Float:x, Float:y, Float:z;
new Float:x2, Float:y2, Float:z2;
GetVehiclePos(i, x, y, z);
x2 = x1 - x; y2 = y1 - y; z2 = z1 - z;
new Float:vDist = (x2*x2+y2*y2+z2*z2);
if( vDist < dist){
veh = i;
dist = vDist;
}
}
}
}
}
IsVehicleRcTram( vehicleid ){
new model = GetVehicleModel(vehicleid);
switch(model){
case D_TRAM, RC_GOBLIN, RC_BARON, RC_BANDIT, RC_RAIDER, RC_TANK: return 1;
default: return 0;
}
return 0;
}
//------------------------------------------------------------------------------
TimeTextForPlayer(playerid, Text:text, time)
{
TextDrawShowForPlayer(playerid,text);
SetTimerEx("DestroyTextTimer",time,0,"i",_:text);
}
//public DestroyTextTimer(Text:text)//this destroys the text
//{
//TextDrawDestroy(text);
//}
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
//-----------------------------------END----------------------------------------
//------------------------------------------------------------------------------