My code isnt working
#1

http://pastebin.com/yQKXN0Vh - Code

Errors:
Код:
C:\Users\Keegan\Desktop\gamemodes\SFCNR.pwn(976) : warning 202: number of arguments does not match definition
C:\Users\Keegan\Desktop\gamemodes\SFCNR.pwn(976) : warning 202: number of arguments does not match definition
C:\Users\Keegan\Desktop\gamemodes\SFCNR.pwn(1113) : error 033: array must be indexed (variable "tmp")
C:\Users\Keegan\Desktop\gamemodes\SFCNR.pwn(1132) : error 033: array must be indexed (variable "tmp")
C:\Users\Keegan\Desktop\gamemodes\SFCNR.pwn(1133) : error 033: array must be indexed (variable "tmp")
C:\Users\Keegan\Desktop\gamemodes\SFCNR.pwn(1134) : error 033: array must be indexed (variable "tmp")
C:\Users\Keegan\Desktop\gamemodes\SFCNR.pwn(1135) : error 033: array must be indexed (variable "tmp")
C:\Users\Keegan\Desktop\gamemodes\SFCNR.pwn(1140) : error 006: must be assigned to an array
C:\Users\Keegan\Desktop\gamemodes\SFCNR.pwn(1141) : error 006: must be assigned to an array
C:\Users\Keegan\Desktop\gamemodes\SFCNR.pwn(1105) : warning 204: symbol is assigned a value that is never used: "city"
C:\Users\Keegan\Desktop\gamemodes\SFCNR.pwn(1158) : warning 213: tag mismatch
C:\Users\Keegan\Desktop\gamemodes\SFCNR.pwn(1159) : warning 213: tag mismatch
C:\Users\Keegan\Desktop\gamemodes\SFCNR.pwn(1160) : warning 213: tag mismatch
C:\Users\Keegan\Desktop\gamemodes\SFCNR.pwn(1165) : error 033: array must be indexed (variable "-unknown-")
C:\Users\Keegan\Desktop\gamemodes\SFCNR.pwn(1170) : error 033: array must be indexed (variable "-unknown-")
C:\Users\Keegan\Desktop\gamemodes\SFCNR.pwn(1176) : error 033: array must be indexed (variable "-unknown-")
C:\Users\Keegan\Desktop\gamemodes\SFCNR.pwn(1182) : error 033: array must be indexed (variable "-unknown-")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


11 Errors.
Reply
#2

Bump
Reply
#3

Bump
Reply
#4

The errors are pretty self explanatory..

Number of arguments do not match: let's say you have a function that needs 2 arguments (somefunction(argument1, argument2)) and you only enter argument one then you have one less then needed. Number doesn't match.

Array must be indexed: tmp[index]
And for the others. Just look at the line and find the mistake in the wiki or something. I'm not going to your whole gamemodes for you
Reply
#5

Quote:
Originally Posted by FUNExtreme
Посмотреть сообщение
The errors are pretty self explanatory..

Number of arguments do not match: let's say you have a function that needs 2 arguments (somefunction(argument1, argument2)) and you only enter argument one then you have one less then needed. Number doesn't match.

Array must be indexed: tmp[index]
And for the others. Just look at the line and find the mistake in the wiki or something. I'm not going to your whole gamemodes for you
If you aren't gonna help, don't post.
Reply
#6

UPDATED: New code and errors:
http://pastebin.com/rWMb4QK2

Errors:
Код:
C:\Users\Keegan\Desktop\gamemodes\SFCNR.pwn(976) : warning 202: number of arguments does not match definition
C:\Users\Keegan\Desktop\gamemodes\SFCNR.pwn(976) : warning 202: number of arguments does not match definition
C:\Users\Keegan\Desktop\gamemodes\SFCNR.pwn(1133) : error 006: must be assigned to an array
C:\Users\Keegan\Desktop\gamemodes\SFCNR.pwn(1134) : error 006: must be assigned to an array
C:\Users\Keegan\Desktop\gamemodes\SFCNR.pwn(1135) : error 006: must be assigned to an array
C:\Users\Keegan\Desktop\gamemodes\SFCNR.pwn(1136) : error 006: must be assigned to an array
C:\Users\Keegan\Desktop\gamemodes\SFCNR.pwn(1107) : warning 204: symbol is assigned a value that is never used: "nCity"
C:\Users\Keegan\Desktop\gamemodes\SFCNR.pwn(1136) : warning 204: symbol is assigned a value that is never used: "warname"
C:\Users\Keegan\Desktop\gamemodes\SFCNR.pwn(1159) : warning 213: tag mismatch
C:\Users\Keegan\Desktop\gamemodes\SFCNR.pwn(1160) : warning 213: tag mismatch
C:\Users\Keegan\Desktop\gamemodes\SFCNR.pwn(1161) : warning 213: tag mismatch
C:\Users\Keegan\Desktop\gamemodes\SFCNR.pwn(1166) : error 033: array must be indexed (variable "-unknown-")
C:\Users\Keegan\Desktop\gamemodes\SFCNR.pwn(1171) : error 033: array must be indexed (variable "-unknown-")
C:\Users\Keegan\Desktop\gamemodes\SFCNR.pwn(1176) : error 033: array must be indexed (variable "-unknown-")
C:\Users\Keegan\Desktop\gamemodes\SFCNR.pwn(1181) : error 033: array must be indexed (variable "-unknown-")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


8 Errors.
Reply
#7

Код:
/*/==========================//
====== San Fierro: Cops and Robbers ===//
Note: This is a different script then Stevo127's SFCRRPG. This is made by stormchaser206.

Credits:
-stormchaser206: Creating the script
-Incognito: IRC Plugin & Include
-SA-MP Team: Creating the awesome SA-MP.

Please do not re-release without my permission
*/

#include <a_samp>
#include <YSI\y_ini>
#include <irc>
#include <gates>
#include <SAMsites0.4.1>

new BaseSam1;
new BaseSam2;

new Timer;

new CiaSign;


//Dialogs
#define DIALOG_SSKILL   6891
#define DIALOG_SWTEAM   3739

//Dcmd
#define dcmd(%1,%2,%3) if (!strcmp((%3)[1], #%1, true, (%2)) && ((((%3)[(%2) + 1] == '\0') && (dcmd_%1(playerid, ""))) || (((%3)[(%2) + 1] == ' ') && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1

//IRC Stuff
#define IRC_SERVER "irc.mibbit.net"
#define IRC_PORT 6667
#define IRC_CHANNEL "#SFCNR"

#define BOT_1_NICKNAME "Bot"
#define BOT_1_REALNAME "SA-MP Bot"
#define BOT_1_USERNAME "Bot"

#define MAX_BOTS (1)

new gBotID[MAX_BOTS];
new gGroupID;

//Object
new Missile1;

forward CanUseStrike(playerid);

//Forwards//
forward AutoUnCuff(id);
forward CheckForCopScore(playerid);

//Teams//
#define TEAM_COP 0
#define TEAM_ARMY 1
#define TEAM_FBI 3
#define TEAM_SWAT 4
#define TEAM_CIA 5
#define TEAM_TAXI 6
#define TEAM_MEDIC 7
#define TEAM_FIRE 8
#define TEAM_TERROR 9
#define TEAM_ROB 10
#define TEAM_KIDNAP 11
#define TEAM_HITMAN 12
#define TEAM_RAPE 13
#define TEAM_WDEAL 14
#define TEAM_DDEAL 15

//War teams
#define TEAM_RANGER 16
#define TEAM_SPETSNAZ 17

//Important Defines
#define CUFF_BRK_AWAY_CHANCE 35
#define MAX_WARS 1

//Colors
#define COLOR_RED (0xFF0000FF)
#define COLOR_GREEN (0x00FF00FF)
#define COLOR_AQUA (0x00FFFFFF)
#define COLOR_BLUE (0x0000FFFF)
#define COLOR_PINK (0xFF00FFFF)
#define COLOR_YELLOW (0xFFFF00FF)
#define COLOR_WHITE (0xFFFFFFFF)
#define COLOR_ORANGE (0xFFBE00FF)
#define COLOR_BLACK (0x000000FF)
#define COLOR_GREY (0xE4E1FFFF)
#define COLOR_BROWN (0x451800FF)

#define COL_BLACK "{000000}"
#define COL_RED "{FF0000}"
#define COL_PINK "{FF00FF}"
#define COL_WHITE "{FFFFFF}"
#define COL_BLUE "{0000FF}"
#define COL_ORANGE "{FF9000}"
#define COL_FGREEN "{008600}"
#define COL_GREEN "{00FF00}"

//Random spawns (Thank grand larceny)
new Float:gRandomSpawns_SanFierro[][4] = {
{-2723.4639,-314.8138,7.1839,43.5562},  // golf course spawn
{-2694.5344,64.5550,4.3359,95.0190},  // in front of a house
{-2458.2000,134.5419,35.1719,303.9446},  // hotel
{-2796.6589,219.5733,7.1875,88.8288},  // house
{-2706.5261,397.7129,4.3672,179.8611},  // park
{-2866.7683,691.9363,23.4989,286.3060},  // house
{-2764.9543,785.6434,52.7813,357.6817},  // donut shop
{-2660.9402,883.2115,79.7738,357.4440},  // house
{-2861.0796,1047.7109,33.6068,188.2750}, //  parking lot
{-2629.2009,1383.1367,7.1833,179.7006},  // parking lot at the bridge
{-2079.6802,1430.0189,7.1016,177.6486},  // pier
{-1660.2294,1382.6698,9.8047,136.2952}, //  pier 69
{-1674.1964,430.3246,7.1797,226.1357},  // gas station]
{-1954.9982,141.8080,27.1747,277.7342},  // train station
{-1956.1447,287.1091,35.4688,90.4465},  // car shop
{-1888.1117,615.7245,35.1719,128.4498},  // random
{-1922.5566,886.8939,35.3359,272.1293},  // random
{-1983.3458,1117.0645,53.1243,271.2390},  // church
{-2417.6458,970.1491,45.2969,269.3676},  // gas station
{-2108.0171,902.8030,76.5792,5.7139},  // house
{-2097.5664,658.0771,52.3672,270.4487},  // random
{-2263.6650,393.7423,34.7708,136.4152},  // random
{-2287.5027,149.1875,35.3125,266.3989},  // baseball parking lot
{-2039.3571,-97.7205,35.1641,7.4744},  // driving school
{-1867.5022,-141.9203,11.8984,22.4499},  // factory
{-1537.8992,116.0441,17.3226,120.8537},  // docks ship
{-1708.4763,7.0187,3.5489,319.3260},  // docks hangar
{-2173.0654,-392.7444,35.3359,237.0159},  // stadium
{-2320.5286,-180.3870,35.3135,179.6980},  // burger shot
{-2930.0049,487.2518,4.9141,3.8258}  // harbor
};

//Enums
enum wInfo
{
	War1GoingOn,
	War1Players,
	War1Name,
	War1City,
	IsOn1USA,
	IsOn1Russia,
	USTeamScore,
	RussiaTeamScore
}

new WarOneInfo[wInfo];

enum fInfo
{
	CanUseSWAT,
	CanUseArmy,
	CanUseFBI,
	CanUseCIA,
	CanUsePolice,
	IsSWATLeader,
	IsArmyLeader,
	IsFBILeader,
	IsCIALeader,
	Price
}

enum pInfo
{
    Registered,
	LoggedIn,
	Cash,
	Score,
	Admin,
	VipPoints,
	Xp,
	Cuffed,
	InPrison,
	CanUseMStrike,
	WaitingToStrike,
	xC4,
	Float:WOldX,
	Float:WOldY,
	Float:WOldZ,
	InWar
}

new FactionInfo[MAX_PLAYERS][fInfo];
new PlayerInfo[MAX_PLAYERS][pInfo];


main()
{
	print("\n================================================================");
	print("=== San Fierro Cops and Robbers v1.0 by stormchaser206 loaded! ===");
	print("==================================================================\n");
}

public OnGameModeInit()
{
	// Don't use these lines if it's a filterscript
	SetGameModeText("SF Cops and Robbers");
	AddPlayerClass(281,-1591.7279,716.1664,-5.2422,270.7460,0,0,0,0,0,0); // cnr police
	AddPlayerClass(287,-1389.1581,-246.2881,14.1440,314.9499,0,0,0,0,0,0); // cnr army
	AddPlayerClass(285,-1449.1959,453.8936,7.1875,3.5911,0,0,0,0,0,0); // cnr swat
	AddPlayerClass(286,-2455.3621,497.4983,30.0870,297.9120,0,0,0,0,0,0); // cnr fbi
	AddPlayerClass(164,-3379.1736,316.7283,29.6567,198.6681,0,0,0,0,0,0); // CIA Spawn
	AddPlayerClass(279,-2024.0890,70.5015,28.4499,274.4205,0,0,0,0,0,0); // cnr fireman
	AddPlayerClass(262,-2481.7729,372.6339,35.1204,240.2162,0,0,0,0,0,0); // cnr taxi man
	AddPlayerClass(276,-2653.2751,636.6666,14.4531,179.8945,0,0,0,0,0,0); // cnr medic
	AddPlayerClass(0,-1579.1820,721.7610,37.8293,272.0121,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(1,-1579.1820,721.7610,37.8293,272.0121,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(3,-1579.1820,721.7610,37.8293,272.0121,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(6,-1579.1820,721.7610,37.8293,272.0121,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(9,-1579.1820,721.7610,37.8293,272.0121,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(299,-1579.1820,721.7610,37.8293,272.0121,0,0,0,0,0,0); // cnr claude skin
	AddPlayerClass(293,-1579.1820,721.7610,37.8293,272.0121,0,0,0,0,0,0); // cnr claude skin
	AddPlayerClass(245,-1785.3781,-120.7918,5.1511,55.0728,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(247,-1785.3781,-120.7918,5.1511,55.0728,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(249,-1785.3781,-120.7918,5.1511,55.0728,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(123,-1785.3781,-120.7918,5.1511,55.0728,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(16,-1785.3781,-120.7918,5.1511,55.0728,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(30,-1785.3781,-120.7918,5.1511,55.0728,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(23,-1785.3781,-120.7918,5.1511,55.0728,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(78,-1785.3781,-120.7918,5.1511,55.0728,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(72,-1785.3781,-120.7918,5.1511,55.0728,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(125,-1785.3781,-120.7918,5.1511,55.0728,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(200,-1785.3781,-120.7918,5.1511,55.0728,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(100,-1785.3781,-120.7918,5.1511,55.0728,0,0,0,0,0,0); // cnr skin

	//Map
	AddStaticVehicleEx(416,-2679.19995117,583.29998779,14.80000019,270.00000000,1,3,15); //Ambulance
	AddStaticVehicleEx(416,-2545.50000000,638.09997559,28.10000038,270.00000000,1,3,15); //Ambulance
	AddStaticVehicleEx(416,-2588.60009766,643.20001221,14.80000019,90.00000000,1,3,15); //Ambulance
	AddStaticVehicleEx(416,-2590.00000000,628.29998779,14.80000019,90.00000000,1,3,15); //Ambulance
	AddStaticVehicleEx(416,-2702.69995117,594.59997559,14.80000019,0.00000000,1,3,15); //Ambulance
	AddStaticVehicleEx(416,-2544.09960938,593.29980469,14.80000019,270.00000000,1,3,15); //Ambulance
	AddStaticVehicleEx(416,-2545.39990234,648.59997559,28.10000038,270.00000000,1,3,15); //Ambulance
	AddStaticVehicleEx(416,-2589.80004883,634.70001221,28.10000038,270.00000000,1,3,15); //Ambulance
	AddStaticVehicleEx(416,-2558.60009766,626.29998779,28.10000038,0.00000000,1,3,15); //Ambulance
	AddStaticVehicleEx(563,-2646.30004883,666.40002441,66.90000153,0.00000000,-1,-1,15); //Raindance
	AddStaticVehicleEx(490,-2425.19995117,517.70001221,30.20000076,40.00000000,-1,-1,15); //FBI Rancher
	AddStaticVehicleEx(528,-2415.69995117,531.50000000,30.10000038,64.00000000,-1,-1,15); //FBI Truck
	AddStaticVehicleEx(528,-2416.50000000,528.50000000,30.10000038,59.99536133,-1,-1,15); //FBI Truck
	AddStaticVehicleEx(528,-2418.69995117,525.20001221,30.10000038,51.99084473,-1,-1,15); //FBI Truck
	AddStaticVehicleEx(427,-2440.00000000,520.50000000,30.20000076,0.00000000,-1,1,15); //Enforcer
	AddStaticVehicleEx(455,-2671.80004883,1276.09997559,61.79999924,89.75000000,-1,-1,15); //Flatbed
	AddStaticVehicleEx(588,-2525.89990234,1207.80004883,48.70000076,72.00000000,-1,-1,15); //Hotdog
	AddStaticVehicleEx(568,-2538.69995117,1229.09997559,37.40000153,30.00000000,-1,-1,15); //Bandito
	AddStaticVehicleEx(571,-2561.39990234,1224.69995117,40.59999847,0.00000000,-1,-1,15); //Kart
	AddStaticVehicleEx(457,-2527.10009766,1230.59997559,37.20000076,28.00000000,-1,-1,15); //Caddy
	AddStaticVehicleEx(423,-2503.00000000,1221.50000000,37.59999847,324.00000000,-1,-1,15); //Mr Whoopee
	AddStaticVehicleEx(424,-2495.00000000,1216.50000000,37.29999924,322.75000000,-1,-1,15); //BF Injection
	AddStaticVehicleEx(424,-2491.30004883,1214.80004883,37.29999924,322.74536133,-1,-1,15); //BF Injection
	AddStaticVehicleEx(424,-2497.60009766,1220.19995117,37.29999924,322.74536133,-1,-1,15); //BF Injection
	AddStaticVehicleEx(500,-2602.80004883,1387.19995117,7.19999981,0.00000000,-1,-1,15); //Mesa
	AddStaticVehicleEx(404,-2618.60009766,1376.40002441,7.00000000,0.00000000,-1,-1,15); //Perrenial
	AddStaticVehicleEx(454,-2626.60009766,1479.90002441,0.00000000,0.00000000,-1,-1,15); //Tropic
	AddStaticVehicleEx(580,-2633.10009766,1376.00000000,7.00000000,0.00000000,-1,-1,15); //Stafford
	AddStaticVehicleEx(582,-3312.00000000,312.70001221,29.70000076,0.00000000,-1,-1,15); //Newsvan
	AddStaticVehicleEx(528,-3288.89990234,304.10000610,29.70000076,0.00000000,-1,-1,15); //FBI Truck
	AddStaticVehicleEx(427,-3316.60009766,341.70001221,29.70000076,0.00000000,-1,-1,15); //Enforcer
	AddStaticVehicleEx(427,-3310.00000000,342.00000000,29.70000076,0.00000000,-1,-1,15); //Enforcer
	AddStaticVehicleEx(427,-3324.19995117,342.10000610,29.70000076,0.00000000,-1,-1,15); //Enforcer
	AddStaticVehicleEx(427,-3320.00000000,332.50000000,29.70000076,0.00000000,-1,-1,15); //Enforcer
	AddStaticVehicleEx(427,-3312.69995117,332.50000000,29.70000076,0.00000000,-1,-1,15); //Enforcer
	AddStaticVehicleEx(427,-3316.19995117,323.20001221,29.70000076,0.00000000,-1,-1,15); //Enforcer
	AddStaticVehicleEx(511,-3383.19995117,269.10000610,31.00000000,277.99993896,-1,-1,15); //Beagle
	AddStaticVehicleEx(597,-2670.50000000,371.60000610,4.19999981,0.00000000,-1,1,15); //Police Car (SFPD)
	AddStaticVehicleEx(597,-2742.50000000,379.59960938,4.19999981,0.00000000,-1,1,15); //Police Car (SFPD)
	AddStaticVehicleEx(597,-2759.60009766,401.29998779,4.19999981,0.00000000,-1,1,15); //Police Car (SFPD)
	AddStaticVehicleEx(473,-2974.10009766,961.79998779,0.00000000,0.00000000,-1,-1,15); //Dinghy
	AddStaticVehicleEx(448,-1723.09997559,1363.59997559,6.90000010,315.25000000,-1,-1,15); //Pizzaboy
	AddStaticVehicleEx(595,-3002.19995117,465.00000000,0.60000002,0.00000000,-1,-1,15); //Launch
	AddStaticVehicleEx(544,-2604.60009766,607.79998779,14.80000019,0.00000000,-1,-1,15); //Firetruck LA
	AddStaticVehicleEx(424,-1857.00000000,589.09997559,35.00000000,0.00000000,-1,-1,15); //BF Injection
	AddStaticVehicleEx(424,-1852.50000000,589.09997559,35.00000000,0.00000000,-1,-1,15); //BF Injection
	AddStaticVehicleEx(424,-1848.80004883,589.09997559,35.00000000,0.00000000,-1,-1,15); //BF Injection
	AddStaticVehicleEx(479,-1839.90002441,589.09997559,35.09999847,0.00000000,-1,-1,15); //Regina
	AddStaticVehicleEx(489,-1826.00000000,589.09997559,35.40000153,0.00000000,-1,-1,15); //Rancher
	AddStaticVehicleEx(458,-1734.19995117,591.50000000,24.79999924,0.00000000,-1,-1,15); //Solair
	AddStaticVehicleEx(458,-1739.00000000,591.70001221,24.79999924,0.00000000,-1,-1,15); //Solair
	AddStaticVehicleEx(497,-1681.09997559,706.70001221,32.59999847,0.00000000,-1,-1,15); //Police Maverick
	AddStaticVehicleEx(597,-1616.59997559,749.09997559,-5.40000010,0.50000000,-1,1,15); //Police Car (SFPD)
	AddStaticVehicleEx(597,-1596.00000000,676.79998779,-5.40000010,0.50000000,-1,1,15); //Police Car (SFPD)
	AddStaticVehicleEx(523,-1600.19995117,677.29998779,-5.59999990,0.00000000,-1,-1,15); //HPV1000
	AddStaticVehicleEx(481,-1644.90002441,650.00000000,-5.30000019,0.00000000,-1,-1,15); //BMX
	AddStaticVehicleEx(481,-1647.30004883,650.29998779,-5.30000019,0.00000000,-1,-1,15); //BMX
	AddStaticVehicleEx(523,-1632.80004883,690.79998779,-5.59999990,0.00000000,-1,-1,15); //HPV1000
	AddStaticVehicleEx(523,-1629.30004883,692.00000000,-5.59999990,0.00000000,-1,-1,15); //HPV1000
	AddStaticVehicleEx(434,-1620.80004883,691.09997559,-5.09999990,0.00000000,-1,-1,15); //Hotknife
	AddStaticVehicleEx(597,-1612.59997559,691.79998779,-5.40000010,0.00000000,-1,1,15); //Police Car (SFPD)
	AddStaticVehicleEx(597,-1604.50000000,691.00000000,-5.40000010,0.00000000,-1,1,15); //Police Car (SFPD)
	AddStaticVehicleEx(528,-1579.69995117,747.20001221,-5.09999990,0.00000000,-1,-1,15); //FBI Truck
	AddStaticVehicleEx(490,-1587.90002441,747.29998779,-4.90000010,0.00000000,-1,-1,15); //FBI Rancher
	AddStaticVehicleEx(523,-1575.19995117,722.79998779,-5.59999990,90.00000000,-1,-1,15); //HPV1000
	AddStaticVehicleEx(523,-1592.09960938,706.39941406,-5.59999990,90.00000000,-1,-1,15); //HPV1000
	AddStaticVehicleEx(523,-1612.80004883,677.79998779,-5.19999981,0.00000000,-1,-1,15); //HPV1000
	AddStaticVehicleEx(427,-1611.09997559,653.09997559,7.40000010,0.00000000,-1,1,15); //Enforcer
	AddStaticVehicleEx(597,-1611.80004883,672.90002441,7.09999990,0.00000000,-1,1,15); //Police Car (SFPD)
	AddStaticVehicleEx(597,-1606.29980469,674.00000000,7.09999990,0.00000000,-1,1,15); //Police Car (SFPD)
	AddStaticVehicleEx(597,-1594.40002441,673.40002441,7.09999990,0.00000000,-1,1,15); //Police Car (SFPD)
	AddStaticVehicleEx(537,-1947.59997559,146.69999695,27.29999924,0.00000000,-1,-1,15); //Freight
	AddStaticVehicleEx(449,-2005.40002441,120.59999847,29.00000000,0.00000000,-1,-1,15); //Tram
	AddStaticVehicleEx(449,-1542.40002441,763.00000000,7.30000019,354.25000000,-1,-1,15); //Tram
	AddStaticVehicleEx(483,-1726.80004883,1360.69995117,7.30000019,0.00000000,-1,-1,15); //Camper
	AddStaticVehicleEx(420,-2515.39990234,355.29998779,35.00000000,68.00000000,6,1,15); //Taxi
	AddStaticVehicleEx(420,-2516.60009766,350.89999390,35.00000000,67.99987793,6,1,15); //Taxi
	AddStaticVehicleEx(420,-2505.60009766,356.60000610,27.60000038,59.99987793,6,1,15); //Taxi
	AddStaticVehicleEx(438,-2513.39990234,321.39999390,35.29999924,70.00000000,6,1,15); //Cabbie
	AddStaticVehicleEx(438,-2515.69995117,314.20001221,35.29999924,69.99932861,6,1,15); //Cabbie
	AddStaticVehicleEx(438,-2510.19995117,328.79998779,35.29999924,67.99389648,6,1,15); //Cabbie
	AddStaticVehicleEx(437,-2512.30004883,345.29998779,28.00000000,59.50000000,-1,-1,15); //Coach
	AddStaticVehicleEx(437,-2500.19921875,380.69921875,35.40000153,55.49743652,-1,-1,15); //Coach
	AddStaticVehicleEx(420,-2513.59960938,359.09960938,35.00000000,67.99987793,6,1,15); //Taxi
	AddStaticVehicleEx(420,-2496.19995117,430.00000000,27.60000038,133.99987793,6,1,15); //Taxi
	AddStaticVehicleEx(420,-2493.69995117,427.10000610,27.60000038,138.99475098,6,1,15); //Taxi
	AddStaticVehicleEx(420,-2491.09960938,424.39941406,27.60000038,138.99353027,6,1,15); //Taxi
	AddStaticVehicleEx(420,-2491.09960938,424.39941406,27.60000038,138.99353027,6,1,15); //Taxi
	AddStaticVehicleEx(479,-2661.69995117,269.39999390,4.19999981,0.00000000,-1,-1,15); //Regina
	AddStaticVehicleEx(400,-2668.30004883,269.10000610,4.50000000,0.00000000,-1,-1,15); //Landstalker
	AddStaticVehicleEx(500,-2678.10009766,268.70001221,4.40000010,0.00000000,-1,-1,15); //Mesa
	AddStaticVehicleEx(521,-2898.19995117,1031.00000000,36.29999924,112.00000000,-1,-1,15); //FCR-900
	AddStaticVehicleEx(521,-2900.69995117,1037.59997559,36.29999924,111.99462891,-1,-1,15); //FCR-900
	AddStaticVehicleEx(521,-2828.30004883,1314.19995117,6.80000019,111.99462891,-1,-1,15); //FCR-900
	AddStaticVehicleEx(448,-2825.10009766,1301.19995117,6.80000019,0.00000000,-1,-1,15); //Pizzaboy
	AddStaticVehicleEx(525,-2024.40002441,135.30000305,28.79999924,0.00000000,-1,-1,15); //Tow Truck
	AddStaticVehicleEx(525,-2029.40002441,135.30000305,28.79999924,0.00000000,-1,-1,15); //Tow Truck
	AddStaticVehicleEx(525,-2035.90002441,135.10000610,28.79999924,0.00000000,-1,-1,15); //Tow Truck
	AddStaticVehicleEx(525,-2040.90002441,135.30000305,28.79999924,0.00000000,-1,-1,15); //Tow Truck
	AddStaticVehicleEx(525,-2034.19995117,170.10000610,28.79999924,270.25000000,-1,-1,15); //Tow Truck
	AddStaticVehicleEx(525,-2034.00000000,178.60000610,28.79999924,270.24719238,-1,-1,15); //Tow Truck
	AddStaticVehicleEx(525,-2023.00000000,157.00000000,28.79999924,2.49719238,-1,-1,15); //Tow Truck
	AddStaticVehicleEx(488,-2452.10009766,-603.50000000,132.60000610,0.00000000,-1,-1,15); //News Chopper
	AddStaticVehicleEx(582,-2505.30004883,-601.40002441,132.69999695,0.00000000,-1,-1,15); //Newsvan
	AddStaticVehicleEx(582,-2512.69995117,-601.40002441,132.69999695,0.00000000,-1,-1,15); //Newsvan
	AddStaticVehicleEx(582,-2523.60009766,-601.40002441,132.69999695,0.00000000,-1,-1,15); //Newsvan
	AddStaticVehicleEx(582,-2498.30004883,-601.79998779,132.69999695,0.00000000,-1,-1,15); //Newsvan
	AddStaticVehicleEx(418,-2416.60009766,-589.70001221,132.80000305,34.00000000,-1,-1,15); //Moonbeam
	AddStaticVehicleEx(418,-2413.89990234,-587.59997559,132.80000305,33.99719238,-1,-1,15); //Moonbeam
	AddStaticVehicleEx(418,-2411.10009766,-586.00000000,132.80000305,33.99719238,-1,-1,15); //Moonbeam
	AddStaticVehicleEx(418,-2408.80004883,-584.20001221,132.80000305,33.99719238,-1,-1,15); //Moonbeam
	AddStaticVehicleEx(459,-2495.00000000,-193.39999390,25.79999924,0.00000000,-1,-1,15); //Berkley's RC Van
	AddStaticVehicleEx(508,-2597.10009766,-109.40000153,4.80000019,0.00000000,-1,-1,15); //Journey
	AddStaticVehicleEx(498,-2620.80004883,-22.79999924,4.50000000,0.00000000,-1,-1,15); //Boxville
	AddStaticVehicleEx(543,-2682.60009766,-22.39999962,4.40000010,0.00000000,-1,-1,15); //Sadler
	AddStaticVehicleEx(480,-2669.80004883,-54.90000153,4.19999981,0.00000000,-1,-1,15); //Comet
	AddStaticVehicleEx(421,-2666.69995117,-35.59999847,4.30000019,0.00000000,-1,-1,15); //Washington
	AddStaticVehicleEx(461,-2672.69995117,-33.90000153,4.00000000,0.00000000,-1,-1,15); //PCJ-600
	AddStaticVehicleEx(539,-3390.19995117,40.09999847,38.50000000,0.00000000,-1,-1,15); //Vortex
	AddStaticVehicleEx(539,-3394.00000000,40.29999924,38.50000000,0.00000000,-1,-1,15); //Vortex
	AddStaticVehicleEx(539,-3399.30004883,40.59999847,38.50000000,0.00000000,-1,-1,15); //Vortex
	AddStaticVehicleEx(407,-2021.69995117,75.90000153,28.39999962,92.00000000,3,1,15); //Firetruck
	AddStaticVehicleEx(407,-2021.30004883,84.50000000,28.39999962,89.99951172,3,1,15); //Firetruck
	AddStaticVehicleEx(544,-2021.40002441,92.69999695,28.39999962,88.00000000,-1,-1,15); //Firetruck LA
	AddStaticVehicleEx(407,-2057.69995117,71.09999847,28.79999924,0.00000000,3,1,15); //Firetruck
	AddStaticVehicleEx(408,-1826.50000000,-600.09997559,17.20000076,0.00000000,-1,-1,15); //Trashmaster
	AddStaticVehicleEx(419,-2180.19995117,294.39999390,35.00000000,0.00000000,-1,-1,15); //Esperanto
	AddStaticVehicleEx(545,-2214.00000000,307.00000000,35.09999847,0.00000000,-1,-1,15); //Hustler
	AddStaticVehicleEx(517,-2197.00000000,293.89999390,35.09999847,0.00000000,-1,-1,15); //Majestic
	AddStaticVehicleEx(534,-2214.00000000,293.50000000,34.90000153,0.00000000,-1,-1,15); //Remington
	AddStaticVehicleEx(549,-2184.50000000,305.29998779,35.00000000,0.00000000,-1,-1,15); //Tampa
	AddStaticVehicleEx(580,-2267.60009766,78.00000000,35.09999847,88.00000000,-1,-1,15); //Stafford
	AddStaticVehicleEx(580,-2266.60009766,101.19999695,35.09999847,87.99499512,-1,-1,15); //Stafford
	AddStaticVehicleEx(580,-2268.09960938,70.09960938,35.09999847,87.99499512,-1,-1,15); //Stafford
	AddStaticVehicleEx(467,-2267.00000000,128.80000305,35.00000000,270.00000000,-1,-1,15); //Oceanic
	AddStaticVehicleEx(520,-2512.60009766,1546.50000000,18.20000076,0.00000000,-1,-1,15); //Hydra
	AddStaticVehicleEx(601,-1263.09997559,394.29998779,7.09999990,88.00000000,-1,-1,15); //S.W.A.T. Van
	AddStaticVehicleEx(601,-1263.00000000,386.60000610,7.09999990,87.99499512,-1,-1,15); //S.W.A.T. Van
	AddStaticVehicleEx(476,-1311.00000000,492.39999390,19.39999962,270.00000000,-1,-1,15); //Rustler
	AddStaticVehicleEx(539,-1441.59997559,507.20001221,0.50000000,88.00000000,-1,-1,15); //Vortex
	AddStaticVehicleEx(430,-1446.50000000,495.89999390,0.00000000,92.00000000,-1,-1,15); //Predator
	AddStaticVehicleEx(476,-1420.19995117,517.70001221,19.29999924,236.00000000,-1,-1,15); //Rustler
	AddStaticVehicleEx(476,-1459.69921875,503.09960938,19.29999924,270.00000000,-1,-1,15); //Rustler
	AddStaticVehicleEx(601,-1275.59997559,324.10000610,7.09999990,0.00000000,-1,-1,15); //S.W.A.T. Van
	AddStaticVehicleEx(601,-1281.90002441,324.00000000,7.09999990,0.00000000,-1,-1,15); //S.W.A.T. Van
	AddStaticVehicleEx(601,-1289.09997559,324.29998779,7.09999990,0.00000000,-1,-1,15); //S.W.A.T. Van
	AddStaticVehicleEx(601,-1297.09997559,324.70001221,7.09999990,0.00000000,-1,-1,15); //S.W.A.T. Van
	AddStaticVehicleEx(495,-1342.59997559,302.00000000,7.69999981,0.00000000,-1,-1,15); //Sandking
	AddStaticVehicleEx(495,-1348.59997559,301.79998779,7.69999981,0.00000000,-1,-1,15); //Sandking
	AddStaticVehicleEx(495,-1355.69995117,301.60000610,7.69999981,0.00000000,-1,-1,15); //Sandking
	AddStaticVehicleEx(495,-1362.30004883,301.50000000,7.69999981,0.00000000,-1,-1,15); //Sandking
	AddStaticVehicleEx(495,-1405.50000000,299.39999390,7.69999981,270.00000000,-1,-1,15); //Sandking
	AddStaticVehicleEx(495,-1405.69995117,305.39999390,7.69999981,270.00000000,-1,-1,15); //Sandking
	AddStaticVehicleEx(495,-1406.69995117,311.89999390,7.69999981,270.00000000,-1,-1,15); //Sandking
	AddStaticVehicleEx(495,-1407.40002441,318.79998779,7.69999981,270.00000000,-1,-1,15); //Sandking
	AddStaticVehicleEx(497,-1258.19995117,450.70001221,9.19999981,0.00000000,-1,-1,15); //Police Maverick
	AddStaticVehicleEx(447,-2483.30004883,522.29998779,51.20000076,0.00000000,-1,-1,15); //Seasparrow
	AddStaticVehicleEx(497,-2463.30004883,526.70001221,53.40000153,0.00000000,-1,-1,15); //Police Maverick
	AddStaticVehicleEx(432,-1345.90002441,-282.70001221,14.19999981,306.00000000,-1,-1,15); //Rhino
	AddStaticVehicleEx(432,-1350.80004883,-276.00000000,14.19999981,309.99670410,-1,-1,15); //Rhino
	AddStaticVehicleEx(432,-1356.80004883,-268.79998779,14.19999981,311.99572754,-1,-1,15); //Rhino
	AddStaticVehicleEx(432,-1364.30004883,-263.00000000,14.19999981,311.99523926,-1,-1,15); //Rhino
	AddStaticVehicleEx(425,-1111.30004883,-198.39999390,15.60000038,0.00000000,-1,-1,15); //Hunter
	AddStaticVehicleEx(520,-1259.90002441,-617.40002441,15.10000038,0.00000000,-1,-1,15); //Hydra
	AddStaticVehicleEx(520,-1278.19995117,-618.40002441,15.10000038,0.00000000,-1,-1,15); //Hydra
	AddStaticVehicleEx(520,-1296.19995117,-619.59997559,15.10000038,0.00000000,-1,-1,15); //Hydra
	AddStaticVehicleEx(520,-1225.30004883,-13.19999981,15.10000038,49.25000000,-1,-1,15); //Hydra
	AddStaticVehicleEx(425,-1187.40002441,28.39999962,15.60000038,42.00000000,-1,-1,15); //Hunter
	AddStaticVehicleEx(432,-1239.40002441,44.90000153,14.19999981,0.00000000,-1,-1,15); //Rhino
	AddStaticVehicleEx(433,-1488.00000000,-631.09997559,14.69999981,0.00000000,-1,-1,15); //Barracks
	AddStaticVehicleEx(433,-1237.00000000,-652.70001221,14.69999981,0.00000000,-1,-1,15); //Barracks
	AddStaticVehicleEx(433,-1244.90002441,-653.40002441,14.69999981,0.00000000,-1,-1,15); //Barracks
	AddStaticVehicleEx(433,-1230.00000000,-653.00000000,14.69999981,0.00000000,-1,-1,15); //Barracks
	AddStaticVehicleEx(470,-1347.09997559,-376.89999390,14.19999981,0.00000000,-1,-1,15); //Patriot
	AddStaticVehicleEx(470,-1340.80004883,-377.00000000,14.19999981,0.00000000,-1,-1,15); //Patriot
	AddStaticVehicleEx(470,-1351.50000000,-376.89999390,14.19999981,0.00000000,-1,-1,15); //Patriot
	AddStaticVehicleEx(470,-1359.50000000,-376.79998779,14.19999981,0.00000000,-1,-1,15); //Patriot
	AddStaticVehicleEx(470,-1334.50000000,-377.00000000,14.19999981,0.00000000,-1,-1,15); //Patriot
	AddStaticVehicleEx(519,-1318.30004883,-471.70001221,15.10000038,299.50000000,-1,-1,15); //Shamal
	AddStaticVehicleEx(519,-1331.19995117,-449.29998779,15.10000038,299.49829102,-1,-1,15); //Shamal
	AddStaticVehicleEx(511,-1720.50000000,-324.89999390,15.69999981,264.00000000,-1,-1,15); //Beagle
	AddStaticVehicleEx(563,-1502.90002441,-231.69999695,15.00000000,0.00000000,-1,-1,15); //Raindance
	AddStaticVehicleEx(425,-1543.30004883,-239.89999390,15.60000038,0.00000000,-1,-1,15); //Hunter
	AddStaticVehicleEx(521,-1998.50000000,-960.29998779,31.79999924,0.00000000,-1,-1,15); //FCR-900
	AddStaticVehicleEx(521,-1995.00000000,-960.40002441,31.79999924,0.00000000,-1,-1,15); //FCR-900
	AddStaticVehicleEx(445,-2051.30004883,-786.00000000,32.20000076,0.00000000,51,1,15); //Admiral
	AddStaticVehicleEx(601,-2029.80004883,-988.29998779,32.09999847,0.00000000,-1,-1,15); //S.W.A.T. Van
	AddStaticVehicleEx(601,-2037.30004883,-988.09997559,32.09999847,0.00000000,-1,-1,15); //S.W.A.T. Van
	AddStaticVehicleEx(601,-2021.80004883,-988.50000000,32.09999847,0.00000000,-1,-1,15); //S.W.A.T. Van
	CreateObject(2942,-1681.90002441,426.39999390,6.80000019,0.00000000,0.00000000,45.00000000); //object(kmb_atm1) (1)
	CreateObject(2942,-1986.80004883,620.40002441,34.79999924,0.00000000,0.00000000,0.00000000); //object(kmb_atm1) (2)
	CreateObject(2942,-2118.30004883,927.79998779,85.69999695,0.00000000,0.00000000,0.00000000); //object(kmb_atm1) (3)
	CreateObject(2942,-2238.10009766,1028.00000000,83.50000000,0.00000000,0.00000000,0.00000000); //object(kmb_atm1) (4)
	CreateObject(2942,-1577.59997559,1277.30004883,6.80000019,0.00000000,0.00000000,0.00000000); //object(kmb_atm1) (5)
	CreateObject(2941,-1657.09997559,1209.19995117,7.50000000,0.00000000,0.00000000,171.00000000); //object(temp_till) (1)
	CreateObject(2942,-1681.09997559,1213.59997559,20.79999924,0.00000000,0.25000000,37.75003052); //object(kmb_atm1) (6)
	CreateObject(2942,-2476.69995117,1551.09997559,32.90000153,0.00000000,0.00000000,0.00000000); //object(kmb_atm1) (7)
	CreateObject(2942,-1493.09997559,889.70001221,6.80000019,0.00000000,0.00000000,272.00000000); //object(kmb_atm1) (8)
	CreateObject(2942,-1571.19995117,668.29998779,6.80000019,0.00000000,0.00000000,90.00000000); //object(kmb_atm1) (9)
	CreateObject(2942,-1564.50000000,452.60000610,6.80000019,0.00000000,0.00000000,245.99998474); //object(kmb_atm1) (10)
	CreateObject(2942,-1597.50000000,42.09999847,17.00000000,0.00000000,0.00000000,134.00000000); //object(kmb_atm1) (11)
	CreateObject(2942,-2010.00000000,-389.20001221,35.00000000,0.00000000,0.00000000,180.00000000); //object(kmb_atm1) (12)
	CreateObject(2942,-2634.89990234,630.90002441,14.10000038,0.00000000,0.00000000,0.00000000); //object(kmb_atm1) (13)
	CreateObject(2942,-2620.50000000,825.40002441,49.59999847,0.00000000,0.00000000,0.00000000); //object(kmb_atm1) (14)
	CreateObject(2942,-2500.30004883,777.90002441,34.79999924,0.00000000,0.00000000,0.00000000); //object(kmb_atm1) (15)
	CreateObject(2942,-2001.09997559,1189.90002441,45.09999847,0.00000000,0.00000000,0.00000000); //object(kmb_atm1) (16)
	CreateObject(2942,-2125.19995117,823.20001221,69.19999695,0.00000000,0.00000000,0.00000000); //object(kmb_atm1) (17)
	CreateObject(17656,-2975.10009766,368.89999390,9.00000000,0.00000000,0.00000000,98.00000000); //object(lae2_roads50) (1)
	CreateObject(17656,-3056.50000000,357.39999390,22.29999924,0.00000000,0.00000000,97.99804688); //object(lae2_roads50) (2)
	CreateObject(4866,-3255.80004883,334.10000610,28.50000000,0.00000000,0.00000000,10.00000000); //object(lasrnway1_las) (1)
	CreateObject(3763,-3096.69995117,306.89999390,61.70000076,0.00000000,0.00000000,8.00000000); //object(ce_radarmast3) (1)
	CreateObject(3107,-3095.89990234,318.50000000,28.50000000,0.00000000,0.00000000,0.00000000); //object(wongs_erection2) (1)
	CreateObject(17007,-3118.39990234,407.79998779,28.50000000,0.00000000,0.00000000,0.00000000); //object(wt6supps01) (1)
	CreateObject(4570,-3380.19995117,336.60000610,76.50000000,0.00000000,0.00000000,8.00000000); //object(stolenbuilds08) (1)
	CreateObject(3031,-3372.60009766,318.79998779,129.50000000,0.00000000,0.00000000,278.00000000); //object(wong_dish) (1)
	CreateObject(1595,-3381.80004883,317.89999390,133.19999695,0.00000000,0.00000000,8.00000000); //object(satdishbig) (1)
	CreateObject(16138,-3190.19995117,373.60000610,28.50000000,0.00000000,0.00000000,0.00000000); //object(des_teleshed2_01) (1)
	CreateObject(16613,-3261.19995117,375.89999390,33.29999924,0.00000000,0.00000000,211.99996948); //object(des_bigtelescope) (1)
	CreateObject(3471,-2756.69995117,395.20001221,4.59999990,0.00000000,0.00000000,0.00000000); //object(vgschinalion1) (1)
	CreateObject(9833,-2713.39990234,425.20001221,6.50000000,0.00000000,0.00000000,0.00000000); //object(fountain_sfw) (1)
	CreateObject(9833,-2699.89990234,424.29998779,6.50000000,0.00000000,0.00000000,0.00000000); //object(fountain_sfw) (2)
	CreateObject(9833,-2713.39990234,324.89999390,6.59999990,0.00000000,0.00000000,0.00000000); //object(fountain_sfw) (3)
	CreateObject(9833,-2654.09960938,344.19921875,6.59999990,0.00000000,0.00000000,0.00000000); //object(fountain_sfw) (4)
	CreateObject(9833,-2656.39941406,329.09960938,6.59999990,0.00000000,0.00000000,0.00000000); //object(fountain_sfw) (5)
	CreateObject(9833,-2699.39941406,324.59960938,6.59999990,0.00000000,0.00000000,0.00000000); //object(fountain_sfw) (6)
	CreateObject(3864,-1739.30004883,1379.00000000,12.10000038,0.00000000,0.00000000,0.00000000); //object(ws_floodlight) (1)
	CreateObject(2645,-1716.80004883,1354.09997559,8.39999962,0.00000000,0.00000000,314.00000000); //object(cj_pizza_poster) (1)
	CreateObject(2764,-1710.90002441,1375.00000000,6.59999990,0.00000000,0.00000000,326.25000000); //object(cj_pizza_table03) (1)
	CreateObject(2639,-1710.09997559,1374.40002441,6.80000019,0.00000000,0.00000000,56.00000000); //object(cj_pizza_chair3) (1)
	CreateObject(2639,-1711.69995117,1375.50000000,6.80000019,0.00000000,0.00000000,233.99731445); //object(cj_pizza_chair3) (2)
	CreateObject(2289,417.29998779,2543.00000000,11.10000038,0.00000000,0.00000000,0.00000000); //object(frame_2) (1)
	CreateObject(2942,-2808.30004883,-1532.40002441,138.89999390,0.00000000,0.00000000,0.00000000); //object(kmb_atm1) (18)
	CreateObject(10357,-3149.60009766,387.79998779,117.69999695,0.00000000,0.00000000,0.00000000); //object(transmitter_sfs) (1)
	CreateObject(2942,-3188.89990234,346.29998779,29.10000038,0.00000000,0.00000000,314.00000000); //object(kmb_atm1) (19)
	CreateObject(2942,-1596.40002441,703.59997559,-5.30000019,0.00000000,0.00000000,0.00000000); //object(kmb_atm1) (20)
	CreateObject(3107,-2688.50000000,22.50000000,3.29999995,0.00000000,0.00000000,0.00000000); //object(wongs_erection2) (2)
	CreateObject(10491,-3452.80004883,-185.39999390,11.10000038,356.00000000,0.00000000,0.00000000); //object(sfshill11_sfs) (1)
	CreateObject(10491,-3336.00000000,-35.79999924,46.90000153,342.10195923,6.30633545,105.94519043); //object(sfshill11_sfs) (2)
	CreateObject(3940,-3495.50000000,-170.69999695,12.89999962,0.00000000,0.00000000,340.00000000); //object(comms01) (1)
	CreateObject(10357,-3459.00000000,-203.50000000,101.00000000,0.00000000,0.00000000,0.00000000); //object(transmitter_sfs) (2)
	CreateObject(16782,-3493.00000000,-176.80000305,11.89999962,0.00000000,0.00000000,342.00000000); //object(a51_radar_scan) (1)
	CreateObject(1750,-3492.39990234,-173.39999390,12.00000000,0.00000000,0.00000000,70.00000000); //object(med_tv_2) (1)
	CreateObject(3030,-3496.80004883,-176.30000305,17.39999962,0.00000000,0.00000000,0.00000000); //object(wongs_erection) (1)
	CreateObject(3107,-3494.69995117,-170.69999695,17.39999962,0.00000000,0.00000000,0.00000000); //object(wongs_erection2) (3)
	CreateObject(3271,-3538.80004883,-265.79998779,2.20000005,0.00000000,0.00000000,0.00000000); //object(bonyrd_block3_) (1)
	CreateObject(12912,-3370.80004883,43.59999847,48.90000153,0.00000000,0.00000000,0.00000000); //object(sw_silo04) (1)
	CreateObject(2942,-2188.69995117,286.10000610,35.00000000,0.00000000,0.00000000,179.99450684); //object(kmb_atm1) (21)
	CreateObject(3797,-1905.80004883,287.39999390,43.50000000,0.00000000,0.00000000,0.00000000); //object(missile_11_sfxr) (1)
	CreateObject(3997,-1329.90002441,374.20001221,6.19999981,0.00000000,0.00000000,0.00000000); //object(cityhallblok_lan) (1)
	CreateObject(987,-1261.50000000,314.60000610,6.19999981,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (1)
	CreateObject(987,-1273.30004883,314.70001221,6.19999981,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (2)
	CreateObject(987,-1285.09997559,314.70001221,6.19999981,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (3)
	CreateObject(987,-1296.90002441,314.79998779,6.19999981,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (4)
	CreateObject(987,-1308.80004883,314.79998779,6.19999981,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (5)
	CreateObject(987,-1320.50000000,314.79998779,6.19999981,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (6)
	CreateObject(987,-1332.50000000,314.70001221,6.19999981,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (7)
	CreateObject(987,-1332.69995117,303.00000000,6.19999981,0.00000000,0.00000000,90.00000000); //object(elecfence_bar) (8)
	CreateObject(987,-1339.80004883,293.29998779,6.19999981,0.00000000,0.00000000,54.00000000); //object(elecfence_bar) (9)
	CreateObject(987,-1351.50000000,292.39999390,6.19999981,0.00000000,0.00000000,5.99780273); //object(elecfence_bar) (10)
	CreateObject(987,-1363.59997559,292.50000000,6.19999981,0.00000000,0.00000000,359.99304199); //object(elecfence_bar) (11)
	CreateObject(987,-1375.59997559,292.70001221,6.19999981,0.00000000,0.00000000,359.98901367); //object(elecfence_bar) (12)
	CreateObject(987,-1387.59997559,292.79998779,6.19999981,0.00000000,0.00000000,359.98901367); //object(elecfence_bar) (13)
	CreateObject(987,-1399.80004883,293.00000000,6.19999981,0.00000000,0.00000000,359.98901367); //object(elecfence_bar) (14)
	CreateObject(987,-1411.80004883,293.10000610,6.19999981,0.00000000,0.00000000,359.98901367); //object(elecfence_bar) (15)
	CreateObject(987,-1412.90002441,305.10000610,6.19999981,0.00000000,0.00000000,275.98901367); //object(elecfence_bar) (16)
	CreateObject(987,-1413.90002441,317.10000610,6.19999981,0.00000000,0.00000000,275.98754883); //object(elecfence_bar) (17)
	CreateObject(987,-1415.00000000,328.89999390,6.19999981,0.00000000,0.00000000,275.98754883); //object(elecfence_bar) (18)
	CreateObject(3399,-1420.30004883,309.79998779,8.80000019,0.00000000,0.00000000,0.00000000); //object(cxrf_a51_stairs) (1)
	CreateObject(987,-1249.80004883,314.29998779,6.19999981,0.00000000,0.00000000,91.25000000); //object(elecfence_bar) (19)
	CreateObject(987,-1249.90002441,326.29998779,6.19999981,0.00000000,0.00000000,91.24694824); //object(elecfence_bar) (20)
	CreateObject(987,-1249.80004883,338.10000610,6.19999981,0.00000000,0.00000000,91.24694824); //object(elecfence_bar) (21)
	CreateObject(987,-1250.00000000,350.10000610,6.19999981,0.00000000,0.00000000,91.24694824); //object(elecfence_bar) (22)
	CreateObject(987,-1249.69995117,361.70001221,6.19999981,0.00000000,0.00000000,91.24694824); //object(elecfence_bar) (23)
	CreateObject(987,-1249.59997559,373.20001221,6.19999981,0.00000000,0.00000000,91.24694824); //object(elecfence_bar) (24)
	CreateObject(987,-1249.59997559,384.60000610,6.19999981,0.00000000,0.00000000,91.24694824); //object(elecfence_bar) (25)
	CreateObject(987,-1249.40002441,396.29998779,6.19999981,0.00000000,0.00000000,91.24694824); //object(elecfence_bar) (26)
	CreateObject(987,-1249.59997559,407.89999390,6.19999981,0.00000000,0.00000000,91.24694824); //object(elecfence_bar) (27)
	CreateObject(987,-1249.30004883,419.50000000,6.19999981,0.00000000,0.00000000,91.24694824); //object(elecfence_bar) (28)
	CreateObject(3934,-1391.80004883,394.00000000,29.10000038,0.00000000,0.00000000,0.00000000); //object(helipad01) (1)
	CreateObject(3268,-1260.30004883,389.29998779,6.19999981,0.00000000,0.00000000,0.00000000); //object(mil_hangar1_) (1)
	CreateObject(3114,-1414.40002441,516.50000000,16.60000038,0.00000000,0.00000000,0.00000000); //object(carrier_lift2_sfse) (1)
	CreateObject(3115,-1456.80004883,501.20001221,16.79999924,0.00000000,0.00000000,0.00000000); //object(carrier_lift1_sfse) (1)
	CreateObject(3763,-1496.40002441,-405.00000000,39.20000076,0.00000000,0.00000000,0.00000000); //object(ce_radarmast3) (2)
	CreateObject(3107,-1251.00000000,21.00000000,31.89999962,0.00000000,0.00000000,0.00000000); //object(wongs_erection2) (4)
	CreateObject(11012,-1386.00000000,-80.69999695,19.70000076,0.00000000,0.00000000,0.00000000); //object(crackfact_sfs) (1)
	CreateObject(10841,-2118.19995117,-1011.29998779,39.50000000,0.00000000,0.00000000,0.00000000); //object(drydock1_sfse01) (1)
	CreateObject(10841,-2140.89990234,-1011.29998779,39.50000000,0.00000000,0.00000000,0.00000000); //object(drydock1_sfse01) (2)
	CreateObject(10841,-2160.69995117,-1004.50000000,40.00000000,0.00000000,1.25000000,326.00000000); //object(drydock1_sfse01) (3)
	CreateObject(10841,-2166.80004883,-993.50000000,40.00000000,0.00000000,1.24694824,271.99731445); //object(drydock1_sfse01) (4)
	CreateObject(10841,-2167.50000000,-971.79998779,39.50000000,0.00000000,1.24145508,263.99398804); //object(drydock1_sfse01) (5)
	CreateObject(10841,-2166.19995117,-949.59997559,39.50000000,0.00000000,1.24145508,269.99047852); //object(drydock1_sfse01) (6)
	CreateObject(10841,-2166.19995117,-927.20001221,40.29999924,0.00000000,1.24145508,269.98901367); //object(drydock1_sfse01) (7)
	CreateObject(10841,-2166.19995117,-904.59997559,42.59999847,0.00000000,1.24145508,269.98901367); //object(drydock1_sfse01) (8)
	CreateObject(10841,-2166.19995117,-881.90002441,45.29999924,0.00000000,1.24145508,269.98901367); //object(drydock1_sfse01) (9)
	CreateObject(10841,-2166.39990234,-859.79998779,48.29999924,0.00000000,1.24145508,269.98901367); //object(drydock1_sfse01) (10)
	CreateObject(10841,-2166.50000000,-837.09997559,48.29999924,0.00000000,1.24145508,269.98901367); //object(drydock1_sfse01) (11)
	CreateObject(10841,-2166.39990234,-814.70001221,48.29999924,0.00000000,1.24145508,269.98901367); //object(drydock1_sfse01) (12)
	CreateObject(10841,-2166.39990234,-791.79998779,48.29999924,0.00000000,1.24145508,269.98901367); //object(drydock1_sfse01) (13)
	CreateObject(10841,-2166.19995117,-770.09997559,46.59999847,0.00000000,1.24145508,269.98901367); //object(drydock1_sfse01) (14)
	CreateObject(10841,-2166.80004883,-747.90002441,42.29999924,0.00000000,1.24145508,269.98901367); //object(drydock1_sfse01) (15)
	CreateObject(10841,-2169.30004883,-726.90002441,40.79999924,0.00000000,1.24145508,269.98901367); //object(drydock1_sfse01) (16)
	CreateObject(10841,-2159.89990234,-712.09997559,38.29999924,0.00000000,1.24145508,197.98901367); //object(drydock1_sfse01) (17)
	CreateObject(10841,-2138.69995117,-707.79998779,38.09999847,0.00000000,1.24145508,183.98461914); //object(drydock1_sfse01) (18)
	CreateObject(10841,-2117.10009766,-708.40002441,39.29999924,0.00000000,1.24145508,171.98254395); //object(drydock1_sfse01) (19)
	CreateObject(10841,-2096.80004883,-708.70001221,39.29999924,0.00000000,1.24145508,183.97998047); //object(drydock1_sfse01) (20)
	CreateObject(10841,-2074.50000000,-708.90002441,39.29999924,0.00000000,1.24145508,175.97705078); //object(drydock1_sfse01) (21)
	CreateObject(10841,-2051.30004883,-708.79998779,39.29999924,0.00000000,1.24145508,175.97351074); //object(drydock1_sfse01) (22)
	CreateObject(10841,-2030.19995117,-709.90002441,39.29999924,0.00000000,1.24145508,175.97351074); //object(drydock1_sfse01) (23)
	CreateObject(10841,-2003.59997559,-709.50000000,39.09999847,0.00000000,1.24145508,175.97351074); //object(drydock1_sfse01) (24)
	CreateObject(10841,-2008.79980469,-710.59960938,39.29999924,0.00000000,1.24145508,175.97351074); //object(drydock1_sfse01) (25)
	CreateObject(10841,-1971.59997559,-709.29998779,39.09999847,0.00000000,1.24145508,175.97351074); //object(drydock1_sfse01) (26)
	CreateObject(10841,-1948.80004883,-710.29998779,39.09999847,0.00000000,1.24145508,175.97351074); //object(drydock1_sfse01) (27)
	CreateObject(10841,-1928.40002441,-712.70001221,39.09999847,0.00000000,1.24145508,159.97351074); //object(drydock1_sfse01) (28)
	CreateObject(10841,-1918.90002441,-728.00000000,39.09999847,0.00000000,1.24145508,91.97192383); //object(drydock1_sfse01) (29)
	CreateObject(10841,-1917.59997559,-749.79998779,39.09999847,0.00000000,1.24145508,91.96655273); //object(drydock1_sfse01) (30)
	CreateObject(10841,-1916.80004883,-771.90002441,39.09999847,0.00000000,1.24145508,91.96655273); //object(drydock1_sfse01) (31)
	CreateObject(10841,-1916.69995117,-794.40002441,39.09999847,0.00000000,1.24145508,87.96655273); //object(drydock1_sfse01) (32)
	CreateObject(10841,-1916.50000000,-816.20001221,39.09999847,0.00000000,1.24145508,91.96203613); //object(drydock1_sfse01) (33)
	CreateObject(10841,-1916.80004883,-838.29998779,39.09999847,0.00000000,1.24145508,85.96105957); //object(drydock1_sfse01) (34)
	CreateObject(10841,-1917.69995117,-860.09997559,39.09999847,0.00000000,1.24145508,85.95703125); //object(drydock1_sfse01) (35)
	CreateObject(10841,-1917.69995117,-882.20001221,39.09999847,0.00000000,1.24145508,91.95703125); //object(drydock1_sfse01) (36)
	CreateObject(10841,-1917.59997559,-904.40002441,39.09999847,0.00000000,1.24145508,87.95556641); //object(drydock1_sfse01) (37)
	CreateObject(10841,-1917.80004883,-926.90002441,39.09999847,0.00000000,1.24145508,87.95104980); //object(drydock1_sfse01) (38)
	CreateObject(10841,-1918.19995117,-949.50000000,39.09999847,0.00000000,1.24145508,87.95104980); //object(drydock1_sfse01) (39)
	CreateObject(10841,-1918.40002441,-972.29998779,39.09999847,0.00000000,1.24145508,87.95104980); //object(drydock1_sfse01) (40)
	CreateObject(10841,-1919.40002441,-993.70001221,39.09999847,0.00000000,1.24145508,77.95104980); //object(drydock1_sfse01) (41)
	CreateObject(10841,-1930.40002441,-1009.90002441,39.09999847,0.00000000,1.24145508,21.94799805); //object(drydock1_sfse01) (42)
	CreateObject(10841,-1951.69995117,-1012.90002441,39.09999847,0.00000000,1.24145508,351.94519043); //object(drydock1_sfse01) (43)
	CreateObject(10841,-1974.00000000,-1012.40002441,39.09999847,0.00000000,1.24145508,3.94152832); //object(drydock1_sfse01) (44)
	CreateObject(10841,-1996.50000000,-1013.59997559,39.09999847,0.00000000,1.24145508,357.93859863); //object(drydock1_sfse01) (45)
	CreateObject(10841,-2018.80004883,-1012.79998779,39.09999847,0.00000000,1.24145508,355.93457031); //object(drydock1_sfse01) (46)
	CreateObject(10841,-2040.50000000,-1011.79998779,39.09999847,0.00000000,1.24145508,355.92956543); //object(drydock1_sfse01) (47)
	CreateObject(10841,-2062.80004883,-1010.79998779,39.09999847,0.00000000,1.24145508,355.92956543); //object(drydock1_sfse01) (48)
	CreateObject(10841,-2084.69995117,-1010.29998779,39.09999847,0.00000000,1.24145508,355.92956543); //object(drydock1_sfse01) (49)
	CreateObject(10841,-2100.19995117,-1011.09997559,39.09999847,0.00000000,1.24145508,359.92956543); //object(drydock1_sfse01) (50)

	//Bayside House
	CreateObject(9509, -2060.7724609375, 2484.544921875, 50.397941589355, 0, 0, 326.25);
	CreateObject(14420, -2066.364502, 2459.732422, 43.382828, 0.0000, 0.0000, 326.2500);
	CreateObject(9339, -2083.650635, 2465.809082, 39.971554, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2082.888184, 2466.944092, 39.971844, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2082.132813, 2468.068604, 39.971828, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2081.370605, 2469.226074, 39.971798, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2080.605469, 2470.331543, 39.971813, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2079.858887, 2471.481445, 39.971859, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2079.074951, 2472.602295, 39.971813, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2078.309570, 2473.743652, 39.971813, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2077.571533, 2474.903320, 39.971935, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2076.867188, 2476.121582, 39.971813, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2076.106201, 2477.194092, 39.971951, 0.0000, 89.9862, 56.2497);
	CreateObject(11496, -2074.185303, 2473.015625, 35.142563, 0.0000, 0.0000, 56.2501);
	CreateObject(9339, -2082.607666, 2483.179688, 39.971935, 0.0000, 89.9862, 236.2498);
	CreateObject(5340, -2083.632324, 2479.181885, 41.667080, 0.0000, 0.0000, 236.2501);
	CreateObject(10246, -2075.466797, 2479.116699, 41.854042, 0.0000, 0.0000, 236.2501);
	CreateObject(10246, -2087.015869, 2471.603760, 41.854069, 0.0000, 0.0000, 236.2501);
	CreateObject(10246, -2082.126221, 2468.327881, 41.854137, 0.0002, 0.0000, 236.2501);
	CreateObject(9339, -2085.524170, 2486.253906, 40.515224, 0.0000, 0.0000, 326.2500);
	CreateObject(9339, -2085.529541, 2486.252441, 41.919167, 0.0000, 0.0000, 326.2500);
	CreateObject(9339, -2085.520752, 2486.251953, 43.323109, 0.0000, 0.0000, 326.2500);
	CreateObject(9339, -2087.551270, 2483.258789, 43.902000, 0.0000, 179.6226, 146.2500);
	CreateObject(9339, -2083.9868164063, 2465.2954101563, 44.206020355225, 0, 179.62097167969, 236.24450683594);
	CreateObject(9339, -2087.501709, 2483.276367, 45.212921, 0.0000, 0.0000, 326.2500);
	CreateObject(9339, -2083.997070, 2465.321289, 45.204391, 0.0000, 0.0000, 56.2500);
	CreateObject(9339, -2063.608154, 2472.600098, 40.815292, 0.0000, 0.0000, 146.2500);
	CreateObject(9339, -2063.6171875, 2472.5451660156, 42.194389343262, 0, 0, 146.24450683594);
	CreateObject(9339, -2063.605713, 2472.587646, 43.394970, 0.0000, 0.0000, 146.2500);
	CreateObject(9339, -2066.053467, 2468.881348, 43.898857, 0.0000, 179.6226, 326.2500);
	CreateObject(9339, -2066.047607, 2468.875000, 45.196896, 0.0000, 0.0000, 146.2500);
	CreateObject(1408, -2071.282959, 2468.052246, 35.762920, 0.0000, 179.6223, 146.2500);
	CreateObject(1408, -2075.705078, 2471.005127, 35.787922, 0.0000, 179.6223, 146.2500);
	CreateObject(1408, -2080.009277, 2473.877686, 35.787922, 0.0000, 180.4818, 146.2500);
	CreateObject(1408, -2080.703857, 2477.680420, 35.787922, 0.0000, 179.6223, 56.2500);
	CreateObject(1408, -2067.492920, 2468.811035, 35.712917, 0.0000, 179.6223, 236.2501);
	CreateObject(9339, -2070.464600, 2476.534180, 39.965492, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2069.758789, 2477.739746, 39.959023, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2069.917725, 2479.402100, 39.952656, 0.0000, 89.9862, 236.2498);
	CreateObject(10246, -2068.600586, 2474.471680, 41.841331, 0.0000, 0.0000, 236.2501);
	CreateObject(10246, -2069.060791, 2464.586670, 41.823532, 0.0000, 0.0000, 146.2500);
	CreateObject(10246, -2065.300781, 2470.234863, 41.829037, 0.0000, 0.0000, 146.2500);
	CreateObject(1491, -2077.558594, 2469.243408, 40.104366, 0.0000, 0.0000, 236.2501);
	CreateObject(1491, -2079.219971, 2466.707764, 40.104378, 0.0000, 0.0000, 56.2500);
	CreateObject(10246, -2077.270996, 2478.853760, 41.854259, 0.0000, 0.0000, 326.2500);
	CreateObject(10246, -2077.805176, 2475.301514, 41.853935, 0.0000, 0.0000, 56.2500);
	CreateObject(5340, -2085.164795, 2480.197510, 41.641884, 0.0000, 0.0000, 236.2501);
	CreateObject(9339, -2083.682617, 2465.801514, 43.665466, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2082.995605, 2466.816406, 43.665470, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2082.384521, 2467.703857, 43.665428, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2081.564453, 2468.842529, 44.733997, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2080.828857, 2470.004395, 44.740807, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2082.076904, 2468.164063, 44.209076, 0.0000, 0.0000, 56.2500);
	CreateObject(9339, -2080.036865, 2471.165283, 44.740807, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2079.281006, 2472.313232, 44.734196, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2078.532715, 2473.448975, 44.727734, 0.0000, 89.9862, 236.2498);
	CreateObject(2600, -2081.368164, 2475.482910, 36.164837, 0.0000, 0.0000, 292.5000);
	CreateObject(9339, -2077.76953125, 2474.5419921875, 44.721206665039, 0, 89.983520507813, 236.24450683594);
	CreateObject(9339, -2077.191406, 2475.458740, 44.714699, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2076.449951, 2476.649902, 44.708214, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2075.834961, 2477.892578, 44.701588, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2075.108643, 2479.094727, 44.695011, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2075.130127, 2478.921143, 44.134079, 0.0000, 0.0000, 56.2500);
	CreateObject(9339, -2071.854492, 2487.109375, 44.089359, 0.0000, 0.0000, 146.2500);
	CreateObject(10246, -2077.783447, 2475.278076, 42.946430, 0.0000, 0.0000, 236.2501);
	CreateObject(17574, -2068.947510, 2477.628174, 44.828259, 0.0000, 0.0000, 56.2500);
	CreateObject(9339, -2069.182129, 2472.388428, 46.217121, 0.0000, 0.0000, 146.2500);
	CreateObject(9339, -2053.889648, 2476.645020, 46.226006, 0.0000, 0.0000, 92.5783);
	CreateObject(3850, -2093.345459, 2471.532227, 48.165436, 0.0000, 0.0000, 56.2500);
	CreateObject(3850, -2090.492188, 2469.625488, 48.165436, 0.0000, 0.0000, 56.2500);
	CreateObject(3850, -2087.630859, 2467.710938, 48.165436, 0.0000, 0.0000, 56.2500);
	CreateObject(3850, -2084.777588, 2465.803955, 48.160343, 0.0000, 0.0000, 56.2500);
	CreateObject(3850, -2081.927490, 2463.916992, 48.144848, 0.0000, 0.0000, 56.2500);
	CreateObject(3850, -2093.809814, 2473.912842, 48.149822, 0.0000, 0.0000, 326.2500);
	CreateObject(3850, -2091.888428, 2476.792236, 48.149822, 0.0000, 0.0000, 326.2500);
	CreateObject(3331, -2076.952881, 2498.587891, 13.199114, 305.8555, 0.0000, 326.2500);
	CreateObject(3331, -2069.611816, 2493.696777, 13.218176, 305.8555, 0.0000, 326.2500);
	CreateObject(9339, -2083.932129, 2465.373291, 39.223545, 0.0000, 335.0763, 56.2500);
	CreateObject(9339, -2083.789307, 2465.591064, 38.649567, 0.0000, 335.0763, 56.2500);
	CreateObject(12958, -2069.868896, 2468.980225, 36.440590, 0.0000, 0.0000, 236.2501);
	CreateObject(3570, -2063.915039, 2473.895020, 41.458572, 0.0000, 0.0000, 56.2500);
	CreateObject(914, -2066.703125, 2472.009521, 41.679546, 0.0000, 0.0000, 56.2500);
	CreateObject(927, -2066.204102, 2470.527588, 41.548382, 0.0000, 0.0000, 326.2500);
	CreateObject(995, -2071.312988, 2474.879639, 40.971630, 90.2408, 0.0000, 326.2500);
	CreateObject(9339, -2072.134766, 2477.455322, 43.326450, 0.0000, 179.6226, 146.2500);
	CreateObject(9339, -2072.960693, 2476.226318, 44.430080, 0.0000, 0.0000, 326.2500);
	CreateObject(10246, -2075.728271, 2472.160889, 41.854038, 0.0000, 0.0000, 326.2500);
	CreateObject(13187, -2070.490723, 2479.886475, 41.407608, 0.0000, 0.0000, 319.3745);
	CreateObject(13187, -2070.008057, 2478.467529, 41.401234, 0.0000, 0.0000, 236.2500);
	CreateObject(13187, -2067.660645, 2476.266846, 41.407642, 0.0000, 0.0000, 202.5000);
	CreateObject(13187, -2066.079834, 2476.906738, 41.407688, 0.0000, 0.0000, 146.2500);
	CreateObject(3851, -2090.185303, 2469.325195, 42.092228, 0.0000, 0.0000, 56.2500);
	CreateObject(3851, -2077.8955078125, 2461.115234375, 42.116443634033, 0, 0, 56.244506835938);
	CreateObject(3851, -2070.051270, 2462.692139, 42.116425, 0.0000, 0.0000, 146.2501);
	CreateObject(3851, -2091.739502, 2477.173584, 42.116333, 0.0000, 0.0000, 146.2501);
	CreateObject(5856, -2083.954834, 2465.272217, 41.725628, 0.0000, 0.0000, 56.2500);
	CreateObject(13187, -2068.572021, 2474.552734, 41.407719, 0.0000, 0.0000, 56.2500);
	CreateObject(16500, -2068.165771, 2477.331299, 42.784939, 0.0000, 90.2408, 146.2501);
	CreateObject(16500, -2070.587646, 2478.937012, 42.769798, 0.0000, 90.2408, 146.2501);
	CreateObject(9339, -2075.222412, 2478.958496, 43.334930, 0.0000, 179.6226, 236.2500);
	CreateObject(1491, -2072.664551, 2477.240234, 40.104404, 0.0000, 0.0000, 326.2500);
	CreateObject(17574, -2075.351563, 2494.612549, 46.937717, 0.0000, 0.0000, 247.5001);
	CreateObject(9339, -2083.908447, 2492.166992, 47.241825, 0.0000, 0.0000, 334.9217);
	CreateObject(9339, -2083.871338, 2493.262451, 48.631596, 0.0000, 0.0000, 337.5000);
	CreateObject(9339, -2084.259766, 2491.016846, 46.294941, 0.0000, 179.6226, 154.0622);
	CreateObject(16500, -2068.142578, 2477.330078, 40.022869, 0.0000, 269.8631, 146.2501);
	CreateObject(16500, -2070.597412, 2478.960693, 40.028996, 0.0000, 269.8631, 146.2501);
	CreateObject(997, -2071.376953125, 2476.1943359375, 39.86644744873, 0, 269.75830078125, 56.244506835938);
	CreateObject(10246, -2075.751465, 2472.130371, 41.831039, 0.0000, 0.0000, 146.2501);
	CreateObject(14720, -2074.159912, 2459.248535, 40.111809, 0.0000, 0.0000, 56.2501);
	CreateObject(2528, -2068.214355, 2476.466309, 40.125153, 0.0000, 0.0000, 292.5000);
	CreateObject(2836, -2070.782227, 2476.954834, 40.130478, 0.0000, 0.0000, 326.2500);
	CreateObject(2630, -2076.155029, 2462.643799, 40.110950, 0.0000, 0.0000, 326.2500);
	CreateObject(2522, -2069.170410, 2475.573486, 40.126247, 0.0000, 0.0000, 326.2500);
	CreateObject(2523, -2069.673584, 2477.589355, 40.129509, 0.0000, 0.0000, 326.2500);
	CreateObject(2834, -2076.020508, 2461.962646, 40.115845, 0.0000, 0.0000, 56.2500);
	CreateObject(936, -2070.342529, 2476.280518, 40.578876, 0.0000, 0.0000, 146.2500);
	CreateObject(949, -2071.151855, 2478.857422, 40.769531, 0.0000, 0.0000, 0.0000);
	CreateObject(2194, -2070.752686, 2476.403076, 41.385384, 0.0000, 0.0000, 0.0000);
	CreateObject(1280, -2076.311768, 2477.916016, 35.743916, 0.0000, 0.0000, 84.8434);
	CreateObject(2207, -2084.836182, 2475.023682, 40.134716, 0.0000, 0.0000, 326.2500);
	CreateObject(1723, -2071.009277, 2473.921143, 40.114468, 0.0000, 0.0000, 326.2500);
	CreateObject(1723, -2075.886719, 2470.802246, 40.114212, 0.0000, 0.0000, 56.2500);
	CreateObject(2568, -2076.033936, 2472.789551, 40.108425, 0.0000, 0.0000, 236.2501);
	CreateObject(2204, -2090.163818, 2478.988037, 40.108509, 0.0000, 0.0000, 56.2500);
	CreateObject(2197, -2089.666016, 2477.619385, 40.108620, 0.0000, 0.0000, 56.2500);
	CreateObject(1646, -2069.302002, 2469.936523, 35.679989, 0.0000, 0.0000, 281.2500);
	CreateObject(1481, -2083.784912, 2472.136475, 48.101067, 0.0000, 0.0000, 56.2500);
	CreateObject(1659, -2087.810547, 2477.264648, 44.072395, 0.0000, 0.0000, 326.2500);
	CreateObject(1659, -2081.297119, 2472.812500, 44.078819, 0.0000, 0.0000, 326.2500);
	CreateObject(1736, -2088.355713, 2472.965820, 42.826809, 0.0000, 0.0000, 146.2500);
	CreateObject(1786, -2070.7368164063, 2464.6801757813, 41.094573974609, 0, 0, 202.49450683594);
	CreateObject(1797, -2074.477539, 2476.608643, 40.109749, 0.0000, 0.0000, 56.2500);
	CreateObject(1809, -2071.20703125, 2465.2106933594, 40.112117767334, 0, 0, 236.25);
	CreateObject(2028, -2071.2573242188, 2465.763671875, 40.199714660645, 0, 0, 337.49450683594);
	CreateObject(2149, -2073.341553, 2458.635986, 41.249172, 0.0000, 0.0000, 191.2501);
	CreateObject(2192, -2084.580322, 2475.564697, 40.861080, 0.0000, 0.0000, 258.7500);
	CreateObject(2229, -2071.375488, 2474.621826, 40.091297, 0.0000, 0.0000, 348.7500);
	CreateObject(2332, -2080.324219, 2476.416016, 40.579014, 0.0000, 0.0000, 326.2500);
	CreateObject(2828, -2083.374023, 2473.816162, 40.913097, 0.0000, 0.0000, 348.7500);
	CreateObject(1846, -2068.687500, 2478.656494, 41.644882, 90.2408, 0.0000, 326.2500);
	CreateObject(3260, -2071.999268, 2461.609375, 44.558960, 0.0000, 269.7592, 326.2500);
	CreateObject(3260, -2074.470459, 2463.261963, 44.542896, 0.0000, 269.7592, 326.2500);
	CreateObject(3260, -2076.941895, 2464.913330, 44.535988, 0.0000, 269.7592, 326.2500);
	CreateObject(3260, -2079.379395, 2466.541016, 44.527828, 0.0000, 269.7592, 327.9689);
	CreateObject(1472, -2077.717529, 2476.157471, 40.531452, 0.0000, 0.0000, 56.2500);
	CreateObject(14819, -2078.913574, 2476.090820, 42.095428, 0.0000, 0.0000, 236.2501);
	CreateObject(1656, -2076.839111, 2475.586670, 40.217194, 0.0000, 0.0000, 56.2500);
	CreateObject(1656, -2077.038086, 2475.704346, 40.434372, 0.0000, 0.0000, 56.2500);
	CreateObject(1656, -2077.221680, 2475.858643, 40.646355, 0.0000, 0.0000, 56.2500);
	CreateObject(1656, -2077.473145, 2475.994629, 40.803642, 0.0000, 0.0000, 56.2500);
	CreateObject(2163, -2077.083984375, 2476.6884765625, 40.110786437988, 0, 0, 146.24450683594);
	CreateObject(2163, -2077.7275390625, 2477.1123046875, 41.030990600586, 0, 0, 146.24450683594);
	CreateObject(644, -2068.540771, 2472.343506, 40.300304, 0.0000, 0.0000, 0.0000);
	CreateObject(2240, -2075.109375, 2474.295654, 40.714611, 0.0000, 0.0000, 0.0000);
	CreateObject(14640, -2066.436035, 2474.498535, 40.395901, 0.0000, 0.0000, 56.2499);
	CreateObject(2208, -2074.317627, 2468.569092, 40.016167, 0.0000, 0.0000, 56.2500);
	CreateObject(2207, -2072.970947, 2468.144287, 40.109661, 0.0000, 0.0000, 56.2500);
	CreateObject(2251, -2073.163330, 2469.283447, 40.979843, 0.0000, 0.0000, 0.0000);
	CreateObject(2247, -2072.981689, 2469.176514, 41.078243, 0.0000, 0.0000, 180.0000);
	CreateObject(995, -2071.314209, 2474.843018, 42.127274, 90.2408, 0.0000, 326.2500);
	CreateObject(2163, -2077.5334472656, 2477.4641113281, 40.110584259033, 0, 0, 326.09533691406);
	CreateObject(2163, -2077.3088378906, 2476.8669433594, 41.158100128174, 0, 0, 146.24450683594);
	CreateObject(894, -2065.3244628906, 2473.9565429688, 45.280876159668, 0, 0, 37.714782714844);
	CreateObject(895, -2069.0461425781, 2468.5998535156, 45.397300720215, 0, 0, 113.14440917969);
	CreateObject(892, -2067.0769042969, 2470.87890625, 45.357894897461, 0, 0, 0);
	CreateObject(889, -2070.74609375, 2465.6181640625, 45.439819335938, 0, 0, 0);
	CreateObject(885, -2072.5209960938, 2463.228515625, 45.478157043457, 0, 0, 0);
	CreateObject(1710, -2084.6025390625, 2470.6267089844, 40.11633682251, 0, 0, 146.15075683594);
	CreateObject(2258, -2088.1228027344, 2472.2436523438, 42.107643127441, 0, 0, 326.25524902344);
	CreateObject(2259, -2087.0209960938, 2470.955078125, 41.659370422363, 0, 0, 326.25524902344);
	CreateObject(2260, -2086.0764160156, 2470.3227539063, 41.793811798096, 0, 0, 326.25524902344);
	CreateObject(2266, -2087.0395507813, 2470.9345703125, 40.501522064209, 0, 0, 326.25524902344);
	CreateObject(2267, -2088.1340332031, 2472.2280273438, 40.813053131104, 0, 0, 326.25524902344);
	CreateObject(17037, -2003.2623291016, 2453.6589355469, 37.75952911377, 5.9510498046875, 0, 332.20739746094);
	CreateObject(17037, -2006.775390625, 2446.1477050781, 37.025939941406, 3.966064453125, 0, 338.16235351563);
	CreateObject(1454, -2058.1232910156, 2478.1062011719, 47.380996704102, 86.105041503906, 0, 176.66442871094);
	CreateObject(1454, -2060.6105957031, 2477.7429199219, 47.25513458252, 107.93640136719, 0, 330.22485351563);
	CreateObject(1454, -2055.7587890625, 2476.8754882813, 47.367130279541, 96.026428222656, 0, 5.95458984375);
	CreateObject(1454, -2054.0864257813, 2475.1801757813, 47.302726745605, 96.026428222656, 0, 5.95458984375);
	CreateObject(1454, -2052.3713378906, 2473.15234375, 47.146976470947, 96.026428222656, 0, 5.95458984375);
	CreateObject(1454, -2050.701171875, 2471.58984375, 47.07251739502, 99.996398925781, 0, 5.95458984375);
	CreateObject(1454, -2048.771484375, 2469.8708496094, 46.953678131104, 96.026428222656, 0, 5.95458984375);
	CreateObject(1454, -2047.5114746094, 2467.9799804688, 46.431720733643, 115.8759765625, 0, 17.858947753906);
	CreateObject(1454, -2046.5192871094, 2465.5197753906, 45.524013519287, 74.187805175781, 0, 192.53771972656);
	CreateObject(1454, -2045.0341796875, 2463.4387207031, 44.836486816406, 74.185180664063, 0, 192.53540039063);
	CreateObject(1454, -2043.4919433594, 2461.388671875, 44.147735595703, 74.185180664063, 0, 192.53540039063);
	CreateObject(1454, -2041.8836669922, 2459.3559570313, 43.393672943115, 74.185180664063, 0, 192.53540039063);
	CreateObject(1454, -2040.2276611328, 2457.4208984375, 42.68811416626, 74.185180664063, 0, 192.53540039063);
	CreateObject(1454, -2038.4163818359, 2455.6145019531, 42.002899169922, 74.185180664063, 0, 192.53540039063);
	CreateObject(1454, -2036.3148193359, 2453.751953125, 41.20735168457, 74.185180664063, 0, 192.53540039063);
	CreateObject(1454, -2034.2220458984, 2451.9406738281, 40.479389190674, 103.96020507813, 0, 39.691040039063);
	CreateObject(1454, -2032.0632324219, 2450.4279785156, 40.088272094727, 103.95812988281, 0, 39.688110351563);
	CreateObject(1454, -2029.9118652344, 2449.181640625, 39.657356262207, 98.003112792969, 0, 39.688110351563);
	CreateObject(1454, -2027.6369628906, 2447.8039550781, 39.213516235352, 97.998046875, 0, 39.6826171875);
	CreateObject(1454, -2025.5991210938, 2446.5170898438, 38.860363006592, 97.998046875, 0, 39.6826171875);
	CreateObject(1454, -2023.7528076172, 2444.931640625, 38.485359191895, 97.998046875, 0, 39.6826171875);
	CreateObject(1454, -2022.1267089844, 2443.3845214844, 38.02738571167, 68.223083496094, 0, 234.9287109375);
	CreateObject(1454, -2020.4124755859, 2442.1037597656, 37.157558441162, 68.219604492188, 0, 234.92614746094);
	CreateObject(1454, -2018.4180908203, 2440.8620605469, 36.245178222656, 68.219604492188, 0, 234.92614746094);
	CreateObject(1454, -2016.4991455078, 2439.5415039063, 35.374599456787, 68.219604492188, 0, 234.92614746094);
	CreateObject(1454, -2014.5489501953, 2438.3432617188, 34.482681274414, 68.219604492188, 0, 234.92614746094);
	CreateObject(1454, -2012.4058837891, 2437.1787109375, 33.657482147217, 76.159606933594, 0, 234.92614746094);
	CreateObject(1454, -2010.0285644531, 2436.0288085938, 33.460735321045, 90.05224609375, 0, 234.92065429688);
	CreateObject(1454, -2008.1665039063, 2435.3515625, 33.215255737305, 74.91943359375, 0, 246.83056640625);
	CreateObject(1478, -2007.6062011719, 2436.2846679688, 34.517539978027, 0, 0, 81.384521484375);
	CreateObject(642, -2081.1994628906, 2468.1987304688, 48.82825088501, 0, 0, 282.58557128906);
	CreateObject(643, -2081.0126953125, 2470.90234375, 47.868412017822, 0, 0, 0);
	CreateObject(16151, -2069.7307128906, 2465.2329101563, 40.48558807373, 0, 0, 326.25524902344);
	CreateObject(889, -2084.3740234375, 2483.5300292969, 47.346969604492, 0, 0, 0);
	CreateObject(1714, -2082.5834960938, 2476.46484375, 40.116100311279, 0, 0, 324.27026367188);
	CreateObject(1659, -2072.1306152344, 2469.9099121094, 44.115451812744, 0, 0, 0);
	CreateObject(14527, -2084.3996582031, 2473.7397460938, 42.092205047607, 0, 0, 350.0299987793);



	//IRC
	gBotID[0] = IRC_Connect(IRC_SERVER, IRC_PORT, BOT_1_NICKNAME, BOT_1_REALNAME, BOT_1_USERNAME);
	gGroupID = IRC_CreateGroup();
	IRC_SetIntData(gBotID[0], E_IRC_CONNECT_DELAY, 20);

	//Base Gates
	AddAutoGate(980, -1987.4371, -708.4251, 33.8891, 0.0000, 0.0000, 359.5959, -1987.9266, -708.2164, 43.1450, "[SFCNR]CaptainPrice", 13);

	//SAM Stuff
	SAM_start();
	BaseSam1 = AddStaticSAM(-2000.8955, -730.5635, 32.1642);
	BaseSam2 = AddStaticSAM(-2131.5999, -976.3198, 32.1719);

	//Sign
	CiaSign = CreateObject(19353, -2859.79, 375.66, 5.19,   0.00, 0.00, 0.00);
	SetObjectMaterialText(CiaSign, "CIA Base Ahead", 0, OBJECT_MATERIAL_SIZE_256x128,
	"Arial", 28, 0, 0xFFFFFFFF, 0x007A00FF, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);

	//Timers
	Timer = SetTimer("CheckForCopScore", 8000, true);

	return 1;
}

public OnGameModeExit()
{
    print("\n==================================================================");
	print("=== San Fierro Cops and Robbers v1.0 by stormchaser206 unloaded! ===");
	print("====================================================================\n");

	IRC_Quit(gBotID[0], "[EXIT] IRC Announcer Bot has exited.");
	IRC_DestroyGroup(gGroupID);
	return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
	SetPlayerPos(playerid, -1576.5280, 722.0516, 37.8293);
	SetPlayerCameraPos(playerid, -1573.8307, 721.9671, 37.8293);
	SetPlayerCameraLookAt(playerid, -1576.5280, 722.0516, 37.8293);

	if(classid == 0)
	{
	    GameTextForPlayer(playerid, "~b~Police", 9000, 6);
    	SetPlayerTeam(playerid, TEAM_COP);
	    SetPlayerColor(playerid, COLOR_BLUE);
	}

	if(classid == 1)
	{
	    GameTextForPlayer(playerid, "~g~Army", 9000, 6);
 		SetPlayerTeam(playerid, TEAM_ARMY);
   		SetPlayerColor(playerid, COLOR_BLACK);
	}

	if(classid == 2)
	{
	    GameTextForPlayer(playerid, "SWAT", 9000, 6);
	    SetPlayerTeam(playerid, TEAM_SWAT);
	    SetPlayerColor(playerid, COLOR_GREY);
	}

	if(classid == 3)
	{
	    GameTextForPlayer(playerid,"~g~FBI", 9000, 6);
	    SetPlayerTeam(playerid, TEAM_FBI);
	    SetPlayerColor(playerid, COLOR_GREEN);
	}

	if(classid == 4)
	{
	    GameTextForPlayer(playerid, "CIA", 9000, 6);
     	SetPlayerTeam(playerid, TEAM_CIA);
      	SetPlayerColor(playerid, COLOR_ORANGE);
	}

	if(classid == 5)
	{
	    GameTextForPlayer(playerid, "~r~FIREMAN", 9000, 6);
		SetPlayerTeam(playerid, TEAM_FIRE);
		SetPlayerColor(playerid, COLOR_YELLOW);
	}

	if(classid == 6)
	{
	    GameTextForPlayer(playerid, "~g~TAXI", 9000, 6);
	    SetPlayerTeam(playerid, TEAM_TAXI);
	    SetPlayerColor(playerid, COLOR_AQUA);
	}

	if(classid == 7)
	{
	    GameTextForPlayer(playerid,"MEDIC", 9000, 6);
	    SetPlayerTeam(playerid, TEAM_MEDIC);
	    SetPlayerColor(playerid, COLOR_PINK);
	}
	else
	{
	    GameTextForPlayer(playerid,"CIVILIAN", 9000, 6);
	}
	return 1;
}

public OnPlayerConnect(playerid)
{
	new pName[MAX_PLAYER_NAME];
	GetPlayerName(playerid, pName, sizeof(pName));
	new IRC_String[100];
	new string[100];
	format(IRC_String, sizeof(IRC_String),"[CONNECT] %s(%d) has connected to the server!", pName, playerid);
	IRC_Say(gGroupID, IRC_CHANNEL, IRC_String);
	format(string, sizeof(string),"-| %s(%d) has connected to San Fierro Cops and Robbers v1.0! |-", pName, playerid);
	SendClientMessageToAll(COLOR_PINK, string);
	return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
	new reasonMsg[15];
	switch(reason)
	{
	    case 0: reasonMsg = "Timeout";
	    case 1: reasonMsg = "Leaving";
	    case 2: reasonMsg = "Kicked/Banned";
	}

    new pName[MAX_PLAYER_NAME];
	GetPlayerName(playerid, pName, sizeof(pName));
	new IRC_String[100];
	new string[100];
	format(IRC_String, sizeof(IRC_String),"[DISCONNECT] %s(%d) has left the server! (%s)", pName, playerid, reasonMsg);
	IRC_Say(gGroupID, IRC_CHANNEL, IRC_String);
	format(string, sizeof(string),"-| %s(%d) has left the server (%s) |-", pName, playerid, reasonMsg);
	SendClientMessageToAll(COLOR_PINK, string);
	return 1;
}

public OnPlayerSpawn(playerid)
{
	new randSpawn = 0;
	randSpawn = random(sizeof(gRandomSpawns_SanFierro));

	if(!IsPlayerLawEnforcement(playerid) || GetPlayerTeam(playerid) != TEAM_MEDIC || GetPlayerTeam(playerid) != TEAM_TAXI || GetPlayerTeam(playerid) != TEAM_FIRE)
	{
	 	SetPlayerPos(playerid,
			gRandomSpawns_SanFierro[randSpawn][0],
			 gRandomSpawns_SanFierro[randSpawn][1],
		 	gRandomSpawns_SanFierro[randSpawn][2]);
		SetPlayerFacingAngle(playerid,gRandomSpawns_SanFierro[randSpawn][3]);
	}
	SetPlayerInterior(playerid, 0);
	TogglePlayerClock(playerid, 1);

	new pName[MAX_PLAYER_NAME];
	new IRC_String[100];
	GetPlayerName(playerid, pName, sizeof(pName));
	format(IRC_String, sizeof(IRC_String),"[SPAWN] %s(%d) has spawned", pName, playerid);
	IRC_Say(gGroupID, IRC_CHANNEL, IRC_String);
	return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
	return 1;
}

public OnVehicleSpawn(vehicleid)
{
	return 1;
}

public OnVehicleDeath(vehicleid, killerid)
{
	return 1;
}

public OnPlayerText(playerid, text[])
{
	return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
	//Law Enforcement Commands//
 	dcmd(cuff,4,cmdtext);
	dcmd(strike,6,cmdtext);

	//Robber Commands//
	dcmd(rob,3,cmdtext);

	//Wars//
	dcmd(createwar,9,cmdtext);
	dcmd(joinwar,7,cmdtext);
	return 1;
}

//============== DCMD Commands ===============//
dcmd_cuff(playerid, params[])
{
	new Index;
	new tmp[256];
	tmp = strtok(params, Index);
	new id;
	id = strval(tmp);
	new cRand;
	cRand = random(100);
	new string[150];
	new pName[MAX_PLAYER_NAME];
	new pNameTwo[MAX_PLAYER_NAME];
	new IRC_String[150];
	GetPlayerName(playerid, pName, sizeof(pName));
	GetPlayerName(id, pNameTwo, sizeof(pNameTwo));

	if(id == INVALID_PLAYER_ID) return SendClientMessage(playerid, COLOR_RED, "ERROR: Invalid Player ID");
	if(PlayerInfo[id][Cuffed] == 1) return SendClientMessage(playerid, COLOR_RED, "ERROR: Player is already cuffed");
	if(PlayerInfo[id][InPrison] == 1) return SendClientMessage(playerid, COLOR_RED, "ERROR: Player is already in Prison");
	if(GetPlayerTeam(id) == TEAM_COP || GetPlayerTeam(id) == TEAM_SWAT || GetPlayerTeam(id) == TEAM_FBI || GetPlayerTeam(id) == TEAM_CIA || GetPlayerTeam(id) == TEAM_ARMY) return SendClientMessage(playerid, COLOR_RED, "ERROR: You might lose your job for cuffing other law enforcement");
	if(GetPlayerTeam(playerid) != TEAM_COP || GetPlayerTeam(playerid) != TEAM_SWAT || GetPlayerTeam(playerid) != TEAM_FBI || GetPlayerTeam(playerid) != TEAM_CIA || GetPlayerTeam(playerid) != TEAM_ARMY) return SendClientMessage(playerid, COLOR_RED, "ERROR: Only law enforcement can use this command");
	if(cRand <= CUFF_BRK_AWAY_CHANCE) return SendClientMessage(playerid, COLOR_RED, "The suspect slipped out of your grasp and got away!");
	if(GetPlayerWantedLevel(playerid) == 0) return SendClientMessage(playerid, COLOR_RED, "ERROR: Player is not wanted");
	else
	{
	    LoopingAnim(id, "ped", "cower", 3.0, 1, 0, 0, 0, 0);
	    TogglePlayerControllable(id, 0);
		format(IRC_String, sizeof(IRC_String),"[CUFF] %s(%d) has been cuffed by officer %s(%d)", pNameTwo, id, pName, playerid);
		IRC_Say(gGroupID, IRC_CHANNEL, IRC_String);
		format(string, sizeof(string),"-| You have cuffed %s(%d). You have 30 seconds before they are auto-uncuffed |-", pNameTwo, id);
		SendClientMessage(playerid, COLOR_ORANGE, string);
		format(string, sizeof(string),"-| You have been cuffed by officer %s(%d). You have 30 seconds before you are auto-uncuffed.", pName, playerid);
		SendClientMessage(id, COLOR_ORANGE, string);
		PlayerInfo[id][Cuffed] = 1;
        SetTimerEx("AutoUnCuff", 30000, 0, "i", id);
	}
	return 1;
}

dcmd_strike(playerid, params[])
{
	new Index;
	new tmp[256];
	tmp = strtok(params, Index);
	new id = strval(tmp);
	new pName[MAX_PLAYER_NAME];
	new pNameTwo[MAX_PLAYER_NAME];
	new string[100];
	new Float:X;
	new Float:Y;
	new Float:Z;
	GetPlayerPos(id, X, Y, Z);
	new cRand;
	cRand = random(100);

	if(id == INVALID_PLAYER_ID) return SendClientMessage(playerid, COLOR_RED, "ERROR: Invalid Player ID");
	if(id == playerid) return SendClientMessage(playerid, COLOR_RED, "ERROR: You cannot call a missile strike on yourself. Do you want to die?");
	if(IsPlayerLawEnforcement(id)) return SendClientMessage(playerid, COLOR_RED, "ERROR: You might lose your job for calling a missile strike on other law enforcement");
	if(GetPlayerMoney(playerid) < 1500) return SendClientMessage(playerid, COLOR_RED, "ERROR: You need at least $1500 to call in a missile strike");
	if(GetPlayerWantedLevel(id) < 15) return SendClientMessage(playerid, COLOR_RED, "ERROR: The Player needs to have at least aa 15 wanted level.");
	if(cRand <= 45) return SendClientMessage(playerid, COLOR_ORANGE, "Your missile strike failed to hit");
	if(PlayerInfo[playerid][WaitingToStrike] == 1) return SendClientMessage(playerid, COLOR_RED, "ERROR: You need to wait before you can use the strike again");
	else
	{
	    GetPlayerName(playerid, pName, sizeof(pName));
		GetPlayerName(id, pNameTwo, sizeof(pNameTwo));
		Missile1 = CreateObject(3790, X, Y, Z+20, 0.0, 238.0, 0.0);
		format(string, sizeof(string),"[POLICE RADIO] Army officer %s(%d) has called an airstrike on %s(%d)", pName, playerid, pNameTwo, id);
		SendRadioMsg(string);
		MoveObject(Missile1, X, Y, Z, 15);
		CreateExplosion(X, Y, Z, 7, 15);
		format(string, sizeof(string), "Military officer %s(%d) has called an airstrike on your current position!", pName, playerid);
		SendClientMessage(id, COLOR_RED, string);
		GivePlayerMoney(playerid, -1500);
		SetTimerEx("CanUseStrike",600000, 0, "i", playerid);
		PlayerInfo[playerid][CanUseMStrike] = 0;
		PlayerInfo[playerid][WaitingToStrike] = 1;
	}
	return 1;
}

dcmd_rob(playerid, params[])
{
	new Index;
	new tmp[256];
	tmp = strtok(params, Index);
	new id;
	id = strval(tmp);
	new mRand;
	new cRand = random(100);
	new string[150];
	new pName[MAX_PLAYER_NAME];
	GetPlayerName(playerid, pName, sizeof(pName));
	new pNameTwo[MAX_PLAYER_NAME];
	GetPlayerName(id, pNameTwo, sizeof(pNameTwo));

	if(GetPlayerTeam(playerid) != TEAM_ROB) return SendClientMessage(playerid, COLOR_RED, "ERROR: You must be a robber to use this command");
	if(id == INVALID_PLAYER_ID) return SendClientMessage(playerid, COLOR_RED, "ERROR: Invalid ID");
	if(GetPlayerMoney(playerid) < 1) return SendClientMessage(playerid, COLOR_RED, "How would you rob someone with no cash? That would go to waste...");
	if(id == playerid) return SendClientMessage(playerid, COLOR_RED, "You cannot rob yourself. How is that possible?");
	if(cRand <= 30) return SendClientMessage(playerid, COLOR_RED, "Rob attempt failed! Player slipped out of your grasp!");
	else
	{
		mRand = random(GetPlayerMoney(id));
		GivePlayerMoney(playerid, mRand);
		GivePlayerMoney(id, -mRand);
		format(string, sizeof(string),"-| You lost a total of $%d from %s(%d) robbing you! |-", mRand, pName, playerid);
		SendClientMessage(id, COLOR_RED, string);
		format(string, sizeof(string),"[POLICE RADIO] %s(%d) has been robbed by %s(%d)");
		SendRadioMsg(string);
		format(string, sizeof(string),"-| You have robbed $%d from %s(%d)! Make sure they don't come after you! |-", mRand, pNameTwo, id);
		SendClientMessage(playerid, COLOR_GREEN, string);
		IncreasePlayerWantedLevel(playerid, 4);
	}
	return 1;
}

dcmd_createwar(playerid, params[])
{
	new Index;
	new tmp[256];
	tmp = strtok(params, Index);
	new tmp2[256];
	tmp2 = strtok(params, Index);
	new city = strval(tmp);
	new warname[20] = WarOneInfo[War1Name];
	new nCity[25];
	new string[150];

	if(PlayerInfo[playerid][Admin] >= 9)
	{
	    if(WarOneInfo[War1GoingOn] == 1) return SendClientMessage(playerid, COLOR_RED, "ERROR: There is already a war going on. Type /joinwar to join it.");

		if(city < 0 || city > 3)
		{
			SendClientMessage(playerid, COLOR_RED, "ERROR: Invalid city selected!");
			SendClientMessage(playerid, COLOR_RED, "-| City IDs |-");
			SendClientMessage(playerid, COLOR_RED, "0 - Los Santos || 1 - Countryside");
			SendClientMessage(playerid, COLOR_RED, "2 - Las Venturas || 3 - Desert");
			return 0;
		}


		if(!strlen(params))
		{
			SendClientMessage(playerid, COLOR_RED, "Usage: /createwar (City ID) (War Name)");
			SendClientMessage(playerid, COLOR_RED, "-| City IDs |-");
			SendClientMessage(playerid, COLOR_RED, "0 - Los Santos || 1 - Countryside");
			SendClientMessage(playerid, COLOR_RED, "2 - Las Venturas || 3 - Desert");
			return 0;
		}

		if(city == 0) warname = "Los Santos";
		if(city == 1) warname = "The Countryside";
		if(city == 2) warname = "Las Venturas";
		if(city == 3) warname = "The Desert";

		format(string, sizeof(string),"-| A war has been created || City: %s || War Name: %s || Type /joinwar to join! |-", WarOneInfo[War1Name], params[2]);
		SendClientMessageToAll(COLOR_GREEN, string);
		WarOneInfo[War1GoingOn] = 1;
		WarOneInfo[War1Name] = params[2];
		WarOneInfo[USTeamScore] = 0;
		WarOneInfo[RussiaTeamScore] = 0;
	}
	else SendClientMessage(playerid, COLOR_RED, "ERROR: You need to be level 9 to use this command");
	return 1;
}

dcmd_joinwar(playerid)
{
	if(WarOneInfo[War1GoingOn] == 1)
	{
		GetPlayerPos(playerid, PlayerInfo[playerid][WOldX], PlayerInfo[playerid][WOldY], PlayerInfo[playerid][WOldZ]);

		new city[20] = WarOneInfo[War1City];
		new string[140];
		format(string, sizeof(string),"-| You have joined a war || War Name: %s || City: %s |-", WarOneInfo[War1Name], WarOneInfo[War1City]);
		SendClientMessage(playerid, COLOR_GREEN, string);

	    if(city == "Los Santos")
	    {
			ShowPlayerDialog(playerid, DIALOG_SWTEAM, DIALOG_STYLE_LIST, "Select Team", "US Army Rangers (USA)\nSpetsnaz (Russia)", "OK", "Quit War");
		}

		if(city == "The Countryside")
		{
			ShowPlayerDialog(playerid, DIALOG_SWTEAM, DIALOG_STYLE_LIST, "Select Team", "US Army Rangers (USA)\nSpetsnaz (Russia)", "OK", "Quit War");
		}

		if(city == "Las Venturas")
		{
		    ShowPlayerDialog(playerid, DIALOG_SWTEAM, DIALOG_STYLE_LIST, "Select Team", "US Army Rangers (USA)\nSpetsnaz (Russia)", "OK", "Quit War");
		}

		if(city == "The Desert")
		{
		    ShowPlayerDialog(playerid, DIALOG_SWTEAM, DIALOG_STYLE_LIST, "Select Team", "US Army Rangers (USA)\nSpetsnaz (Russia)", "OK", "Quit War");
		}
	}
	else SendClientMessage(playerid, COLOR_RED, "ERROR: There is no war going on.");
	return 1;
}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
	if(GetPlayerTeam(playerid) == TEAM_COP && vehicleid == 523)
	{
	    SetPlayerSkin(playerid, 284);
	}
	return 1;
}

public OnPlayerExitVehicle(playerid, vehicleid)
{
    if(GetPlayerTeam(playerid) == TEAM_COP && vehicleid == 523)
	{
	    SetPlayerSkin(playerid, 281);
	}
	return 1;
}

public OnPlayerStateChange(playerid, newstate, oldstate)
{
	return 1;
}

public OnPlayerEnterCheckpoint(playerid)
{
	return 1;
}

public OnPlayerLeaveCheckpoint(playerid)
{
	return 1;
}

public OnPlayerEnterRaceCheckpoint(playerid)
{
	return 1;
}

public OnPlayerLeaveRaceCheckpoint(playerid)
{
	return 1;
}

public OnRconCommand(cmd[])
{
	return 1;
}

public OnPlayerRequestSpawn(playerid)
{
	new team = GetPlayerTeam(playerid);

	if(team == TEAM_COP && FactionInfo[playerid][CanUsePolice] == 0)
	{
		ReturnClassError(playerid, 0);
	    return 0;
	}

	if(team == TEAM_ARMY && FactionInfo[playerid][CanUseArmy] == 0)
	{
	    ReturnClassError(playerid, 1);
	    return 0;
	}

	if(team == TEAM_CIA && FactionInfo[playerid][CanUseCIA] == 0)
	{
	    ReturnClassError(playerid, 1);
	    return 0;
	}

	if(team == TEAM_SWAT && FactionInfo[playerid][CanUseSWAT] == 0)
	{
	    ReturnClassError(playerid, 1);
		return 0;
	}

	if(team == TEAM_FBI && FactionInfo[playerid][CanUseFBI] == 0)
	{
	    ReturnClassError(playerid, 1);
		return 0;
	}

	if(IsACiv(playerid))
	{
	    ShowPlayerDialog(playerid, DIALOG_SSKILL, DIALOG_STYLE_LIST, "Select Skill", "Robber\nRapist\nTerrorist\nHitman\nDrug Dealer\nWeapon Dealer", "OK", "Quit");
	}
	return 1;
}

public OnObjectMoved(objectid)
{
	return 1;
}

public OnPlayerObjectMoved(playerid, objectid)
{
	if(objectid == Missile1)
	{
	    new Float:X;
	    new Float:Y;
	    new Float:Z;
	    GetObjectPos(Missile1, X, Y, Z);

        for(new i = 0; i < MAX_PLAYERS; i++)
        {
			if(IsPlayerInRangeOfPoint(i, 5, X, Y, Z))
			{
				new Float:X1;
				new Float:Y1;
				new Float:Z1;
				GetPlayerPos(i, X1, Y1, Z1);
				CreateExplosion(X1, Y1, Z1, 7, 10);
			    SetPlayerArmour(i, 0.0);
			    SetPlayerHealth(i, 0);
				SendClientMessage(i, COLOR_RED, "-| You have died from a missile strike! |-");
			}
		}
	}
	return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
	return 1;
}

public OnVehicleMod(playerid, vehicleid, componentid)
{
	return 1;
}

public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
	return 1;
}

public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
	return 1;
}

public OnPlayerSelectedMenuRow(playerid, row)
{
	return 1;
}

public OnPlayerExitedMenu(playerid)
{
	return 1;
}

public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
	return 1;
}

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
	return 1;
}

public OnRconLoginAttempt(ip[], password[], success)
{
	return 1;
}

public OnPlayerUpdate(playerid)
{
	return 1;
}

public OnPlayerStreamIn(playerid, forplayerid)
{
	return 1;
}

public OnPlayerStreamOut(playerid, forplayerid)
{
	return 1;
}

public OnVehicleStreamIn(vehicleid, forplayerid)
{
	return 1;
}

public OnVehicleStreamOut(vehicleid, forplayerid)
{
	return 1;
}


public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
	if(dialogid == DIALOG_SSKILL)
	{
	    if(!response) return Kick(playerid);
		if(response)
		{
			switch(listitem)
			{
				case 0:
				{
					SetPlayerTeam(playerid, TEAM_ROB);
				}
				case 1:
				{
					SetPlayerTeam(playerid, TEAM_RAPE);
				}
				case 2:
				{
					SetPlayerTeam(playerid, TEAM_TERROR);
				}
				case 3:
				{
					SetPlayerTeam(playerid, TEAM_HITMAN);
				}
				case 4:
				{
					SetPlayerTeam(playerid, TEAM_DDEAL);
				}
				case 5:
				{
					SetPlayerTeam(playerid, TEAM_WDEAL);
				}
			}
		}
	}

	if(dialogid == DIALOG_SWTEAM)
	{
		if(response)
		{
			switch(listitem)
			{
				case 0:
				{
					WarOneInfo[War1Players]++;
					SetPlayerTeam(playerid, TEAM_RANGER);
					PlayAudioStreamForPlayer(playerid, "https://dl.dropbox.com/u/77376451/black_cats.mp3");
				}
				case 1:
				{
					WarOneInfo[War1Players]++;
					SetPlayerTeam(playerid, TEAM_SPETSNAZ);
					PlayAudioStreamForPlayer(playerid, "https://dl.dropbox.com/u/77376451/the_final_push.mp3");
				}
			}
		}
		else
		{
			//The player has pressed "OK".
			switch(listitem)
			{
				case 0:
				{
					SetPlayerPos(playerid, PlayerInfo[playerid][WOldX], PlayerInfo[playerid][WOldY], PlayerInfo[playerid][WOldZ]);
					SendClientMessage(playerid, COLOR_RED, "-| You have quit from the war and have been returned to your old position!");
				}
				case 1:
				{
					SetPlayerPos(playerid, PlayerInfo[playerid][WOldX], PlayerInfo[playerid][WOldY], PlayerInfo[playerid][WOldZ]);
					SendClientMessage(playerid, COLOR_RED, "-| You have quit from the war and have been returned to your old position!");
				}
			}
		}
	}
    return 0;
}

public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
	return 1;
}

public OnSamSiteUpdate(samid, playerid)
{
    new name[24];
	GetPlayerName(playerid, name, sizeof name);
	if(samid == BaseSam1)
	{
	    if(strcmp(name, "[SFCNR]CaptainPrice", true) == 0)
	    {
	        return 0;
		}
	}

	if(samid == BaseSam2)
	{
	    if(strcmp(name, "[SFCNR]CaptainPrice", true) == 0)
	    {
	        return 0;
		}
	}
	return 1;
}

// Strtok //
strtok(const string[], &index)
{
	new length = strlen(string);
	while ((index < length) && (string[index] <= ' '))
	{
		index++;
	}

	new offset = index;
	new result[20];
	while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
	{
		result[index - offset] = string[index];
		index++;
	}
	result[index - offset] = EOS;
	return result;
}

public AutoUnCuff(id)
{
	new string[150];
	new IRC_String[150];
	new pName[MAX_PLAYER_NAME];
	GetPlayerName(id, pName, sizeof(pName));
	StopLoopingAnim(id);
	SendClientMessage(id, COLOR_GREEN,"-| You have been Auto-uncuffed! |-");
	format(string, sizeof(string),"-| %s(%d) has been auto-uncuffed! |-", pName, id);
	SendClientMessageToAll(COLOR_ORANGE, string);
	format(IRC_String, sizeof(IRC_String),"[AUTO UN-CUFF] %s(%d) has been auto-uncuffed!", pName, id);
	IRC_Say(gGroupID, IRC_CHANNEL, IRC_String);
	return 1;
}

/////////////////// ANIMS ///////////////////////
LoopingAnim(playerid,animlib[],animname[], Float:Speed, looping, lockx, locky, lockz, lp)
{
    ApplyAnimation(playerid, animlib, animname, Speed, looping, lockx, locky, lockz, lp);
}

StopLoopingAnim(playerid)
{
    ApplyAnimation(playerid, "CARRY", "crry_prtial", 4.0, 0, 0, 0, 0, 0);
}

//////////////// STOCKS //////////////////
stock IsPlayerLawEnforcement(playerid)
{
	new team = GetPlayerTeam(playerid);
	if(team == TEAM_COP || team == TEAM_FBI || team == TEAM_CIA || team == TEAM_ARMY || team == TEAM_SWAT) return 1;
	else return 0;
}

stock IncreasePlayerWantedLevel(playerid, value)
{
	SetPlayerWantedLevel(playerid, GetPlayerWantedLevel(playerid)+value);
	return 1;
}

stock SendRadioMsg(msg[])
{
	for(new i=0; i<MAX_PLAYERS; i++)
	{
	    if(IsPlayerConnected(i))
	    {
	        if(IsPlayerLawEnforcement(i))
	        {
			    SendClientMessage(i,COLOR_BLUE,msg);
			}
		}
	}
}

stock SendClientMessageToAllMedics(msg[])
{
	for(new i=0; i<MAX_PLAYERS; i++)
	{
	    if(IsPlayerConnected(i))
	    {
			if(GetPlayerTeam(i) == TEAM_MEDIC)
			{
			    SendClientMessage(i,COLOR_GREEN,msg);
			}
		}
	}
}

stock ReturnClassError(playerid, errorID)
{
	if(errorID == 0) return SendClientMessage(playerid, COLOR_RED, "ERROR: You cannot use this class. You need 25 score to use it.");
	if(errorID == 1) return SendClientMessage(playerid, COLOR_RED, "ERROR: You cannot use this class. You must apply for it on www.sanfierrocnr.createaforum.com");
	return 1;
}

stock IsACiv(playerid)
{
    if(!IsPlayerLawEnforcement(playerid) || GetPlayerTeam(playerid) != TEAM_MEDIC || GetPlayerTeam(playerid) != TEAM_TAXI || GetPlayerTeam(playerid) != TEAM_FIRE)
    {
		return 1;
	}

    else
	{
    	return 0;
	}
}
//Publics
public CanUseStrike(playerid)
{
	SendClientMessage(playerid, COLOR_GREEN, "Missile strike armed and ready to fire!");
	PlayerInfo[playerid][WaitingToStrike] = 0;
	PlayerInfo[playerid][CanUseMStrike] = 0;
	return 1;
}

public CheckForCopScore(playerid)
{
	if(GetPlayerScore(playerid) >= 25)
	{
	    KillTimer(Timer);
	    SendClientMessage(playerid, COLOR_RED, "-| You have reached 25 score! You can now use Police class! |-");
		FactionInfo[playerid][CanUsePolice] = 1;
	}
	return 1;
}
/*/=========================================
IRC Commands and Callbacks
*////////////////////////////////////////
public IRC_OnConnect(botid)
{
	print("Bot ID %d connected to IRC channel!");
	IRC_AddToGroup(gGroupID, botid);
	return 1;
}

public IRC_OnDisconnect(botid)
{
    print("Bot ID %d disconencted from IRC server!");
    IRC_RemoveFromGroup(gGroupID, botid);
	return 1;
}
Untested. Tried to fix the errors.

TIP: I suggest learning to script, some of these errors were pretty obvious (such as the fact you were assigning a float value to a non-float variable)
Reply
#8

Quote:
Originally Posted by Kindred
Посмотреть сообщение
Код:
/*/==========================//
====== San Fierro: Cops and Robbers ===//
Note: This is a different script then Stevo127's SFCRRPG. This is made by stormchaser206.

Credits:
-stormchaser206: Creating the script
-Incognito: IRC Plugin & Include
-SA-MP Team: Creating the awesome SA-MP.

Please do not re-release without my permission
*/

#include <a_samp>
#include <YSI\y_ini>
#include <irc>
#include <gates>
#include <SAMsites0.4.1>

new BaseSam1;
new BaseSam2;

new Timer;

new CiaSign;


//Dialogs
#define DIALOG_SSKILL   6891
#define DIALOG_SWTEAM   3739

//Dcmd
#define dcmd(%1,%2,%3) if (!strcmp((%3)[1], #%1, true, (%2)) && ((((%3)[(%2) + 1] == '\0') && (dcmd_%1(playerid, ""))) || (((%3)[(%2) + 1] == ' ') && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1

//IRC Stuff
#define IRC_SERVER "irc.mibbit.net"
#define IRC_PORT 6667
#define IRC_CHANNEL "#SFCNR"

#define BOT_1_NICKNAME "Bot"
#define BOT_1_REALNAME "SA-MP Bot"
#define BOT_1_USERNAME "Bot"

#define MAX_BOTS (1)

new gBotID[MAX_BOTS];
new gGroupID;

//Object
new Missile1;

forward CanUseStrike(playerid);

//Forwards//
forward AutoUnCuff(id);
forward CheckForCopScore(playerid);

//Teams//
#define TEAM_COP 0
#define TEAM_ARMY 1
#define TEAM_FBI 3
#define TEAM_SWAT 4
#define TEAM_CIA 5
#define TEAM_TAXI 6
#define TEAM_MEDIC 7
#define TEAM_FIRE 8
#define TEAM_TERROR 9
#define TEAM_ROB 10
#define TEAM_KIDNAP 11
#define TEAM_HITMAN 12
#define TEAM_RAPE 13
#define TEAM_WDEAL 14
#define TEAM_DDEAL 15

//War teams
#define TEAM_RANGER 16
#define TEAM_SPETSNAZ 17

//Important Defines
#define CUFF_BRK_AWAY_CHANCE 35
#define MAX_WARS 1

//Colors
#define COLOR_RED (0xFF0000FF)
#define COLOR_GREEN (0x00FF00FF)
#define COLOR_AQUA (0x00FFFFFF)
#define COLOR_BLUE (0x0000FFFF)
#define COLOR_PINK (0xFF00FFFF)
#define COLOR_YELLOW (0xFFFF00FF)
#define COLOR_WHITE (0xFFFFFFFF)
#define COLOR_ORANGE (0xFFBE00FF)
#define COLOR_BLACK (0x000000FF)
#define COLOR_GREY (0xE4E1FFFF)
#define COLOR_BROWN (0x451800FF)

#define COL_BLACK "{000000}"
#define COL_RED "{FF0000}"
#define COL_PINK "{FF00FF}"
#define COL_WHITE "{FFFFFF}"
#define COL_BLUE "{0000FF}"
#define COL_ORANGE "{FF9000}"
#define COL_FGREEN "{008600}"
#define COL_GREEN "{00FF00}"

//Random spawns (Thank grand larceny)
new Float:gRandomSpawns_SanFierro[][4] = {
{-2723.4639,-314.8138,7.1839,43.5562},  // golf course spawn
{-2694.5344,64.5550,4.3359,95.0190},  // in front of a house
{-2458.2000,134.5419,35.1719,303.9446},  // hotel
{-2796.6589,219.5733,7.1875,88.8288},  // house
{-2706.5261,397.7129,4.3672,179.8611},  // park
{-2866.7683,691.9363,23.4989,286.3060},  // house
{-2764.9543,785.6434,52.7813,357.6817},  // donut shop
{-2660.9402,883.2115,79.7738,357.4440},  // house
{-2861.0796,1047.7109,33.6068,188.2750}, //  parking lot
{-2629.2009,1383.1367,7.1833,179.7006},  // parking lot at the bridge
{-2079.6802,1430.0189,7.1016,177.6486},  // pier
{-1660.2294,1382.6698,9.8047,136.2952}, //  pier 69
{-1674.1964,430.3246,7.1797,226.1357},  // gas station]
{-1954.9982,141.8080,27.1747,277.7342},  // train station
{-1956.1447,287.1091,35.4688,90.4465},  // car shop
{-1888.1117,615.7245,35.1719,128.4498},  // random
{-1922.5566,886.8939,35.3359,272.1293},  // random
{-1983.3458,1117.0645,53.1243,271.2390},  // church
{-2417.6458,970.1491,45.2969,269.3676},  // gas station
{-2108.0171,902.8030,76.5792,5.7139},  // house
{-2097.5664,658.0771,52.3672,270.4487},  // random
{-2263.6650,393.7423,34.7708,136.4152},  // random
{-2287.5027,149.1875,35.3125,266.3989},  // baseball parking lot
{-2039.3571,-97.7205,35.1641,7.4744},  // driving school
{-1867.5022,-141.9203,11.8984,22.4499},  // factory
{-1537.8992,116.0441,17.3226,120.8537},  // docks ship
{-1708.4763,7.0187,3.5489,319.3260},  // docks hangar
{-2173.0654,-392.7444,35.3359,237.0159},  // stadium
{-2320.5286,-180.3870,35.3135,179.6980},  // burger shot
{-2930.0049,487.2518,4.9141,3.8258}  // harbor
};

//Enums
enum wInfo
{
	War1GoingOn,
	War1Players,
	War1Name,
	War1City,
	IsOn1USA,
	IsOn1Russia,
	USTeamScore,
	RussiaTeamScore
}

new WarOneInfo[wInfo];

enum fInfo
{
	CanUseSWAT,
	CanUseArmy,
	CanUseFBI,
	CanUseCIA,
	CanUsePolice,
	IsSWATLeader,
	IsArmyLeader,
	IsFBILeader,
	IsCIALeader,
	Price
}

enum pInfo
{
    Registered,
	LoggedIn,
	Cash,
	Score,
	Admin,
	VipPoints,
	Xp,
	Cuffed,
	InPrison,
	CanUseMStrike,
	WaitingToStrike,
	xC4,
	Float:WOldX,
	Float:WOldY,
	Float:WOldZ,
	InWar
}

new FactionInfo[MAX_PLAYERS][fInfo];
new PlayerInfo[MAX_PLAYERS][pInfo];


main()
{
	print("\n================================================================");
	print("=== San Fierro Cops and Robbers v1.0 by stormchaser206 loaded! ===");
	print("==================================================================\n");
}

public OnGameModeInit()
{
	// Don't use these lines if it's a filterscript
	SetGameModeText("SF Cops and Robbers");
	AddPlayerClass(281,-1591.7279,716.1664,-5.2422,270.7460,0,0,0,0,0,0); // cnr police
	AddPlayerClass(287,-1389.1581,-246.2881,14.1440,314.9499,0,0,0,0,0,0); // cnr army
	AddPlayerClass(285,-1449.1959,453.8936,7.1875,3.5911,0,0,0,0,0,0); // cnr swat
	AddPlayerClass(286,-2455.3621,497.4983,30.0870,297.9120,0,0,0,0,0,0); // cnr fbi
	AddPlayerClass(164,-3379.1736,316.7283,29.6567,198.6681,0,0,0,0,0,0); // CIA Spawn
	AddPlayerClass(279,-2024.0890,70.5015,28.4499,274.4205,0,0,0,0,0,0); // cnr fireman
	AddPlayerClass(262,-2481.7729,372.6339,35.1204,240.2162,0,0,0,0,0,0); // cnr taxi man
	AddPlayerClass(276,-2653.2751,636.6666,14.4531,179.8945,0,0,0,0,0,0); // cnr medic
	AddPlayerClass(0,-1579.1820,721.7610,37.8293,272.0121,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(1,-1579.1820,721.7610,37.8293,272.0121,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(3,-1579.1820,721.7610,37.8293,272.0121,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(6,-1579.1820,721.7610,37.8293,272.0121,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(9,-1579.1820,721.7610,37.8293,272.0121,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(299,-1579.1820,721.7610,37.8293,272.0121,0,0,0,0,0,0); // cnr claude skin
	AddPlayerClass(293,-1579.1820,721.7610,37.8293,272.0121,0,0,0,0,0,0); // cnr claude skin
	AddPlayerClass(245,-1785.3781,-120.7918,5.1511,55.0728,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(247,-1785.3781,-120.7918,5.1511,55.0728,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(249,-1785.3781,-120.7918,5.1511,55.0728,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(123,-1785.3781,-120.7918,5.1511,55.0728,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(16,-1785.3781,-120.7918,5.1511,55.0728,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(30,-1785.3781,-120.7918,5.1511,55.0728,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(23,-1785.3781,-120.7918,5.1511,55.0728,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(78,-1785.3781,-120.7918,5.1511,55.0728,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(72,-1785.3781,-120.7918,5.1511,55.0728,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(125,-1785.3781,-120.7918,5.1511,55.0728,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(200,-1785.3781,-120.7918,5.1511,55.0728,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(100,-1785.3781,-120.7918,5.1511,55.0728,0,0,0,0,0,0); // cnr skin

	//Map
	AddStaticVehicleEx(416,-2679.19995117,583.29998779,14.80000019,270.00000000,1,3,15); //Ambulance
	AddStaticVehicleEx(416,-2545.50000000,638.09997559,28.10000038,270.00000000,1,3,15); //Ambulance
	AddStaticVehicleEx(416,-2588.60009766,643.20001221,14.80000019,90.00000000,1,3,15); //Ambulance
	AddStaticVehicleEx(416,-2590.00000000,628.29998779,14.80000019,90.00000000,1,3,15); //Ambulance
	AddStaticVehicleEx(416,-2702.69995117,594.59997559,14.80000019,0.00000000,1,3,15); //Ambulance
	AddStaticVehicleEx(416,-2544.09960938,593.29980469,14.80000019,270.00000000,1,3,15); //Ambulance
	AddStaticVehicleEx(416,-2545.39990234,648.59997559,28.10000038,270.00000000,1,3,15); //Ambulance
	AddStaticVehicleEx(416,-2589.80004883,634.70001221,28.10000038,270.00000000,1,3,15); //Ambulance
	AddStaticVehicleEx(416,-2558.60009766,626.29998779,28.10000038,0.00000000,1,3,15); //Ambulance
	AddStaticVehicleEx(563,-2646.30004883,666.40002441,66.90000153,0.00000000,-1,-1,15); //Raindance
	AddStaticVehicleEx(490,-2425.19995117,517.70001221,30.20000076,40.00000000,-1,-1,15); //FBI Rancher
	AddStaticVehicleEx(528,-2415.69995117,531.50000000,30.10000038,64.00000000,-1,-1,15); //FBI Truck
	AddStaticVehicleEx(528,-2416.50000000,528.50000000,30.10000038,59.99536133,-1,-1,15); //FBI Truck
	AddStaticVehicleEx(528,-2418.69995117,525.20001221,30.10000038,51.99084473,-1,-1,15); //FBI Truck
	AddStaticVehicleEx(427,-2440.00000000,520.50000000,30.20000076,0.00000000,-1,1,15); //Enforcer
	AddStaticVehicleEx(455,-2671.80004883,1276.09997559,61.79999924,89.75000000,-1,-1,15); //Flatbed
	AddStaticVehicleEx(588,-2525.89990234,1207.80004883,48.70000076,72.00000000,-1,-1,15); //Hotdog
	AddStaticVehicleEx(568,-2538.69995117,1229.09997559,37.40000153,30.00000000,-1,-1,15); //Bandito
	AddStaticVehicleEx(571,-2561.39990234,1224.69995117,40.59999847,0.00000000,-1,-1,15); //Kart
	AddStaticVehicleEx(457,-2527.10009766,1230.59997559,37.20000076,28.00000000,-1,-1,15); //Caddy
	AddStaticVehicleEx(423,-2503.00000000,1221.50000000,37.59999847,324.00000000,-1,-1,15); //Mr Whoopee
	AddStaticVehicleEx(424,-2495.00000000,1216.50000000,37.29999924,322.75000000,-1,-1,15); //BF Injection
	AddStaticVehicleEx(424,-2491.30004883,1214.80004883,37.29999924,322.74536133,-1,-1,15); //BF Injection
	AddStaticVehicleEx(424,-2497.60009766,1220.19995117,37.29999924,322.74536133,-1,-1,15); //BF Injection
	AddStaticVehicleEx(500,-2602.80004883,1387.19995117,7.19999981,0.00000000,-1,-1,15); //Mesa
	AddStaticVehicleEx(404,-2618.60009766,1376.40002441,7.00000000,0.00000000,-1,-1,15); //Perrenial
	AddStaticVehicleEx(454,-2626.60009766,1479.90002441,0.00000000,0.00000000,-1,-1,15); //Tropic
	AddStaticVehicleEx(580,-2633.10009766,1376.00000000,7.00000000,0.00000000,-1,-1,15); //Stafford
	AddStaticVehicleEx(582,-3312.00000000,312.70001221,29.70000076,0.00000000,-1,-1,15); //Newsvan
	AddStaticVehicleEx(528,-3288.89990234,304.10000610,29.70000076,0.00000000,-1,-1,15); //FBI Truck
	AddStaticVehicleEx(427,-3316.60009766,341.70001221,29.70000076,0.00000000,-1,-1,15); //Enforcer
	AddStaticVehicleEx(427,-3310.00000000,342.00000000,29.70000076,0.00000000,-1,-1,15); //Enforcer
	AddStaticVehicleEx(427,-3324.19995117,342.10000610,29.70000076,0.00000000,-1,-1,15); //Enforcer
	AddStaticVehicleEx(427,-3320.00000000,332.50000000,29.70000076,0.00000000,-1,-1,15); //Enforcer
	AddStaticVehicleEx(427,-3312.69995117,332.50000000,29.70000076,0.00000000,-1,-1,15); //Enforcer
	AddStaticVehicleEx(427,-3316.19995117,323.20001221,29.70000076,0.00000000,-1,-1,15); //Enforcer
	AddStaticVehicleEx(511,-3383.19995117,269.10000610,31.00000000,277.99993896,-1,-1,15); //Beagle
	AddStaticVehicleEx(597,-2670.50000000,371.60000610,4.19999981,0.00000000,-1,1,15); //Police Car (SFPD)
	AddStaticVehicleEx(597,-2742.50000000,379.59960938,4.19999981,0.00000000,-1,1,15); //Police Car (SFPD)
	AddStaticVehicleEx(597,-2759.60009766,401.29998779,4.19999981,0.00000000,-1,1,15); //Police Car (SFPD)
	AddStaticVehicleEx(473,-2974.10009766,961.79998779,0.00000000,0.00000000,-1,-1,15); //Dinghy
	AddStaticVehicleEx(448,-1723.09997559,1363.59997559,6.90000010,315.25000000,-1,-1,15); //Pizzaboy
	AddStaticVehicleEx(595,-3002.19995117,465.00000000,0.60000002,0.00000000,-1,-1,15); //Launch
	AddStaticVehicleEx(544,-2604.60009766,607.79998779,14.80000019,0.00000000,-1,-1,15); //Firetruck LA
	AddStaticVehicleEx(424,-1857.00000000,589.09997559,35.00000000,0.00000000,-1,-1,15); //BF Injection
	AddStaticVehicleEx(424,-1852.50000000,589.09997559,35.00000000,0.00000000,-1,-1,15); //BF Injection
	AddStaticVehicleEx(424,-1848.80004883,589.09997559,35.00000000,0.00000000,-1,-1,15); //BF Injection
	AddStaticVehicleEx(479,-1839.90002441,589.09997559,35.09999847,0.00000000,-1,-1,15); //Regina
	AddStaticVehicleEx(489,-1826.00000000,589.09997559,35.40000153,0.00000000,-1,-1,15); //Rancher
	AddStaticVehicleEx(458,-1734.19995117,591.50000000,24.79999924,0.00000000,-1,-1,15); //Solair
	AddStaticVehicleEx(458,-1739.00000000,591.70001221,24.79999924,0.00000000,-1,-1,15); //Solair
	AddStaticVehicleEx(497,-1681.09997559,706.70001221,32.59999847,0.00000000,-1,-1,15); //Police Maverick
	AddStaticVehicleEx(597,-1616.59997559,749.09997559,-5.40000010,0.50000000,-1,1,15); //Police Car (SFPD)
	AddStaticVehicleEx(597,-1596.00000000,676.79998779,-5.40000010,0.50000000,-1,1,15); //Police Car (SFPD)
	AddStaticVehicleEx(523,-1600.19995117,677.29998779,-5.59999990,0.00000000,-1,-1,15); //HPV1000
	AddStaticVehicleEx(481,-1644.90002441,650.00000000,-5.30000019,0.00000000,-1,-1,15); //BMX
	AddStaticVehicleEx(481,-1647.30004883,650.29998779,-5.30000019,0.00000000,-1,-1,15); //BMX
	AddStaticVehicleEx(523,-1632.80004883,690.79998779,-5.59999990,0.00000000,-1,-1,15); //HPV1000
	AddStaticVehicleEx(523,-1629.30004883,692.00000000,-5.59999990,0.00000000,-1,-1,15); //HPV1000
	AddStaticVehicleEx(434,-1620.80004883,691.09997559,-5.09999990,0.00000000,-1,-1,15); //Hotknife
	AddStaticVehicleEx(597,-1612.59997559,691.79998779,-5.40000010,0.00000000,-1,1,15); //Police Car (SFPD)
	AddStaticVehicleEx(597,-1604.50000000,691.00000000,-5.40000010,0.00000000,-1,1,15); //Police Car (SFPD)
	AddStaticVehicleEx(528,-1579.69995117,747.20001221,-5.09999990,0.00000000,-1,-1,15); //FBI Truck
	AddStaticVehicleEx(490,-1587.90002441,747.29998779,-4.90000010,0.00000000,-1,-1,15); //FBI Rancher
	AddStaticVehicleEx(523,-1575.19995117,722.79998779,-5.59999990,90.00000000,-1,-1,15); //HPV1000
	AddStaticVehicleEx(523,-1592.09960938,706.39941406,-5.59999990,90.00000000,-1,-1,15); //HPV1000
	AddStaticVehicleEx(523,-1612.80004883,677.79998779,-5.19999981,0.00000000,-1,-1,15); //HPV1000
	AddStaticVehicleEx(427,-1611.09997559,653.09997559,7.40000010,0.00000000,-1,1,15); //Enforcer
	AddStaticVehicleEx(597,-1611.80004883,672.90002441,7.09999990,0.00000000,-1,1,15); //Police Car (SFPD)
	AddStaticVehicleEx(597,-1606.29980469,674.00000000,7.09999990,0.00000000,-1,1,15); //Police Car (SFPD)
	AddStaticVehicleEx(597,-1594.40002441,673.40002441,7.09999990,0.00000000,-1,1,15); //Police Car (SFPD)
	AddStaticVehicleEx(537,-1947.59997559,146.69999695,27.29999924,0.00000000,-1,-1,15); //Freight
	AddStaticVehicleEx(449,-2005.40002441,120.59999847,29.00000000,0.00000000,-1,-1,15); //Tram
	AddStaticVehicleEx(449,-1542.40002441,763.00000000,7.30000019,354.25000000,-1,-1,15); //Tram
	AddStaticVehicleEx(483,-1726.80004883,1360.69995117,7.30000019,0.00000000,-1,-1,15); //Camper
	AddStaticVehicleEx(420,-2515.39990234,355.29998779,35.00000000,68.00000000,6,1,15); //Taxi
	AddStaticVehicleEx(420,-2516.60009766,350.89999390,35.00000000,67.99987793,6,1,15); //Taxi
	AddStaticVehicleEx(420,-2505.60009766,356.60000610,27.60000038,59.99987793,6,1,15); //Taxi
	AddStaticVehicleEx(438,-2513.39990234,321.39999390,35.29999924,70.00000000,6,1,15); //Cabbie
	AddStaticVehicleEx(438,-2515.69995117,314.20001221,35.29999924,69.99932861,6,1,15); //Cabbie
	AddStaticVehicleEx(438,-2510.19995117,328.79998779,35.29999924,67.99389648,6,1,15); //Cabbie
	AddStaticVehicleEx(437,-2512.30004883,345.29998779,28.00000000,59.50000000,-1,-1,15); //Coach
	AddStaticVehicleEx(437,-2500.19921875,380.69921875,35.40000153,55.49743652,-1,-1,15); //Coach
	AddStaticVehicleEx(420,-2513.59960938,359.09960938,35.00000000,67.99987793,6,1,15); //Taxi
	AddStaticVehicleEx(420,-2496.19995117,430.00000000,27.60000038,133.99987793,6,1,15); //Taxi
	AddStaticVehicleEx(420,-2493.69995117,427.10000610,27.60000038,138.99475098,6,1,15); //Taxi
	AddStaticVehicleEx(420,-2491.09960938,424.39941406,27.60000038,138.99353027,6,1,15); //Taxi
	AddStaticVehicleEx(420,-2491.09960938,424.39941406,27.60000038,138.99353027,6,1,15); //Taxi
	AddStaticVehicleEx(479,-2661.69995117,269.39999390,4.19999981,0.00000000,-1,-1,15); //Regina
	AddStaticVehicleEx(400,-2668.30004883,269.10000610,4.50000000,0.00000000,-1,-1,15); //Landstalker
	AddStaticVehicleEx(500,-2678.10009766,268.70001221,4.40000010,0.00000000,-1,-1,15); //Mesa
	AddStaticVehicleEx(521,-2898.19995117,1031.00000000,36.29999924,112.00000000,-1,-1,15); //FCR-900
	AddStaticVehicleEx(521,-2900.69995117,1037.59997559,36.29999924,111.99462891,-1,-1,15); //FCR-900
	AddStaticVehicleEx(521,-2828.30004883,1314.19995117,6.80000019,111.99462891,-1,-1,15); //FCR-900
	AddStaticVehicleEx(448,-2825.10009766,1301.19995117,6.80000019,0.00000000,-1,-1,15); //Pizzaboy
	AddStaticVehicleEx(525,-2024.40002441,135.30000305,28.79999924,0.00000000,-1,-1,15); //Tow Truck
	AddStaticVehicleEx(525,-2029.40002441,135.30000305,28.79999924,0.00000000,-1,-1,15); //Tow Truck
	AddStaticVehicleEx(525,-2035.90002441,135.10000610,28.79999924,0.00000000,-1,-1,15); //Tow Truck
	AddStaticVehicleEx(525,-2040.90002441,135.30000305,28.79999924,0.00000000,-1,-1,15); //Tow Truck
	AddStaticVehicleEx(525,-2034.19995117,170.10000610,28.79999924,270.25000000,-1,-1,15); //Tow Truck
	AddStaticVehicleEx(525,-2034.00000000,178.60000610,28.79999924,270.24719238,-1,-1,15); //Tow Truck
	AddStaticVehicleEx(525,-2023.00000000,157.00000000,28.79999924,2.49719238,-1,-1,15); //Tow Truck
	AddStaticVehicleEx(488,-2452.10009766,-603.50000000,132.60000610,0.00000000,-1,-1,15); //News Chopper
	AddStaticVehicleEx(582,-2505.30004883,-601.40002441,132.69999695,0.00000000,-1,-1,15); //Newsvan
	AddStaticVehicleEx(582,-2512.69995117,-601.40002441,132.69999695,0.00000000,-1,-1,15); //Newsvan
	AddStaticVehicleEx(582,-2523.60009766,-601.40002441,132.69999695,0.00000000,-1,-1,15); //Newsvan
	AddStaticVehicleEx(582,-2498.30004883,-601.79998779,132.69999695,0.00000000,-1,-1,15); //Newsvan
	AddStaticVehicleEx(418,-2416.60009766,-589.70001221,132.80000305,34.00000000,-1,-1,15); //Moonbeam
	AddStaticVehicleEx(418,-2413.89990234,-587.59997559,132.80000305,33.99719238,-1,-1,15); //Moonbeam
	AddStaticVehicleEx(418,-2411.10009766,-586.00000000,132.80000305,33.99719238,-1,-1,15); //Moonbeam
	AddStaticVehicleEx(418,-2408.80004883,-584.20001221,132.80000305,33.99719238,-1,-1,15); //Moonbeam
	AddStaticVehicleEx(459,-2495.00000000,-193.39999390,25.79999924,0.00000000,-1,-1,15); //Berkley's RC Van
	AddStaticVehicleEx(508,-2597.10009766,-109.40000153,4.80000019,0.00000000,-1,-1,15); //Journey
	AddStaticVehicleEx(498,-2620.80004883,-22.79999924,4.50000000,0.00000000,-1,-1,15); //Boxville
	AddStaticVehicleEx(543,-2682.60009766,-22.39999962,4.40000010,0.00000000,-1,-1,15); //Sadler
	AddStaticVehicleEx(480,-2669.80004883,-54.90000153,4.19999981,0.00000000,-1,-1,15); //Comet
	AddStaticVehicleEx(421,-2666.69995117,-35.59999847,4.30000019,0.00000000,-1,-1,15); //Washington
	AddStaticVehicleEx(461,-2672.69995117,-33.90000153,4.00000000,0.00000000,-1,-1,15); //PCJ-600
	AddStaticVehicleEx(539,-3390.19995117,40.09999847,38.50000000,0.00000000,-1,-1,15); //Vortex
	AddStaticVehicleEx(539,-3394.00000000,40.29999924,38.50000000,0.00000000,-1,-1,15); //Vortex
	AddStaticVehicleEx(539,-3399.30004883,40.59999847,38.50000000,0.00000000,-1,-1,15); //Vortex
	AddStaticVehicleEx(407,-2021.69995117,75.90000153,28.39999962,92.00000000,3,1,15); //Firetruck
	AddStaticVehicleEx(407,-2021.30004883,84.50000000,28.39999962,89.99951172,3,1,15); //Firetruck
	AddStaticVehicleEx(544,-2021.40002441,92.69999695,28.39999962,88.00000000,-1,-1,15); //Firetruck LA
	AddStaticVehicleEx(407,-2057.69995117,71.09999847,28.79999924,0.00000000,3,1,15); //Firetruck
	AddStaticVehicleEx(408,-1826.50000000,-600.09997559,17.20000076,0.00000000,-1,-1,15); //Trashmaster
	AddStaticVehicleEx(419,-2180.19995117,294.39999390,35.00000000,0.00000000,-1,-1,15); //Esperanto
	AddStaticVehicleEx(545,-2214.00000000,307.00000000,35.09999847,0.00000000,-1,-1,15); //Hustler
	AddStaticVehicleEx(517,-2197.00000000,293.89999390,35.09999847,0.00000000,-1,-1,15); //Majestic
	AddStaticVehicleEx(534,-2214.00000000,293.50000000,34.90000153,0.00000000,-1,-1,15); //Remington
	AddStaticVehicleEx(549,-2184.50000000,305.29998779,35.00000000,0.00000000,-1,-1,15); //Tampa
	AddStaticVehicleEx(580,-2267.60009766,78.00000000,35.09999847,88.00000000,-1,-1,15); //Stafford
	AddStaticVehicleEx(580,-2266.60009766,101.19999695,35.09999847,87.99499512,-1,-1,15); //Stafford
	AddStaticVehicleEx(580,-2268.09960938,70.09960938,35.09999847,87.99499512,-1,-1,15); //Stafford
	AddStaticVehicleEx(467,-2267.00000000,128.80000305,35.00000000,270.00000000,-1,-1,15); //Oceanic
	AddStaticVehicleEx(520,-2512.60009766,1546.50000000,18.20000076,0.00000000,-1,-1,15); //Hydra
	AddStaticVehicleEx(601,-1263.09997559,394.29998779,7.09999990,88.00000000,-1,-1,15); //S.W.A.T. Van
	AddStaticVehicleEx(601,-1263.00000000,386.60000610,7.09999990,87.99499512,-1,-1,15); //S.W.A.T. Van
	AddStaticVehicleEx(476,-1311.00000000,492.39999390,19.39999962,270.00000000,-1,-1,15); //Rustler
	AddStaticVehicleEx(539,-1441.59997559,507.20001221,0.50000000,88.00000000,-1,-1,15); //Vortex
	AddStaticVehicleEx(430,-1446.50000000,495.89999390,0.00000000,92.00000000,-1,-1,15); //Predator
	AddStaticVehicleEx(476,-1420.19995117,517.70001221,19.29999924,236.00000000,-1,-1,15); //Rustler
	AddStaticVehicleEx(476,-1459.69921875,503.09960938,19.29999924,270.00000000,-1,-1,15); //Rustler
	AddStaticVehicleEx(601,-1275.59997559,324.10000610,7.09999990,0.00000000,-1,-1,15); //S.W.A.T. Van
	AddStaticVehicleEx(601,-1281.90002441,324.00000000,7.09999990,0.00000000,-1,-1,15); //S.W.A.T. Van
	AddStaticVehicleEx(601,-1289.09997559,324.29998779,7.09999990,0.00000000,-1,-1,15); //S.W.A.T. Van
	AddStaticVehicleEx(601,-1297.09997559,324.70001221,7.09999990,0.00000000,-1,-1,15); //S.W.A.T. Van
	AddStaticVehicleEx(495,-1342.59997559,302.00000000,7.69999981,0.00000000,-1,-1,15); //Sandking
	AddStaticVehicleEx(495,-1348.59997559,301.79998779,7.69999981,0.00000000,-1,-1,15); //Sandking
	AddStaticVehicleEx(495,-1355.69995117,301.60000610,7.69999981,0.00000000,-1,-1,15); //Sandking
	AddStaticVehicleEx(495,-1362.30004883,301.50000000,7.69999981,0.00000000,-1,-1,15); //Sandking
	AddStaticVehicleEx(495,-1405.50000000,299.39999390,7.69999981,270.00000000,-1,-1,15); //Sandking
	AddStaticVehicleEx(495,-1405.69995117,305.39999390,7.69999981,270.00000000,-1,-1,15); //Sandking
	AddStaticVehicleEx(495,-1406.69995117,311.89999390,7.69999981,270.00000000,-1,-1,15); //Sandking
	AddStaticVehicleEx(495,-1407.40002441,318.79998779,7.69999981,270.00000000,-1,-1,15); //Sandking
	AddStaticVehicleEx(497,-1258.19995117,450.70001221,9.19999981,0.00000000,-1,-1,15); //Police Maverick
	AddStaticVehicleEx(447,-2483.30004883,522.29998779,51.20000076,0.00000000,-1,-1,15); //Seasparrow
	AddStaticVehicleEx(497,-2463.30004883,526.70001221,53.40000153,0.00000000,-1,-1,15); //Police Maverick
	AddStaticVehicleEx(432,-1345.90002441,-282.70001221,14.19999981,306.00000000,-1,-1,15); //Rhino
	AddStaticVehicleEx(432,-1350.80004883,-276.00000000,14.19999981,309.99670410,-1,-1,15); //Rhino
	AddStaticVehicleEx(432,-1356.80004883,-268.79998779,14.19999981,311.99572754,-1,-1,15); //Rhino
	AddStaticVehicleEx(432,-1364.30004883,-263.00000000,14.19999981,311.99523926,-1,-1,15); //Rhino
	AddStaticVehicleEx(425,-1111.30004883,-198.39999390,15.60000038,0.00000000,-1,-1,15); //Hunter
	AddStaticVehicleEx(520,-1259.90002441,-617.40002441,15.10000038,0.00000000,-1,-1,15); //Hydra
	AddStaticVehicleEx(520,-1278.19995117,-618.40002441,15.10000038,0.00000000,-1,-1,15); //Hydra
	AddStaticVehicleEx(520,-1296.19995117,-619.59997559,15.10000038,0.00000000,-1,-1,15); //Hydra
	AddStaticVehicleEx(520,-1225.30004883,-13.19999981,15.10000038,49.25000000,-1,-1,15); //Hydra
	AddStaticVehicleEx(425,-1187.40002441,28.39999962,15.60000038,42.00000000,-1,-1,15); //Hunter
	AddStaticVehicleEx(432,-1239.40002441,44.90000153,14.19999981,0.00000000,-1,-1,15); //Rhino
	AddStaticVehicleEx(433,-1488.00000000,-631.09997559,14.69999981,0.00000000,-1,-1,15); //Barracks
	AddStaticVehicleEx(433,-1237.00000000,-652.70001221,14.69999981,0.00000000,-1,-1,15); //Barracks
	AddStaticVehicleEx(433,-1244.90002441,-653.40002441,14.69999981,0.00000000,-1,-1,15); //Barracks
	AddStaticVehicleEx(433,-1230.00000000,-653.00000000,14.69999981,0.00000000,-1,-1,15); //Barracks
	AddStaticVehicleEx(470,-1347.09997559,-376.89999390,14.19999981,0.00000000,-1,-1,15); //Patriot
	AddStaticVehicleEx(470,-1340.80004883,-377.00000000,14.19999981,0.00000000,-1,-1,15); //Patriot
	AddStaticVehicleEx(470,-1351.50000000,-376.89999390,14.19999981,0.00000000,-1,-1,15); //Patriot
	AddStaticVehicleEx(470,-1359.50000000,-376.79998779,14.19999981,0.00000000,-1,-1,15); //Patriot
	AddStaticVehicleEx(470,-1334.50000000,-377.00000000,14.19999981,0.00000000,-1,-1,15); //Patriot
	AddStaticVehicleEx(519,-1318.30004883,-471.70001221,15.10000038,299.50000000,-1,-1,15); //Shamal
	AddStaticVehicleEx(519,-1331.19995117,-449.29998779,15.10000038,299.49829102,-1,-1,15); //Shamal
	AddStaticVehicleEx(511,-1720.50000000,-324.89999390,15.69999981,264.00000000,-1,-1,15); //Beagle
	AddStaticVehicleEx(563,-1502.90002441,-231.69999695,15.00000000,0.00000000,-1,-1,15); //Raindance
	AddStaticVehicleEx(425,-1543.30004883,-239.89999390,15.60000038,0.00000000,-1,-1,15); //Hunter
	AddStaticVehicleEx(521,-1998.50000000,-960.29998779,31.79999924,0.00000000,-1,-1,15); //FCR-900
	AddStaticVehicleEx(521,-1995.00000000,-960.40002441,31.79999924,0.00000000,-1,-1,15); //FCR-900
	AddStaticVehicleEx(445,-2051.30004883,-786.00000000,32.20000076,0.00000000,51,1,15); //Admiral
	AddStaticVehicleEx(601,-2029.80004883,-988.29998779,32.09999847,0.00000000,-1,-1,15); //S.W.A.T. Van
	AddStaticVehicleEx(601,-2037.30004883,-988.09997559,32.09999847,0.00000000,-1,-1,15); //S.W.A.T. Van
	AddStaticVehicleEx(601,-2021.80004883,-988.50000000,32.09999847,0.00000000,-1,-1,15); //S.W.A.T. Van
	CreateObject(2942,-1681.90002441,426.39999390,6.80000019,0.00000000,0.00000000,45.00000000); //object(kmb_atm1) (1)
	CreateObject(2942,-1986.80004883,620.40002441,34.79999924,0.00000000,0.00000000,0.00000000); //object(kmb_atm1) (2)
	CreateObject(2942,-2118.30004883,927.79998779,85.69999695,0.00000000,0.00000000,0.00000000); //object(kmb_atm1) (3)
	CreateObject(2942,-2238.10009766,1028.00000000,83.50000000,0.00000000,0.00000000,0.00000000); //object(kmb_atm1) (4)
	CreateObject(2942,-1577.59997559,1277.30004883,6.80000019,0.00000000,0.00000000,0.00000000); //object(kmb_atm1) (5)
	CreateObject(2941,-1657.09997559,1209.19995117,7.50000000,0.00000000,0.00000000,171.00000000); //object(temp_till) (1)
	CreateObject(2942,-1681.09997559,1213.59997559,20.79999924,0.00000000,0.25000000,37.75003052); //object(kmb_atm1) (6)
	CreateObject(2942,-2476.69995117,1551.09997559,32.90000153,0.00000000,0.00000000,0.00000000); //object(kmb_atm1) (7)
	CreateObject(2942,-1493.09997559,889.70001221,6.80000019,0.00000000,0.00000000,272.00000000); //object(kmb_atm1) (8)
	CreateObject(2942,-1571.19995117,668.29998779,6.80000019,0.00000000,0.00000000,90.00000000); //object(kmb_atm1) (9)
	CreateObject(2942,-1564.50000000,452.60000610,6.80000019,0.00000000,0.00000000,245.99998474); //object(kmb_atm1) (10)
	CreateObject(2942,-1597.50000000,42.09999847,17.00000000,0.00000000,0.00000000,134.00000000); //object(kmb_atm1) (11)
	CreateObject(2942,-2010.00000000,-389.20001221,35.00000000,0.00000000,0.00000000,180.00000000); //object(kmb_atm1) (12)
	CreateObject(2942,-2634.89990234,630.90002441,14.10000038,0.00000000,0.00000000,0.00000000); //object(kmb_atm1) (13)
	CreateObject(2942,-2620.50000000,825.40002441,49.59999847,0.00000000,0.00000000,0.00000000); //object(kmb_atm1) (14)
	CreateObject(2942,-2500.30004883,777.90002441,34.79999924,0.00000000,0.00000000,0.00000000); //object(kmb_atm1) (15)
	CreateObject(2942,-2001.09997559,1189.90002441,45.09999847,0.00000000,0.00000000,0.00000000); //object(kmb_atm1) (16)
	CreateObject(2942,-2125.19995117,823.20001221,69.19999695,0.00000000,0.00000000,0.00000000); //object(kmb_atm1) (17)
	CreateObject(17656,-2975.10009766,368.89999390,9.00000000,0.00000000,0.00000000,98.00000000); //object(lae2_roads50) (1)
	CreateObject(17656,-3056.50000000,357.39999390,22.29999924,0.00000000,0.00000000,97.99804688); //object(lae2_roads50) (2)
	CreateObject(4866,-3255.80004883,334.10000610,28.50000000,0.00000000,0.00000000,10.00000000); //object(lasrnway1_las) (1)
	CreateObject(3763,-3096.69995117,306.89999390,61.70000076,0.00000000,0.00000000,8.00000000); //object(ce_radarmast3) (1)
	CreateObject(3107,-3095.89990234,318.50000000,28.50000000,0.00000000,0.00000000,0.00000000); //object(wongs_erection2) (1)
	CreateObject(17007,-3118.39990234,407.79998779,28.50000000,0.00000000,0.00000000,0.00000000); //object(wt6supps01) (1)
	CreateObject(4570,-3380.19995117,336.60000610,76.50000000,0.00000000,0.00000000,8.00000000); //object(stolenbuilds08) (1)
	CreateObject(3031,-3372.60009766,318.79998779,129.50000000,0.00000000,0.00000000,278.00000000); //object(wong_dish) (1)
	CreateObject(1595,-3381.80004883,317.89999390,133.19999695,0.00000000,0.00000000,8.00000000); //object(satdishbig) (1)
	CreateObject(16138,-3190.19995117,373.60000610,28.50000000,0.00000000,0.00000000,0.00000000); //object(des_teleshed2_01) (1)
	CreateObject(16613,-3261.19995117,375.89999390,33.29999924,0.00000000,0.00000000,211.99996948); //object(des_bigtelescope) (1)
	CreateObject(3471,-2756.69995117,395.20001221,4.59999990,0.00000000,0.00000000,0.00000000); //object(vgschinalion1) (1)
	CreateObject(9833,-2713.39990234,425.20001221,6.50000000,0.00000000,0.00000000,0.00000000); //object(fountain_sfw) (1)
	CreateObject(9833,-2699.89990234,424.29998779,6.50000000,0.00000000,0.00000000,0.00000000); //object(fountain_sfw) (2)
	CreateObject(9833,-2713.39990234,324.89999390,6.59999990,0.00000000,0.00000000,0.00000000); //object(fountain_sfw) (3)
	CreateObject(9833,-2654.09960938,344.19921875,6.59999990,0.00000000,0.00000000,0.00000000); //object(fountain_sfw) (4)
	CreateObject(9833,-2656.39941406,329.09960938,6.59999990,0.00000000,0.00000000,0.00000000); //object(fountain_sfw) (5)
	CreateObject(9833,-2699.39941406,324.59960938,6.59999990,0.00000000,0.00000000,0.00000000); //object(fountain_sfw) (6)
	CreateObject(3864,-1739.30004883,1379.00000000,12.10000038,0.00000000,0.00000000,0.00000000); //object(ws_floodlight) (1)
	CreateObject(2645,-1716.80004883,1354.09997559,8.39999962,0.00000000,0.00000000,314.00000000); //object(cj_pizza_poster) (1)
	CreateObject(2764,-1710.90002441,1375.00000000,6.59999990,0.00000000,0.00000000,326.25000000); //object(cj_pizza_table03) (1)
	CreateObject(2639,-1710.09997559,1374.40002441,6.80000019,0.00000000,0.00000000,56.00000000); //object(cj_pizza_chair3) (1)
	CreateObject(2639,-1711.69995117,1375.50000000,6.80000019,0.00000000,0.00000000,233.99731445); //object(cj_pizza_chair3) (2)
	CreateObject(2289,417.29998779,2543.00000000,11.10000038,0.00000000,0.00000000,0.00000000); //object(frame_2) (1)
	CreateObject(2942,-2808.30004883,-1532.40002441,138.89999390,0.00000000,0.00000000,0.00000000); //object(kmb_atm1) (18)
	CreateObject(10357,-3149.60009766,387.79998779,117.69999695,0.00000000,0.00000000,0.00000000); //object(transmitter_sfs) (1)
	CreateObject(2942,-3188.89990234,346.29998779,29.10000038,0.00000000,0.00000000,314.00000000); //object(kmb_atm1) (19)
	CreateObject(2942,-1596.40002441,703.59997559,-5.30000019,0.00000000,0.00000000,0.00000000); //object(kmb_atm1) (20)
	CreateObject(3107,-2688.50000000,22.50000000,3.29999995,0.00000000,0.00000000,0.00000000); //object(wongs_erection2) (2)
	CreateObject(10491,-3452.80004883,-185.39999390,11.10000038,356.00000000,0.00000000,0.00000000); //object(sfshill11_sfs) (1)
	CreateObject(10491,-3336.00000000,-35.79999924,46.90000153,342.10195923,6.30633545,105.94519043); //object(sfshill11_sfs) (2)
	CreateObject(3940,-3495.50000000,-170.69999695,12.89999962,0.00000000,0.00000000,340.00000000); //object(comms01) (1)
	CreateObject(10357,-3459.00000000,-203.50000000,101.00000000,0.00000000,0.00000000,0.00000000); //object(transmitter_sfs) (2)
	CreateObject(16782,-3493.00000000,-176.80000305,11.89999962,0.00000000,0.00000000,342.00000000); //object(a51_radar_scan) (1)
	CreateObject(1750,-3492.39990234,-173.39999390,12.00000000,0.00000000,0.00000000,70.00000000); //object(med_tv_2) (1)
	CreateObject(3030,-3496.80004883,-176.30000305,17.39999962,0.00000000,0.00000000,0.00000000); //object(wongs_erection) (1)
	CreateObject(3107,-3494.69995117,-170.69999695,17.39999962,0.00000000,0.00000000,0.00000000); //object(wongs_erection2) (3)
	CreateObject(3271,-3538.80004883,-265.79998779,2.20000005,0.00000000,0.00000000,0.00000000); //object(bonyrd_block3_) (1)
	CreateObject(12912,-3370.80004883,43.59999847,48.90000153,0.00000000,0.00000000,0.00000000); //object(sw_silo04) (1)
	CreateObject(2942,-2188.69995117,286.10000610,35.00000000,0.00000000,0.00000000,179.99450684); //object(kmb_atm1) (21)
	CreateObject(3797,-1905.80004883,287.39999390,43.50000000,0.00000000,0.00000000,0.00000000); //object(missile_11_sfxr) (1)
	CreateObject(3997,-1329.90002441,374.20001221,6.19999981,0.00000000,0.00000000,0.00000000); //object(cityhallblok_lan) (1)
	CreateObject(987,-1261.50000000,314.60000610,6.19999981,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (1)
	CreateObject(987,-1273.30004883,314.70001221,6.19999981,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (2)
	CreateObject(987,-1285.09997559,314.70001221,6.19999981,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (3)
	CreateObject(987,-1296.90002441,314.79998779,6.19999981,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (4)
	CreateObject(987,-1308.80004883,314.79998779,6.19999981,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (5)
	CreateObject(987,-1320.50000000,314.79998779,6.19999981,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (6)
	CreateObject(987,-1332.50000000,314.70001221,6.19999981,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (7)
	CreateObject(987,-1332.69995117,303.00000000,6.19999981,0.00000000,0.00000000,90.00000000); //object(elecfence_bar) (8)
	CreateObject(987,-1339.80004883,293.29998779,6.19999981,0.00000000,0.00000000,54.00000000); //object(elecfence_bar) (9)
	CreateObject(987,-1351.50000000,292.39999390,6.19999981,0.00000000,0.00000000,5.99780273); //object(elecfence_bar) (10)
	CreateObject(987,-1363.59997559,292.50000000,6.19999981,0.00000000,0.00000000,359.99304199); //object(elecfence_bar) (11)
	CreateObject(987,-1375.59997559,292.70001221,6.19999981,0.00000000,0.00000000,359.98901367); //object(elecfence_bar) (12)
	CreateObject(987,-1387.59997559,292.79998779,6.19999981,0.00000000,0.00000000,359.98901367); //object(elecfence_bar) (13)
	CreateObject(987,-1399.80004883,293.00000000,6.19999981,0.00000000,0.00000000,359.98901367); //object(elecfence_bar) (14)
	CreateObject(987,-1411.80004883,293.10000610,6.19999981,0.00000000,0.00000000,359.98901367); //object(elecfence_bar) (15)
	CreateObject(987,-1412.90002441,305.10000610,6.19999981,0.00000000,0.00000000,275.98901367); //object(elecfence_bar) (16)
	CreateObject(987,-1413.90002441,317.10000610,6.19999981,0.00000000,0.00000000,275.98754883); //object(elecfence_bar) (17)
	CreateObject(987,-1415.00000000,328.89999390,6.19999981,0.00000000,0.00000000,275.98754883); //object(elecfence_bar) (18)
	CreateObject(3399,-1420.30004883,309.79998779,8.80000019,0.00000000,0.00000000,0.00000000); //object(cxrf_a51_stairs) (1)
	CreateObject(987,-1249.80004883,314.29998779,6.19999981,0.00000000,0.00000000,91.25000000); //object(elecfence_bar) (19)
	CreateObject(987,-1249.90002441,326.29998779,6.19999981,0.00000000,0.00000000,91.24694824); //object(elecfence_bar) (20)
	CreateObject(987,-1249.80004883,338.10000610,6.19999981,0.00000000,0.00000000,91.24694824); //object(elecfence_bar) (21)
	CreateObject(987,-1250.00000000,350.10000610,6.19999981,0.00000000,0.00000000,91.24694824); //object(elecfence_bar) (22)
	CreateObject(987,-1249.69995117,361.70001221,6.19999981,0.00000000,0.00000000,91.24694824); //object(elecfence_bar) (23)
	CreateObject(987,-1249.59997559,373.20001221,6.19999981,0.00000000,0.00000000,91.24694824); //object(elecfence_bar) (24)
	CreateObject(987,-1249.59997559,384.60000610,6.19999981,0.00000000,0.00000000,91.24694824); //object(elecfence_bar) (25)
	CreateObject(987,-1249.40002441,396.29998779,6.19999981,0.00000000,0.00000000,91.24694824); //object(elecfence_bar) (26)
	CreateObject(987,-1249.59997559,407.89999390,6.19999981,0.00000000,0.00000000,91.24694824); //object(elecfence_bar) (27)
	CreateObject(987,-1249.30004883,419.50000000,6.19999981,0.00000000,0.00000000,91.24694824); //object(elecfence_bar) (28)
	CreateObject(3934,-1391.80004883,394.00000000,29.10000038,0.00000000,0.00000000,0.00000000); //object(helipad01) (1)
	CreateObject(3268,-1260.30004883,389.29998779,6.19999981,0.00000000,0.00000000,0.00000000); //object(mil_hangar1_) (1)
	CreateObject(3114,-1414.40002441,516.50000000,16.60000038,0.00000000,0.00000000,0.00000000); //object(carrier_lift2_sfse) (1)
	CreateObject(3115,-1456.80004883,501.20001221,16.79999924,0.00000000,0.00000000,0.00000000); //object(carrier_lift1_sfse) (1)
	CreateObject(3763,-1496.40002441,-405.00000000,39.20000076,0.00000000,0.00000000,0.00000000); //object(ce_radarmast3) (2)
	CreateObject(3107,-1251.00000000,21.00000000,31.89999962,0.00000000,0.00000000,0.00000000); //object(wongs_erection2) (4)
	CreateObject(11012,-1386.00000000,-80.69999695,19.70000076,0.00000000,0.00000000,0.00000000); //object(crackfact_sfs) (1)
	CreateObject(10841,-2118.19995117,-1011.29998779,39.50000000,0.00000000,0.00000000,0.00000000); //object(drydock1_sfse01) (1)
	CreateObject(10841,-2140.89990234,-1011.29998779,39.50000000,0.00000000,0.00000000,0.00000000); //object(drydock1_sfse01) (2)
	CreateObject(10841,-2160.69995117,-1004.50000000,40.00000000,0.00000000,1.25000000,326.00000000); //object(drydock1_sfse01) (3)
	CreateObject(10841,-2166.80004883,-993.50000000,40.00000000,0.00000000,1.24694824,271.99731445); //object(drydock1_sfse01) (4)
	CreateObject(10841,-2167.50000000,-971.79998779,39.50000000,0.00000000,1.24145508,263.99398804); //object(drydock1_sfse01) (5)
	CreateObject(10841,-2166.19995117,-949.59997559,39.50000000,0.00000000,1.24145508,269.99047852); //object(drydock1_sfse01) (6)
	CreateObject(10841,-2166.19995117,-927.20001221,40.29999924,0.00000000,1.24145508,269.98901367); //object(drydock1_sfse01) (7)
	CreateObject(10841,-2166.19995117,-904.59997559,42.59999847,0.00000000,1.24145508,269.98901367); //object(drydock1_sfse01) (8)
	CreateObject(10841,-2166.19995117,-881.90002441,45.29999924,0.00000000,1.24145508,269.98901367); //object(drydock1_sfse01) (9)
	CreateObject(10841,-2166.39990234,-859.79998779,48.29999924,0.00000000,1.24145508,269.98901367); //object(drydock1_sfse01) (10)
	CreateObject(10841,-2166.50000000,-837.09997559,48.29999924,0.00000000,1.24145508,269.98901367); //object(drydock1_sfse01) (11)
	CreateObject(10841,-2166.39990234,-814.70001221,48.29999924,0.00000000,1.24145508,269.98901367); //object(drydock1_sfse01) (12)
	CreateObject(10841,-2166.39990234,-791.79998779,48.29999924,0.00000000,1.24145508,269.98901367); //object(drydock1_sfse01) (13)
	CreateObject(10841,-2166.19995117,-770.09997559,46.59999847,0.00000000,1.24145508,269.98901367); //object(drydock1_sfse01) (14)
	CreateObject(10841,-2166.80004883,-747.90002441,42.29999924,0.00000000,1.24145508,269.98901367); //object(drydock1_sfse01) (15)
	CreateObject(10841,-2169.30004883,-726.90002441,40.79999924,0.00000000,1.24145508,269.98901367); //object(drydock1_sfse01) (16)
	CreateObject(10841,-2159.89990234,-712.09997559,38.29999924,0.00000000,1.24145508,197.98901367); //object(drydock1_sfse01) (17)
	CreateObject(10841,-2138.69995117,-707.79998779,38.09999847,0.00000000,1.24145508,183.98461914); //object(drydock1_sfse01) (18)
	CreateObject(10841,-2117.10009766,-708.40002441,39.29999924,0.00000000,1.24145508,171.98254395); //object(drydock1_sfse01) (19)
	CreateObject(10841,-2096.80004883,-708.70001221,39.29999924,0.00000000,1.24145508,183.97998047); //object(drydock1_sfse01) (20)
	CreateObject(10841,-2074.50000000,-708.90002441,39.29999924,0.00000000,1.24145508,175.97705078); //object(drydock1_sfse01) (21)
	CreateObject(10841,-2051.30004883,-708.79998779,39.29999924,0.00000000,1.24145508,175.97351074); //object(drydock1_sfse01) (22)
	CreateObject(10841,-2030.19995117,-709.90002441,39.29999924,0.00000000,1.24145508,175.97351074); //object(drydock1_sfse01) (23)
	CreateObject(10841,-2003.59997559,-709.50000000,39.09999847,0.00000000,1.24145508,175.97351074); //object(drydock1_sfse01) (24)
	CreateObject(10841,-2008.79980469,-710.59960938,39.29999924,0.00000000,1.24145508,175.97351074); //object(drydock1_sfse01) (25)
	CreateObject(10841,-1971.59997559,-709.29998779,39.09999847,0.00000000,1.24145508,175.97351074); //object(drydock1_sfse01) (26)
	CreateObject(10841,-1948.80004883,-710.29998779,39.09999847,0.00000000,1.24145508,175.97351074); //object(drydock1_sfse01) (27)
	CreateObject(10841,-1928.40002441,-712.70001221,39.09999847,0.00000000,1.24145508,159.97351074); //object(drydock1_sfse01) (28)
	CreateObject(10841,-1918.90002441,-728.00000000,39.09999847,0.00000000,1.24145508,91.97192383); //object(drydock1_sfse01) (29)
	CreateObject(10841,-1917.59997559,-749.79998779,39.09999847,0.00000000,1.24145508,91.96655273); //object(drydock1_sfse01) (30)
	CreateObject(10841,-1916.80004883,-771.90002441,39.09999847,0.00000000,1.24145508,91.96655273); //object(drydock1_sfse01) (31)
	CreateObject(10841,-1916.69995117,-794.40002441,39.09999847,0.00000000,1.24145508,87.96655273); //object(drydock1_sfse01) (32)
	CreateObject(10841,-1916.50000000,-816.20001221,39.09999847,0.00000000,1.24145508,91.96203613); //object(drydock1_sfse01) (33)
	CreateObject(10841,-1916.80004883,-838.29998779,39.09999847,0.00000000,1.24145508,85.96105957); //object(drydock1_sfse01) (34)
	CreateObject(10841,-1917.69995117,-860.09997559,39.09999847,0.00000000,1.24145508,85.95703125); //object(drydock1_sfse01) (35)
	CreateObject(10841,-1917.69995117,-882.20001221,39.09999847,0.00000000,1.24145508,91.95703125); //object(drydock1_sfse01) (36)
	CreateObject(10841,-1917.59997559,-904.40002441,39.09999847,0.00000000,1.24145508,87.95556641); //object(drydock1_sfse01) (37)
	CreateObject(10841,-1917.80004883,-926.90002441,39.09999847,0.00000000,1.24145508,87.95104980); //object(drydock1_sfse01) (38)
	CreateObject(10841,-1918.19995117,-949.50000000,39.09999847,0.00000000,1.24145508,87.95104980); //object(drydock1_sfse01) (39)
	CreateObject(10841,-1918.40002441,-972.29998779,39.09999847,0.00000000,1.24145508,87.95104980); //object(drydock1_sfse01) (40)
	CreateObject(10841,-1919.40002441,-993.70001221,39.09999847,0.00000000,1.24145508,77.95104980); //object(drydock1_sfse01) (41)
	CreateObject(10841,-1930.40002441,-1009.90002441,39.09999847,0.00000000,1.24145508,21.94799805); //object(drydock1_sfse01) (42)
	CreateObject(10841,-1951.69995117,-1012.90002441,39.09999847,0.00000000,1.24145508,351.94519043); //object(drydock1_sfse01) (43)
	CreateObject(10841,-1974.00000000,-1012.40002441,39.09999847,0.00000000,1.24145508,3.94152832); //object(drydock1_sfse01) (44)
	CreateObject(10841,-1996.50000000,-1013.59997559,39.09999847,0.00000000,1.24145508,357.93859863); //object(drydock1_sfse01) (45)
	CreateObject(10841,-2018.80004883,-1012.79998779,39.09999847,0.00000000,1.24145508,355.93457031); //object(drydock1_sfse01) (46)
	CreateObject(10841,-2040.50000000,-1011.79998779,39.09999847,0.00000000,1.24145508,355.92956543); //object(drydock1_sfse01) (47)
	CreateObject(10841,-2062.80004883,-1010.79998779,39.09999847,0.00000000,1.24145508,355.92956543); //object(drydock1_sfse01) (48)
	CreateObject(10841,-2084.69995117,-1010.29998779,39.09999847,0.00000000,1.24145508,355.92956543); //object(drydock1_sfse01) (49)
	CreateObject(10841,-2100.19995117,-1011.09997559,39.09999847,0.00000000,1.24145508,359.92956543); //object(drydock1_sfse01) (50)

	//Bayside House
	CreateObject(9509, -2060.7724609375, 2484.544921875, 50.397941589355, 0, 0, 326.25);
	CreateObject(14420, -2066.364502, 2459.732422, 43.382828, 0.0000, 0.0000, 326.2500);
	CreateObject(9339, -2083.650635, 2465.809082, 39.971554, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2082.888184, 2466.944092, 39.971844, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2082.132813, 2468.068604, 39.971828, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2081.370605, 2469.226074, 39.971798, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2080.605469, 2470.331543, 39.971813, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2079.858887, 2471.481445, 39.971859, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2079.074951, 2472.602295, 39.971813, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2078.309570, 2473.743652, 39.971813, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2077.571533, 2474.903320, 39.971935, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2076.867188, 2476.121582, 39.971813, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2076.106201, 2477.194092, 39.971951, 0.0000, 89.9862, 56.2497);
	CreateObject(11496, -2074.185303, 2473.015625, 35.142563, 0.0000, 0.0000, 56.2501);
	CreateObject(9339, -2082.607666, 2483.179688, 39.971935, 0.0000, 89.9862, 236.2498);
	CreateObject(5340, -2083.632324, 2479.181885, 41.667080, 0.0000, 0.0000, 236.2501);
	CreateObject(10246, -2075.466797, 2479.116699, 41.854042, 0.0000, 0.0000, 236.2501);
	CreateObject(10246, -2087.015869, 2471.603760, 41.854069, 0.0000, 0.0000, 236.2501);
	CreateObject(10246, -2082.126221, 2468.327881, 41.854137, 0.0002, 0.0000, 236.2501);
	CreateObject(9339, -2085.524170, 2486.253906, 40.515224, 0.0000, 0.0000, 326.2500);
	CreateObject(9339, -2085.529541, 2486.252441, 41.919167, 0.0000, 0.0000, 326.2500);
	CreateObject(9339, -2085.520752, 2486.251953, 43.323109, 0.0000, 0.0000, 326.2500);
	CreateObject(9339, -2087.551270, 2483.258789, 43.902000, 0.0000, 179.6226, 146.2500);
	CreateObject(9339, -2083.9868164063, 2465.2954101563, 44.206020355225, 0, 179.62097167969, 236.24450683594);
	CreateObject(9339, -2087.501709, 2483.276367, 45.212921, 0.0000, 0.0000, 326.2500);
	CreateObject(9339, -2083.997070, 2465.321289, 45.204391, 0.0000, 0.0000, 56.2500);
	CreateObject(9339, -2063.608154, 2472.600098, 40.815292, 0.0000, 0.0000, 146.2500);
	CreateObject(9339, -2063.6171875, 2472.5451660156, 42.194389343262, 0, 0, 146.24450683594);
	CreateObject(9339, -2063.605713, 2472.587646, 43.394970, 0.0000, 0.0000, 146.2500);
	CreateObject(9339, -2066.053467, 2468.881348, 43.898857, 0.0000, 179.6226, 326.2500);
	CreateObject(9339, -2066.047607, 2468.875000, 45.196896, 0.0000, 0.0000, 146.2500);
	CreateObject(1408, -2071.282959, 2468.052246, 35.762920, 0.0000, 179.6223, 146.2500);
	CreateObject(1408, -2075.705078, 2471.005127, 35.787922, 0.0000, 179.6223, 146.2500);
	CreateObject(1408, -2080.009277, 2473.877686, 35.787922, 0.0000, 180.4818, 146.2500);
	CreateObject(1408, -2080.703857, 2477.680420, 35.787922, 0.0000, 179.6223, 56.2500);
	CreateObject(1408, -2067.492920, 2468.811035, 35.712917, 0.0000, 179.6223, 236.2501);
	CreateObject(9339, -2070.464600, 2476.534180, 39.965492, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2069.758789, 2477.739746, 39.959023, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2069.917725, 2479.402100, 39.952656, 0.0000, 89.9862, 236.2498);
	CreateObject(10246, -2068.600586, 2474.471680, 41.841331, 0.0000, 0.0000, 236.2501);
	CreateObject(10246, -2069.060791, 2464.586670, 41.823532, 0.0000, 0.0000, 146.2500);
	CreateObject(10246, -2065.300781, 2470.234863, 41.829037, 0.0000, 0.0000, 146.2500);
	CreateObject(1491, -2077.558594, 2469.243408, 40.104366, 0.0000, 0.0000, 236.2501);
	CreateObject(1491, -2079.219971, 2466.707764, 40.104378, 0.0000, 0.0000, 56.2500);
	CreateObject(10246, -2077.270996, 2478.853760, 41.854259, 0.0000, 0.0000, 326.2500);
	CreateObject(10246, -2077.805176, 2475.301514, 41.853935, 0.0000, 0.0000, 56.2500);
	CreateObject(5340, -2085.164795, 2480.197510, 41.641884, 0.0000, 0.0000, 236.2501);
	CreateObject(9339, -2083.682617, 2465.801514, 43.665466, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2082.995605, 2466.816406, 43.665470, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2082.384521, 2467.703857, 43.665428, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2081.564453, 2468.842529, 44.733997, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2080.828857, 2470.004395, 44.740807, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2082.076904, 2468.164063, 44.209076, 0.0000, 0.0000, 56.2500);
	CreateObject(9339, -2080.036865, 2471.165283, 44.740807, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2079.281006, 2472.313232, 44.734196, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2078.532715, 2473.448975, 44.727734, 0.0000, 89.9862, 236.2498);
	CreateObject(2600, -2081.368164, 2475.482910, 36.164837, 0.0000, 0.0000, 292.5000);
	CreateObject(9339, -2077.76953125, 2474.5419921875, 44.721206665039, 0, 89.983520507813, 236.24450683594);
	CreateObject(9339, -2077.191406, 2475.458740, 44.714699, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2076.449951, 2476.649902, 44.708214, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2075.834961, 2477.892578, 44.701588, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2075.108643, 2479.094727, 44.695011, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2075.130127, 2478.921143, 44.134079, 0.0000, 0.0000, 56.2500);
	CreateObject(9339, -2071.854492, 2487.109375, 44.089359, 0.0000, 0.0000, 146.2500);
	CreateObject(10246, -2077.783447, 2475.278076, 42.946430, 0.0000, 0.0000, 236.2501);
	CreateObject(17574, -2068.947510, 2477.628174, 44.828259, 0.0000, 0.0000, 56.2500);
	CreateObject(9339, -2069.182129, 2472.388428, 46.217121, 0.0000, 0.0000, 146.2500);
	CreateObject(9339, -2053.889648, 2476.645020, 46.226006, 0.0000, 0.0000, 92.5783);
	CreateObject(3850, -2093.345459, 2471.532227, 48.165436, 0.0000, 0.0000, 56.2500);
	CreateObject(3850, -2090.492188, 2469.625488, 48.165436, 0.0000, 0.0000, 56.2500);
	CreateObject(3850, -2087.630859, 2467.710938, 48.165436, 0.0000, 0.0000, 56.2500);
	CreateObject(3850, -2084.777588, 2465.803955, 48.160343, 0.0000, 0.0000, 56.2500);
	CreateObject(3850, -2081.927490, 2463.916992, 48.144848, 0.0000, 0.0000, 56.2500);
	CreateObject(3850, -2093.809814, 2473.912842, 48.149822, 0.0000, 0.0000, 326.2500);
	CreateObject(3850, -2091.888428, 2476.792236, 48.149822, 0.0000, 0.0000, 326.2500);
	CreateObject(3331, -2076.952881, 2498.587891, 13.199114, 305.8555, 0.0000, 326.2500);
	CreateObject(3331, -2069.611816, 2493.696777, 13.218176, 305.8555, 0.0000, 326.2500);
	CreateObject(9339, -2083.932129, 2465.373291, 39.223545, 0.0000, 335.0763, 56.2500);
	CreateObject(9339, -2083.789307, 2465.591064, 38.649567, 0.0000, 335.0763, 56.2500);
	CreateObject(12958, -2069.868896, 2468.980225, 36.440590, 0.0000, 0.0000, 236.2501);
	CreateObject(3570, -2063.915039, 2473.895020, 41.458572, 0.0000, 0.0000, 56.2500);
	CreateObject(914, -2066.703125, 2472.009521, 41.679546, 0.0000, 0.0000, 56.2500);
	CreateObject(927, -2066.204102, 2470.527588, 41.548382, 0.0000, 0.0000, 326.2500);
	CreateObject(995, -2071.312988, 2474.879639, 40.971630, 90.2408, 0.0000, 326.2500);
	CreateObject(9339, -2072.134766, 2477.455322, 43.326450, 0.0000, 179.6226, 146.2500);
	CreateObject(9339, -2072.960693, 2476.226318, 44.430080, 0.0000, 0.0000, 326.2500);
	CreateObject(10246, -2075.728271, 2472.160889, 41.854038, 0.0000, 0.0000, 326.2500);
	CreateObject(13187, -2070.490723, 2479.886475, 41.407608, 0.0000, 0.0000, 319.3745);
	CreateObject(13187, -2070.008057, 2478.467529, 41.401234, 0.0000, 0.0000, 236.2500);
	CreateObject(13187, -2067.660645, 2476.266846, 41.407642, 0.0000, 0.0000, 202.5000);
	CreateObject(13187, -2066.079834, 2476.906738, 41.407688, 0.0000, 0.0000, 146.2500);
	CreateObject(3851, -2090.185303, 2469.325195, 42.092228, 0.0000, 0.0000, 56.2500);
	CreateObject(3851, -2077.8955078125, 2461.115234375, 42.116443634033, 0, 0, 56.244506835938);
	CreateObject(3851, -2070.051270, 2462.692139, 42.116425, 0.0000, 0.0000, 146.2501);
	CreateObject(3851, -2091.739502, 2477.173584, 42.116333, 0.0000, 0.0000, 146.2501);
	CreateObject(5856, -2083.954834, 2465.272217, 41.725628, 0.0000, 0.0000, 56.2500);
	CreateObject(13187, -2068.572021, 2474.552734, 41.407719, 0.0000, 0.0000, 56.2500);
	CreateObject(16500, -2068.165771, 2477.331299, 42.784939, 0.0000, 90.2408, 146.2501);
	CreateObject(16500, -2070.587646, 2478.937012, 42.769798, 0.0000, 90.2408, 146.2501);
	CreateObject(9339, -2075.222412, 2478.958496, 43.334930, 0.0000, 179.6226, 236.2500);
	CreateObject(1491, -2072.664551, 2477.240234, 40.104404, 0.0000, 0.0000, 326.2500);
	CreateObject(17574, -2075.351563, 2494.612549, 46.937717, 0.0000, 0.0000, 247.5001);
	CreateObject(9339, -2083.908447, 2492.166992, 47.241825, 0.0000, 0.0000, 334.9217);
	CreateObject(9339, -2083.871338, 2493.262451, 48.631596, 0.0000, 0.0000, 337.5000);
	CreateObject(9339, -2084.259766, 2491.016846, 46.294941, 0.0000, 179.6226, 154.0622);
	CreateObject(16500, -2068.142578, 2477.330078, 40.022869, 0.0000, 269.8631, 146.2501);
	CreateObject(16500, -2070.597412, 2478.960693, 40.028996, 0.0000, 269.8631, 146.2501);
	CreateObject(997, -2071.376953125, 2476.1943359375, 39.86644744873, 0, 269.75830078125, 56.244506835938);
	CreateObject(10246, -2075.751465, 2472.130371, 41.831039, 0.0000, 0.0000, 146.2501);
	CreateObject(14720, -2074.159912, 2459.248535, 40.111809, 0.0000, 0.0000, 56.2501);
	CreateObject(2528, -2068.214355, 2476.466309, 40.125153, 0.0000, 0.0000, 292.5000);
	CreateObject(2836, -2070.782227, 2476.954834, 40.130478, 0.0000, 0.0000, 326.2500);
	CreateObject(2630, -2076.155029, 2462.643799, 40.110950, 0.0000, 0.0000, 326.2500);
	CreateObject(2522, -2069.170410, 2475.573486, 40.126247, 0.0000, 0.0000, 326.2500);
	CreateObject(2523, -2069.673584, 2477.589355, 40.129509, 0.0000, 0.0000, 326.2500);
	CreateObject(2834, -2076.020508, 2461.962646, 40.115845, 0.0000, 0.0000, 56.2500);
	CreateObject(936, -2070.342529, 2476.280518, 40.578876, 0.0000, 0.0000, 146.2500);
	CreateObject(949, -2071.151855, 2478.857422, 40.769531, 0.0000, 0.0000, 0.0000);
	CreateObject(2194, -2070.752686, 2476.403076, 41.385384, 0.0000, 0.0000, 0.0000);
	CreateObject(1280, -2076.311768, 2477.916016, 35.743916, 0.0000, 0.0000, 84.8434);
	CreateObject(2207, -2084.836182, 2475.023682, 40.134716, 0.0000, 0.0000, 326.2500);
	CreateObject(1723, -2071.009277, 2473.921143, 40.114468, 0.0000, 0.0000, 326.2500);
	CreateObject(1723, -2075.886719, 2470.802246, 40.114212, 0.0000, 0.0000, 56.2500);
	CreateObject(2568, -2076.033936, 2472.789551, 40.108425, 0.0000, 0.0000, 236.2501);
	CreateObject(2204, -2090.163818, 2478.988037, 40.108509, 0.0000, 0.0000, 56.2500);
	CreateObject(2197, -2089.666016, 2477.619385, 40.108620, 0.0000, 0.0000, 56.2500);
	CreateObject(1646, -2069.302002, 2469.936523, 35.679989, 0.0000, 0.0000, 281.2500);
	CreateObject(1481, -2083.784912, 2472.136475, 48.101067, 0.0000, 0.0000, 56.2500);
	CreateObject(1659, -2087.810547, 2477.264648, 44.072395, 0.0000, 0.0000, 326.2500);
	CreateObject(1659, -2081.297119, 2472.812500, 44.078819, 0.0000, 0.0000, 326.2500);
	CreateObject(1736, -2088.355713, 2472.965820, 42.826809, 0.0000, 0.0000, 146.2500);
	CreateObject(1786, -2070.7368164063, 2464.6801757813, 41.094573974609, 0, 0, 202.49450683594);
	CreateObject(1797, -2074.477539, 2476.608643, 40.109749, 0.0000, 0.0000, 56.2500);
	CreateObject(1809, -2071.20703125, 2465.2106933594, 40.112117767334, 0, 0, 236.25);
	CreateObject(2028, -2071.2573242188, 2465.763671875, 40.199714660645, 0, 0, 337.49450683594);
	CreateObject(2149, -2073.341553, 2458.635986, 41.249172, 0.0000, 0.0000, 191.2501);
	CreateObject(2192, -2084.580322, 2475.564697, 40.861080, 0.0000, 0.0000, 258.7500);
	CreateObject(2229, -2071.375488, 2474.621826, 40.091297, 0.0000, 0.0000, 348.7500);
	CreateObject(2332, -2080.324219, 2476.416016, 40.579014, 0.0000, 0.0000, 326.2500);
	CreateObject(2828, -2083.374023, 2473.816162, 40.913097, 0.0000, 0.0000, 348.7500);
	CreateObject(1846, -2068.687500, 2478.656494, 41.644882, 90.2408, 0.0000, 326.2500);
	CreateObject(3260, -2071.999268, 2461.609375, 44.558960, 0.0000, 269.7592, 326.2500);
	CreateObject(3260, -2074.470459, 2463.261963, 44.542896, 0.0000, 269.7592, 326.2500);
	CreateObject(3260, -2076.941895, 2464.913330, 44.535988, 0.0000, 269.7592, 326.2500);
	CreateObject(3260, -2079.379395, 2466.541016, 44.527828, 0.0000, 269.7592, 327.9689);
	CreateObject(1472, -2077.717529, 2476.157471, 40.531452, 0.0000, 0.0000, 56.2500);
	CreateObject(14819, -2078.913574, 2476.090820, 42.095428, 0.0000, 0.0000, 236.2501);
	CreateObject(1656, -2076.839111, 2475.586670, 40.217194, 0.0000, 0.0000, 56.2500);
	CreateObject(1656, -2077.038086, 2475.704346, 40.434372, 0.0000, 0.0000, 56.2500);
	CreateObject(1656, -2077.221680, 2475.858643, 40.646355, 0.0000, 0.0000, 56.2500);
	CreateObject(1656, -2077.473145, 2475.994629, 40.803642, 0.0000, 0.0000, 56.2500);
	CreateObject(2163, -2077.083984375, 2476.6884765625, 40.110786437988, 0, 0, 146.24450683594);
	CreateObject(2163, -2077.7275390625, 2477.1123046875, 41.030990600586, 0, 0, 146.24450683594);
	CreateObject(644, -2068.540771, 2472.343506, 40.300304, 0.0000, 0.0000, 0.0000);
	CreateObject(2240, -2075.109375, 2474.295654, 40.714611, 0.0000, 0.0000, 0.0000);
	CreateObject(14640, -2066.436035, 2474.498535, 40.395901, 0.0000, 0.0000, 56.2499);
	CreateObject(2208, -2074.317627, 2468.569092, 40.016167, 0.0000, 0.0000, 56.2500);
	CreateObject(2207, -2072.970947, 2468.144287, 40.109661, 0.0000, 0.0000, 56.2500);
	CreateObject(2251, -2073.163330, 2469.283447, 40.979843, 0.0000, 0.0000, 0.0000);
	CreateObject(2247, -2072.981689, 2469.176514, 41.078243, 0.0000, 0.0000, 180.0000);
	CreateObject(995, -2071.314209, 2474.843018, 42.127274, 90.2408, 0.0000, 326.2500);
	CreateObject(2163, -2077.5334472656, 2477.4641113281, 40.110584259033, 0, 0, 326.09533691406);
	CreateObject(2163, -2077.3088378906, 2476.8669433594, 41.158100128174, 0, 0, 146.24450683594);
	CreateObject(894, -2065.3244628906, 2473.9565429688, 45.280876159668, 0, 0, 37.714782714844);
	CreateObject(895, -2069.0461425781, 2468.5998535156, 45.397300720215, 0, 0, 113.14440917969);
	CreateObject(892, -2067.0769042969, 2470.87890625, 45.357894897461, 0, 0, 0);
	CreateObject(889, -2070.74609375, 2465.6181640625, 45.439819335938, 0, 0, 0);
	CreateObject(885, -2072.5209960938, 2463.228515625, 45.478157043457, 0, 0, 0);
	CreateObject(1710, -2084.6025390625, 2470.6267089844, 40.11633682251, 0, 0, 146.15075683594);
	CreateObject(2258, -2088.1228027344, 2472.2436523438, 42.107643127441, 0, 0, 326.25524902344);
	CreateObject(2259, -2087.0209960938, 2470.955078125, 41.659370422363, 0, 0, 326.25524902344);
	CreateObject(2260, -2086.0764160156, 2470.3227539063, 41.793811798096, 0, 0, 326.25524902344);
	CreateObject(2266, -2087.0395507813, 2470.9345703125, 40.501522064209, 0, 0, 326.25524902344);
	CreateObject(2267, -2088.1340332031, 2472.2280273438, 40.813053131104, 0, 0, 326.25524902344);
	CreateObject(17037, -2003.2623291016, 2453.6589355469, 37.75952911377, 5.9510498046875, 0, 332.20739746094);
	CreateObject(17037, -2006.775390625, 2446.1477050781, 37.025939941406, 3.966064453125, 0, 338.16235351563);
	CreateObject(1454, -2058.1232910156, 2478.1062011719, 47.380996704102, 86.105041503906, 0, 176.66442871094);
	CreateObject(1454, -2060.6105957031, 2477.7429199219, 47.25513458252, 107.93640136719, 0, 330.22485351563);
	CreateObject(1454, -2055.7587890625, 2476.8754882813, 47.367130279541, 96.026428222656, 0, 5.95458984375);
	CreateObject(1454, -2054.0864257813, 2475.1801757813, 47.302726745605, 96.026428222656, 0, 5.95458984375);
	CreateObject(1454, -2052.3713378906, 2473.15234375, 47.146976470947, 96.026428222656, 0, 5.95458984375);
	CreateObject(1454, -2050.701171875, 2471.58984375, 47.07251739502, 99.996398925781, 0, 5.95458984375);
	CreateObject(1454, -2048.771484375, 2469.8708496094, 46.953678131104, 96.026428222656, 0, 5.95458984375);
	CreateObject(1454, -2047.5114746094, 2467.9799804688, 46.431720733643, 115.8759765625, 0, 17.858947753906);
	CreateObject(1454, -2046.5192871094, 2465.5197753906, 45.524013519287, 74.187805175781, 0, 192.53771972656);
	CreateObject(1454, -2045.0341796875, 2463.4387207031, 44.836486816406, 74.185180664063, 0, 192.53540039063);
	CreateObject(1454, -2043.4919433594, 2461.388671875, 44.147735595703, 74.185180664063, 0, 192.53540039063);
	CreateObject(1454, -2041.8836669922, 2459.3559570313, 43.393672943115, 74.185180664063, 0, 192.53540039063);
	CreateObject(1454, -2040.2276611328, 2457.4208984375, 42.68811416626, 74.185180664063, 0, 192.53540039063);
	CreateObject(1454, -2038.4163818359, 2455.6145019531, 42.002899169922, 74.185180664063, 0, 192.53540039063);
	CreateObject(1454, -2036.3148193359, 2453.751953125, 41.20735168457, 74.185180664063, 0, 192.53540039063);
	CreateObject(1454, -2034.2220458984, 2451.9406738281, 40.479389190674, 103.96020507813, 0, 39.691040039063);
	CreateObject(1454, -2032.0632324219, 2450.4279785156, 40.088272094727, 103.95812988281, 0, 39.688110351563);
	CreateObject(1454, -2029.9118652344, 2449.181640625, 39.657356262207, 98.003112792969, 0, 39.688110351563);
	CreateObject(1454, -2027.6369628906, 2447.8039550781, 39.213516235352, 97.998046875, 0, 39.6826171875);
	CreateObject(1454, -2025.5991210938, 2446.5170898438, 38.860363006592, 97.998046875, 0, 39.6826171875);
	CreateObject(1454, -2023.7528076172, 2444.931640625, 38.485359191895, 97.998046875, 0, 39.6826171875);
	CreateObject(1454, -2022.1267089844, 2443.3845214844, 38.02738571167, 68.223083496094, 0, 234.9287109375);
	CreateObject(1454, -2020.4124755859, 2442.1037597656, 37.157558441162, 68.219604492188, 0, 234.92614746094);
	CreateObject(1454, -2018.4180908203, 2440.8620605469, 36.245178222656, 68.219604492188, 0, 234.92614746094);
	CreateObject(1454, -2016.4991455078, 2439.5415039063, 35.374599456787, 68.219604492188, 0, 234.92614746094);
	CreateObject(1454, -2014.5489501953, 2438.3432617188, 34.482681274414, 68.219604492188, 0, 234.92614746094);
	CreateObject(1454, -2012.4058837891, 2437.1787109375, 33.657482147217, 76.159606933594, 0, 234.92614746094);
	CreateObject(1454, -2010.0285644531, 2436.0288085938, 33.460735321045, 90.05224609375, 0, 234.92065429688);
	CreateObject(1454, -2008.1665039063, 2435.3515625, 33.215255737305, 74.91943359375, 0, 246.83056640625);
	CreateObject(1478, -2007.6062011719, 2436.2846679688, 34.517539978027, 0, 0, 81.384521484375);
	CreateObject(642, -2081.1994628906, 2468.1987304688, 48.82825088501, 0, 0, 282.58557128906);
	CreateObject(643, -2081.0126953125, 2470.90234375, 47.868412017822, 0, 0, 0);
	CreateObject(16151, -2069.7307128906, 2465.2329101563, 40.48558807373, 0, 0, 326.25524902344);
	CreateObject(889, -2084.3740234375, 2483.5300292969, 47.346969604492, 0, 0, 0);
	CreateObject(1714, -2082.5834960938, 2476.46484375, 40.116100311279, 0, 0, 324.27026367188);
	CreateObject(1659, -2072.1306152344, 2469.9099121094, 44.115451812744, 0, 0, 0);
	CreateObject(14527, -2084.3996582031, 2473.7397460938, 42.092205047607, 0, 0, 350.0299987793);



	//IRC
	gBotID[0] = IRC_Connect(IRC_SERVER, IRC_PORT, BOT_1_NICKNAME, BOT_1_REALNAME, BOT_1_USERNAME);
	gGroupID = IRC_CreateGroup();
	IRC_SetIntData(gBotID[0], E_IRC_CONNECT_DELAY, 20);

	//Base Gates
	AddAutoGate(980, -1987.4371, -708.4251, 33.8891, 0.0000, 0.0000, 359.5959, -1987.9266, -708.2164, 43.1450, "[SFCNR]CaptainPrice", 13);

	//SAM Stuff
	SAM_start();
	BaseSam1 = AddStaticSAM(-2000.8955, -730.5635, 32.1642);
	BaseSam2 = AddStaticSAM(-2131.5999, -976.3198, 32.1719);

	//Sign
	CiaSign = CreateObject(19353, -2859.79, 375.66, 5.19,   0.00, 0.00, 0.00);
	SetObjectMaterialText(CiaSign, "CIA Base Ahead", 0, OBJECT_MATERIAL_SIZE_256x128,
	"Arial", 28, 0, 0xFFFFFFFF, 0x007A00FF, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);

	//Timers
	Timer = SetTimer("CheckForCopScore", 8000, true);

	return 1;
}

public OnGameModeExit()
{
    print("\n==================================================================");
	print("=== San Fierro Cops and Robbers v1.0 by stormchaser206 unloaded! ===");
	print("====================================================================\n");

	IRC_Quit(gBotID[0], "[EXIT] IRC Announcer Bot has exited.");
	IRC_DestroyGroup(gGroupID);
	return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
	SetPlayerPos(playerid, -1576.5280, 722.0516, 37.8293);
	SetPlayerCameraPos(playerid, -1573.8307, 721.9671, 37.8293);
	SetPlayerCameraLookAt(playerid, -1576.5280, 722.0516, 37.8293);

	if(classid == 0)
	{
	    GameTextForPlayer(playerid, "~b~Police", 9000, 6);
    	SetPlayerTeam(playerid, TEAM_COP);
	    SetPlayerColor(playerid, COLOR_BLUE);
	}

	if(classid == 1)
	{
	    GameTextForPlayer(playerid, "~g~Army", 9000, 6);
 		SetPlayerTeam(playerid, TEAM_ARMY);
   		SetPlayerColor(playerid, COLOR_BLACK);
	}

	if(classid == 2)
	{
	    GameTextForPlayer(playerid, "SWAT", 9000, 6);
	    SetPlayerTeam(playerid, TEAM_SWAT);
	    SetPlayerColor(playerid, COLOR_GREY);
	}

	if(classid == 3)
	{
	    GameTextForPlayer(playerid,"~g~FBI", 9000, 6);
	    SetPlayerTeam(playerid, TEAM_FBI);
	    SetPlayerColor(playerid, COLOR_GREEN);
	}

	if(classid == 4)
	{
	    GameTextForPlayer(playerid, "CIA", 9000, 6);
     	SetPlayerTeam(playerid, TEAM_CIA);
      	SetPlayerColor(playerid, COLOR_ORANGE);
	}

	if(classid == 5)
	{
	    GameTextForPlayer(playerid, "~r~FIREMAN", 9000, 6);
		SetPlayerTeam(playerid, TEAM_FIRE);
		SetPlayerColor(playerid, COLOR_YELLOW);
	}

	if(classid == 6)
	{
	    GameTextForPlayer(playerid, "~g~TAXI", 9000, 6);
	    SetPlayerTeam(playerid, TEAM_TAXI);
	    SetPlayerColor(playerid, COLOR_AQUA);
	}

	if(classid == 7)
	{
	    GameTextForPlayer(playerid,"MEDIC", 9000, 6);
	    SetPlayerTeam(playerid, TEAM_MEDIC);
	    SetPlayerColor(playerid, COLOR_PINK);
	}
	else
	{
	    GameTextForPlayer(playerid,"CIVILIAN", 9000, 6);
	}
	return 1;
}

public OnPlayerConnect(playerid)
{
	new pName[MAX_PLAYER_NAME];
	GetPlayerName(playerid, pName, sizeof(pName));
	new IRC_String[100];
	new string[100];
	format(IRC_String, sizeof(IRC_String),"[CONNECT] %s(%d) has connected to the server!", pName, playerid);
	IRC_Say(gGroupID, IRC_CHANNEL, IRC_String);
	format(string, sizeof(string),"-| %s(%d) has connected to San Fierro Cops and Robbers v1.0! |-", pName, playerid);
	SendClientMessageToAll(COLOR_PINK, string);
	return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
	new reasonMsg[15];
	switch(reason)
	{
	    case 0: reasonMsg = "Timeout";
	    case 1: reasonMsg = "Leaving";
	    case 2: reasonMsg = "Kicked/Banned";
	}

    new pName[MAX_PLAYER_NAME];
	GetPlayerName(playerid, pName, sizeof(pName));
	new IRC_String[100];
	new string[100];
	format(IRC_String, sizeof(IRC_String),"[DISCONNECT] %s(%d) has left the server! (%s)", pName, playerid, reasonMsg);
	IRC_Say(gGroupID, IRC_CHANNEL, IRC_String);
	format(string, sizeof(string),"-| %s(%d) has left the server (%s) |-", pName, playerid, reasonMsg);
	SendClientMessageToAll(COLOR_PINK, string);
	return 1;
}

public OnPlayerSpawn(playerid)
{
	new randSpawn = 0;
	randSpawn = random(sizeof(gRandomSpawns_SanFierro));

	if(!IsPlayerLawEnforcement(playerid) || GetPlayerTeam(playerid) != TEAM_MEDIC || GetPlayerTeam(playerid) != TEAM_TAXI || GetPlayerTeam(playerid) != TEAM_FIRE)
	{
	 	SetPlayerPos(playerid,
			gRandomSpawns_SanFierro[randSpawn][0],
			 gRandomSpawns_SanFierro[randSpawn][1],
		 	gRandomSpawns_SanFierro[randSpawn][2]);
		SetPlayerFacingAngle(playerid,gRandomSpawns_SanFierro[randSpawn][3]);
	}
	SetPlayerInterior(playerid, 0);
	TogglePlayerClock(playerid, 1);

	new pName[MAX_PLAYER_NAME];
	new IRC_String[100];
	GetPlayerName(playerid, pName, sizeof(pName));
	format(IRC_String, sizeof(IRC_String),"[SPAWN] %s(%d) has spawned", pName, playerid);
	IRC_Say(gGroupID, IRC_CHANNEL, IRC_String);
	return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
	return 1;
}

public OnVehicleSpawn(vehicleid)
{
	return 1;
}

public OnVehicleDeath(vehicleid, killerid)
{
	return 1;
}

public OnPlayerText(playerid, text[])
{
	return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
	//Law Enforcement Commands//
 	dcmd(cuff,4,cmdtext);
	dcmd(strike,6,cmdtext);

	//Robber Commands//
	dcmd(rob,3,cmdtext);

	//Wars//
	dcmd(createwar,9,cmdtext);
	dcmd(joinwar,7,cmdtext);
	return 1;
}

//============== DCMD Commands ===============//
dcmd_cuff(playerid, params[])
{
	new Index;
	new tmp[256];
	tmp = strtok(params, Index);
	new id;
	id = strval(tmp);
	new cRand;
	cRand = random(100);
	new string[150];
	new pName[MAX_PLAYER_NAME];
	new pNameTwo[MAX_PLAYER_NAME];
	new IRC_String[150];
	GetPlayerName(playerid, pName, sizeof(pName));
	GetPlayerName(id, pNameTwo, sizeof(pNameTwo));

	if(id == INVALID_PLAYER_ID) return SendClientMessage(playerid, COLOR_RED, "ERROR: Invalid Player ID");
	if(PlayerInfo[id][Cuffed] == 1) return SendClientMessage(playerid, COLOR_RED, "ERROR: Player is already cuffed");
	if(PlayerInfo[id][InPrison] == 1) return SendClientMessage(playerid, COLOR_RED, "ERROR: Player is already in Prison");
	if(GetPlayerTeam(id) == TEAM_COP || GetPlayerTeam(id) == TEAM_SWAT || GetPlayerTeam(id) == TEAM_FBI || GetPlayerTeam(id) == TEAM_CIA || GetPlayerTeam(id) == TEAM_ARMY) return SendClientMessage(playerid, COLOR_RED, "ERROR: You might lose your job for cuffing other law enforcement");
	if(GetPlayerTeam(playerid) != TEAM_COP || GetPlayerTeam(playerid) != TEAM_SWAT || GetPlayerTeam(playerid) != TEAM_FBI || GetPlayerTeam(playerid) != TEAM_CIA || GetPlayerTeam(playerid) != TEAM_ARMY) return SendClientMessage(playerid, COLOR_RED, "ERROR: Only law enforcement can use this command");
	if(cRand <= CUFF_BRK_AWAY_CHANCE) return SendClientMessage(playerid, COLOR_RED, "The suspect slipped out of your grasp and got away!");
	if(GetPlayerWantedLevel(playerid) == 0) return SendClientMessage(playerid, COLOR_RED, "ERROR: Player is not wanted");
	else
	{
	    LoopingAnim(id, "ped", "cower", 3.0, 1, 0, 0, 0, 0);
	    TogglePlayerControllable(id, 0);
		format(IRC_String, sizeof(IRC_String),"[CUFF] %s(%d) has been cuffed by officer %s(%d)", pNameTwo, id, pName, playerid);
		IRC_Say(gGroupID, IRC_CHANNEL, IRC_String);
		format(string, sizeof(string),"-| You have cuffed %s(%d). You have 30 seconds before they are auto-uncuffed |-", pNameTwo, id);
		SendClientMessage(playerid, COLOR_ORANGE, string);
		format(string, sizeof(string),"-| You have been cuffed by officer %s(%d). You have 30 seconds before you are auto-uncuffed.", pName, playerid);
		SendClientMessage(id, COLOR_ORANGE, string);
		PlayerInfo[id][Cuffed] = 1;
        SetTimerEx("AutoUnCuff", 30000, 0, "i", id);
	}
	return 1;
}

dcmd_strike(playerid, params[])
{
	new Index;
	new tmp[256];
	tmp = strtok(params, Index);
	new id = strval(tmp);
	new pName[MAX_PLAYER_NAME];
	new pNameTwo[MAX_PLAYER_NAME];
	new string[100];
	new Float:X;
	new Float:Y;
	new Float:Z;
	GetPlayerPos(id, X, Y, Z);
	new cRand;
	cRand = random(100);

	if(id == INVALID_PLAYER_ID) return SendClientMessage(playerid, COLOR_RED, "ERROR: Invalid Player ID");
	if(id == playerid) return SendClientMessage(playerid, COLOR_RED, "ERROR: You cannot call a missile strike on yourself. Do you want to die?");
	if(IsPlayerLawEnforcement(id)) return SendClientMessage(playerid, COLOR_RED, "ERROR: You might lose your job for calling a missile strike on other law enforcement");
	if(GetPlayerMoney(playerid) < 1500) return SendClientMessage(playerid, COLOR_RED, "ERROR: You need at least $1500 to call in a missile strike");
	if(GetPlayerWantedLevel(id) < 15) return SendClientMessage(playerid, COLOR_RED, "ERROR: The Player needs to have at least aa 15 wanted level.");
	if(cRand <= 45) return SendClientMessage(playerid, COLOR_ORANGE, "Your missile strike failed to hit");
	if(PlayerInfo[playerid][WaitingToStrike] == 1) return SendClientMessage(playerid, COLOR_RED, "ERROR: You need to wait before you can use the strike again");
	else
	{
	    GetPlayerName(playerid, pName, sizeof(pName));
		GetPlayerName(id, pNameTwo, sizeof(pNameTwo));
		Missile1 = CreateObject(3790, X, Y, Z+20, 0.0, 238.0, 0.0);
		format(string, sizeof(string),"[POLICE RADIO] Army officer %s(%d) has called an airstrike on %s(%d)", pName, playerid, pNameTwo, id);
		SendRadioMsg(string);
		MoveObject(Missile1, X, Y, Z, 15);
		CreateExplosion(X, Y, Z, 7, 15);
		format(string, sizeof(string), "Military officer %s(%d) has called an airstrike on your current position!", pName, playerid);
		SendClientMessage(id, COLOR_RED, string);
		GivePlayerMoney(playerid, -1500);
		SetTimerEx("CanUseStrike",600000, 0, "i", playerid);
		PlayerInfo[playerid][CanUseMStrike] = 0;
		PlayerInfo[playerid][WaitingToStrike] = 1;
	}
	return 1;
}

dcmd_rob(playerid, params[])
{
	new Index;
	new tmp[256];
	tmp = strtok(params, Index);
	new id;
	id = strval(tmp);
	new mRand;
	new cRand = random(100);
	new string[150];
	new pName[MAX_PLAYER_NAME];
	GetPlayerName(playerid, pName, sizeof(pName));
	new pNameTwo[MAX_PLAYER_NAME];
	GetPlayerName(id, pNameTwo, sizeof(pNameTwo));

	if(GetPlayerTeam(playerid) != TEAM_ROB) return SendClientMessage(playerid, COLOR_RED, "ERROR: You must be a robber to use this command");
	if(id == INVALID_PLAYER_ID) return SendClientMessage(playerid, COLOR_RED, "ERROR: Invalid ID");
	if(GetPlayerMoney(playerid) < 1) return SendClientMessage(playerid, COLOR_RED, "How would you rob someone with no cash? That would go to waste...");
	if(id == playerid) return SendClientMessage(playerid, COLOR_RED, "You cannot rob yourself. How is that possible?");
	if(cRand <= 30) return SendClientMessage(playerid, COLOR_RED, "Rob attempt failed! Player slipped out of your grasp!");
	else
	{
		mRand = random(GetPlayerMoney(id));
		GivePlayerMoney(playerid, mRand);
		GivePlayerMoney(id, -mRand);
		format(string, sizeof(string),"-| You lost a total of $%d from %s(%d) robbing you! |-", mRand, pName, playerid);
		SendClientMessage(id, COLOR_RED, string);
		format(string, sizeof(string),"[POLICE RADIO] %s(%d) has been robbed by %s(%d)");
		SendRadioMsg(string);
		format(string, sizeof(string),"-| You have robbed $%d from %s(%d)! Make sure they don't come after you! |-", mRand, pNameTwo, id);
		SendClientMessage(playerid, COLOR_GREEN, string);
		IncreasePlayerWantedLevel(playerid, 4);
	}
	return 1;
}

dcmd_createwar(playerid, params[])
{
	new Index;
	new tmp[256];
	tmp = strtok(params, Index);
	new tmp2[256];
	tmp2 = strtok(params, Index);
	new city = strval(tmp);
	new warname[20] = WarOneInfo[War1Name];
	new nCity[25];
	new string[150];

	if(PlayerInfo[playerid][Admin] >= 9)
	{
	    if(WarOneInfo[War1GoingOn] == 1) return SendClientMessage(playerid, COLOR_RED, "ERROR: There is already a war going on. Type /joinwar to join it.");

		if(city < 0 || city > 3)
		{
			SendClientMessage(playerid, COLOR_RED, "ERROR: Invalid city selected!");
			SendClientMessage(playerid, COLOR_RED, "-| City IDs |-");
			SendClientMessage(playerid, COLOR_RED, "0 - Los Santos || 1 - Countryside");
			SendClientMessage(playerid, COLOR_RED, "2 - Las Venturas || 3 - Desert");
			return 0;
		}


		if(!strlen(params))
		{
			SendClientMessage(playerid, COLOR_RED, "Usage: /createwar (City ID) (War Name)");
			SendClientMessage(playerid, COLOR_RED, "-| City IDs |-");
			SendClientMessage(playerid, COLOR_RED, "0 - Los Santos || 1 - Countryside");
			SendClientMessage(playerid, COLOR_RED, "2 - Las Venturas || 3 - Desert");
			return 0;
		}

		if(city == 0) warname = "Los Santos";
		if(city == 1) warname = "The Countryside";
		if(city == 2) warname = "Las Venturas";
		if(city == 3) warname = "The Desert";

		format(string, sizeof(string),"-| A war has been created || City: %s || War Name: %s || Type /joinwar to join! |-", WarOneInfo[War1Name], params[2]);
		SendClientMessageToAll(COLOR_GREEN, string);
		WarOneInfo[War1GoingOn] = 1;
		WarOneInfo[War1Name] = params[2];
		WarOneInfo[USTeamScore] = 0;
		WarOneInfo[RussiaTeamScore] = 0;
	}
	else SendClientMessage(playerid, COLOR_RED, "ERROR: You need to be level 9 to use this command");
	return 1;
}

dcmd_joinwar(playerid)
{
	if(WarOneInfo[War1GoingOn] == 1)
	{
		GetPlayerPos(playerid, PlayerInfo[playerid][WOldX], PlayerInfo[playerid][WOldY], PlayerInfo[playerid][WOldZ]);

		new city[20] = WarOneInfo[War1City];
		new string[140];
		format(string, sizeof(string),"-| You have joined a war || War Name: %s || City: %s |-", WarOneInfo[War1Name], WarOneInfo[War1City]);
		SendClientMessage(playerid, COLOR_GREEN, string);

	    if(city == "Los Santos")
	    {
			ShowPlayerDialog(playerid, DIALOG_SWTEAM, DIALOG_STYLE_LIST, "Select Team", "US Army Rangers (USA)\nSpetsnaz (Russia)", "OK", "Quit War");
		}

		if(city == "The Countryside")
		{
			ShowPlayerDialog(playerid, DIALOG_SWTEAM, DIALOG_STYLE_LIST, "Select Team", "US Army Rangers (USA)\nSpetsnaz (Russia)", "OK", "Quit War");
		}

		if(city == "Las Venturas")
		{
		    ShowPlayerDialog(playerid, DIALOG_SWTEAM, DIALOG_STYLE_LIST, "Select Team", "US Army Rangers (USA)\nSpetsnaz (Russia)", "OK", "Quit War");
		}

		if(city == "The Desert")
		{
		    ShowPlayerDialog(playerid, DIALOG_SWTEAM, DIALOG_STYLE_LIST, "Select Team", "US Army Rangers (USA)\nSpetsnaz (Russia)", "OK", "Quit War");
		}
	}
	else SendClientMessage(playerid, COLOR_RED, "ERROR: There is no war going on.");
	return 1;
}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
	if(GetPlayerTeam(playerid) == TEAM_COP && vehicleid == 523)
	{
	    SetPlayerSkin(playerid, 284);
	}
	return 1;
}

public OnPlayerExitVehicle(playerid, vehicleid)
{
    if(GetPlayerTeam(playerid) == TEAM_COP && vehicleid == 523)
	{
	    SetPlayerSkin(playerid, 281);
	}
	return 1;
}

public OnPlayerStateChange(playerid, newstate, oldstate)
{
	return 1;
}

public OnPlayerEnterCheckpoint(playerid)
{
	return 1;
}

public OnPlayerLeaveCheckpoint(playerid)
{
	return 1;
}

public OnPlayerEnterRaceCheckpoint(playerid)
{
	return 1;
}

public OnPlayerLeaveRaceCheckpoint(playerid)
{
	return 1;
}

public OnRconCommand(cmd[])
{
	return 1;
}

public OnPlayerRequestSpawn(playerid)
{
	new team = GetPlayerTeam(playerid);

	if(team == TEAM_COP && FactionInfo[playerid][CanUsePolice] == 0)
	{
		ReturnClassError(playerid, 0);
	    return 0;
	}

	if(team == TEAM_ARMY && FactionInfo[playerid][CanUseArmy] == 0)
	{
	    ReturnClassError(playerid, 1);
	    return 0;
	}

	if(team == TEAM_CIA && FactionInfo[playerid][CanUseCIA] == 0)
	{
	    ReturnClassError(playerid, 1);
	    return 0;
	}

	if(team == TEAM_SWAT && FactionInfo[playerid][CanUseSWAT] == 0)
	{
	    ReturnClassError(playerid, 1);
		return 0;
	}

	if(team == TEAM_FBI && FactionInfo[playerid][CanUseFBI] == 0)
	{
	    ReturnClassError(playerid, 1);
		return 0;
	}

	if(IsACiv(playerid))
	{
	    ShowPlayerDialog(playerid, DIALOG_SSKILL, DIALOG_STYLE_LIST, "Select Skill", "Robber\nRapist\nTerrorist\nHitman\nDrug Dealer\nWeapon Dealer", "OK", "Quit");
	}
	return 1;
}

public OnObjectMoved(objectid)
{
	return 1;
}

public OnPlayerObjectMoved(playerid, objectid)
{
	if(objectid == Missile1)
	{
	    new Float:X;
	    new Float:Y;
	    new Float:Z;
	    GetObjectPos(Missile1, X, Y, Z);

        for(new i = 0; i < MAX_PLAYERS; i++)
        {
			if(IsPlayerInRangeOfPoint(i, 5, X, Y, Z))
			{
				new Float:X1;
				new Float:Y1;
				new Float:Z1;
				GetPlayerPos(i, X1, Y1, Z1);
				CreateExplosion(X1, Y1, Z1, 7, 10);
			    SetPlayerArmour(i, 0.0);
			    SetPlayerHealth(i, 0);
				SendClientMessage(i, COLOR_RED, "-| You have died from a missile strike! |-");
			}
		}
	}
	return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
	return 1;
}

public OnVehicleMod(playerid, vehicleid, componentid)
{
	return 1;
}

public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
	return 1;
}

public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
	return 1;
}

public OnPlayerSelectedMenuRow(playerid, row)
{
	return 1;
}

public OnPlayerExitedMenu(playerid)
{
	return 1;
}

public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
	return 1;
}

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
	return 1;
}

public OnRconLoginAttempt(ip[], password[], success)
{
	return 1;
}

public OnPlayerUpdate(playerid)
{
	return 1;
}

public OnPlayerStreamIn(playerid, forplayerid)
{
	return 1;
}

public OnPlayerStreamOut(playerid, forplayerid)
{
	return 1;
}

public OnVehicleStreamIn(vehicleid, forplayerid)
{
	return 1;
}

public OnVehicleStreamOut(vehicleid, forplayerid)
{
	return 1;
}


public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
	if(dialogid == DIALOG_SSKILL)
	{
	    if(!response) return Kick(playerid);
		if(response)
		{
			switch(listitem)
			{
				case 0:
				{
					SetPlayerTeam(playerid, TEAM_ROB);
				}
				case 1:
				{
					SetPlayerTeam(playerid, TEAM_RAPE);
				}
				case 2:
				{
					SetPlayerTeam(playerid, TEAM_TERROR);
				}
				case 3:
				{
					SetPlayerTeam(playerid, TEAM_HITMAN);
				}
				case 4:
				{
					SetPlayerTeam(playerid, TEAM_DDEAL);
				}
				case 5:
				{
					SetPlayerTeam(playerid, TEAM_WDEAL);
				}
			}
		}
	}

	if(dialogid == DIALOG_SWTEAM)
	{
		if(response)
		{
			switch(listitem)
			{
				case 0:
				{
					WarOneInfo[War1Players]++;
					SetPlayerTeam(playerid, TEAM_RANGER);
					PlayAudioStreamForPlayer(playerid, "https://dl.dropbox.com/u/77376451/black_cats.mp3");
				}
				case 1:
				{
					WarOneInfo[War1Players]++;
					SetPlayerTeam(playerid, TEAM_SPETSNAZ);
					PlayAudioStreamForPlayer(playerid, "https://dl.dropbox.com/u/77376451/the_final_push.mp3");
				}
			}
		}
		else
		{
			//The player has pressed "OK".
			switch(listitem)
			{
				case 0:
				{
					SetPlayerPos(playerid, PlayerInfo[playerid][WOldX], PlayerInfo[playerid][WOldY], PlayerInfo[playerid][WOldZ]);
					SendClientMessage(playerid, COLOR_RED, "-| You have quit from the war and have been returned to your old position!");
				}
				case 1:
				{
					SetPlayerPos(playerid, PlayerInfo[playerid][WOldX], PlayerInfo[playerid][WOldY], PlayerInfo[playerid][WOldZ]);
					SendClientMessage(playerid, COLOR_RED, "-| You have quit from the war and have been returned to your old position!");
				}
			}
		}
	}
    return 0;
}

public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
	return 1;
}

public OnSamSiteUpdate(samid, playerid)
{
    new name[24];
	GetPlayerName(playerid, name, sizeof name);
	if(samid == BaseSam1)
	{
	    if(strcmp(name, "[SFCNR]CaptainPrice", true) == 0)
	    {
	        return 0;
		}
	}

	if(samid == BaseSam2)
	{
	    if(strcmp(name, "[SFCNR]CaptainPrice", true) == 0)
	    {
	        return 0;
		}
	}
	return 1;
}

// Strtok //
strtok(const string[], &index)
{
	new length = strlen(string);
	while ((index < length) && (string[index] <= ' '))
	{
		index++;
	}

	new offset = index;
	new result[20];
	while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
	{
		result[index - offset] = string[index];
		index++;
	}
	result[index - offset] = EOS;
	return result;
}

public AutoUnCuff(id)
{
	new string[150];
	new IRC_String[150];
	new pName[MAX_PLAYER_NAME];
	GetPlayerName(id, pName, sizeof(pName));
	StopLoopingAnim(id);
	SendClientMessage(id, COLOR_GREEN,"-| You have been Auto-uncuffed! |-");
	format(string, sizeof(string),"-| %s(%d) has been auto-uncuffed! |-", pName, id);
	SendClientMessageToAll(COLOR_ORANGE, string);
	format(IRC_String, sizeof(IRC_String),"[AUTO UN-CUFF] %s(%d) has been auto-uncuffed!", pName, id);
	IRC_Say(gGroupID, IRC_CHANNEL, IRC_String);
	return 1;
}

/////////////////// ANIMS ///////////////////////
LoopingAnim(playerid,animlib[],animname[], Float:Speed, looping, lockx, locky, lockz, lp)
{
    ApplyAnimation(playerid, animlib, animname, Speed, looping, lockx, locky, lockz, lp);
}

StopLoopingAnim(playerid)
{
    ApplyAnimation(playerid, "CARRY", "crry_prtial", 4.0, 0, 0, 0, 0, 0);
}

//////////////// STOCKS //////////////////
stock IsPlayerLawEnforcement(playerid)
{
	new team = GetPlayerTeam(playerid);
	if(team == TEAM_COP || team == TEAM_FBI || team == TEAM_CIA || team == TEAM_ARMY || team == TEAM_SWAT) return 1;
	else return 0;
}

stock IncreasePlayerWantedLevel(playerid, value)
{
	SetPlayerWantedLevel(playerid, GetPlayerWantedLevel(playerid)+value);
	return 1;
}

stock SendRadioMsg(msg[])
{
	for(new i=0; i<MAX_PLAYERS; i++)
	{
	    if(IsPlayerConnected(i))
	    {
	        if(IsPlayerLawEnforcement(i))
	        {
			    SendClientMessage(i,COLOR_BLUE,msg);
			}
		}
	}
}

stock SendClientMessageToAllMedics(msg[])
{
	for(new i=0; i<MAX_PLAYERS; i++)
	{
	    if(IsPlayerConnected(i))
	    {
			if(GetPlayerTeam(i) == TEAM_MEDIC)
			{
			    SendClientMessage(i,COLOR_GREEN,msg);
			}
		}
	}
}

stock ReturnClassError(playerid, errorID)
{
	if(errorID == 0) return SendClientMessage(playerid, COLOR_RED, "ERROR: You cannot use this class. You need 25 score to use it.");
	if(errorID == 1) return SendClientMessage(playerid, COLOR_RED, "ERROR: You cannot use this class. You must apply for it on www.sanfierrocnr.createaforum.com");
	return 1;
}

stock IsACiv(playerid)
{
    if(!IsPlayerLawEnforcement(playerid) || GetPlayerTeam(playerid) != TEAM_MEDIC || GetPlayerTeam(playerid) != TEAM_TAXI || GetPlayerTeam(playerid) != TEAM_FIRE)
    {
		return 1;
	}

    else
	{
    	return 0;
	}
}
//Publics
public CanUseStrike(playerid)
{
	SendClientMessage(playerid, COLOR_GREEN, "Missile strike armed and ready to fire!");
	PlayerInfo[playerid][WaitingToStrike] = 0;
	PlayerInfo[playerid][CanUseMStrike] = 0;
	return 1;
}

public CheckForCopScore(playerid)
{
	if(GetPlayerScore(playerid) >= 25)
	{
	    KillTimer(Timer);
	    SendClientMessage(playerid, COLOR_RED, "-| You have reached 25 score! You can now use Police class! |-");
		FactionInfo[playerid][CanUsePolice] = 1;
	}
	return 1;
}
/*/=========================================
IRC Commands and Callbacks
*////////////////////////////////////////
public IRC_OnConnect(botid)
{
	print("Bot ID %d connected to IRC channel!");
	IRC_AddToGroup(gGroupID, botid);
	return 1;
}

public IRC_OnDisconnect(botid)
{
    print("Bot ID %d disconencted from IRC server!");
    IRC_RemoveFromGroup(gGroupID, botid);
	return 1;
}
Untested. Tried to fix the errors.

TIP: I suggest learning to script, some of these errors were pretty obvious (such as the fact you were assigning a float value to a non-float variable)
Hey, I know this might be off-topic, but are you still looking for scripters?
Reply
#9

Quote:
Originally Posted by Kindred
Посмотреть сообщение
Код:
/*/==========================//
====== San Fierro: Cops and Robbers ===//
Note: This is a different script then Stevo127's SFCRRPG. This is made by stormchaser206.

Credits:
-stormchaser206: Creating the script
-Incognito: IRC Plugin & Include
-SA-MP Team: Creating the awesome SA-MP.

Please do not re-release without my permission
*/

#include <a_samp>
#include <YSI\y_ini>
#include <irc>
#include <gates>
#include <SAMsites0.4.1>

new BaseSam1;
new BaseSam2;

new Timer;

new CiaSign;


//Dialogs
#define DIALOG_SSKILL   6891
#define DIALOG_SWTEAM   3739

//Dcmd
#define dcmd(%1,%2,%3) if (!strcmp((%3)[1], #%1, true, (%2)) && ((((%3)[(%2) + 1] == '\0') && (dcmd_%1(playerid, ""))) || (((%3)[(%2) + 1] == ' ') && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1

//IRC Stuff
#define IRC_SERVER "irc.mibbit.net"
#define IRC_PORT 6667
#define IRC_CHANNEL "#SFCNR"

#define BOT_1_NICKNAME "Bot"
#define BOT_1_REALNAME "SA-MP Bot"
#define BOT_1_USERNAME "Bot"

#define MAX_BOTS (1)

new gBotID[MAX_BOTS];
new gGroupID;

//Object
new Missile1;

forward CanUseStrike(playerid);

//Forwards//
forward AutoUnCuff(id);
forward CheckForCopScore(playerid);

//Teams//
#define TEAM_COP 0
#define TEAM_ARMY 1
#define TEAM_FBI 3
#define TEAM_SWAT 4
#define TEAM_CIA 5
#define TEAM_TAXI 6
#define TEAM_MEDIC 7
#define TEAM_FIRE 8
#define TEAM_TERROR 9
#define TEAM_ROB 10
#define TEAM_KIDNAP 11
#define TEAM_HITMAN 12
#define TEAM_RAPE 13
#define TEAM_WDEAL 14
#define TEAM_DDEAL 15

//War teams
#define TEAM_RANGER 16
#define TEAM_SPETSNAZ 17

//Important Defines
#define CUFF_BRK_AWAY_CHANCE 35
#define MAX_WARS 1

//Colors
#define COLOR_RED (0xFF0000FF)
#define COLOR_GREEN (0x00FF00FF)
#define COLOR_AQUA (0x00FFFFFF)
#define COLOR_BLUE (0x0000FFFF)
#define COLOR_PINK (0xFF00FFFF)
#define COLOR_YELLOW (0xFFFF00FF)
#define COLOR_WHITE (0xFFFFFFFF)
#define COLOR_ORANGE (0xFFBE00FF)
#define COLOR_BLACK (0x000000FF)
#define COLOR_GREY (0xE4E1FFFF)
#define COLOR_BROWN (0x451800FF)

#define COL_BLACK "{000000}"
#define COL_RED "{FF0000}"
#define COL_PINK "{FF00FF}"
#define COL_WHITE "{FFFFFF}"
#define COL_BLUE "{0000FF}"
#define COL_ORANGE "{FF9000}"
#define COL_FGREEN "{008600}"
#define COL_GREEN "{00FF00}"

//Random spawns (Thank grand larceny)
new Float:gRandomSpawns_SanFierro[][4] = {
{-2723.4639,-314.8138,7.1839,43.5562},  // golf course spawn
{-2694.5344,64.5550,4.3359,95.0190},  // in front of a house
{-2458.2000,134.5419,35.1719,303.9446},  // hotel
{-2796.6589,219.5733,7.1875,88.8288},  // house
{-2706.5261,397.7129,4.3672,179.8611},  // park
{-2866.7683,691.9363,23.4989,286.3060},  // house
{-2764.9543,785.6434,52.7813,357.6817},  // donut shop
{-2660.9402,883.2115,79.7738,357.4440},  // house
{-2861.0796,1047.7109,33.6068,188.2750}, //  parking lot
{-2629.2009,1383.1367,7.1833,179.7006},  // parking lot at the bridge
{-2079.6802,1430.0189,7.1016,177.6486},  // pier
{-1660.2294,1382.6698,9.8047,136.2952}, //  pier 69
{-1674.1964,430.3246,7.1797,226.1357},  // gas station]
{-1954.9982,141.8080,27.1747,277.7342},  // train station
{-1956.1447,287.1091,35.4688,90.4465},  // car shop
{-1888.1117,615.7245,35.1719,128.4498},  // random
{-1922.5566,886.8939,35.3359,272.1293},  // random
{-1983.3458,1117.0645,53.1243,271.2390},  // church
{-2417.6458,970.1491,45.2969,269.3676},  // gas station
{-2108.0171,902.8030,76.5792,5.7139},  // house
{-2097.5664,658.0771,52.3672,270.4487},  // random
{-2263.6650,393.7423,34.7708,136.4152},  // random
{-2287.5027,149.1875,35.3125,266.3989},  // baseball parking lot
{-2039.3571,-97.7205,35.1641,7.4744},  // driving school
{-1867.5022,-141.9203,11.8984,22.4499},  // factory
{-1537.8992,116.0441,17.3226,120.8537},  // docks ship
{-1708.4763,7.0187,3.5489,319.3260},  // docks hangar
{-2173.0654,-392.7444,35.3359,237.0159},  // stadium
{-2320.5286,-180.3870,35.3135,179.6980},  // burger shot
{-2930.0049,487.2518,4.9141,3.8258}  // harbor
};

//Enums
enum wInfo
{
	War1GoingOn,
	War1Players,
	War1Name,
	War1City,
	IsOn1USA,
	IsOn1Russia,
	USTeamScore,
	RussiaTeamScore
}

new WarOneInfo[wInfo];

enum fInfo
{
	CanUseSWAT,
	CanUseArmy,
	CanUseFBI,
	CanUseCIA,
	CanUsePolice,
	IsSWATLeader,
	IsArmyLeader,
	IsFBILeader,
	IsCIALeader,
	Price
}

enum pInfo
{
    Registered,
	LoggedIn,
	Cash,
	Score,
	Admin,
	VipPoints,
	Xp,
	Cuffed,
	InPrison,
	CanUseMStrike,
	WaitingToStrike,
	xC4,
	Float:WOldX,
	Float:WOldY,
	Float:WOldZ,
	InWar
}

new FactionInfo[MAX_PLAYERS][fInfo];
new PlayerInfo[MAX_PLAYERS][pInfo];


main()
{
	print("\n================================================================");
	print("=== San Fierro Cops and Robbers v1.0 by stormchaser206 loaded! ===");
	print("==================================================================\n");
}

public OnGameModeInit()
{
	// Don't use these lines if it's a filterscript
	SetGameModeText("SF Cops and Robbers");
	AddPlayerClass(281,-1591.7279,716.1664,-5.2422,270.7460,0,0,0,0,0,0); // cnr police
	AddPlayerClass(287,-1389.1581,-246.2881,14.1440,314.9499,0,0,0,0,0,0); // cnr army
	AddPlayerClass(285,-1449.1959,453.8936,7.1875,3.5911,0,0,0,0,0,0); // cnr swat
	AddPlayerClass(286,-2455.3621,497.4983,30.0870,297.9120,0,0,0,0,0,0); // cnr fbi
	AddPlayerClass(164,-3379.1736,316.7283,29.6567,198.6681,0,0,0,0,0,0); // CIA Spawn
	AddPlayerClass(279,-2024.0890,70.5015,28.4499,274.4205,0,0,0,0,0,0); // cnr fireman
	AddPlayerClass(262,-2481.7729,372.6339,35.1204,240.2162,0,0,0,0,0,0); // cnr taxi man
	AddPlayerClass(276,-2653.2751,636.6666,14.4531,179.8945,0,0,0,0,0,0); // cnr medic
	AddPlayerClass(0,-1579.1820,721.7610,37.8293,272.0121,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(1,-1579.1820,721.7610,37.8293,272.0121,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(3,-1579.1820,721.7610,37.8293,272.0121,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(6,-1579.1820,721.7610,37.8293,272.0121,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(9,-1579.1820,721.7610,37.8293,272.0121,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(299,-1579.1820,721.7610,37.8293,272.0121,0,0,0,0,0,0); // cnr claude skin
	AddPlayerClass(293,-1579.1820,721.7610,37.8293,272.0121,0,0,0,0,0,0); // cnr claude skin
	AddPlayerClass(245,-1785.3781,-120.7918,5.1511,55.0728,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(247,-1785.3781,-120.7918,5.1511,55.0728,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(249,-1785.3781,-120.7918,5.1511,55.0728,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(123,-1785.3781,-120.7918,5.1511,55.0728,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(16,-1785.3781,-120.7918,5.1511,55.0728,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(30,-1785.3781,-120.7918,5.1511,55.0728,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(23,-1785.3781,-120.7918,5.1511,55.0728,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(78,-1785.3781,-120.7918,5.1511,55.0728,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(72,-1785.3781,-120.7918,5.1511,55.0728,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(125,-1785.3781,-120.7918,5.1511,55.0728,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(200,-1785.3781,-120.7918,5.1511,55.0728,0,0,0,0,0,0); // cnr skin
	AddPlayerClass(100,-1785.3781,-120.7918,5.1511,55.0728,0,0,0,0,0,0); // cnr skin

	//Map
	AddStaticVehicleEx(416,-2679.19995117,583.29998779,14.80000019,270.00000000,1,3,15); //Ambulance
	AddStaticVehicleEx(416,-2545.50000000,638.09997559,28.10000038,270.00000000,1,3,15); //Ambulance
	AddStaticVehicleEx(416,-2588.60009766,643.20001221,14.80000019,90.00000000,1,3,15); //Ambulance
	AddStaticVehicleEx(416,-2590.00000000,628.29998779,14.80000019,90.00000000,1,3,15); //Ambulance
	AddStaticVehicleEx(416,-2702.69995117,594.59997559,14.80000019,0.00000000,1,3,15); //Ambulance
	AddStaticVehicleEx(416,-2544.09960938,593.29980469,14.80000019,270.00000000,1,3,15); //Ambulance
	AddStaticVehicleEx(416,-2545.39990234,648.59997559,28.10000038,270.00000000,1,3,15); //Ambulance
	AddStaticVehicleEx(416,-2589.80004883,634.70001221,28.10000038,270.00000000,1,3,15); //Ambulance
	AddStaticVehicleEx(416,-2558.60009766,626.29998779,28.10000038,0.00000000,1,3,15); //Ambulance
	AddStaticVehicleEx(563,-2646.30004883,666.40002441,66.90000153,0.00000000,-1,-1,15); //Raindance
	AddStaticVehicleEx(490,-2425.19995117,517.70001221,30.20000076,40.00000000,-1,-1,15); //FBI Rancher
	AddStaticVehicleEx(528,-2415.69995117,531.50000000,30.10000038,64.00000000,-1,-1,15); //FBI Truck
	AddStaticVehicleEx(528,-2416.50000000,528.50000000,30.10000038,59.99536133,-1,-1,15); //FBI Truck
	AddStaticVehicleEx(528,-2418.69995117,525.20001221,30.10000038,51.99084473,-1,-1,15); //FBI Truck
	AddStaticVehicleEx(427,-2440.00000000,520.50000000,30.20000076,0.00000000,-1,1,15); //Enforcer
	AddStaticVehicleEx(455,-2671.80004883,1276.09997559,61.79999924,89.75000000,-1,-1,15); //Flatbed
	AddStaticVehicleEx(588,-2525.89990234,1207.80004883,48.70000076,72.00000000,-1,-1,15); //Hotdog
	AddStaticVehicleEx(568,-2538.69995117,1229.09997559,37.40000153,30.00000000,-1,-1,15); //Bandito
	AddStaticVehicleEx(571,-2561.39990234,1224.69995117,40.59999847,0.00000000,-1,-1,15); //Kart
	AddStaticVehicleEx(457,-2527.10009766,1230.59997559,37.20000076,28.00000000,-1,-1,15); //Caddy
	AddStaticVehicleEx(423,-2503.00000000,1221.50000000,37.59999847,324.00000000,-1,-1,15); //Mr Whoopee
	AddStaticVehicleEx(424,-2495.00000000,1216.50000000,37.29999924,322.75000000,-1,-1,15); //BF Injection
	AddStaticVehicleEx(424,-2491.30004883,1214.80004883,37.29999924,322.74536133,-1,-1,15); //BF Injection
	AddStaticVehicleEx(424,-2497.60009766,1220.19995117,37.29999924,322.74536133,-1,-1,15); //BF Injection
	AddStaticVehicleEx(500,-2602.80004883,1387.19995117,7.19999981,0.00000000,-1,-1,15); //Mesa
	AddStaticVehicleEx(404,-2618.60009766,1376.40002441,7.00000000,0.00000000,-1,-1,15); //Perrenial
	AddStaticVehicleEx(454,-2626.60009766,1479.90002441,0.00000000,0.00000000,-1,-1,15); //Tropic
	AddStaticVehicleEx(580,-2633.10009766,1376.00000000,7.00000000,0.00000000,-1,-1,15); //Stafford
	AddStaticVehicleEx(582,-3312.00000000,312.70001221,29.70000076,0.00000000,-1,-1,15); //Newsvan
	AddStaticVehicleEx(528,-3288.89990234,304.10000610,29.70000076,0.00000000,-1,-1,15); //FBI Truck
	AddStaticVehicleEx(427,-3316.60009766,341.70001221,29.70000076,0.00000000,-1,-1,15); //Enforcer
	AddStaticVehicleEx(427,-3310.00000000,342.00000000,29.70000076,0.00000000,-1,-1,15); //Enforcer
	AddStaticVehicleEx(427,-3324.19995117,342.10000610,29.70000076,0.00000000,-1,-1,15); //Enforcer
	AddStaticVehicleEx(427,-3320.00000000,332.50000000,29.70000076,0.00000000,-1,-1,15); //Enforcer
	AddStaticVehicleEx(427,-3312.69995117,332.50000000,29.70000076,0.00000000,-1,-1,15); //Enforcer
	AddStaticVehicleEx(427,-3316.19995117,323.20001221,29.70000076,0.00000000,-1,-1,15); //Enforcer
	AddStaticVehicleEx(511,-3383.19995117,269.10000610,31.00000000,277.99993896,-1,-1,15); //Beagle
	AddStaticVehicleEx(597,-2670.50000000,371.60000610,4.19999981,0.00000000,-1,1,15); //Police Car (SFPD)
	AddStaticVehicleEx(597,-2742.50000000,379.59960938,4.19999981,0.00000000,-1,1,15); //Police Car (SFPD)
	AddStaticVehicleEx(597,-2759.60009766,401.29998779,4.19999981,0.00000000,-1,1,15); //Police Car (SFPD)
	AddStaticVehicleEx(473,-2974.10009766,961.79998779,0.00000000,0.00000000,-1,-1,15); //Dinghy
	AddStaticVehicleEx(448,-1723.09997559,1363.59997559,6.90000010,315.25000000,-1,-1,15); //Pizzaboy
	AddStaticVehicleEx(595,-3002.19995117,465.00000000,0.60000002,0.00000000,-1,-1,15); //Launch
	AddStaticVehicleEx(544,-2604.60009766,607.79998779,14.80000019,0.00000000,-1,-1,15); //Firetruck LA
	AddStaticVehicleEx(424,-1857.00000000,589.09997559,35.00000000,0.00000000,-1,-1,15); //BF Injection
	AddStaticVehicleEx(424,-1852.50000000,589.09997559,35.00000000,0.00000000,-1,-1,15); //BF Injection
	AddStaticVehicleEx(424,-1848.80004883,589.09997559,35.00000000,0.00000000,-1,-1,15); //BF Injection
	AddStaticVehicleEx(479,-1839.90002441,589.09997559,35.09999847,0.00000000,-1,-1,15); //Regina
	AddStaticVehicleEx(489,-1826.00000000,589.09997559,35.40000153,0.00000000,-1,-1,15); //Rancher
	AddStaticVehicleEx(458,-1734.19995117,591.50000000,24.79999924,0.00000000,-1,-1,15); //Solair
	AddStaticVehicleEx(458,-1739.00000000,591.70001221,24.79999924,0.00000000,-1,-1,15); //Solair
	AddStaticVehicleEx(497,-1681.09997559,706.70001221,32.59999847,0.00000000,-1,-1,15); //Police Maverick
	AddStaticVehicleEx(597,-1616.59997559,749.09997559,-5.40000010,0.50000000,-1,1,15); //Police Car (SFPD)
	AddStaticVehicleEx(597,-1596.00000000,676.79998779,-5.40000010,0.50000000,-1,1,15); //Police Car (SFPD)
	AddStaticVehicleEx(523,-1600.19995117,677.29998779,-5.59999990,0.00000000,-1,-1,15); //HPV1000
	AddStaticVehicleEx(481,-1644.90002441,650.00000000,-5.30000019,0.00000000,-1,-1,15); //BMX
	AddStaticVehicleEx(481,-1647.30004883,650.29998779,-5.30000019,0.00000000,-1,-1,15); //BMX
	AddStaticVehicleEx(523,-1632.80004883,690.79998779,-5.59999990,0.00000000,-1,-1,15); //HPV1000
	AddStaticVehicleEx(523,-1629.30004883,692.00000000,-5.59999990,0.00000000,-1,-1,15); //HPV1000
	AddStaticVehicleEx(434,-1620.80004883,691.09997559,-5.09999990,0.00000000,-1,-1,15); //Hotknife
	AddStaticVehicleEx(597,-1612.59997559,691.79998779,-5.40000010,0.00000000,-1,1,15); //Police Car (SFPD)
	AddStaticVehicleEx(597,-1604.50000000,691.00000000,-5.40000010,0.00000000,-1,1,15); //Police Car (SFPD)
	AddStaticVehicleEx(528,-1579.69995117,747.20001221,-5.09999990,0.00000000,-1,-1,15); //FBI Truck
	AddStaticVehicleEx(490,-1587.90002441,747.29998779,-4.90000010,0.00000000,-1,-1,15); //FBI Rancher
	AddStaticVehicleEx(523,-1575.19995117,722.79998779,-5.59999990,90.00000000,-1,-1,15); //HPV1000
	AddStaticVehicleEx(523,-1592.09960938,706.39941406,-5.59999990,90.00000000,-1,-1,15); //HPV1000
	AddStaticVehicleEx(523,-1612.80004883,677.79998779,-5.19999981,0.00000000,-1,-1,15); //HPV1000
	AddStaticVehicleEx(427,-1611.09997559,653.09997559,7.40000010,0.00000000,-1,1,15); //Enforcer
	AddStaticVehicleEx(597,-1611.80004883,672.90002441,7.09999990,0.00000000,-1,1,15); //Police Car (SFPD)
	AddStaticVehicleEx(597,-1606.29980469,674.00000000,7.09999990,0.00000000,-1,1,15); //Police Car (SFPD)
	AddStaticVehicleEx(597,-1594.40002441,673.40002441,7.09999990,0.00000000,-1,1,15); //Police Car (SFPD)
	AddStaticVehicleEx(537,-1947.59997559,146.69999695,27.29999924,0.00000000,-1,-1,15); //Freight
	AddStaticVehicleEx(449,-2005.40002441,120.59999847,29.00000000,0.00000000,-1,-1,15); //Tram
	AddStaticVehicleEx(449,-1542.40002441,763.00000000,7.30000019,354.25000000,-1,-1,15); //Tram
	AddStaticVehicleEx(483,-1726.80004883,1360.69995117,7.30000019,0.00000000,-1,-1,15); //Camper
	AddStaticVehicleEx(420,-2515.39990234,355.29998779,35.00000000,68.00000000,6,1,15); //Taxi
	AddStaticVehicleEx(420,-2516.60009766,350.89999390,35.00000000,67.99987793,6,1,15); //Taxi
	AddStaticVehicleEx(420,-2505.60009766,356.60000610,27.60000038,59.99987793,6,1,15); //Taxi
	AddStaticVehicleEx(438,-2513.39990234,321.39999390,35.29999924,70.00000000,6,1,15); //Cabbie
	AddStaticVehicleEx(438,-2515.69995117,314.20001221,35.29999924,69.99932861,6,1,15); //Cabbie
	AddStaticVehicleEx(438,-2510.19995117,328.79998779,35.29999924,67.99389648,6,1,15); //Cabbie
	AddStaticVehicleEx(437,-2512.30004883,345.29998779,28.00000000,59.50000000,-1,-1,15); //Coach
	AddStaticVehicleEx(437,-2500.19921875,380.69921875,35.40000153,55.49743652,-1,-1,15); //Coach
	AddStaticVehicleEx(420,-2513.59960938,359.09960938,35.00000000,67.99987793,6,1,15); //Taxi
	AddStaticVehicleEx(420,-2496.19995117,430.00000000,27.60000038,133.99987793,6,1,15); //Taxi
	AddStaticVehicleEx(420,-2493.69995117,427.10000610,27.60000038,138.99475098,6,1,15); //Taxi
	AddStaticVehicleEx(420,-2491.09960938,424.39941406,27.60000038,138.99353027,6,1,15); //Taxi
	AddStaticVehicleEx(420,-2491.09960938,424.39941406,27.60000038,138.99353027,6,1,15); //Taxi
	AddStaticVehicleEx(479,-2661.69995117,269.39999390,4.19999981,0.00000000,-1,-1,15); //Regina
	AddStaticVehicleEx(400,-2668.30004883,269.10000610,4.50000000,0.00000000,-1,-1,15); //Landstalker
	AddStaticVehicleEx(500,-2678.10009766,268.70001221,4.40000010,0.00000000,-1,-1,15); //Mesa
	AddStaticVehicleEx(521,-2898.19995117,1031.00000000,36.29999924,112.00000000,-1,-1,15); //FCR-900
	AddStaticVehicleEx(521,-2900.69995117,1037.59997559,36.29999924,111.99462891,-1,-1,15); //FCR-900
	AddStaticVehicleEx(521,-2828.30004883,1314.19995117,6.80000019,111.99462891,-1,-1,15); //FCR-900
	AddStaticVehicleEx(448,-2825.10009766,1301.19995117,6.80000019,0.00000000,-1,-1,15); //Pizzaboy
	AddStaticVehicleEx(525,-2024.40002441,135.30000305,28.79999924,0.00000000,-1,-1,15); //Tow Truck
	AddStaticVehicleEx(525,-2029.40002441,135.30000305,28.79999924,0.00000000,-1,-1,15); //Tow Truck
	AddStaticVehicleEx(525,-2035.90002441,135.10000610,28.79999924,0.00000000,-1,-1,15); //Tow Truck
	AddStaticVehicleEx(525,-2040.90002441,135.30000305,28.79999924,0.00000000,-1,-1,15); //Tow Truck
	AddStaticVehicleEx(525,-2034.19995117,170.10000610,28.79999924,270.25000000,-1,-1,15); //Tow Truck
	AddStaticVehicleEx(525,-2034.00000000,178.60000610,28.79999924,270.24719238,-1,-1,15); //Tow Truck
	AddStaticVehicleEx(525,-2023.00000000,157.00000000,28.79999924,2.49719238,-1,-1,15); //Tow Truck
	AddStaticVehicleEx(488,-2452.10009766,-603.50000000,132.60000610,0.00000000,-1,-1,15); //News Chopper
	AddStaticVehicleEx(582,-2505.30004883,-601.40002441,132.69999695,0.00000000,-1,-1,15); //Newsvan
	AddStaticVehicleEx(582,-2512.69995117,-601.40002441,132.69999695,0.00000000,-1,-1,15); //Newsvan
	AddStaticVehicleEx(582,-2523.60009766,-601.40002441,132.69999695,0.00000000,-1,-1,15); //Newsvan
	AddStaticVehicleEx(582,-2498.30004883,-601.79998779,132.69999695,0.00000000,-1,-1,15); //Newsvan
	AddStaticVehicleEx(418,-2416.60009766,-589.70001221,132.80000305,34.00000000,-1,-1,15); //Moonbeam
	AddStaticVehicleEx(418,-2413.89990234,-587.59997559,132.80000305,33.99719238,-1,-1,15); //Moonbeam
	AddStaticVehicleEx(418,-2411.10009766,-586.00000000,132.80000305,33.99719238,-1,-1,15); //Moonbeam
	AddStaticVehicleEx(418,-2408.80004883,-584.20001221,132.80000305,33.99719238,-1,-1,15); //Moonbeam
	AddStaticVehicleEx(459,-2495.00000000,-193.39999390,25.79999924,0.00000000,-1,-1,15); //Berkley's RC Van
	AddStaticVehicleEx(508,-2597.10009766,-109.40000153,4.80000019,0.00000000,-1,-1,15); //Journey
	AddStaticVehicleEx(498,-2620.80004883,-22.79999924,4.50000000,0.00000000,-1,-1,15); //Boxville
	AddStaticVehicleEx(543,-2682.60009766,-22.39999962,4.40000010,0.00000000,-1,-1,15); //Sadler
	AddStaticVehicleEx(480,-2669.80004883,-54.90000153,4.19999981,0.00000000,-1,-1,15); //Comet
	AddStaticVehicleEx(421,-2666.69995117,-35.59999847,4.30000019,0.00000000,-1,-1,15); //Washington
	AddStaticVehicleEx(461,-2672.69995117,-33.90000153,4.00000000,0.00000000,-1,-1,15); //PCJ-600
	AddStaticVehicleEx(539,-3390.19995117,40.09999847,38.50000000,0.00000000,-1,-1,15); //Vortex
	AddStaticVehicleEx(539,-3394.00000000,40.29999924,38.50000000,0.00000000,-1,-1,15); //Vortex
	AddStaticVehicleEx(539,-3399.30004883,40.59999847,38.50000000,0.00000000,-1,-1,15); //Vortex
	AddStaticVehicleEx(407,-2021.69995117,75.90000153,28.39999962,92.00000000,3,1,15); //Firetruck
	AddStaticVehicleEx(407,-2021.30004883,84.50000000,28.39999962,89.99951172,3,1,15); //Firetruck
	AddStaticVehicleEx(544,-2021.40002441,92.69999695,28.39999962,88.00000000,-1,-1,15); //Firetruck LA
	AddStaticVehicleEx(407,-2057.69995117,71.09999847,28.79999924,0.00000000,3,1,15); //Firetruck
	AddStaticVehicleEx(408,-1826.50000000,-600.09997559,17.20000076,0.00000000,-1,-1,15); //Trashmaster
	AddStaticVehicleEx(419,-2180.19995117,294.39999390,35.00000000,0.00000000,-1,-1,15); //Esperanto
	AddStaticVehicleEx(545,-2214.00000000,307.00000000,35.09999847,0.00000000,-1,-1,15); //Hustler
	AddStaticVehicleEx(517,-2197.00000000,293.89999390,35.09999847,0.00000000,-1,-1,15); //Majestic
	AddStaticVehicleEx(534,-2214.00000000,293.50000000,34.90000153,0.00000000,-1,-1,15); //Remington
	AddStaticVehicleEx(549,-2184.50000000,305.29998779,35.00000000,0.00000000,-1,-1,15); //Tampa
	AddStaticVehicleEx(580,-2267.60009766,78.00000000,35.09999847,88.00000000,-1,-1,15); //Stafford
	AddStaticVehicleEx(580,-2266.60009766,101.19999695,35.09999847,87.99499512,-1,-1,15); //Stafford
	AddStaticVehicleEx(580,-2268.09960938,70.09960938,35.09999847,87.99499512,-1,-1,15); //Stafford
	AddStaticVehicleEx(467,-2267.00000000,128.80000305,35.00000000,270.00000000,-1,-1,15); //Oceanic
	AddStaticVehicleEx(520,-2512.60009766,1546.50000000,18.20000076,0.00000000,-1,-1,15); //Hydra
	AddStaticVehicleEx(601,-1263.09997559,394.29998779,7.09999990,88.00000000,-1,-1,15); //S.W.A.T. Van
	AddStaticVehicleEx(601,-1263.00000000,386.60000610,7.09999990,87.99499512,-1,-1,15); //S.W.A.T. Van
	AddStaticVehicleEx(476,-1311.00000000,492.39999390,19.39999962,270.00000000,-1,-1,15); //Rustler
	AddStaticVehicleEx(539,-1441.59997559,507.20001221,0.50000000,88.00000000,-1,-1,15); //Vortex
	AddStaticVehicleEx(430,-1446.50000000,495.89999390,0.00000000,92.00000000,-1,-1,15); //Predator
	AddStaticVehicleEx(476,-1420.19995117,517.70001221,19.29999924,236.00000000,-1,-1,15); //Rustler
	AddStaticVehicleEx(476,-1459.69921875,503.09960938,19.29999924,270.00000000,-1,-1,15); //Rustler
	AddStaticVehicleEx(601,-1275.59997559,324.10000610,7.09999990,0.00000000,-1,-1,15); //S.W.A.T. Van
	AddStaticVehicleEx(601,-1281.90002441,324.00000000,7.09999990,0.00000000,-1,-1,15); //S.W.A.T. Van
	AddStaticVehicleEx(601,-1289.09997559,324.29998779,7.09999990,0.00000000,-1,-1,15); //S.W.A.T. Van
	AddStaticVehicleEx(601,-1297.09997559,324.70001221,7.09999990,0.00000000,-1,-1,15); //S.W.A.T. Van
	AddStaticVehicleEx(495,-1342.59997559,302.00000000,7.69999981,0.00000000,-1,-1,15); //Sandking
	AddStaticVehicleEx(495,-1348.59997559,301.79998779,7.69999981,0.00000000,-1,-1,15); //Sandking
	AddStaticVehicleEx(495,-1355.69995117,301.60000610,7.69999981,0.00000000,-1,-1,15); //Sandking
	AddStaticVehicleEx(495,-1362.30004883,301.50000000,7.69999981,0.00000000,-1,-1,15); //Sandking
	AddStaticVehicleEx(495,-1405.50000000,299.39999390,7.69999981,270.00000000,-1,-1,15); //Sandking
	AddStaticVehicleEx(495,-1405.69995117,305.39999390,7.69999981,270.00000000,-1,-1,15); //Sandking
	AddStaticVehicleEx(495,-1406.69995117,311.89999390,7.69999981,270.00000000,-1,-1,15); //Sandking
	AddStaticVehicleEx(495,-1407.40002441,318.79998779,7.69999981,270.00000000,-1,-1,15); //Sandking
	AddStaticVehicleEx(497,-1258.19995117,450.70001221,9.19999981,0.00000000,-1,-1,15); //Police Maverick
	AddStaticVehicleEx(447,-2483.30004883,522.29998779,51.20000076,0.00000000,-1,-1,15); //Seasparrow
	AddStaticVehicleEx(497,-2463.30004883,526.70001221,53.40000153,0.00000000,-1,-1,15); //Police Maverick
	AddStaticVehicleEx(432,-1345.90002441,-282.70001221,14.19999981,306.00000000,-1,-1,15); //Rhino
	AddStaticVehicleEx(432,-1350.80004883,-276.00000000,14.19999981,309.99670410,-1,-1,15); //Rhino
	AddStaticVehicleEx(432,-1356.80004883,-268.79998779,14.19999981,311.99572754,-1,-1,15); //Rhino
	AddStaticVehicleEx(432,-1364.30004883,-263.00000000,14.19999981,311.99523926,-1,-1,15); //Rhino
	AddStaticVehicleEx(425,-1111.30004883,-198.39999390,15.60000038,0.00000000,-1,-1,15); //Hunter
	AddStaticVehicleEx(520,-1259.90002441,-617.40002441,15.10000038,0.00000000,-1,-1,15); //Hydra
	AddStaticVehicleEx(520,-1278.19995117,-618.40002441,15.10000038,0.00000000,-1,-1,15); //Hydra
	AddStaticVehicleEx(520,-1296.19995117,-619.59997559,15.10000038,0.00000000,-1,-1,15); //Hydra
	AddStaticVehicleEx(520,-1225.30004883,-13.19999981,15.10000038,49.25000000,-1,-1,15); //Hydra
	AddStaticVehicleEx(425,-1187.40002441,28.39999962,15.60000038,42.00000000,-1,-1,15); //Hunter
	AddStaticVehicleEx(432,-1239.40002441,44.90000153,14.19999981,0.00000000,-1,-1,15); //Rhino
	AddStaticVehicleEx(433,-1488.00000000,-631.09997559,14.69999981,0.00000000,-1,-1,15); //Barracks
	AddStaticVehicleEx(433,-1237.00000000,-652.70001221,14.69999981,0.00000000,-1,-1,15); //Barracks
	AddStaticVehicleEx(433,-1244.90002441,-653.40002441,14.69999981,0.00000000,-1,-1,15); //Barracks
	AddStaticVehicleEx(433,-1230.00000000,-653.00000000,14.69999981,0.00000000,-1,-1,15); //Barracks
	AddStaticVehicleEx(470,-1347.09997559,-376.89999390,14.19999981,0.00000000,-1,-1,15); //Patriot
	AddStaticVehicleEx(470,-1340.80004883,-377.00000000,14.19999981,0.00000000,-1,-1,15); //Patriot
	AddStaticVehicleEx(470,-1351.50000000,-376.89999390,14.19999981,0.00000000,-1,-1,15); //Patriot
	AddStaticVehicleEx(470,-1359.50000000,-376.79998779,14.19999981,0.00000000,-1,-1,15); //Patriot
	AddStaticVehicleEx(470,-1334.50000000,-377.00000000,14.19999981,0.00000000,-1,-1,15); //Patriot
	AddStaticVehicleEx(519,-1318.30004883,-471.70001221,15.10000038,299.50000000,-1,-1,15); //Shamal
	AddStaticVehicleEx(519,-1331.19995117,-449.29998779,15.10000038,299.49829102,-1,-1,15); //Shamal
	AddStaticVehicleEx(511,-1720.50000000,-324.89999390,15.69999981,264.00000000,-1,-1,15); //Beagle
	AddStaticVehicleEx(563,-1502.90002441,-231.69999695,15.00000000,0.00000000,-1,-1,15); //Raindance
	AddStaticVehicleEx(425,-1543.30004883,-239.89999390,15.60000038,0.00000000,-1,-1,15); //Hunter
	AddStaticVehicleEx(521,-1998.50000000,-960.29998779,31.79999924,0.00000000,-1,-1,15); //FCR-900
	AddStaticVehicleEx(521,-1995.00000000,-960.40002441,31.79999924,0.00000000,-1,-1,15); //FCR-900
	AddStaticVehicleEx(445,-2051.30004883,-786.00000000,32.20000076,0.00000000,51,1,15); //Admiral
	AddStaticVehicleEx(601,-2029.80004883,-988.29998779,32.09999847,0.00000000,-1,-1,15); //S.W.A.T. Van
	AddStaticVehicleEx(601,-2037.30004883,-988.09997559,32.09999847,0.00000000,-1,-1,15); //S.W.A.T. Van
	AddStaticVehicleEx(601,-2021.80004883,-988.50000000,32.09999847,0.00000000,-1,-1,15); //S.W.A.T. Van
	CreateObject(2942,-1681.90002441,426.39999390,6.80000019,0.00000000,0.00000000,45.00000000); //object(kmb_atm1) (1)
	CreateObject(2942,-1986.80004883,620.40002441,34.79999924,0.00000000,0.00000000,0.00000000); //object(kmb_atm1) (2)
	CreateObject(2942,-2118.30004883,927.79998779,85.69999695,0.00000000,0.00000000,0.00000000); //object(kmb_atm1) (3)
	CreateObject(2942,-2238.10009766,1028.00000000,83.50000000,0.00000000,0.00000000,0.00000000); //object(kmb_atm1) (4)
	CreateObject(2942,-1577.59997559,1277.30004883,6.80000019,0.00000000,0.00000000,0.00000000); //object(kmb_atm1) (5)
	CreateObject(2941,-1657.09997559,1209.19995117,7.50000000,0.00000000,0.00000000,171.00000000); //object(temp_till) (1)
	CreateObject(2942,-1681.09997559,1213.59997559,20.79999924,0.00000000,0.25000000,37.75003052); //object(kmb_atm1) (6)
	CreateObject(2942,-2476.69995117,1551.09997559,32.90000153,0.00000000,0.00000000,0.00000000); //object(kmb_atm1) (7)
	CreateObject(2942,-1493.09997559,889.70001221,6.80000019,0.00000000,0.00000000,272.00000000); //object(kmb_atm1) (8)
	CreateObject(2942,-1571.19995117,668.29998779,6.80000019,0.00000000,0.00000000,90.00000000); //object(kmb_atm1) (9)
	CreateObject(2942,-1564.50000000,452.60000610,6.80000019,0.00000000,0.00000000,245.99998474); //object(kmb_atm1) (10)
	CreateObject(2942,-1597.50000000,42.09999847,17.00000000,0.00000000,0.00000000,134.00000000); //object(kmb_atm1) (11)
	CreateObject(2942,-2010.00000000,-389.20001221,35.00000000,0.00000000,0.00000000,180.00000000); //object(kmb_atm1) (12)
	CreateObject(2942,-2634.89990234,630.90002441,14.10000038,0.00000000,0.00000000,0.00000000); //object(kmb_atm1) (13)
	CreateObject(2942,-2620.50000000,825.40002441,49.59999847,0.00000000,0.00000000,0.00000000); //object(kmb_atm1) (14)
	CreateObject(2942,-2500.30004883,777.90002441,34.79999924,0.00000000,0.00000000,0.00000000); //object(kmb_atm1) (15)
	CreateObject(2942,-2001.09997559,1189.90002441,45.09999847,0.00000000,0.00000000,0.00000000); //object(kmb_atm1) (16)
	CreateObject(2942,-2125.19995117,823.20001221,69.19999695,0.00000000,0.00000000,0.00000000); //object(kmb_atm1) (17)
	CreateObject(17656,-2975.10009766,368.89999390,9.00000000,0.00000000,0.00000000,98.00000000); //object(lae2_roads50) (1)
	CreateObject(17656,-3056.50000000,357.39999390,22.29999924,0.00000000,0.00000000,97.99804688); //object(lae2_roads50) (2)
	CreateObject(4866,-3255.80004883,334.10000610,28.50000000,0.00000000,0.00000000,10.00000000); //object(lasrnway1_las) (1)
	CreateObject(3763,-3096.69995117,306.89999390,61.70000076,0.00000000,0.00000000,8.00000000); //object(ce_radarmast3) (1)
	CreateObject(3107,-3095.89990234,318.50000000,28.50000000,0.00000000,0.00000000,0.00000000); //object(wongs_erection2) (1)
	CreateObject(17007,-3118.39990234,407.79998779,28.50000000,0.00000000,0.00000000,0.00000000); //object(wt6supps01) (1)
	CreateObject(4570,-3380.19995117,336.60000610,76.50000000,0.00000000,0.00000000,8.00000000); //object(stolenbuilds08) (1)
	CreateObject(3031,-3372.60009766,318.79998779,129.50000000,0.00000000,0.00000000,278.00000000); //object(wong_dish) (1)
	CreateObject(1595,-3381.80004883,317.89999390,133.19999695,0.00000000,0.00000000,8.00000000); //object(satdishbig) (1)
	CreateObject(16138,-3190.19995117,373.60000610,28.50000000,0.00000000,0.00000000,0.00000000); //object(des_teleshed2_01) (1)
	CreateObject(16613,-3261.19995117,375.89999390,33.29999924,0.00000000,0.00000000,211.99996948); //object(des_bigtelescope) (1)
	CreateObject(3471,-2756.69995117,395.20001221,4.59999990,0.00000000,0.00000000,0.00000000); //object(vgschinalion1) (1)
	CreateObject(9833,-2713.39990234,425.20001221,6.50000000,0.00000000,0.00000000,0.00000000); //object(fountain_sfw) (1)
	CreateObject(9833,-2699.89990234,424.29998779,6.50000000,0.00000000,0.00000000,0.00000000); //object(fountain_sfw) (2)
	CreateObject(9833,-2713.39990234,324.89999390,6.59999990,0.00000000,0.00000000,0.00000000); //object(fountain_sfw) (3)
	CreateObject(9833,-2654.09960938,344.19921875,6.59999990,0.00000000,0.00000000,0.00000000); //object(fountain_sfw) (4)
	CreateObject(9833,-2656.39941406,329.09960938,6.59999990,0.00000000,0.00000000,0.00000000); //object(fountain_sfw) (5)
	CreateObject(9833,-2699.39941406,324.59960938,6.59999990,0.00000000,0.00000000,0.00000000); //object(fountain_sfw) (6)
	CreateObject(3864,-1739.30004883,1379.00000000,12.10000038,0.00000000,0.00000000,0.00000000); //object(ws_floodlight) (1)
	CreateObject(2645,-1716.80004883,1354.09997559,8.39999962,0.00000000,0.00000000,314.00000000); //object(cj_pizza_poster) (1)
	CreateObject(2764,-1710.90002441,1375.00000000,6.59999990,0.00000000,0.00000000,326.25000000); //object(cj_pizza_table03) (1)
	CreateObject(2639,-1710.09997559,1374.40002441,6.80000019,0.00000000,0.00000000,56.00000000); //object(cj_pizza_chair3) (1)
	CreateObject(2639,-1711.69995117,1375.50000000,6.80000019,0.00000000,0.00000000,233.99731445); //object(cj_pizza_chair3) (2)
	CreateObject(2289,417.29998779,2543.00000000,11.10000038,0.00000000,0.00000000,0.00000000); //object(frame_2) (1)
	CreateObject(2942,-2808.30004883,-1532.40002441,138.89999390,0.00000000,0.00000000,0.00000000); //object(kmb_atm1) (18)
	CreateObject(10357,-3149.60009766,387.79998779,117.69999695,0.00000000,0.00000000,0.00000000); //object(transmitter_sfs) (1)
	CreateObject(2942,-3188.89990234,346.29998779,29.10000038,0.00000000,0.00000000,314.00000000); //object(kmb_atm1) (19)
	CreateObject(2942,-1596.40002441,703.59997559,-5.30000019,0.00000000,0.00000000,0.00000000); //object(kmb_atm1) (20)
	CreateObject(3107,-2688.50000000,22.50000000,3.29999995,0.00000000,0.00000000,0.00000000); //object(wongs_erection2) (2)
	CreateObject(10491,-3452.80004883,-185.39999390,11.10000038,356.00000000,0.00000000,0.00000000); //object(sfshill11_sfs) (1)
	CreateObject(10491,-3336.00000000,-35.79999924,46.90000153,342.10195923,6.30633545,105.94519043); //object(sfshill11_sfs) (2)
	CreateObject(3940,-3495.50000000,-170.69999695,12.89999962,0.00000000,0.00000000,340.00000000); //object(comms01) (1)
	CreateObject(10357,-3459.00000000,-203.50000000,101.00000000,0.00000000,0.00000000,0.00000000); //object(transmitter_sfs) (2)
	CreateObject(16782,-3493.00000000,-176.80000305,11.89999962,0.00000000,0.00000000,342.00000000); //object(a51_radar_scan) (1)
	CreateObject(1750,-3492.39990234,-173.39999390,12.00000000,0.00000000,0.00000000,70.00000000); //object(med_tv_2) (1)
	CreateObject(3030,-3496.80004883,-176.30000305,17.39999962,0.00000000,0.00000000,0.00000000); //object(wongs_erection) (1)
	CreateObject(3107,-3494.69995117,-170.69999695,17.39999962,0.00000000,0.00000000,0.00000000); //object(wongs_erection2) (3)
	CreateObject(3271,-3538.80004883,-265.79998779,2.20000005,0.00000000,0.00000000,0.00000000); //object(bonyrd_block3_) (1)
	CreateObject(12912,-3370.80004883,43.59999847,48.90000153,0.00000000,0.00000000,0.00000000); //object(sw_silo04) (1)
	CreateObject(2942,-2188.69995117,286.10000610,35.00000000,0.00000000,0.00000000,179.99450684); //object(kmb_atm1) (21)
	CreateObject(3797,-1905.80004883,287.39999390,43.50000000,0.00000000,0.00000000,0.00000000); //object(missile_11_sfxr) (1)
	CreateObject(3997,-1329.90002441,374.20001221,6.19999981,0.00000000,0.00000000,0.00000000); //object(cityhallblok_lan) (1)
	CreateObject(987,-1261.50000000,314.60000610,6.19999981,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (1)
	CreateObject(987,-1273.30004883,314.70001221,6.19999981,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (2)
	CreateObject(987,-1285.09997559,314.70001221,6.19999981,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (3)
	CreateObject(987,-1296.90002441,314.79998779,6.19999981,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (4)
	CreateObject(987,-1308.80004883,314.79998779,6.19999981,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (5)
	CreateObject(987,-1320.50000000,314.79998779,6.19999981,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (6)
	CreateObject(987,-1332.50000000,314.70001221,6.19999981,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (7)
	CreateObject(987,-1332.69995117,303.00000000,6.19999981,0.00000000,0.00000000,90.00000000); //object(elecfence_bar) (8)
	CreateObject(987,-1339.80004883,293.29998779,6.19999981,0.00000000,0.00000000,54.00000000); //object(elecfence_bar) (9)
	CreateObject(987,-1351.50000000,292.39999390,6.19999981,0.00000000,0.00000000,5.99780273); //object(elecfence_bar) (10)
	CreateObject(987,-1363.59997559,292.50000000,6.19999981,0.00000000,0.00000000,359.99304199); //object(elecfence_bar) (11)
	CreateObject(987,-1375.59997559,292.70001221,6.19999981,0.00000000,0.00000000,359.98901367); //object(elecfence_bar) (12)
	CreateObject(987,-1387.59997559,292.79998779,6.19999981,0.00000000,0.00000000,359.98901367); //object(elecfence_bar) (13)
	CreateObject(987,-1399.80004883,293.00000000,6.19999981,0.00000000,0.00000000,359.98901367); //object(elecfence_bar) (14)
	CreateObject(987,-1411.80004883,293.10000610,6.19999981,0.00000000,0.00000000,359.98901367); //object(elecfence_bar) (15)
	CreateObject(987,-1412.90002441,305.10000610,6.19999981,0.00000000,0.00000000,275.98901367); //object(elecfence_bar) (16)
	CreateObject(987,-1413.90002441,317.10000610,6.19999981,0.00000000,0.00000000,275.98754883); //object(elecfence_bar) (17)
	CreateObject(987,-1415.00000000,328.89999390,6.19999981,0.00000000,0.00000000,275.98754883); //object(elecfence_bar) (18)
	CreateObject(3399,-1420.30004883,309.79998779,8.80000019,0.00000000,0.00000000,0.00000000); //object(cxrf_a51_stairs) (1)
	CreateObject(987,-1249.80004883,314.29998779,6.19999981,0.00000000,0.00000000,91.25000000); //object(elecfence_bar) (19)
	CreateObject(987,-1249.90002441,326.29998779,6.19999981,0.00000000,0.00000000,91.24694824); //object(elecfence_bar) (20)
	CreateObject(987,-1249.80004883,338.10000610,6.19999981,0.00000000,0.00000000,91.24694824); //object(elecfence_bar) (21)
	CreateObject(987,-1250.00000000,350.10000610,6.19999981,0.00000000,0.00000000,91.24694824); //object(elecfence_bar) (22)
	CreateObject(987,-1249.69995117,361.70001221,6.19999981,0.00000000,0.00000000,91.24694824); //object(elecfence_bar) (23)
	CreateObject(987,-1249.59997559,373.20001221,6.19999981,0.00000000,0.00000000,91.24694824); //object(elecfence_bar) (24)
	CreateObject(987,-1249.59997559,384.60000610,6.19999981,0.00000000,0.00000000,91.24694824); //object(elecfence_bar) (25)
	CreateObject(987,-1249.40002441,396.29998779,6.19999981,0.00000000,0.00000000,91.24694824); //object(elecfence_bar) (26)
	CreateObject(987,-1249.59997559,407.89999390,6.19999981,0.00000000,0.00000000,91.24694824); //object(elecfence_bar) (27)
	CreateObject(987,-1249.30004883,419.50000000,6.19999981,0.00000000,0.00000000,91.24694824); //object(elecfence_bar) (28)
	CreateObject(3934,-1391.80004883,394.00000000,29.10000038,0.00000000,0.00000000,0.00000000); //object(helipad01) (1)
	CreateObject(3268,-1260.30004883,389.29998779,6.19999981,0.00000000,0.00000000,0.00000000); //object(mil_hangar1_) (1)
	CreateObject(3114,-1414.40002441,516.50000000,16.60000038,0.00000000,0.00000000,0.00000000); //object(carrier_lift2_sfse) (1)
	CreateObject(3115,-1456.80004883,501.20001221,16.79999924,0.00000000,0.00000000,0.00000000); //object(carrier_lift1_sfse) (1)
	CreateObject(3763,-1496.40002441,-405.00000000,39.20000076,0.00000000,0.00000000,0.00000000); //object(ce_radarmast3) (2)
	CreateObject(3107,-1251.00000000,21.00000000,31.89999962,0.00000000,0.00000000,0.00000000); //object(wongs_erection2) (4)
	CreateObject(11012,-1386.00000000,-80.69999695,19.70000076,0.00000000,0.00000000,0.00000000); //object(crackfact_sfs) (1)
	CreateObject(10841,-2118.19995117,-1011.29998779,39.50000000,0.00000000,0.00000000,0.00000000); //object(drydock1_sfse01) (1)
	CreateObject(10841,-2140.89990234,-1011.29998779,39.50000000,0.00000000,0.00000000,0.00000000); //object(drydock1_sfse01) (2)
	CreateObject(10841,-2160.69995117,-1004.50000000,40.00000000,0.00000000,1.25000000,326.00000000); //object(drydock1_sfse01) (3)
	CreateObject(10841,-2166.80004883,-993.50000000,40.00000000,0.00000000,1.24694824,271.99731445); //object(drydock1_sfse01) (4)
	CreateObject(10841,-2167.50000000,-971.79998779,39.50000000,0.00000000,1.24145508,263.99398804); //object(drydock1_sfse01) (5)
	CreateObject(10841,-2166.19995117,-949.59997559,39.50000000,0.00000000,1.24145508,269.99047852); //object(drydock1_sfse01) (6)
	CreateObject(10841,-2166.19995117,-927.20001221,40.29999924,0.00000000,1.24145508,269.98901367); //object(drydock1_sfse01) (7)
	CreateObject(10841,-2166.19995117,-904.59997559,42.59999847,0.00000000,1.24145508,269.98901367); //object(drydock1_sfse01) (8)
	CreateObject(10841,-2166.19995117,-881.90002441,45.29999924,0.00000000,1.24145508,269.98901367); //object(drydock1_sfse01) (9)
	CreateObject(10841,-2166.39990234,-859.79998779,48.29999924,0.00000000,1.24145508,269.98901367); //object(drydock1_sfse01) (10)
	CreateObject(10841,-2166.50000000,-837.09997559,48.29999924,0.00000000,1.24145508,269.98901367); //object(drydock1_sfse01) (11)
	CreateObject(10841,-2166.39990234,-814.70001221,48.29999924,0.00000000,1.24145508,269.98901367); //object(drydock1_sfse01) (12)
	CreateObject(10841,-2166.39990234,-791.79998779,48.29999924,0.00000000,1.24145508,269.98901367); //object(drydock1_sfse01) (13)
	CreateObject(10841,-2166.19995117,-770.09997559,46.59999847,0.00000000,1.24145508,269.98901367); //object(drydock1_sfse01) (14)
	CreateObject(10841,-2166.80004883,-747.90002441,42.29999924,0.00000000,1.24145508,269.98901367); //object(drydock1_sfse01) (15)
	CreateObject(10841,-2169.30004883,-726.90002441,40.79999924,0.00000000,1.24145508,269.98901367); //object(drydock1_sfse01) (16)
	CreateObject(10841,-2159.89990234,-712.09997559,38.29999924,0.00000000,1.24145508,197.98901367); //object(drydock1_sfse01) (17)
	CreateObject(10841,-2138.69995117,-707.79998779,38.09999847,0.00000000,1.24145508,183.98461914); //object(drydock1_sfse01) (18)
	CreateObject(10841,-2117.10009766,-708.40002441,39.29999924,0.00000000,1.24145508,171.98254395); //object(drydock1_sfse01) (19)
	CreateObject(10841,-2096.80004883,-708.70001221,39.29999924,0.00000000,1.24145508,183.97998047); //object(drydock1_sfse01) (20)
	CreateObject(10841,-2074.50000000,-708.90002441,39.29999924,0.00000000,1.24145508,175.97705078); //object(drydock1_sfse01) (21)
	CreateObject(10841,-2051.30004883,-708.79998779,39.29999924,0.00000000,1.24145508,175.97351074); //object(drydock1_sfse01) (22)
	CreateObject(10841,-2030.19995117,-709.90002441,39.29999924,0.00000000,1.24145508,175.97351074); //object(drydock1_sfse01) (23)
	CreateObject(10841,-2003.59997559,-709.50000000,39.09999847,0.00000000,1.24145508,175.97351074); //object(drydock1_sfse01) (24)
	CreateObject(10841,-2008.79980469,-710.59960938,39.29999924,0.00000000,1.24145508,175.97351074); //object(drydock1_sfse01) (25)
	CreateObject(10841,-1971.59997559,-709.29998779,39.09999847,0.00000000,1.24145508,175.97351074); //object(drydock1_sfse01) (26)
	CreateObject(10841,-1948.80004883,-710.29998779,39.09999847,0.00000000,1.24145508,175.97351074); //object(drydock1_sfse01) (27)
	CreateObject(10841,-1928.40002441,-712.70001221,39.09999847,0.00000000,1.24145508,159.97351074); //object(drydock1_sfse01) (28)
	CreateObject(10841,-1918.90002441,-728.00000000,39.09999847,0.00000000,1.24145508,91.97192383); //object(drydock1_sfse01) (29)
	CreateObject(10841,-1917.59997559,-749.79998779,39.09999847,0.00000000,1.24145508,91.96655273); //object(drydock1_sfse01) (30)
	CreateObject(10841,-1916.80004883,-771.90002441,39.09999847,0.00000000,1.24145508,91.96655273); //object(drydock1_sfse01) (31)
	CreateObject(10841,-1916.69995117,-794.40002441,39.09999847,0.00000000,1.24145508,87.96655273); //object(drydock1_sfse01) (32)
	CreateObject(10841,-1916.50000000,-816.20001221,39.09999847,0.00000000,1.24145508,91.96203613); //object(drydock1_sfse01) (33)
	CreateObject(10841,-1916.80004883,-838.29998779,39.09999847,0.00000000,1.24145508,85.96105957); //object(drydock1_sfse01) (34)
	CreateObject(10841,-1917.69995117,-860.09997559,39.09999847,0.00000000,1.24145508,85.95703125); //object(drydock1_sfse01) (35)
	CreateObject(10841,-1917.69995117,-882.20001221,39.09999847,0.00000000,1.24145508,91.95703125); //object(drydock1_sfse01) (36)
	CreateObject(10841,-1917.59997559,-904.40002441,39.09999847,0.00000000,1.24145508,87.95556641); //object(drydock1_sfse01) (37)
	CreateObject(10841,-1917.80004883,-926.90002441,39.09999847,0.00000000,1.24145508,87.95104980); //object(drydock1_sfse01) (38)
	CreateObject(10841,-1918.19995117,-949.50000000,39.09999847,0.00000000,1.24145508,87.95104980); //object(drydock1_sfse01) (39)
	CreateObject(10841,-1918.40002441,-972.29998779,39.09999847,0.00000000,1.24145508,87.95104980); //object(drydock1_sfse01) (40)
	CreateObject(10841,-1919.40002441,-993.70001221,39.09999847,0.00000000,1.24145508,77.95104980); //object(drydock1_sfse01) (41)
	CreateObject(10841,-1930.40002441,-1009.90002441,39.09999847,0.00000000,1.24145508,21.94799805); //object(drydock1_sfse01) (42)
	CreateObject(10841,-1951.69995117,-1012.90002441,39.09999847,0.00000000,1.24145508,351.94519043); //object(drydock1_sfse01) (43)
	CreateObject(10841,-1974.00000000,-1012.40002441,39.09999847,0.00000000,1.24145508,3.94152832); //object(drydock1_sfse01) (44)
	CreateObject(10841,-1996.50000000,-1013.59997559,39.09999847,0.00000000,1.24145508,357.93859863); //object(drydock1_sfse01) (45)
	CreateObject(10841,-2018.80004883,-1012.79998779,39.09999847,0.00000000,1.24145508,355.93457031); //object(drydock1_sfse01) (46)
	CreateObject(10841,-2040.50000000,-1011.79998779,39.09999847,0.00000000,1.24145508,355.92956543); //object(drydock1_sfse01) (47)
	CreateObject(10841,-2062.80004883,-1010.79998779,39.09999847,0.00000000,1.24145508,355.92956543); //object(drydock1_sfse01) (48)
	CreateObject(10841,-2084.69995117,-1010.29998779,39.09999847,0.00000000,1.24145508,355.92956543); //object(drydock1_sfse01) (49)
	CreateObject(10841,-2100.19995117,-1011.09997559,39.09999847,0.00000000,1.24145508,359.92956543); //object(drydock1_sfse01) (50)

	//Bayside House
	CreateObject(9509, -2060.7724609375, 2484.544921875, 50.397941589355, 0, 0, 326.25);
	CreateObject(14420, -2066.364502, 2459.732422, 43.382828, 0.0000, 0.0000, 326.2500);
	CreateObject(9339, -2083.650635, 2465.809082, 39.971554, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2082.888184, 2466.944092, 39.971844, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2082.132813, 2468.068604, 39.971828, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2081.370605, 2469.226074, 39.971798, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2080.605469, 2470.331543, 39.971813, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2079.858887, 2471.481445, 39.971859, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2079.074951, 2472.602295, 39.971813, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2078.309570, 2473.743652, 39.971813, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2077.571533, 2474.903320, 39.971935, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2076.867188, 2476.121582, 39.971813, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2076.106201, 2477.194092, 39.971951, 0.0000, 89.9862, 56.2497);
	CreateObject(11496, -2074.185303, 2473.015625, 35.142563, 0.0000, 0.0000, 56.2501);
	CreateObject(9339, -2082.607666, 2483.179688, 39.971935, 0.0000, 89.9862, 236.2498);
	CreateObject(5340, -2083.632324, 2479.181885, 41.667080, 0.0000, 0.0000, 236.2501);
	CreateObject(10246, -2075.466797, 2479.116699, 41.854042, 0.0000, 0.0000, 236.2501);
	CreateObject(10246, -2087.015869, 2471.603760, 41.854069, 0.0000, 0.0000, 236.2501);
	CreateObject(10246, -2082.126221, 2468.327881, 41.854137, 0.0002, 0.0000, 236.2501);
	CreateObject(9339, -2085.524170, 2486.253906, 40.515224, 0.0000, 0.0000, 326.2500);
	CreateObject(9339, -2085.529541, 2486.252441, 41.919167, 0.0000, 0.0000, 326.2500);
	CreateObject(9339, -2085.520752, 2486.251953, 43.323109, 0.0000, 0.0000, 326.2500);
	CreateObject(9339, -2087.551270, 2483.258789, 43.902000, 0.0000, 179.6226, 146.2500);
	CreateObject(9339, -2083.9868164063, 2465.2954101563, 44.206020355225, 0, 179.62097167969, 236.24450683594);
	CreateObject(9339, -2087.501709, 2483.276367, 45.212921, 0.0000, 0.0000, 326.2500);
	CreateObject(9339, -2083.997070, 2465.321289, 45.204391, 0.0000, 0.0000, 56.2500);
	CreateObject(9339, -2063.608154, 2472.600098, 40.815292, 0.0000, 0.0000, 146.2500);
	CreateObject(9339, -2063.6171875, 2472.5451660156, 42.194389343262, 0, 0, 146.24450683594);
	CreateObject(9339, -2063.605713, 2472.587646, 43.394970, 0.0000, 0.0000, 146.2500);
	CreateObject(9339, -2066.053467, 2468.881348, 43.898857, 0.0000, 179.6226, 326.2500);
	CreateObject(9339, -2066.047607, 2468.875000, 45.196896, 0.0000, 0.0000, 146.2500);
	CreateObject(1408, -2071.282959, 2468.052246, 35.762920, 0.0000, 179.6223, 146.2500);
	CreateObject(1408, -2075.705078, 2471.005127, 35.787922, 0.0000, 179.6223, 146.2500);
	CreateObject(1408, -2080.009277, 2473.877686, 35.787922, 0.0000, 180.4818, 146.2500);
	CreateObject(1408, -2080.703857, 2477.680420, 35.787922, 0.0000, 179.6223, 56.2500);
	CreateObject(1408, -2067.492920, 2468.811035, 35.712917, 0.0000, 179.6223, 236.2501);
	CreateObject(9339, -2070.464600, 2476.534180, 39.965492, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2069.758789, 2477.739746, 39.959023, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2069.917725, 2479.402100, 39.952656, 0.0000, 89.9862, 236.2498);
	CreateObject(10246, -2068.600586, 2474.471680, 41.841331, 0.0000, 0.0000, 236.2501);
	CreateObject(10246, -2069.060791, 2464.586670, 41.823532, 0.0000, 0.0000, 146.2500);
	CreateObject(10246, -2065.300781, 2470.234863, 41.829037, 0.0000, 0.0000, 146.2500);
	CreateObject(1491, -2077.558594, 2469.243408, 40.104366, 0.0000, 0.0000, 236.2501);
	CreateObject(1491, -2079.219971, 2466.707764, 40.104378, 0.0000, 0.0000, 56.2500);
	CreateObject(10246, -2077.270996, 2478.853760, 41.854259, 0.0000, 0.0000, 326.2500);
	CreateObject(10246, -2077.805176, 2475.301514, 41.853935, 0.0000, 0.0000, 56.2500);
	CreateObject(5340, -2085.164795, 2480.197510, 41.641884, 0.0000, 0.0000, 236.2501);
	CreateObject(9339, -2083.682617, 2465.801514, 43.665466, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2082.995605, 2466.816406, 43.665470, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2082.384521, 2467.703857, 43.665428, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2081.564453, 2468.842529, 44.733997, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2080.828857, 2470.004395, 44.740807, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2082.076904, 2468.164063, 44.209076, 0.0000, 0.0000, 56.2500);
	CreateObject(9339, -2080.036865, 2471.165283, 44.740807, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2079.281006, 2472.313232, 44.734196, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2078.532715, 2473.448975, 44.727734, 0.0000, 89.9862, 236.2498);
	CreateObject(2600, -2081.368164, 2475.482910, 36.164837, 0.0000, 0.0000, 292.5000);
	CreateObject(9339, -2077.76953125, 2474.5419921875, 44.721206665039, 0, 89.983520507813, 236.24450683594);
	CreateObject(9339, -2077.191406, 2475.458740, 44.714699, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2076.449951, 2476.649902, 44.708214, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2075.834961, 2477.892578, 44.701588, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2075.108643, 2479.094727, 44.695011, 0.0000, 89.9862, 236.2498);
	CreateObject(9339, -2075.130127, 2478.921143, 44.134079, 0.0000, 0.0000, 56.2500);
	CreateObject(9339, -2071.854492, 2487.109375, 44.089359, 0.0000, 0.0000, 146.2500);
	CreateObject(10246, -2077.783447, 2475.278076, 42.946430, 0.0000, 0.0000, 236.2501);
	CreateObject(17574, -2068.947510, 2477.628174, 44.828259, 0.0000, 0.0000, 56.2500);
	CreateObject(9339, -2069.182129, 2472.388428, 46.217121, 0.0000, 0.0000, 146.2500);
	CreateObject(9339, -2053.889648, 2476.645020, 46.226006, 0.0000, 0.0000, 92.5783);
	CreateObject(3850, -2093.345459, 2471.532227, 48.165436, 0.0000, 0.0000, 56.2500);
	CreateObject(3850, -2090.492188, 2469.625488, 48.165436, 0.0000, 0.0000, 56.2500);
	CreateObject(3850, -2087.630859, 2467.710938, 48.165436, 0.0000, 0.0000, 56.2500);
	CreateObject(3850, -2084.777588, 2465.803955, 48.160343, 0.0000, 0.0000, 56.2500);
	CreateObject(3850, -2081.927490, 2463.916992, 48.144848, 0.0000, 0.0000, 56.2500);
	CreateObject(3850, -2093.809814, 2473.912842, 48.149822, 0.0000, 0.0000, 326.2500);
	CreateObject(3850, -2091.888428, 2476.792236, 48.149822, 0.0000, 0.0000, 326.2500);
	CreateObject(3331, -2076.952881, 2498.587891, 13.199114, 305.8555, 0.0000, 326.2500);
	CreateObject(3331, -2069.611816, 2493.696777, 13.218176, 305.8555, 0.0000, 326.2500);
	CreateObject(9339, -2083.932129, 2465.373291, 39.223545, 0.0000, 335.0763, 56.2500);
	CreateObject(9339, -2083.789307, 2465.591064, 38.649567, 0.0000, 335.0763, 56.2500);
	CreateObject(12958, -2069.868896, 2468.980225, 36.440590, 0.0000, 0.0000, 236.2501);
	CreateObject(3570, -2063.915039, 2473.895020, 41.458572, 0.0000, 0.0000, 56.2500);
	CreateObject(914, -2066.703125, 2472.009521, 41.679546, 0.0000, 0.0000, 56.2500);
	CreateObject(927, -2066.204102, 2470.527588, 41.548382, 0.0000, 0.0000, 326.2500);
	CreateObject(995, -2071.312988, 2474.879639, 40.971630, 90.2408, 0.0000, 326.2500);
	CreateObject(9339, -2072.134766, 2477.455322, 43.326450, 0.0000, 179.6226, 146.2500);
	CreateObject(9339, -2072.960693, 2476.226318, 44.430080, 0.0000, 0.0000, 326.2500);
	CreateObject(10246, -2075.728271, 2472.160889, 41.854038, 0.0000, 0.0000, 326.2500);
	CreateObject(13187, -2070.490723, 2479.886475, 41.407608, 0.0000, 0.0000, 319.3745);
	CreateObject(13187, -2070.008057, 2478.467529, 41.401234, 0.0000, 0.0000, 236.2500);
	CreateObject(13187, -2067.660645, 2476.266846, 41.407642, 0.0000, 0.0000, 202.5000);
	CreateObject(13187, -2066.079834, 2476.906738, 41.407688, 0.0000, 0.0000, 146.2500);
	CreateObject(3851, -2090.185303, 2469.325195, 42.092228, 0.0000, 0.0000, 56.2500);
	CreateObject(3851, -2077.8955078125, 2461.115234375, 42.116443634033, 0, 0, 56.244506835938);
	CreateObject(3851, -2070.051270, 2462.692139, 42.116425, 0.0000, 0.0000, 146.2501);
	CreateObject(3851, -2091.739502, 2477.173584, 42.116333, 0.0000, 0.0000, 146.2501);
	CreateObject(5856, -2083.954834, 2465.272217, 41.725628, 0.0000, 0.0000, 56.2500);
	CreateObject(13187, -2068.572021, 2474.552734, 41.407719, 0.0000, 0.0000, 56.2500);
	CreateObject(16500, -2068.165771, 2477.331299, 42.784939, 0.0000, 90.2408, 146.2501);
	CreateObject(16500, -2070.587646, 2478.937012, 42.769798, 0.0000, 90.2408, 146.2501);
	CreateObject(9339, -2075.222412, 2478.958496, 43.334930, 0.0000, 179.6226, 236.2500);
	CreateObject(1491, -2072.664551, 2477.240234, 40.104404, 0.0000, 0.0000, 326.2500);
	CreateObject(17574, -2075.351563, 2494.612549, 46.937717, 0.0000, 0.0000, 247.5001);
	CreateObject(9339, -2083.908447, 2492.166992, 47.241825, 0.0000, 0.0000, 334.9217);
	CreateObject(9339, -2083.871338, 2493.262451, 48.631596, 0.0000, 0.0000, 337.5000);
	CreateObject(9339, -2084.259766, 2491.016846, 46.294941, 0.0000, 179.6226, 154.0622);
	CreateObject(16500, -2068.142578, 2477.330078, 40.022869, 0.0000, 269.8631, 146.2501);
	CreateObject(16500, -2070.597412, 2478.960693, 40.028996, 0.0000, 269.8631, 146.2501);
	CreateObject(997, -2071.376953125, 2476.1943359375, 39.86644744873, 0, 269.75830078125, 56.244506835938);
	CreateObject(10246, -2075.751465, 2472.130371, 41.831039, 0.0000, 0.0000, 146.2501);
	CreateObject(14720, -2074.159912, 2459.248535, 40.111809, 0.0000, 0.0000, 56.2501);
	CreateObject(2528, -2068.214355, 2476.466309, 40.125153, 0.0000, 0.0000, 292.5000);
	CreateObject(2836, -2070.782227, 2476.954834, 40.130478, 0.0000, 0.0000, 326.2500);
	CreateObject(2630, -2076.155029, 2462.643799, 40.110950, 0.0000, 0.0000, 326.2500);
	CreateObject(2522, -2069.170410, 2475.573486, 40.126247, 0.0000, 0.0000, 326.2500);
	CreateObject(2523, -2069.673584, 2477.589355, 40.129509, 0.0000, 0.0000, 326.2500);
	CreateObject(2834, -2076.020508, 2461.962646, 40.115845, 0.0000, 0.0000, 56.2500);
	CreateObject(936, -2070.342529, 2476.280518, 40.578876, 0.0000, 0.0000, 146.2500);
	CreateObject(949, -2071.151855, 2478.857422, 40.769531, 0.0000, 0.0000, 0.0000);
	CreateObject(2194, -2070.752686, 2476.403076, 41.385384, 0.0000, 0.0000, 0.0000);
	CreateObject(1280, -2076.311768, 2477.916016, 35.743916, 0.0000, 0.0000, 84.8434);
	CreateObject(2207, -2084.836182, 2475.023682, 40.134716, 0.0000, 0.0000, 326.2500);
	CreateObject(1723, -2071.009277, 2473.921143, 40.114468, 0.0000, 0.0000, 326.2500);
	CreateObject(1723, -2075.886719, 2470.802246, 40.114212, 0.0000, 0.0000, 56.2500);
	CreateObject(2568, -2076.033936, 2472.789551, 40.108425, 0.0000, 0.0000, 236.2501);
	CreateObject(2204, -2090.163818, 2478.988037, 40.108509, 0.0000, 0.0000, 56.2500);
	CreateObject(2197, -2089.666016, 2477.619385, 40.108620, 0.0000, 0.0000, 56.2500);
	CreateObject(1646, -2069.302002, 2469.936523, 35.679989, 0.0000, 0.0000, 281.2500);
	CreateObject(1481, -2083.784912, 2472.136475, 48.101067, 0.0000, 0.0000, 56.2500);
	CreateObject(1659, -2087.810547, 2477.264648, 44.072395, 0.0000, 0.0000, 326.2500);
	CreateObject(1659, -2081.297119, 2472.812500, 44.078819, 0.0000, 0.0000, 326.2500);
	CreateObject(1736, -2088.355713, 2472.965820, 42.826809, 0.0000, 0.0000, 146.2500);
	CreateObject(1786, -2070.7368164063, 2464.6801757813, 41.094573974609, 0, 0, 202.49450683594);
	CreateObject(1797, -2074.477539, 2476.608643, 40.109749, 0.0000, 0.0000, 56.2500);
	CreateObject(1809, -2071.20703125, 2465.2106933594, 40.112117767334, 0, 0, 236.25);
	CreateObject(2028, -2071.2573242188, 2465.763671875, 40.199714660645, 0, 0, 337.49450683594);
	CreateObject(2149, -2073.341553, 2458.635986, 41.249172, 0.0000, 0.0000, 191.2501);
	CreateObject(2192, -2084.580322, 2475.564697, 40.861080, 0.0000, 0.0000, 258.7500);
	CreateObject(2229, -2071.375488, 2474.621826, 40.091297, 0.0000, 0.0000, 348.7500);
	CreateObject(2332, -2080.324219, 2476.416016, 40.579014, 0.0000, 0.0000, 326.2500);
	CreateObject(2828, -2083.374023, 2473.816162, 40.913097, 0.0000, 0.0000, 348.7500);
	CreateObject(1846, -2068.687500, 2478.656494, 41.644882, 90.2408, 0.0000, 326.2500);
	CreateObject(3260, -2071.999268, 2461.609375, 44.558960, 0.0000, 269.7592, 326.2500);
	CreateObject(3260, -2074.470459, 2463.261963, 44.542896, 0.0000, 269.7592, 326.2500);
	CreateObject(3260, -2076.941895, 2464.913330, 44.535988, 0.0000, 269.7592, 326.2500);
	CreateObject(3260, -2079.379395, 2466.541016, 44.527828, 0.0000, 269.7592, 327.9689);
	CreateObject(1472, -2077.717529, 2476.157471, 40.531452, 0.0000, 0.0000, 56.2500);
	CreateObject(14819, -2078.913574, 2476.090820, 42.095428, 0.0000, 0.0000, 236.2501);
	CreateObject(1656, -2076.839111, 2475.586670, 40.217194, 0.0000, 0.0000, 56.2500);
	CreateObject(1656, -2077.038086, 2475.704346, 40.434372, 0.0000, 0.0000, 56.2500);
	CreateObject(1656, -2077.221680, 2475.858643, 40.646355, 0.0000, 0.0000, 56.2500);
	CreateObject(1656, -2077.473145, 2475.994629, 40.803642, 0.0000, 0.0000, 56.2500);
	CreateObject(2163, -2077.083984375, 2476.6884765625, 40.110786437988, 0, 0, 146.24450683594);
	CreateObject(2163, -2077.7275390625, 2477.1123046875, 41.030990600586, 0, 0, 146.24450683594);
	CreateObject(644, -2068.540771, 2472.343506, 40.300304, 0.0000, 0.0000, 0.0000);
	CreateObject(2240, -2075.109375, 2474.295654, 40.714611, 0.0000, 0.0000, 0.0000);
	CreateObject(14640, -2066.436035, 2474.498535, 40.395901, 0.0000, 0.0000, 56.2499);
	CreateObject(2208, -2074.317627, 2468.569092, 40.016167, 0.0000, 0.0000, 56.2500);
	CreateObject(2207, -2072.970947, 2468.144287, 40.109661, 0.0000, 0.0000, 56.2500);
	CreateObject(2251, -2073.163330, 2469.283447, 40.979843, 0.0000, 0.0000, 0.0000);
	CreateObject(2247, -2072.981689, 2469.176514, 41.078243, 0.0000, 0.0000, 180.0000);
	CreateObject(995, -2071.314209, 2474.843018, 42.127274, 90.2408, 0.0000, 326.2500);
	CreateObject(2163, -2077.5334472656, 2477.4641113281, 40.110584259033, 0, 0, 326.09533691406);
	CreateObject(2163, -2077.3088378906, 2476.8669433594, 41.158100128174, 0, 0, 146.24450683594);
	CreateObject(894, -2065.3244628906, 2473.9565429688, 45.280876159668, 0, 0, 37.714782714844);
	CreateObject(895, -2069.0461425781, 2468.5998535156, 45.397300720215, 0, 0, 113.14440917969);
	CreateObject(892, -2067.0769042969, 2470.87890625, 45.357894897461, 0, 0, 0);
	CreateObject(889, -2070.74609375, 2465.6181640625, 45.439819335938, 0, 0, 0);
	CreateObject(885, -2072.5209960938, 2463.228515625, 45.478157043457, 0, 0, 0);
	CreateObject(1710, -2084.6025390625, 2470.6267089844, 40.11633682251, 0, 0, 146.15075683594);
	CreateObject(2258, -2088.1228027344, 2472.2436523438, 42.107643127441, 0, 0, 326.25524902344);
	CreateObject(2259, -2087.0209960938, 2470.955078125, 41.659370422363, 0, 0, 326.25524902344);
	CreateObject(2260, -2086.0764160156, 2470.3227539063, 41.793811798096, 0, 0, 326.25524902344);
	CreateObject(2266, -2087.0395507813, 2470.9345703125, 40.501522064209, 0, 0, 326.25524902344);
	CreateObject(2267, -2088.1340332031, 2472.2280273438, 40.813053131104, 0, 0, 326.25524902344);
	CreateObject(17037, -2003.2623291016, 2453.6589355469, 37.75952911377, 5.9510498046875, 0, 332.20739746094);
	CreateObject(17037, -2006.775390625, 2446.1477050781, 37.025939941406, 3.966064453125, 0, 338.16235351563);
	CreateObject(1454, -2058.1232910156, 2478.1062011719, 47.380996704102, 86.105041503906, 0, 176.66442871094);
	CreateObject(1454, -2060.6105957031, 2477.7429199219, 47.25513458252, 107.93640136719, 0, 330.22485351563);
	CreateObject(1454, -2055.7587890625, 2476.8754882813, 47.367130279541, 96.026428222656, 0, 5.95458984375);
	CreateObject(1454, -2054.0864257813, 2475.1801757813, 47.302726745605, 96.026428222656, 0, 5.95458984375);
	CreateObject(1454, -2052.3713378906, 2473.15234375, 47.146976470947, 96.026428222656, 0, 5.95458984375);
	CreateObject(1454, -2050.701171875, 2471.58984375, 47.07251739502, 99.996398925781, 0, 5.95458984375);
	CreateObject(1454, -2048.771484375, 2469.8708496094, 46.953678131104, 96.026428222656, 0, 5.95458984375);
	CreateObject(1454, -2047.5114746094, 2467.9799804688, 46.431720733643, 115.8759765625, 0, 17.858947753906);
	CreateObject(1454, -2046.5192871094, 2465.5197753906, 45.524013519287, 74.187805175781, 0, 192.53771972656);
	CreateObject(1454, -2045.0341796875, 2463.4387207031, 44.836486816406, 74.185180664063, 0, 192.53540039063);
	CreateObject(1454, -2043.4919433594, 2461.388671875, 44.147735595703, 74.185180664063, 0, 192.53540039063);
	CreateObject(1454, -2041.8836669922, 2459.3559570313, 43.393672943115, 74.185180664063, 0, 192.53540039063);
	CreateObject(1454, -2040.2276611328, 2457.4208984375, 42.68811416626, 74.185180664063, 0, 192.53540039063);
	CreateObject(1454, -2038.4163818359, 2455.6145019531, 42.002899169922, 74.185180664063, 0, 192.53540039063);
	CreateObject(1454, -2036.3148193359, 2453.751953125, 41.20735168457, 74.185180664063, 0, 192.53540039063);
	CreateObject(1454, -2034.2220458984, 2451.9406738281, 40.479389190674, 103.96020507813, 0, 39.691040039063);
	CreateObject(1454, -2032.0632324219, 2450.4279785156, 40.088272094727, 103.95812988281, 0, 39.688110351563);
	CreateObject(1454, -2029.9118652344, 2449.181640625, 39.657356262207, 98.003112792969, 0, 39.688110351563);
	CreateObject(1454, -2027.6369628906, 2447.8039550781, 39.213516235352, 97.998046875, 0, 39.6826171875);
	CreateObject(1454, -2025.5991210938, 2446.5170898438, 38.860363006592, 97.998046875, 0, 39.6826171875);
	CreateObject(1454, -2023.7528076172, 2444.931640625, 38.485359191895, 97.998046875, 0, 39.6826171875);
	CreateObject(1454, -2022.1267089844, 2443.3845214844, 38.02738571167, 68.223083496094, 0, 234.9287109375);
	CreateObject(1454, -2020.4124755859, 2442.1037597656, 37.157558441162, 68.219604492188, 0, 234.92614746094);
	CreateObject(1454, -2018.4180908203, 2440.8620605469, 36.245178222656, 68.219604492188, 0, 234.92614746094);
	CreateObject(1454, -2016.4991455078, 2439.5415039063, 35.374599456787, 68.219604492188, 0, 234.92614746094);
	CreateObject(1454, -2014.5489501953, 2438.3432617188, 34.482681274414, 68.219604492188, 0, 234.92614746094);
	CreateObject(1454, -2012.4058837891, 2437.1787109375, 33.657482147217, 76.159606933594, 0, 234.92614746094);
	CreateObject(1454, -2010.0285644531, 2436.0288085938, 33.460735321045, 90.05224609375, 0, 234.92065429688);
	CreateObject(1454, -2008.1665039063, 2435.3515625, 33.215255737305, 74.91943359375, 0, 246.83056640625);
	CreateObject(1478, -2007.6062011719, 2436.2846679688, 34.517539978027, 0, 0, 81.384521484375);
	CreateObject(642, -2081.1994628906, 2468.1987304688, 48.82825088501, 0, 0, 282.58557128906);
	CreateObject(643, -2081.0126953125, 2470.90234375, 47.868412017822, 0, 0, 0);
	CreateObject(16151, -2069.7307128906, 2465.2329101563, 40.48558807373, 0, 0, 326.25524902344);
	CreateObject(889, -2084.3740234375, 2483.5300292969, 47.346969604492, 0, 0, 0);
	CreateObject(1714, -2082.5834960938, 2476.46484375, 40.116100311279, 0, 0, 324.27026367188);
	CreateObject(1659, -2072.1306152344, 2469.9099121094, 44.115451812744, 0, 0, 0);
	CreateObject(14527, -2084.3996582031, 2473.7397460938, 42.092205047607, 0, 0, 350.0299987793);



	//IRC
	gBotID[0] = IRC_Connect(IRC_SERVER, IRC_PORT, BOT_1_NICKNAME, BOT_1_REALNAME, BOT_1_USERNAME);
	gGroupID = IRC_CreateGroup();
	IRC_SetIntData(gBotID[0], E_IRC_CONNECT_DELAY, 20);

	//Base Gates
	AddAutoGate(980, -1987.4371, -708.4251, 33.8891, 0.0000, 0.0000, 359.5959, -1987.9266, -708.2164, 43.1450, "[SFCNR]CaptainPrice", 13);

	//SAM Stuff
	SAM_start();
	BaseSam1 = AddStaticSAM(-2000.8955, -730.5635, 32.1642);
	BaseSam2 = AddStaticSAM(-2131.5999, -976.3198, 32.1719);

	//Sign
	CiaSign = CreateObject(19353, -2859.79, 375.66, 5.19,   0.00, 0.00, 0.00);
	SetObjectMaterialText(CiaSign, "CIA Base Ahead", 0, OBJECT_MATERIAL_SIZE_256x128,
	"Arial", 28, 0, 0xFFFFFFFF, 0x007A00FF, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);

	//Timers
	Timer = SetTimer("CheckForCopScore", 8000, true);

	return 1;
}

public OnGameModeExit()
{
    print("\n==================================================================");
	print("=== San Fierro Cops and Robbers v1.0 by stormchaser206 unloaded! ===");
	print("====================================================================\n");

	IRC_Quit(gBotID[0], "[EXIT] IRC Announcer Bot has exited.");
	IRC_DestroyGroup(gGroupID);
	return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
	SetPlayerPos(playerid, -1576.5280, 722.0516, 37.8293);
	SetPlayerCameraPos(playerid, -1573.8307, 721.9671, 37.8293);
	SetPlayerCameraLookAt(playerid, -1576.5280, 722.0516, 37.8293);

	if(classid == 0)
	{
	    GameTextForPlayer(playerid, "~b~Police", 9000, 6);
    	SetPlayerTeam(playerid, TEAM_COP);
	    SetPlayerColor(playerid, COLOR_BLUE);
	}

	if(classid == 1)
	{
	    GameTextForPlayer(playerid, "~g~Army", 9000, 6);
 		SetPlayerTeam(playerid, TEAM_ARMY);
   		SetPlayerColor(playerid, COLOR_BLACK);
	}

	if(classid == 2)
	{
	    GameTextForPlayer(playerid, "SWAT", 9000, 6);
	    SetPlayerTeam(playerid, TEAM_SWAT);
	    SetPlayerColor(playerid, COLOR_GREY);
	}

	if(classid == 3)
	{
	    GameTextForPlayer(playerid,"~g~FBI", 9000, 6);
	    SetPlayerTeam(playerid, TEAM_FBI);
	    SetPlayerColor(playerid, COLOR_GREEN);
	}

	if(classid == 4)
	{
	    GameTextForPlayer(playerid, "CIA", 9000, 6);
     	SetPlayerTeam(playerid, TEAM_CIA);
      	SetPlayerColor(playerid, COLOR_ORANGE);
	}

	if(classid == 5)
	{
	    GameTextForPlayer(playerid, "~r~FIREMAN", 9000, 6);
		SetPlayerTeam(playerid, TEAM_FIRE);
		SetPlayerColor(playerid, COLOR_YELLOW);
	}

	if(classid == 6)
	{
	    GameTextForPlayer(playerid, "~g~TAXI", 9000, 6);
	    SetPlayerTeam(playerid, TEAM_TAXI);
	    SetPlayerColor(playerid, COLOR_AQUA);
	}

	if(classid == 7)
	{
	    GameTextForPlayer(playerid,"MEDIC", 9000, 6);
	    SetPlayerTeam(playerid, TEAM_MEDIC);
	    SetPlayerColor(playerid, COLOR_PINK);
	}
	else
	{
	    GameTextForPlayer(playerid,"CIVILIAN", 9000, 6);
	}
	return 1;
}

public OnPlayerConnect(playerid)
{
	new pName[MAX_PLAYER_NAME];
	GetPlayerName(playerid, pName, sizeof(pName));
	new IRC_String[100];
	new string[100];
	format(IRC_String, sizeof(IRC_String),"[CONNECT] %s(%d) has connected to the server!", pName, playerid);
	IRC_Say(gGroupID, IRC_CHANNEL, IRC_String);
	format(string, sizeof(string),"-| %s(%d) has connected to San Fierro Cops and Robbers v1.0! |-", pName, playerid);
	SendClientMessageToAll(COLOR_PINK, string);
	return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
	new reasonMsg[15];
	switch(reason)
	{
	    case 0: reasonMsg = "Timeout";
	    case 1: reasonMsg = "Leaving";
	    case 2: reasonMsg = "Kicked/Banned";
	}

    new pName[MAX_PLAYER_NAME];
	GetPlayerName(playerid, pName, sizeof(pName));
	new IRC_String[100];
	new string[100];
	format(IRC_String, sizeof(IRC_String),"[DISCONNECT] %s(%d) has left the server! (%s)", pName, playerid, reasonMsg);
	IRC_Say(gGroupID, IRC_CHANNEL, IRC_String);
	format(string, sizeof(string),"-| %s(%d) has left the server (%s) |-", pName, playerid, reasonMsg);
	SendClientMessageToAll(COLOR_PINK, string);
	return 1;
}

public OnPlayerSpawn(playerid)
{
	new randSpawn = 0;
	randSpawn = random(sizeof(gRandomSpawns_SanFierro));

	if(!IsPlayerLawEnforcement(playerid) || GetPlayerTeam(playerid) != TEAM_MEDIC || GetPlayerTeam(playerid) != TEAM_TAXI || GetPlayerTeam(playerid) != TEAM_FIRE)
	{
	 	SetPlayerPos(playerid,
			gRandomSpawns_SanFierro[randSpawn][0],
			 gRandomSpawns_SanFierro[randSpawn][1],
		 	gRandomSpawns_SanFierro[randSpawn][2]);
		SetPlayerFacingAngle(playerid,gRandomSpawns_SanFierro[randSpawn][3]);
	}
	SetPlayerInterior(playerid, 0);
	TogglePlayerClock(playerid, 1);

	new pName[MAX_PLAYER_NAME];
	new IRC_String[100];
	GetPlayerName(playerid, pName, sizeof(pName));
	format(IRC_String, sizeof(IRC_String),"[SPAWN] %s(%d) has spawned", pName, playerid);
	IRC_Say(gGroupID, IRC_CHANNEL, IRC_String);
	return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
	return 1;
}

public OnVehicleSpawn(vehicleid)
{
	return 1;
}

public OnVehicleDeath(vehicleid, killerid)
{
	return 1;
}

public OnPlayerText(playerid, text[])
{
	return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
	//Law Enforcement Commands//
 	dcmd(cuff,4,cmdtext);
	dcmd(strike,6,cmdtext);

	//Robber Commands//
	dcmd(rob,3,cmdtext);

	//Wars//
	dcmd(createwar,9,cmdtext);
	dcmd(joinwar,7,cmdtext);
	return 1;
}

//============== DCMD Commands ===============//
dcmd_cuff(playerid, params[])
{
	new Index;
	new tmp[256];
	tmp = strtok(params, Index);
	new id;
	id = strval(tmp);
	new cRand;
	cRand = random(100);
	new string[150];
	new pName[MAX_PLAYER_NAME];
	new pNameTwo[MAX_PLAYER_NAME];
	new IRC_String[150];
	GetPlayerName(playerid, pName, sizeof(pName));
	GetPlayerName(id, pNameTwo, sizeof(pNameTwo));

	if(id == INVALID_PLAYER_ID) return SendClientMessage(playerid, COLOR_RED, "ERROR: Invalid Player ID");
	if(PlayerInfo[id][Cuffed] == 1) return SendClientMessage(playerid, COLOR_RED, "ERROR: Player is already cuffed");
	if(PlayerInfo[id][InPrison] == 1) return SendClientMessage(playerid, COLOR_RED, "ERROR: Player is already in Prison");
	if(GetPlayerTeam(id) == TEAM_COP || GetPlayerTeam(id) == TEAM_SWAT || GetPlayerTeam(id) == TEAM_FBI || GetPlayerTeam(id) == TEAM_CIA || GetPlayerTeam(id) == TEAM_ARMY) return SendClientMessage(playerid, COLOR_RED, "ERROR: You might lose your job for cuffing other law enforcement");
	if(GetPlayerTeam(playerid) != TEAM_COP || GetPlayerTeam(playerid) != TEAM_SWAT || GetPlayerTeam(playerid) != TEAM_FBI || GetPlayerTeam(playerid) != TEAM_CIA || GetPlayerTeam(playerid) != TEAM_ARMY) return SendClientMessage(playerid, COLOR_RED, "ERROR: Only law enforcement can use this command");
	if(cRand <= CUFF_BRK_AWAY_CHANCE) return SendClientMessage(playerid, COLOR_RED, "The suspect slipped out of your grasp and got away!");
	if(GetPlayerWantedLevel(playerid) == 0) return SendClientMessage(playerid, COLOR_RED, "ERROR: Player is not wanted");
	else
	{
	    LoopingAnim(id, "ped", "cower", 3.0, 1, 0, 0, 0, 0);
	    TogglePlayerControllable(id, 0);
		format(IRC_String, sizeof(IRC_String),"[CUFF] %s(%d) has been cuffed by officer %s(%d)", pNameTwo, id, pName, playerid);
		IRC_Say(gGroupID, IRC_CHANNEL, IRC_String);
		format(string, sizeof(string),"-| You have cuffed %s(%d). You have 30 seconds before they are auto-uncuffed |-", pNameTwo, id);
		SendClientMessage(playerid, COLOR_ORANGE, string);
		format(string, sizeof(string),"-| You have been cuffed by officer %s(%d). You have 30 seconds before you are auto-uncuffed.", pName, playerid);
		SendClientMessage(id, COLOR_ORANGE, string);
		PlayerInfo[id][Cuffed] = 1;
        SetTimerEx("AutoUnCuff", 30000, 0, "i", id);
	}
	return 1;
}

dcmd_strike(playerid, params[])
{
	new Index;
	new tmp[256];
	tmp = strtok(params, Index);
	new id = strval(tmp);
	new pName[MAX_PLAYER_NAME];
	new pNameTwo[MAX_PLAYER_NAME];
	new string[100];
	new Float:X;
	new Float:Y;
	new Float:Z;
	GetPlayerPos(id, X, Y, Z);
	new cRand;
	cRand = random(100);

	if(id == INVALID_PLAYER_ID) return SendClientMessage(playerid, COLOR_RED, "ERROR: Invalid Player ID");
	if(id == playerid) return SendClientMessage(playerid, COLOR_RED, "ERROR: You cannot call a missile strike on yourself. Do you want to die?");
	if(IsPlayerLawEnforcement(id)) return SendClientMessage(playerid, COLOR_RED, "ERROR: You might lose your job for calling a missile strike on other law enforcement");
	if(GetPlayerMoney(playerid) < 1500) return SendClientMessage(playerid, COLOR_RED, "ERROR: You need at least $1500 to call in a missile strike");
	if(GetPlayerWantedLevel(id) < 15) return SendClientMessage(playerid, COLOR_RED, "ERROR: The Player needs to have at least aa 15 wanted level.");
	if(cRand <= 45) return SendClientMessage(playerid, COLOR_ORANGE, "Your missile strike failed to hit");
	if(PlayerInfo[playerid][WaitingToStrike] == 1) return SendClientMessage(playerid, COLOR_RED, "ERROR: You need to wait before you can use the strike again");
	else
	{
	    GetPlayerName(playerid, pName, sizeof(pName));
		GetPlayerName(id, pNameTwo, sizeof(pNameTwo));
		Missile1 = CreateObject(3790, X, Y, Z+20, 0.0, 238.0, 0.0);
		format(string, sizeof(string),"[POLICE RADIO] Army officer %s(%d) has called an airstrike on %s(%d)", pName, playerid, pNameTwo, id);
		SendRadioMsg(string);
		MoveObject(Missile1, X, Y, Z, 15);
		CreateExplosion(X, Y, Z, 7, 15);
		format(string, sizeof(string), "Military officer %s(%d) has called an airstrike on your current position!", pName, playerid);
		SendClientMessage(id, COLOR_RED, string);
		GivePlayerMoney(playerid, -1500);
		SetTimerEx("CanUseStrike",600000, 0, "i", playerid);
		PlayerInfo[playerid][CanUseMStrike] = 0;
		PlayerInfo[playerid][WaitingToStrike] = 1;
	}
	return 1;
}

dcmd_rob(playerid, params[])
{
	new Index;
	new tmp[256];
	tmp = strtok(params, Index);
	new id;
	id = strval(tmp);
	new mRand;
	new cRand = random(100);
	new string[150];
	new pName[MAX_PLAYER_NAME];
	GetPlayerName(playerid, pName, sizeof(pName));
	new pNameTwo[MAX_PLAYER_NAME];
	GetPlayerName(id, pNameTwo, sizeof(pNameTwo));

	if(GetPlayerTeam(playerid) != TEAM_ROB) return SendClientMessage(playerid, COLOR_RED, "ERROR: You must be a robber to use this command");
	if(id == INVALID_PLAYER_ID) return SendClientMessage(playerid, COLOR_RED, "ERROR: Invalid ID");
	if(GetPlayerMoney(playerid) < 1) return SendClientMessage(playerid, COLOR_RED, "How would you rob someone with no cash? That would go to waste...");
	if(id == playerid) return SendClientMessage(playerid, COLOR_RED, "You cannot rob yourself. How is that possible?");
	if(cRand <= 30) return SendClientMessage(playerid, COLOR_RED, "Rob attempt failed! Player slipped out of your grasp!");
	else
	{
		mRand = random(GetPlayerMoney(id));
		GivePlayerMoney(playerid, mRand);
		GivePlayerMoney(id, -mRand);
		format(string, sizeof(string),"-| You lost a total of $%d from %s(%d) robbing you! |-", mRand, pName, playerid);
		SendClientMessage(id, COLOR_RED, string);
		format(string, sizeof(string),"[POLICE RADIO] %s(%d) has been robbed by %s(%d)");
		SendRadioMsg(string);
		format(string, sizeof(string),"-| You have robbed $%d from %s(%d)! Make sure they don't come after you! |-", mRand, pNameTwo, id);
		SendClientMessage(playerid, COLOR_GREEN, string);
		IncreasePlayerWantedLevel(playerid, 4);
	}
	return 1;
}

dcmd_createwar(playerid, params[])
{
	new Index;
	new tmp[256];
	tmp = strtok(params, Index);
	new tmp2[256];
	tmp2 = strtok(params, Index);
	new city = strval(tmp);
	new warname[20] = WarOneInfo[War1Name];
	new nCity[25];
	new string[150];

	if(PlayerInfo[playerid][Admin] >= 9)
	{
	    if(WarOneInfo[War1GoingOn] == 1) return SendClientMessage(playerid, COLOR_RED, "ERROR: There is already a war going on. Type /joinwar to join it.");

		if(city < 0 || city > 3)
		{
			SendClientMessage(playerid, COLOR_RED, "ERROR: Invalid city selected!");
			SendClientMessage(playerid, COLOR_RED, "-| City IDs |-");
			SendClientMessage(playerid, COLOR_RED, "0 - Los Santos || 1 - Countryside");
			SendClientMessage(playerid, COLOR_RED, "2 - Las Venturas || 3 - Desert");
			return 0;
		}


		if(!strlen(params))
		{
			SendClientMessage(playerid, COLOR_RED, "Usage: /createwar (City ID) (War Name)");
			SendClientMessage(playerid, COLOR_RED, "-| City IDs |-");
			SendClientMessage(playerid, COLOR_RED, "0 - Los Santos || 1 - Countryside");
			SendClientMessage(playerid, COLOR_RED, "2 - Las Venturas || 3 - Desert");
			return 0;
		}

		if(city == 0) warname = "Los Santos";
		if(city == 1) warname = "The Countryside";
		if(city == 2) warname = "Las Venturas";
		if(city == 3) warname = "The Desert";

		format(string, sizeof(string),"-| A war has been created || City: %s || War Name: %s || Type /joinwar to join! |-", WarOneInfo[War1Name], params[2]);
		SendClientMessageToAll(COLOR_GREEN, string);
		WarOneInfo[War1GoingOn] = 1;
		WarOneInfo[War1Name] = params[2];
		WarOneInfo[USTeamScore] = 0;
		WarOneInfo[RussiaTeamScore] = 0;
	}
	else SendClientMessage(playerid, COLOR_RED, "ERROR: You need to be level 9 to use this command");
	return 1;
}

dcmd_joinwar(playerid)
{
	if(WarOneInfo[War1GoingOn] == 1)
	{
		GetPlayerPos(playerid, PlayerInfo[playerid][WOldX], PlayerInfo[playerid][WOldY], PlayerInfo[playerid][WOldZ]);

		new city[20] = WarOneInfo[War1City];
		new string[140];
		format(string, sizeof(string),"-| You have joined a war || War Name: %s || City: %s |-", WarOneInfo[War1Name], WarOneInfo[War1City]);
		SendClientMessage(playerid, COLOR_GREEN, string);

	    if(city == "Los Santos")
	    {
			ShowPlayerDialog(playerid, DIALOG_SWTEAM, DIALOG_STYLE_LIST, "Select Team", "US Army Rangers (USA)\nSpetsnaz (Russia)", "OK", "Quit War");
		}

		if(city == "The Countryside")
		{
			ShowPlayerDialog(playerid, DIALOG_SWTEAM, DIALOG_STYLE_LIST, "Select Team", "US Army Rangers (USA)\nSpetsnaz (Russia)", "OK", "Quit War");
		}

		if(city == "Las Venturas")
		{
		    ShowPlayerDialog(playerid, DIALOG_SWTEAM, DIALOG_STYLE_LIST, "Select Team", "US Army Rangers (USA)\nSpetsnaz (Russia)", "OK", "Quit War");
		}

		if(city == "The Desert")
		{
		    ShowPlayerDialog(playerid, DIALOG_SWTEAM, DIALOG_STYLE_LIST, "Select Team", "US Army Rangers (USA)\nSpetsnaz (Russia)", "OK", "Quit War");
		}
	}
	else SendClientMessage(playerid, COLOR_RED, "ERROR: There is no war going on.");
	return 1;
}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
	if(GetPlayerTeam(playerid) == TEAM_COP && vehicleid == 523)
	{
	    SetPlayerSkin(playerid, 284);
	}
	return 1;
}

public OnPlayerExitVehicle(playerid, vehicleid)
{
    if(GetPlayerTeam(playerid) == TEAM_COP && vehicleid == 523)
	{
	    SetPlayerSkin(playerid, 281);
	}
	return 1;
}

public OnPlayerStateChange(playerid, newstate, oldstate)
{
	return 1;
}

public OnPlayerEnterCheckpoint(playerid)
{
	return 1;
}

public OnPlayerLeaveCheckpoint(playerid)
{
	return 1;
}

public OnPlayerEnterRaceCheckpoint(playerid)
{
	return 1;
}

public OnPlayerLeaveRaceCheckpoint(playerid)
{
	return 1;
}

public OnRconCommand(cmd[])
{
	return 1;
}

public OnPlayerRequestSpawn(playerid)
{
	new team = GetPlayerTeam(playerid);

	if(team == TEAM_COP && FactionInfo[playerid][CanUsePolice] == 0)
	{
		ReturnClassError(playerid, 0);
	    return 0;
	}

	if(team == TEAM_ARMY && FactionInfo[playerid][CanUseArmy] == 0)
	{
	    ReturnClassError(playerid, 1);
	    return 0;
	}

	if(team == TEAM_CIA && FactionInfo[playerid][CanUseCIA] == 0)
	{
	    ReturnClassError(playerid, 1);
	    return 0;
	}

	if(team == TEAM_SWAT && FactionInfo[playerid][CanUseSWAT] == 0)
	{
	    ReturnClassError(playerid, 1);
		return 0;
	}

	if(team == TEAM_FBI && FactionInfo[playerid][CanUseFBI] == 0)
	{
	    ReturnClassError(playerid, 1);
		return 0;
	}

	if(IsACiv(playerid))
	{
	    ShowPlayerDialog(playerid, DIALOG_SSKILL, DIALOG_STYLE_LIST, "Select Skill", "Robber\nRapist\nTerrorist\nHitman\nDrug Dealer\nWeapon Dealer", "OK", "Quit");
	}
	return 1;
}

public OnObjectMoved(objectid)
{
	return 1;
}

public OnPlayerObjectMoved(playerid, objectid)
{
	if(objectid == Missile1)
	{
	    new Float:X;
	    new Float:Y;
	    new Float:Z;
	    GetObjectPos(Missile1, X, Y, Z);

        for(new i = 0; i < MAX_PLAYERS; i++)
        {
			if(IsPlayerInRangeOfPoint(i, 5, X, Y, Z))
			{
				new Float:X1;
				new Float:Y1;
				new Float:Z1;
				GetPlayerPos(i, X1, Y1, Z1);
				CreateExplosion(X1, Y1, Z1, 7, 10);
			    SetPlayerArmour(i, 0.0);
			    SetPlayerHealth(i, 0);
				SendClientMessage(i, COLOR_RED, "-| You have died from a missile strike! |-");
			}
		}
	}
	return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
	return 1;
}

public OnVehicleMod(playerid, vehicleid, componentid)
{
	return 1;
}

public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
	return 1;
}

public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
	return 1;
}

public OnPlayerSelectedMenuRow(playerid, row)
{
	return 1;
}

public OnPlayerExitedMenu(playerid)
{
	return 1;
}

public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
	return 1;
}

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
	return 1;
}

public OnRconLoginAttempt(ip[], password[], success)
{
	return 1;
}

public OnPlayerUpdate(playerid)
{
	return 1;
}

public OnPlayerStreamIn(playerid, forplayerid)
{
	return 1;
}

public OnPlayerStreamOut(playerid, forplayerid)
{
	return 1;
}

public OnVehicleStreamIn(vehicleid, forplayerid)
{
	return 1;
}

public OnVehicleStreamOut(vehicleid, forplayerid)
{
	return 1;
}


public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
	if(dialogid == DIALOG_SSKILL)
	{
	    if(!response) return Kick(playerid);
		if(response)
		{
			switch(listitem)
			{
				case 0:
				{
					SetPlayerTeam(playerid, TEAM_ROB);
				}
				case 1:
				{
					SetPlayerTeam(playerid, TEAM_RAPE);
				}
				case 2:
				{
					SetPlayerTeam(playerid, TEAM_TERROR);
				}
				case 3:
				{
					SetPlayerTeam(playerid, TEAM_HITMAN);
				}
				case 4:
				{
					SetPlayerTeam(playerid, TEAM_DDEAL);
				}
				case 5:
				{
					SetPlayerTeam(playerid, TEAM_WDEAL);
				}
			}
		}
	}

	if(dialogid == DIALOG_SWTEAM)
	{
		if(response)
		{
			switch(listitem)
			{
				case 0:
				{
					WarOneInfo[War1Players]++;
					SetPlayerTeam(playerid, TEAM_RANGER);
					PlayAudioStreamForPlayer(playerid, "https://dl.dropbox.com/u/77376451/black_cats.mp3");
				}
				case 1:
				{
					WarOneInfo[War1Players]++;
					SetPlayerTeam(playerid, TEAM_SPETSNAZ);
					PlayAudioStreamForPlayer(playerid, "https://dl.dropbox.com/u/77376451/the_final_push.mp3");
				}
			}
		}
		else
		{
			//The player has pressed "OK".
			switch(listitem)
			{
				case 0:
				{
					SetPlayerPos(playerid, PlayerInfo[playerid][WOldX], PlayerInfo[playerid][WOldY], PlayerInfo[playerid][WOldZ]);
					SendClientMessage(playerid, COLOR_RED, "-| You have quit from the war and have been returned to your old position!");
				}
				case 1:
				{
					SetPlayerPos(playerid, PlayerInfo[playerid][WOldX], PlayerInfo[playerid][WOldY], PlayerInfo[playerid][WOldZ]);
					SendClientMessage(playerid, COLOR_RED, "-| You have quit from the war and have been returned to your old position!");
				}
			}
		}
	}
    return 0;
}

public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
	return 1;
}

public OnSamSiteUpdate(samid, playerid)
{
    new name[24];
	GetPlayerName(playerid, name, sizeof name);
	if(samid == BaseSam1)
	{
	    if(strcmp(name, "[SFCNR]CaptainPrice", true) == 0)
	    {
	        return 0;
		}
	}

	if(samid == BaseSam2)
	{
	    if(strcmp(name, "[SFCNR]CaptainPrice", true) == 0)
	    {
	        return 0;
		}
	}
	return 1;
}

// Strtok //
strtok(const string[], &index)
{
	new length = strlen(string);
	while ((index < length) && (string[index] <= ' '))
	{
		index++;
	}

	new offset = index;
	new result[20];
	while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
	{
		result[index - offset] = string[index];
		index++;
	}
	result[index - offset] = EOS;
	return result;
}

public AutoUnCuff(id)
{
	new string[150];
	new IRC_String[150];
	new pName[MAX_PLAYER_NAME];
	GetPlayerName(id, pName, sizeof(pName));
	StopLoopingAnim(id);
	SendClientMessage(id, COLOR_GREEN,"-| You have been Auto-uncuffed! |-");
	format(string, sizeof(string),"-| %s(%d) has been auto-uncuffed! |-", pName, id);
	SendClientMessageToAll(COLOR_ORANGE, string);
	format(IRC_String, sizeof(IRC_String),"[AUTO UN-CUFF] %s(%d) has been auto-uncuffed!", pName, id);
	IRC_Say(gGroupID, IRC_CHANNEL, IRC_String);
	return 1;
}

/////////////////// ANIMS ///////////////////////
LoopingAnim(playerid,animlib[],animname[], Float:Speed, looping, lockx, locky, lockz, lp)
{
    ApplyAnimation(playerid, animlib, animname, Speed, looping, lockx, locky, lockz, lp);
}

StopLoopingAnim(playerid)
{
    ApplyAnimation(playerid, "CARRY", "crry_prtial", 4.0, 0, 0, 0, 0, 0);
}

//////////////// STOCKS //////////////////
stock IsPlayerLawEnforcement(playerid)
{
	new team = GetPlayerTeam(playerid);
	if(team == TEAM_COP || team == TEAM_FBI || team == TEAM_CIA || team == TEAM_ARMY || team == TEAM_SWAT) return 1;
	else return 0;
}

stock IncreasePlayerWantedLevel(playerid, value)
{
	SetPlayerWantedLevel(playerid, GetPlayerWantedLevel(playerid)+value);
	return 1;
}

stock SendRadioMsg(msg[])
{
	for(new i=0; i<MAX_PLAYERS; i++)
	{
	    if(IsPlayerConnected(i))
	    {
	        if(IsPlayerLawEnforcement(i))
	        {
			    SendClientMessage(i,COLOR_BLUE,msg);
			}
		}
	}
}

stock SendClientMessageToAllMedics(msg[])
{
	for(new i=0; i<MAX_PLAYERS; i++)
	{
	    if(IsPlayerConnected(i))
	    {
			if(GetPlayerTeam(i) == TEAM_MEDIC)
			{
			    SendClientMessage(i,COLOR_GREEN,msg);
			}
		}
	}
}

stock ReturnClassError(playerid, errorID)
{
	if(errorID == 0) return SendClientMessage(playerid, COLOR_RED, "ERROR: You cannot use this class. You need 25 score to use it.");
	if(errorID == 1) return SendClientMessage(playerid, COLOR_RED, "ERROR: You cannot use this class. You must apply for it on www.sanfierrocnr.createaforum.com");
	return 1;
}

stock IsACiv(playerid)
{
    if(!IsPlayerLawEnforcement(playerid) || GetPlayerTeam(playerid) != TEAM_MEDIC || GetPlayerTeam(playerid) != TEAM_TAXI || GetPlayerTeam(playerid) != TEAM_FIRE)
    {
		return 1;
	}

    else
	{
    	return 0;
	}
}
//Publics
public CanUseStrike(playerid)
{
	SendClientMessage(playerid, COLOR_GREEN, "Missile strike armed and ready to fire!");
	PlayerInfo[playerid][WaitingToStrike] = 0;
	PlayerInfo[playerid][CanUseMStrike] = 0;
	return 1;
}

public CheckForCopScore(playerid)
{
	if(GetPlayerScore(playerid) >= 25)
	{
	    KillTimer(Timer);
	    SendClientMessage(playerid, COLOR_RED, "-| You have reached 25 score! You can now use Police class! |-");
		FactionInfo[playerid][CanUsePolice] = 1;
	}
	return 1;
}
/*/=========================================
IRC Commands and Callbacks
*////////////////////////////////////////
public IRC_OnConnect(botid)
{
	print("Bot ID %d connected to IRC channel!");
	IRC_AddToGroup(gGroupID, botid);
	return 1;
}

public IRC_OnDisconnect(botid)
{
    print("Bot ID %d disconencted from IRC server!");
    IRC_RemoveFromGroup(gGroupID, botid);
	return 1;
}
Untested. Tried to fix the errors.

TIP: I suggest learning to script, some of these errors were pretty obvious (such as the fact you were assigning a float value to a non-float variable)
Now i have six errors:
Код:
C:\Users\Keegan\Desktop\gamemodes\SFCNR.pwn(976) : warning 202: number of arguments does not match definition
C:\Users\Keegan\Desktop\gamemodes\SFCNR.pwn(976) : warning 202: number of arguments does not match definition
C:\Users\Keegan\Desktop\gamemodes\SFCNR.pwn(1106) : error 008: must be a constant expression; assumed zero
C:\Users\Keegan\Desktop\gamemodes\SFCNR.pwn(1107) : warning 204: symbol is assigned a value that is never used: "nCity"
C:\Users\Keegan\Desktop\gamemodes\SFCNR.pwn(1155) : error 008: must be a constant expression; assumed zero
C:\Users\Keegan\Desktop\gamemodes\SFCNR.pwn(1160) : error 033: array must be indexed (variable "city")
C:\Users\Keegan\Desktop\gamemodes\SFCNR.pwn(1165) : error 033: array must be indexed (variable "city")
C:\Users\Keegan\Desktop\gamemodes\SFCNR.pwn(1170) : error 033: array must be indexed (variable "city")
C:\Users\Keegan\Desktop\gamemodes\SFCNR.pwn(1175) : error 033: array must be indexed (variable "city")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


6 Errors.
Reply
#10

Quote:
Originally Posted by stormchaser206
Посмотреть сообщение
If you aren't gonna help, don't post.
Fine, you want my help?

Change this:
pawn Код:
dcmd_joinwar(playerid)
to
pawn Код:
dcmd_joinwar(playerid, params[])
Delete:
pawn Код:
new nCity[25];
Change this:
pawn Код:
new warname[20] = WarOneInfo[War1Name];
to
pawn Код:
new warname[20];
new string[21];
format(string, sizeof(string), "%s", WarOneInfo[War1Name]);
Change this:
pawn Код:
new city[20] = WarOneInfo[War1City];
to
pawn Код:
new city[20];
new string[21];
format(string, sizeof(string), "%s", WarOneInfo[War1City]);
Change this:
pawn Код:
if(city == "Los Santos")
to
pawn Код:
if(strcmp(city, "Los Santos") == 0)
Change this:
pawn Код:
if(city == "The Countryside")
to
pawn Код:
if(strcmp(city, "The Countryside") == 0)
Change this:
pawn Код:
if(city == "Las Venturas")
to
pawn Код:
if(strcmp(city, "Las Venturas") == 0)
Change this:
pawn Код:
if(city == "The Desert")
to
pawn Код:
if(strcmp(city, "The Desert") == 0)

And no, I'm not going to explain any of it! You didn't want to listen to me when I kindly explained how you would find your errors. I even explained 2 of them in detail!
Good luck with it! You learned nothing!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)