Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- week 0 day 1 : 0
- week 0 day 2 : 500
- week 0 day 3 : 1000
- week 0 day 4 : 1500
- week 0 day 5 : 2000
- week 1 day 1 : 2500
- LINES SPACE:
- (To be able to add a specific number of lines from bonus lines
- Improved Achievements System Lines
- ___________________________________
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- */
- /*
- ================================================================================
- INCLUDE FILES
- ================================================================================
- */
- #include <a_samp>
- #include <dini>
- #include <zcmd>
- #include <sscanf2>
- #include <achievements>
- /*
- ================================================================================
- COLOR DEFINES
- ================================================================================
- */
- #define COLOR_GREY 0xAFAFAFAA
- #define COLOR_GREEN 0x33AA33AA
- #define COLOR_RED 0xAA3333AA
- #define COLOR_YELLOW 0xFFFF00AA
- #define COLOR_WHITE 0xFFFFFFAA
- #define COLOR_BLUE 0x0000BBAA
- #define COLOR_LIGHTBLUE 0x33CCFFAA
- #define COLOR_ORANGE 0xFF9900AA
- #define COLOR_RED 0xAA3333AA
- #define COLOR_LIME 0x10F441AA
- #define COLOR_MAGENTA 0xFF00FFFF
- #define COLOR_NAVY 0x000080AA
- #define COLOR_AQUA 0xF0F8FFAA
- #define COLOR_CRIMSON 0xDC143CAA
- #define COLOR_FLBLUE 0x6495EDAA
- #define COLOR_BISQUE 0xFFE4C4AA
- #define COLOR_BLACK 0x000000AA
- #define COLOR_CHARTREUSE 0x7FFF00AA
- #define COLOR_BROWN 0XA52A2AAA
- #define COLOR_CORAL 0xFF7F50AA
- #define COLOR_GOLD 0xB8860BAA
- #define COLOR_GREENYELLOW 0xADFF2FAA
- #define COLOR_INDIGO 0x4B00B0AA
- #define COLOR_IVORY 0xFFFF82AA
- #define COLOR_LAWNGREEN 0x7CFC00AA
- #define COLOR_LIMEGREEN 0x32CD32AA //<--- Dark lime
- #define COLOR_MIDNIGHTBLUE 0X191970AA
- #define COLOR_MAROON 0x800000AA
- #define COLOR_OLIVE 0x808000AA
- #define COLOR_ORANGERED 0xFF4500AA
- #define COLOR_PINK 0xFFC0CBAA // - Light light pink
- #define COLOR_SEAGREEN 0x2E8B57AA
- #define COLOR_SPRINGGREEN 0x00FF7FAA
- #define COLOR_TOMATO 0xFF6347AA // - Tomato >:/ sounds wrong lol... well... :P
- #define COLOR_YELLOWGREEN 0x9ACD32AA //- like military green
- #define COLOR_MEDIUMAQUA 0x83BFBFAA
- #define COLOR_MEDIUMMAGENTA 0x8B008BAA // dark magenta ^^
- #define COLOR_GREY 0xAFAFAFAA
- #define COLOR_GREEN 0x33AA33AA
- #define COLOR_BRIGHTRED 0xFF0000AA
- #define COLOR_DARKRED 0xC60000FF
- #define COLOR_YELLOW 0xFFFF00AA
- #define COLOR_TAN 0xBDB76BAA
- #define COLOR_PURPLE 0x800080AA
- #define COLOR_WHITE 0xFFFFFFAA
- #define COLOR_LIGHTBLUE 0x33CCFFAA
- #define COLOR_ORANGE 0xFF9900AA
- #define COLOR_INDIGO 0x4B00B0AA
- #define COLOR_SANTORANGE 0xFF6C3BAA
- #define COLOR_INVIS 0xAFAFAF00
- #define COLOR_CRIMBLUE 0x3A47DEFF
- #define COLOR_WANTED 0xCC0066AA
- #define COLOR_GROVE 0x378729FF
- #define COLOR_BALLAS 0xA31D88FF
- #define COLOR_DARKGREY 0x696969FF
- #define COLOR_ERPSS 0x549852FF
- #define COLOR_L1A 0x50A2ABFF
- #define COLOR_FADE1 0xE6E6E6E6
- #define COLOR_FADE2 0xC8C8C8C8
- #define COLOR_FADE3 0xAAAAAAAA
- #define COLOR_FADE4 0x8C8C8C8C
- #define COLOR_FADE5 0x6E6E6E6E
- #define BLACK 0x000000FF
- #define COLOR_TAI 0xabcaf9AA
- #define COLOR_MAIN 0x89AAD6AA //main server return color
- #define COLOR_ERROR 0xFF0000AA //The color of the message, when an error occurs
- #define COLOR_CYAN 0xF8A8FFAA
- #define COLOR_GCHAT 0x749feeAA
- #define COLOR_SYSTEM 0x8FA6C2AA
- #define PICKUP_BRIEFCASE 1210
- #define PICKUP_MONEY 1212
- #define PICKUP_INFORMATION 1239
- #define PICKUP_HEART 1240
- #define PICKUP_ADRENALINE 1241
- #define PICKUP_ARMOR 1242
- #define PICKUP_BRIBE 1247
- #define PICKUP_GTA3 1248
- #define PICKUP_BOMB 1252
- #define PICKUP_PHOTO 1253
- #define PICKUP_SKULL 1254
- #define PICKUP_DOUBLESKULL 1313
- #define PICKUP_BHOUSE 1272
- #define PICKUP_GHOUSE 1273
- #define PICKUP_CASH 1274
- #define PICKUP_TSHIRT 1275
- #define PICKUP_TIKI 1276
- #define PICKUP_DISK 1277
- #define PICKUP_DRUG 1279
- #define PICKUP_INFO 1318
- #define chrtolower(%1) \
- (((%1) > 0x40 && (%1) <= 0x5A) ? ((%1) | 0x20) : (%1))
- #define SpeedCheck(%0,%1,%2,%3,%4) floatround(floatsqroot(%4?(%0*%0+%1*%1+%2*%2):(%0*%0+%1*%1)) *%3*1.6)
- #define WEAPON_BRASSKNUCKLE (1)
- #define WEAPON_GOLFCLUB (2)
- #define WEAPON_NITESTICK (3)
- #define WEAPON_KNIFE (4)
- #define WEAPON_BAT (5)
- #define WEAPON_SHOVEL (6)
- #define WEAPON_POOLSTICK (7)
- #define WEAPON_KATANA (8)
- #define WEAPON_CHAINSAW (9)
- #define WEAPON_DILDO (10)
- #define WEAPON_DILDO2 (11)
- #define WEAPON_VIBRATOR (12)
- #define WEAPON_VIBRATOR2 (13)
- #define WEAPON_FLOWER (14)
- #define WEAPON_CANE (15)
- #define WEAPON_GRENADE (16)
- #define WEAPON_TEARGAS (17)
- #define WEAPON_MOLTOV (18)
- #define WEAPON_COLT45 (22)
- #define WEAPON_SILENCED (23)
- #define WEAPON_DEAGLE (24)
- #define WEAPON_SHOTGUN (25)
- #define WEAPON_SAWEDOFF (26)
- #define WEAPON_SHOTGSPA (27)
- #define WEAPON_UZI (28)
- #define WEAPON_MP5 (29)
- #define WEAPON_AK47 (30)
- #define WEAPON_M4 (31)
- #define WEAPON_TEC9 (32)
- #define WEAPON_RIFLE (33)
- #define WEAPON_SNIPER (34)
- #define WEAPON_ROCKETLAUNCHER (35)
- #define WEAPON_HEATSEEKER (36)
- #define WEAPON_FLAMETHROWER (37)
- #define WEAPON_MINIGUN (38)
- #define WEAPON_SATCHEL (39)
- #define WEAPON_BOMB (40)
- #define WEAPON_SPRAYCAN (41)
- #define WEAPON_FIREEXTINGUISHER (42)
- #define WEAPON_CAMERA (43)
- #define WEAPON_PARACHUTE (46)
- #define WEAPON_VEHICLE (49)
- #define WEAPON_DROWN (53)
- #define WEAPON_COLLISION (54)
- #define KEY_ACTION (1)
- #define KEY_CROUCH (2)
- #define KEY_FIRE (4)
- #define KEY_SPRINT (8)
- #define KEY_SECONDARY_ATTACK (16)
- #define KEY_JUMP (32)
- #define KEY_LOOK_RIGHT (64)
- #define KEY_HANDBRAKE (128)
- #define KEY_LOOK_LEFT (256)
- #define KEY_SUBMISSION (512)
- #define KEY_LOOK_BEHIND (512)
- #define KEY_WALK (1024)
- #define KEY_ANALOG_UP (2048)
- #define KEY_ANALOG_DOWN (4096)
- #define KEY_ANALOG_RIGHT (16384)
- #define KEY_ANALOG_LEFT (8192)
- #define PLAYER_STATE_NONE (0)
- #define PLAYER_STATE_ONFOOT (1)
- #define PLAYER_STATE_DRIVER (2)
- #define PLAYER_STATE_PASSENGER (3)
- #define PLAYER_STATE_EXIT_VEHICLE (4) // (used internally)
- #define PLAYER_STATE_ENTER_VEHICLE_DRIVER (5) // (used internally)
- #define PLAYER_STATE_ENTER_VEHICLE_PASSENGER (6) // (used internally)
- #define PLAYER_STATE_WASTED (7)
- #define PLAYER_STATE_SPAWNED (8)
- #define PLAYER_STATE_SPECTATING (9)
- new stock VehicleNames[(212+1)][128] = {
- "Landstalker",
- "Bravura",
- "Buffalo",
- "Linerunner",
- "Pereniel",
- "Sentinel",
- "Dumper",
- "Firetruck",
- "Trashmaster",
- "Stretch",
- "Manana",
- "Infernus",
- "Voodoo",
- "Pony",
- "Mule",
- "Cheetah",
- "Ambulance",
- "Leviathan",
- "Moonbeam",
- "Esperanto",
- "Taxi",
- "Washington",
- "Bobcat",
- "Mr Whoopee",
- "BF Injection",
- "Hunter",
- "Premier",
- "Enforcer",
- "Securicar",
- "Banshee",
- "Predator",
- "Bus",
- "Rhino",
- "Barracks",
- "Hotknife",
- "Trailer", //artict1
- "Previon",
- "Coach",
- "Cabbie",
- "Stallion",
- "Rumpo",
- "RC Bandit",
- "Romero",
- "Packer",
- "Monster",
- "Admiral",
- "Squalo",
- "Seasparrow",
- "Pizzaboy",
- "Tram",
- "Trailer", //artict2
- "Turismo",
- "Speeder",
- "Reefer",
- "Tropic",
- "Flatbed",
- "Yankee",
- "Caddy",
- "Solair",
- "Berkley's RC Van",
- "Skimmer",
- "PCJ-600",
- "Faggio",
- "Freeway",
- "RC Baron",
- "RC Raider",
- "Glendale",
- "Oceanic",
- "Sanchez",
- "Sparrow",
- "Patriot",
- "Quad",
- "Coastguard",
- "Dinghy",
- "Hermes",
- "Sabre",
- "Rustler",
- "ZR3 50",
- "Walton",
- "Regina",
- "Comet",
- "BMX",
- "Burrito",
- "Camper",
- "Marquis",
- "Baggage",
- "Dozer",
- "Maverick",
- "News Chopper",
- "Rancher",
- "FBI Rancher",
- "Virgo",
- "Greenwood",
- "Jetmax",
- "Hotring",
- "Sandking",
- "Blista Compact",
- "Police Maverick",
- "Boxville",
- "Benson",
- "Mesa",
- "RC Goblin",
- "Hotring Racer", //hotrina
- "Hotring Racer", //hotrinb
- "Bloodring Banger",
- "Rancher",
- "Super GT",
- "Elegant",
- "Journey",
- "Bike",
- "Mountain Bike",
- "Beagle",
- "Cropdust",
- "Stunt",
- "Tanker", //petro
- "RoadTrain",
- "Nebula",
- "Majestic",
- "Buccaneer",
- "Shamal",
- "Hydra",
- "FCR-900",
- "NRG-500",
- "HPV1000",
- "Cement Truck",
- "Tow Truck",
- "Fortune",
- "Cadrona",
- "FBI Truck",
- "Willard",
- "Forklift",
- "Tractor",
- "Combine",
- "Feltzer",
- "Remington",
- "Slamvan",
- "Blade",
- "Freight",
- "Streak",
- "Vortex",
- "Vincent",
- "Bullet",
- "Clover",
- "Sadler",
- "Firetruck", //firela
- "Hustler",
- "Intruder",
- "Primo",
- "Cargobob",
- "Tampa",
- "Sunrise",
- "Merit",
- "Utility",
- "Nevada",
- "Yosemite",
- "Windsor",
- "Monster", //monstera
- "Monster", //monsterb
- "Uranus",
- "Jester",
- "Sultan",
- "Stratum",
- "Elegy",
- "Raindance",
- "RC Tiger",
- "Flash",
- "Tahoma",
- "Savanna",
- "Bandito",
- "Freight", //freiflat
- "Trailer", //streakc
- "Kart",
- "Mower",
- "Duneride",
- "Sweeper",
- "Broadway",
- "Tornado",
- "AT-400",
- "DFT-30",
- "Huntley",
- "Stafford",
- "BF-400",
- "Newsvan",
- "Tug",
- "Trailer", //petrotr
- "Emperor",
- "Wayfarer",
- "Euros",
- "Hotdog",
- "Club",
- "Trailer", //freibox
- "Trailer", //artict3
- "Andromada",
- "Dodo",
- "RC Cam",
- "Launch",
- "Police Car (LSPD)",
- "Police Car (SFPD)",
- "Police Car (LVPD)",
- "Police Ranger",
- "Picador",
- "S.W.A.T. Van",
- "Alpha",
- "Phoenix",
- "Glendale",
- "Sadler",
- "Luggage Trailer", //bagboxa
- "Luggage Trailer", //bagboxb
- "Stair Trailer", //tugstair
- "Boxville",
- "Farm Plow", //farmtr1
- "Utility Trailer", //utiltr1
- "Invalid Vehicle" //just to return if the modelid is invalid
- };
- AntiDeAMX()
- {
- new a[][] =
- {
- "Unarmed (Fist)",
- "Brass K"
- };
- #pragma unused a
- }
- new Pickup_GasStation;
- #define LOCATION_GASSTATION 653.6004,-565.2471,16.3359
- /*
- ================================================================================
- MESSAGES
- ================================================================================
- */
- #define MESSAGE_SPAWNED "You have spawned, have fun!"
- /*
- ================================================================================
- ERROR MESSAGES
- ================================================================================
- */
- #define MESSAGE_ERROR_REGISTERED "ERROR: {FFFFFF}You are already registered"
- #define MESSAGE_ERROR_NOTREGISTERED "ERROR: {FFFFFF}You are not registered"
- #define MESSAGE_ERROR_LENGTH "ERROR: {FFFFFF}Invalid input size"
- #define MESSAGE_ERROR_INVALIDPASSWORD "ERROR: {FFFFFF}Passwords don't match"
- #define MESSAGE_ERROR_NOTRCON "ERROR: {FFFFFF}You are not a RCON Admin"
- #define MESSAGE_ERROR_ADMLVL1 "ERROR: {FFFFFF}You need to be atleast Admin Level 1"
- #define MESSAGE_ERROR_ADMLVL1337 "ERROR: {FFFFFF}You need to be atleast Admin Level 1337"
- /*
- ================================================================================
- DIALOGS
- ================================================================================
- */
- #define DIALOG_REGISTER 1
- #define DIALOG_LOGIN 2
- #define DIALOG_BUY_GASSTATION 3
- /*
- ================================================================================
- PLAYER ENUMS
- ================================================================================
- */
- enum PlayerInformation
- {
- IsRegistered,
- Password[128],
- LoggedIn,
- Money,
- Admin,
- Skin,
- Muted,
- VIP,
- FactionID,
- FactionRank
- }
- new PlayerInfo[MAX_PLAYERS][PlayerInformation];
- #define FACTION_NONE 0
- #define FACTION_RCPD 1
- #define RANK_RCPD_CADET 1
- #define RANK_RCPD_OFFICER 2
- #define RANK_RCPD_LIT 3
- #define RANK_RCPD_CHIEF 4
- /*
- ================================================================================
- LOAD
- ================================================================================
- */
- stock LoadPlayer(playerid)
- {
- new pname[128], pfile[128];
- GetPlayerName(playerid, pname, sizeof(pname));
- format(pfile, sizeof(pfile), "Users/%s.ini", pname);
- PlayerInfo[playerid][IsRegistered] = dini_Int(pfile, "IsRegistered");
- PlayerInfo[playerid][Money] = dini_Int(pfile, "Money");
- PlayerInfo[playerid][Admin] = dini_Int(pfile, "Admin");
- PlayerInfo[playerid][Skin] = dini_Int(pfile, "Skin");
- }
- /*
- ================================================================================
- SAVE
- ================================================================================
- */
- stock SavePlayer(playerid)
- {
- new pname[128], pfile[128];
- GetPlayerName(playerid, pname, sizeof(pname));
- format(pfile, sizeof(pfile), "Users/%s.ini", pname);
- dini_IntSet(pfile, "IsRegistered", PlayerInfo[playerid][IsRegistered]);
- dini_IntSet(pfile, "Money", PlayerInfo[playerid][Money]);
- dini_IntSet(pfile, "Admin", PlayerInfo[playerid][Admin]);
- dini_IntSet(pfile, "Skin", PlayerInfo[playerid][Skin]);
- }
- main()
- {
- }
- forward Server_1000();
- public Server_1000()
- {
- for(new playerid=0;playerid<MAX_PLAYERS;playerid++)
- {
- if(IsPlayerConnected(playerid))
- {
- new currentmoney = GetPlayerMoney(playerid);
- if(currentmoney != PlayerInfo[playerid][Money])
- {
- GivePlayerMoney(playerid, -currentmoney);
- GivePlayerMoney(playerid, PlayerInfo[playerid][Money]);
- }
- }
- }
- return 1;
- }
- stock GivePlayerMoneyEx(playerid, amount)
- {
- PlayerInfo[playerid][Money] = PlayerInfo[playerid][Money]+amount;
- }
- forward DynamicWeather();
- public DynamicWeather()
- {
- new GlobalWeather;
- GlobalWeather = random(17);
- SetWeather(GlobalWeather);
- return 1;
- } // Thanks to Calg00ne.
- stock LoadObjects()
- {
- // Danny's Ramp
- CreateObject(1696, 2818.1513671875, -1462.9223632813, 40.069728851318, 0.000000, 0.000000, 246.85583496094);
- // New Arrest Point
- PrisonGate = CreateDynamicObject(980, 1788.4801025391, -1600.1746826172, 15.320266723633, 0, 0, 348.07507324219, -1, -1, -1, 100);
- CreateDynamicObject(987, 1797.1053466797, -1601.7110595703, 12.524091720581, 0, 0, 358.74755859375, -1, -1, -1, 100);
- CreateDynamicObject(987, 1800.1494140625, -1601.908203125, 12.524091720581, 0, 0, 358.74755859375, -1, -1, -1, 100);
- CreateDynamicObject(987, 1811.8372802734, -1602.2653808594, 12.524091720581, 0, 0, 90, -1, -1, -1, 100);
- CreateDynamicObject(987, 1811.8372802734, -1593.2626953125, 12.524091720581, 0, 0, 90, -1, -1, -1, 100);
- CreateDynamicObject(987, 1811.7364501953, -1581.3986816406, 12.474092483521, 0, 0, 75.249938964844, -1, -1, -1, 100);
- CreateDynamicObject(987, 1814.7548828125, -1569.8776855469, 12.44909286499, 0, 0, 74.995361328125, -1, -1, -1, 100);
- CreateDynamicObject(987, 1817.8708496094, -1558.4490966797, 12.44909286499, 0, 0, 74.24267578125, -1, -1, -1, 100);
- CreateDynamicObject(987, 1821.1696777344, -1547.0092773438, 12.42409324646, 0, 0, 168.09008789063, -1, -1, -1, 100);
- CreateDynamicObject(3749, 1788.7869873047, -1598.2781982422, 18.374307632446, 0, 0, 348.25, -1, -1, -1, 100);
- // Dillimore Fences
- CreateDynamicObject(987, 878.19152832031, -555.26751708984, 18.846422195435, 0.000000, 357.99621582031, 106.99658203125, -1, -1, -1, 100);
- CreateDynamicObject(987, 884.7734375, -575.1669921875, 19.662727355957, 0.000000, 4.185791015625, 109.99514770508, -1, -1, -1, 100);
- CreateDynamicObject(987, 874.2783203125, -541.9453125, 20.224229812622, 0.000000, 351.99096679688, 103.99658203125, -1, -1, -1, 100);
- CreateDynamicObject(987, 871.47912597656, -530.49053955078, 22.229835510254, 0.000000, 351.99645996094, 103.99658203125, -1, -1, -1, 100);
- CreateDynamicObject(987, 868.45727539063, -519.16613769531, 24.204593658447, 0.000000, 351.99645996094, 103.99658203125, -1, -1, -1, 100);
- CreateDynamicObject(987, 865.50201416016, -508.20715332031, 25.793262481689, 0.000000, 356.99645996094, 103.99658203125, -1, -1, -1, 100);
- CreateDynamicObject(987, 862.60638427734, -496.52239990234, 26.309391021729, 0.000000, 351.99645996094, 103.99658203125, -1, -1, -1, 100);
- CreateDynamicObject(987, 859.73895263672, -484.99890136719, 27.779407501221, 0.000000, 351.99645996094, 103.99658203125, -1, -1, -1, 100);
- CreateDynamicObject(987, 858.97442626953, -473.84356689453, 29.905250549316, 0.000000, 29, 184, -1, -1, -1, 100);
- CreateDynamicObject(987, 848.27716064453, -474.45513916016, 24.488092422485, 0.000000, 28.998413085938, 183.9990234375, -1, -1, -1, 100);
- CreateDynamicObject(987, 847.36071777344, -474.35614013672, 24.048976898193, 0.000000, 28.998413085938, 183.9990234375, -1, -1, -1, 100);
- CreateDynamicObject(987, 836.51782226563, -474.97598266602, 18.776485443115, 0.000000, 17.998413085938, 183.9990234375, -1, -1, -1, 100);
- CreateDynamicObject(987, 824.84832763672, -475.77407836914, 15.909212112427, 0.000000, 5, 183.9990234375, -1, -1, -1, 100);
- CreateDynamicObject(987, 812.97216796875, -476.62902832031, 14.827367782593, 0.000000, 1.998779296875, 183.9990234375, -1, -1, -1, 100);
- CreateDynamicObject(987, 801.02600097656, -477.478515625, 14.725658416748, 0.000000, 0.000000, 183.9990234375, -1, -1, -1, 100);
- CreateDynamicObject(987, 789.29638671875, -478.37826538086, 15.3359375, 0.000000, 1.9940185546875, 183.9990234375, -1, -1, -1, 100);
- CreateDynamicObject(987, 777.27038574219, -479.22692871094, 15.338191986084, 0.000000, 0.9940185546875, 180, -1, -1, -1, 100);
- CreateDynamicObject(987, 765.2509765625, -479.22619628906, 15.3359375, 0.000000, 0.000000, 180, -1, -1, -1, 100);
- CreateDynamicObject(987, 753.29528808594, -479.22619628906, 15.3359375, 0.000000, 0.000000, 180, -1, -1, -1, 100);
- CreateDynamicObject(987, 741.31274414063, -479.23364257813, 15.3359375, 0.000000, 0.000000, 179.99450683594, -1, -1, -1, 100);
- CreateDynamicObject(987, 729.330078125, -479.14041137695, 15.3359375, 0.000000, 0.000000, 90, -1, -1, -1, 100);
- CreateDynamicObject(987, 729.32543945313, -467.14434814453, 15.3359375, 0.000000, 0.000000, 90, -1, -1, -1, 100);
- CreateDynamicObject(987, 729.35913085938, -455.19284057617, 15.3359375, 0.000000, 0.000000, 90, -1, -1, -1, 100);
- CreateDynamicObject(987, 729.40209960938, -450.07754516602, 15.3359375, 0.000000, 0.000000, 90, -1, -1, -1, 100);
- CreateDynamicObject(987, 729.36944580078, -439.51220703125, 15.3359375, 0.000000, 12, 90, -1, -1, -1, 100);
- CreateDynamicObject(987, 729.34429931641, -427.96881103516, 13.084827423096, 0.000000, 7, 90, -1, -1, -1, 100);
- CreateDynamicObject(987, 729.48901367188, -415.89389038086, 11.743815422058, 0.000000, 355, 180, -1, -1, -1, 100);
- CreateDynamicObject(987, 717.61071777344, -415.80996704102, 12.991068840027, 0.000000, 354.99572753906, 179.99450683594, -1, -1, -1, 100);
- CreateDynamicObject(987, 705.74475097656, -415.74383544922, 14.194542884827, 0.000000, 354.99572753906, 179.99450683594, -1, -1, -1, 100);
- CreateDynamicObject(987, 693.76171875, -415.54000854492, 15.393180847168, 0.000000, 354.99572753906, 179.99450683594, -1, -1, -1, 100);
- CreateDynamicObject(987, 684.71734619141, -415.39520263672, 16.339876174927, 0.000000, 359, 179.99450683594, -1, -1, -1, 100);
- CreateDynamicObject(987, 672.81188964844, -415.53039550781, 16.379411697388, 0.000000, 0.79998779296875, 179.99450683594, -1, -1, -1, 100);
- CreateDynamicObject(987, 661.30914306641, -415.53176879883, 16.189367294312, 0.000000, 4.7965087890625, 179.99450683594, -1, -1, -1, 100);
- CreateDynamicObject(987, 649.251953125, -415.4755859375, 15.360529899597, 0.000000, 0.000000, 270, -1, -1, -1, 100);
- dGates[0] = CreateDynamicObject(971, 641.03759765625, -426.08184814453, 18.757417678833, 0.000000, 0.000000, 0.000000, -1, -1, -1, 100);
- CreateDynamicObject(987, 636.52276611328, -425.89846801758, 15.45868396759, 0.000000, 356.99523925781, 179.99450683594, -1, -1, -1, 100);
- CreateDynamicObject(987, 624.96862792969, -425.86193847656, 16.079877853394, 0.000000, 356.99523925781, 270, -1, -1, -1, 100);
- CreateDynamicObject(987, 624.93566894531, -437.49353027344, 16.752447128296, 0.000000, 0.000000, 270, -1, -1, -1, 100);
- CreateDynamicObject(987, 625.13543701172, -449.3840637207, 16.609519958496, 0.000000, 0.000000, 269.98901367188, -1, -1, -1, 100);
- CreateDynamicObject(987, 624.88525390625, -461.13934326172, 15.514266967773, 0.000000, 0.000000, 269.98901367188, -1, -1, -1, 100);
- CreateDynamicObject(3749, 877.88354492188, -559.63415527344, 24.332035064697, 0.000000, 0.000000, 288.99536132813, -1, -1, -1, 100);
- dGates[1] = CreateDynamicObject(971, 879.41540527344, -559.67053222656, 22.263460159302, 0.000000, 0.000000, 108, -1, -1, -1, 100);
- CreateDynamicObject(987, 875.44543457031, -546.6025390625, 19.524656295776, 0.000000, 351.99499511719, 106.99588012695, -1, -1, -1, 100);
- CreateDynamicObject(3749, 641.00659179688, -426.22872924805, 21.045913696289, 0.000000, 0.000000, 0.000000, -1, -1, -1, 100);
- CreateDynamicObject(987, 657.14215087891, -425.97109985352, 15.54341506958, 0.000000, 1, 179.99450683594, -1, -1, -1, 100);
- CreateDynamicObject(987, 625.00732421875, -467.70855712891, 15.218000411987, 0.000000, 0.000000, 269.98901367188, -1, -1, -1, 100);
- CreateDynamicObject(987, 624.6357421875, -479.03747558594, 15.3359375, 0.000000, 0.000000, 180, -1, -1, -1, 100);
- CreateDynamicObject(987, 612.74658203125, -479.03042602539, 15.335936546326, 0.000000, 0.000000, 180, -1, -1, -1, 100);
- CreateDynamicObject(987, 600.61364746094, -478.51965332031, 15.573776245117, 0.000000, 0.000000, 252, -1, -1, -1, 100);
- CreateDynamicObject(987, 596.92755126953, -489.86529541016, 15.3359375, 0.000000, 0.000000, 266.99890136719, -1, -1, -1, 100);
- CreateDynamicObject(987, 596.28448486328, -501.81750488281, 15.3359375, 0.000000, 0.000000, 270.19525146484, -1, -1, -1, 100);
- CreateDynamicObject(987, 596.32379150391, -513.755859375, 15.3359375, 0.000000, 0.000000, 270.19226074219, -1, -1, -1, 100);
- CreateDynamicObject(987, 596.33197021484, -525.72137451172, 15.3359375, 0.000000, 0.000000, 270.19226074219, -1, -1, -1, 100);
- CreateDynamicObject(987, 596.19732666016, -537.697265625, 15.689353942871, 0.000000, 0.000000, 270.19226074219, -1, -1, -1, 100);
- CreateDynamicObject(987, 596.22521972656, -549.66271972656, 16.050436019897, 0.000000, 0.000000, 270.19226074219, -1, -1, -1, 100);
- CreateDynamicObject(987, 596.25604248047, -561.65252685547, 16.129402160645, 0.000000, 0.000000, 270.19226074219, -1, -1, -1, 100);
- CreateDynamicObject(987, 596.21392822266, -573.68414306641, 16.217031478882, 0.000000, 0.000000, 270.19226074219, -1, -1, -1, 100);
- CreateDynamicObject(987, 596.40985107422, -585.64685058594, 16.153072357178, 0.000000, 0.000000, 270.19226074219, -1, -1, -1, 100);
- CreateDynamicObject(987, 596.40808105469, -597.59515380859, 16.171394348145, 0.000000, 0.000000, 270.19226074219, -1, -1, -1, 100);
- CreateDynamicObject(987, 596.43487548828, -609.56567382813, 16.72620010376, 0.000000, 357, 270.19226074219, -1, -1, -1, 100);
- CreateDynamicObject(987, 596.51477050781, -624.0556640625, 17.982280731201, 0.000000, 347, 270.18676757813, -1, -1, -1, 100);
- CreateDynamicObject(987, 596.46264648438, -612.03210449219, 16.85179901123, 0.000000, 356.99523925781, 270.18676757813, -1, -1, -1, 100);
- CreateDynamicObject(987, 596.30010986328, -635.13970947266, 20.488275527954, 0.000000, 7, 340, -1, -1, -1, 100);
- CreateDynamicObject(987, 607.40325927734, -639.27813720703, 19.113561630249, 0.000000, 6.998291015625, 339.99938964844, -1, -1, -1, 100);
- CreateDynamicObject(987, 618.57275390625, -643.3037109375, 18.043838500977, 0.000000, 6.998291015625, 339.99938964844, -1, -1, -1, 100);
- CreateDynamicObject(987, 629.78735351563, -647.42333984375, 16.769758224487, 0.000000, 3, 345.99938964844, -1, -1, -1, 100);
- CreateDynamicObject(987, 641.41003417969, -650.37951660156, 16.220834732056, 0.000000, 2.999267578125, 345.99792480469, -1, -1, -1, 100);
- CreateDynamicObject(987, 652.81701660156, -653.35870361328, 15.673723220825, 0.000000, 2.999267578125, 345.99792480469, -1, -1, -1, 100);
- CreateDynamicObject(987, 665.07293701172, -656.49932861328, 15.328876495361, 0.000000, 0.999267578125, 359.99792480469, -1, -1, -1, 100);
- CreateDynamicObject(3749, 681.6494140625, -655.0576171875, 21.045913696289, 0.000000, 0.000000, 0.000000, -1, -1, -1, 100);
- dGates[2] = CreateDynamicObject(971, 681.40765380859, -656.54528808594, 18.757417678833, 0.000000, 0.000000, 0.000000, -1, -1, -1, 100);
- CreateDynamicObject(987, 664.64691162109, -656.49542236328, 15.332686424255, 0.000000, 0.9942626953125, 359.99450683594, -1, -1, -1, 100);
- CreateDynamicObject(987, 685.8544921875, -656.7412109375, 15.32497215271, 0.000000, 0.000000, 359.98901367188, -1, -1, -1, 100);
- CreateDynamicObject(987, 697.80145263672, -656.80236816406, 15.329986572266, 0.000000, 1, 359.98901367188, -1, -1, -1, 100);
- CreateDynamicObject(987, 709.45983886719, -656.86505126953, 14.971923828125, 0.000000, 0.000000, 359.98901367188, -1, -1, -1, 100);
- CreateDynamicObject(987, 721.40496826172, -656.89471435547, 14.771392822266, 0.000000, 0.000000, 359.98901367188, -1, -1, -1, 100);
- CreateDynamicObject(987, 733.3720703125, -656.80413818359, 14.689651489258, 0.000000, 0.000000, 359.98901367188, -1, -1, -1, 100);
- CreateDynamicObject(987, 745.28778076172, -656.74322509766, 14.650032043457, 0.000000, 0.000000, 359.98901367188, -1, -1, -1, 100);
- CreateDynamicObject(987, 757.09893798828, -656.74011230469, 15.09056854248, 0.000000, 354, 38, -1, -1, -1, 100);
- CreateDynamicObject(987, 766.04632568359, -649.82873535156, 16.276504516602, 0.000000, 0.000000, 0.000000, -1, -1, -1, 100);
- CreateDynamicObject(987, 778.01824951172, -649.78247070313, 16.049873352051, 0.000000, 0.000000, 0.000000, -1, -1, -1, 100);
- CreateDynamicObject(987, 789.87329101563, -649.78582763672, 15.945636749268, 0.000000, 1.1000061035156, 0.000000, -1, -1, -1, 100);
- CreateDynamicObject(987, 801.92358398438, -649.76574707031, 15.591381072998, 0.000000, 0.000000, 0.000000, -1, -1, -1, 100);
- CreateDynamicObject(987, 813.8642578125, -649.78112792969, 15.3359375, 0.000000, 0.000000, 0.000000, -1, -1, -1, 100);
- CreateDynamicObject(987, 825.81072998047, -649.76251220703, 15.3359375, 0.000000, 0.000000, 0.000000, -1, -1, -1, 100);
- CreateDynamicObject(987, 837.63696289063, -649.75897216797, 16.301498413086, 0.000000, 0.000000, 45, -1, -1, -1, 100);
- CreateDynamicObject(987, 846.09124755859, -641.31304931641, 16.262481689453, 0.000000, 0.000000, 44.994506835938, -1, -1, -1, 100);
- CreateDynamicObject(987, 854.5498046875, -632.84985351563, 16.682537078857, 0.000000, 0.000000, 44.994506835938, -1, -1, -1, 100);
- CreateDynamicObject(987, 863.01812744141, -624.41119384766, 17.101375579834, 0.000000, 0.000000, 15, -1, -1, -1, 100);
- CreateDynamicObject(987, 873.41778564453, -621.57360839844, 17.501335144043, 0.000000, 0.000000, 14.996337890625, -1, -1, -1, 100);
- CreateDynamicObject(987, 888.81726074219, -586.34094238281, 20.501022338867, 0.000000, 4.185791015625, 109.99514770508, -1, -1, -1, 100);
- CreateDynamicObject(987, 886.74926757813, -597.95196533203, 20.603000640869, 0.000000, 4.185791015625, 80, -1, -1, -1, 100);
- CreateDynamicObject(987, 877.81964111328, -617.73986816406, 17.482070922852, 0.000000, 0.000000, 90, -1, -1, -1, 100);
- CreateDynamicObject(987, 878.12243652344, -605.89727783203, 17.536697387695, 0.000000, 350, 45, -1, -1, -1, 100);
- CreateDynamicObject(987, 879.11248779297, -604.93585205078, 17.81111907959, 0.000000, 349.99694824219, 44.994506835938, -1, -1, -1, 100);
- CreateDynamicObject(987, 877.87603759766, -620.45501708984, 17.495414733887, 0.000000, 0.000000, 90, -1, -1, -1, 100);
- CreateDynamicObject(987, 657.34924316406, -415.42208862305, 15.935859680176, 0.000000, 0.000000, 270, -1, -1, -1, 100);
- // Cameras
- CreateDynamicObject(1616,1553.954711,-1650.065429,26.071039,0.000000,4.000000, 454.000000, 0, 0, -1, 150.0);
- CreateDynamicObject(1616,1554.435424,-1701.015502,26.131610,0.000000,0.000000,0.000000, 0, 0, -1, 150.0);
- CreateDynamicObject(1616,1547.012451,-1637.666748,26.233406,0.000000,-24.000000,0.000000, 0, 0, -1, 150.0);
- CreateDynamicObject(1616,1582.134643,-1638.071166,16.406646,0.000000,18.000000,262.000000, 0, 0, -1, 150.0);
- CreateDynamicObject(1622,1554.744750,-1672.485229,19.866825,0.000000,0.000000,0.000000, 0, 0, -1, 150.0);
- CreateDynamicObject(2921,1494.899291,-1772.192260,31.959861,0.000000,330.000000,-348.000000, 0, 0, -1, 150.0);
- CreateDynamicObject(2921,1468.053100,-1772.614746,31.912132,8.000000,-34.000000,256.000000, 0, 0, -1, 150.0);
- CreateDynamicObject(2921,599.520019,-1245.774047,24.313776,0.000000,-18.000000,0.000000, 0, 0, -1, 150.0);
- CreateDynamicObject(1886,1412.130981,-1704.981689,16.190988,0.000000,358.000000,-252.000000, 0, 0, -1, 150.0);
- CreateDynamicObject(1886,1415.521850,-1698.588989,16.582780,16.000000,10.000000,296.000000, 0, 0, -1, 150.0);
- // Ganton Ministation
- CreateDynamicObject(982, 2281.4604492188, -1263.5357666016, 23.691139221191, 0.000000, 0.000000, 0.000000, 0, 0, -1, 150.0);
- CreateDynamicObject(982, 2281.4392089844, -1229.7736816406, 23.684722900391, 0.000000, 0.000000, 0.000000, 0, 0, -1, 150.0);
- CreateDynamicObject(983, 2281.3989257813, -1245.7922363281, 23.684555053711, 0.000000, 0.000000, 0.000000, 0, 0, -1, 150.0);
- CreateDynamicObject(984, 2281.4211425781, -1282.73046875, 23.636344909668, 0.000000, 0.000000, 0.000000, 0, 0, -1, 150.0);
- CreateDynamicObject(984, 2281.4035644531, -1295.5361328125, 23.636299133301, 0.000000, 0.000000, 0.000000, 0, 0, -1, 150.0);
- CreateDynamicObject(982, 2281.4191894531, -1322.0804443359, 23.683555603027, 0.000000, 0.000000, 0.000000, 0, 0, -1, 150.0);
- CreateDynamicObject(1228, 2281.423828125, -1249.8824462891, 23.422229766846, 0.000000, 0.000000, 0.000000, 0, 0, -1, 150.0);
- CreateDynamicObject(1363, 2278.3237304688, -1304.9714355469, 23.838163375854, 0.000000, 0.000000, 0.000000, 0, 0, -1, 150.0);
- CreateDynamicObject(984, 2281.3935546875, -1341.2841796875, 23.630844116211, 0.000000, 0.000000, 0.000000, 0, 0, -1, 150.0);
- CreateDynamicObject(982, 2281.4306640625, -1360.4041748047, 23.677814483643, 0.000000, 0.000000, 0.000000, 0, 0, -1, 150.0);
- CreateDynamicObject(18066, 2287.1318359375, -1121.8599853516, 36.600532531738, 0.000000, 0.000000, 0.000000, 0, 0, -1, 150.0);
- CreateDynamicObject(1263, 1684.3828125, -1955.8887939453, 19.887203216553, 0.000000, 0.000000, 177.38134765625, 0, 0, -1, 150.0);
- // Fences at Unity
- CreateDynamicObject(987, 1699.6953125, -1886.0477294922, 12.597728729248, 0.000000, 0.000000, 179.36633300781, 0, 0, -1, 150.0);
- CreateDynamicObject(987, 1687.7385253906, -1885.7711181641, 12.535243988037, 0.000000, 0.000000, 181.10131835938, 0, 0, -1, 150.0);
- CreateDynamicObject(1411, 1715.3929443359, -1934.3159179688, 14.17848110199, 0.000000, 0.000000, 0.000000, 0, 0, -1, 150.0);
- // Stage Shittery
- CGate1 = CreateDynamicObject(1569, 1481.1398925781, -1649.4718017578, -38.890918731689, 0, 0, 0, -1, -1, -1, 150.0);
- CGate2 = CreateDynamicObject(1569, 1484.1184082031, -1649.4512939453, -38.890918731689, 0, 0, 180, -1, -1, -1, 150.0);
- CreateDynamicObject(14602, 1487.154296875, -1642.2978515625, -33.523731231689, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(14593, 1470.474609375, -1612.26953125, -36.568000793457, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(14596, 1484.798828125, -1657.46484375, -28.191957473755, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(14825, 1467.810546875, -1660.9384765625, -30.837598800659, 0, 0, 90, -1, -1, -1, 150.0);
- CreateDynamicObject(2412, 1478.27734375, -1653.9748535156, -33.038883209229, 0, 0, 90, -1, -1, -1, 150.0);
- CreateDynamicObject(2412, 1478.27734375, -1652.8413085938, -33.038883209229, 0, 0, 90, -1, -1, -1, 150.0);
- CreateDynamicObject(14825, 1467.78515625, -1660.9384765625, -25.012687683105, 0, 0, 90, -1, -1, -1, 150.0);
- CreateDynamicObject(5020, 1479.517578125, -1657.5806884766, -25.676149368286, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(5020, 1479.4169921875, -1649.86328125, -25.676149368286, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(5020, 1479.5209960938, -1655.3566894531, -23.176187515259, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(2412, 1478.5859375, -1653.9682617188, -27.214120864868, 0, 0, 90, -1, -1, -1, 150.0);
- CreateDynamicObject(2412, 1478.5859375, -1652.8505859375, -27.21159362793, 0, 0, 90, -1, -1, -1, 150.0);
- CreateDynamicObject(14597, 1465.9228515625, -1653.94921875, -19.485353469849, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(1714, 1469.7176513672, -1642.5837402344, -38.884414672852, 0, 0, 90, -1, -1, -1, 150.0);
- CreateDynamicObject(2190, 1471.3394775391, -1641.9996337891, -38.164356231689, 0, 0, 270, -1, -1, -1, 150.0);
- CreateDynamicObject(1753, 1483.1320800781, -1629.4797363281, -38.884414672852, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(1753, 1482.2270507813, -1632.6997070313, -38.884414672852, 0, 0, 90, -1, -1, -1, 150.0);
- CreateDynamicObject(1753, 1486.0318603516, -1630.5968017578, -38.884414672852, 0, 0, 270, -1, -1, -1, 150.0);
- CreateDynamicObject(2195, 1482.1439208984, -1629.54296875, -38.267227172852, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(2195, 1486.0980224609, -1629.5289306641, -38.267227172852, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(2311, 1484.1362304688, -1631.0948486328, -38.884414672852, 0, 0, 270, -1, -1, -1, 150.0);
- CreateDynamicObject(2853, 1484.1126708984, -1631.7203369141, -38.378921508789, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(1491, 1476.4337158203, -1626.4521484375, -38.890918731689, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(1594, 1466.2562255859, -1604.7579345703, -38.419136047363, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(1594, 1469.6153564453, -1606.8394775391, -38.419136047363, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(1594, 1472.4711914063, -1603.9405517578, -38.419136047363, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(1594, 1466.720703125, -1608.9881591797, -38.419136047363, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(2367, 1474.9490966797, -1614.7037353516, -38.996131896973, 0, 0, 180, -1, -1, -1, 150.0);
- CreateDynamicObject(2367, 1472.8962402344, -1614.7037353516, -38.996131896973, 0, 0, 179.99450683594, -1, -1, -1, 150.0);
- CreateDynamicObject(1514, 1474.6328125, -1614.7937011719, -37.689453125, 0, 0, 180, -1, -1, -1, 150.0);
- CreateDynamicObject(1594, 1470.8737792969, -1610.3342285156, -38.419136047363, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(1594, 1467.5874023438, -1612.6694335938, -38.419136047363, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(2452, 1474.6979980469, -1616.6593017578, -38.896125793457, 0, 0, 180, -1, -1, -1, 150.0);
- CreateDynamicObject(1594, 1473.009765625, -1607.6895751953, -38.419136047363, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(3406, 1468.7631835938, -1670.0568847656, -34.247375488281, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(3406, 1468.7752685547, -1668.0545654297, -34.247375488281, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(2311, 1471.5423583984, -1670.5380859375, -27.247097015381, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(2311, 1469.2426757813, -1670.521484375, -27.247097015381, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(2311, 1467.0390625, -1670.5144042969, -27.247097015381, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(2311, 1471.5484619141, -1669.5866699219, -27.247097015381, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(2311, 1469.2946777344, -1669.5798339844, -27.247097015381, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(2311, 1467.0395507813, -1669.5699462891, -27.247097015381, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(2311, 1471.5349121094, -1668.7119140625, -27.247097015381, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(2311, 1469.1068115234, -1668.7237548828, -27.247097015381, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(2311, 1467.0294189453, -1668.7337646484, -27.247097015381, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(2606, 1477.1413574219, -1661.3282470703, -18.871046066284, 0, 0, 270, -1, -1, -1, 150.0);
- CreateDynamicObject(2606, 1477.1413574219, -1663.2800292969, -18.871046066284, 0, 0, 270, -1, -1, -1, 150.0);
- CreateDynamicObject(2606, 1477.140625, -1661.328125, -19.296039581299, 0, 0, 270, -1, -1, -1, 150.0);
- CreateDynamicObject(2606, 1477.1413574219, -1663.279296875, -19.296039581299, 0, 0, 270, -1, -1, -1, 150.0);
- CreateDynamicObject(2606, 1477.140625, -1661.328125, -19.721033096313, 0, 0, 270, -1, -1, -1, 150.0);
- CreateDynamicObject(2606, 1477.1413574219, -1663.279296875, -19.721033096313, 0, 0, 270, -1, -1, -1, 150.0);
- CreateDynamicObject(2747, 1474.6834716797, -1662.8536376953, -21.05765914917, 0, 0, 90, -1, -1, -1, 150.0);
- CreateDynamicObject(1715, 1473.5355224609, -1662.1356201172, -21.470212936401, 0, 0, 90, -1, -1, -1, 150.0);
- CreateDynamicObject(14820, 1474.6340332031, -1662.1536865234, -20.5260181427, 0, 0, 90, -1, -1, -1, 150.0);
- CreateDynamicObject(2747, 1474.6834716797, -1661.4703369141, -21.05765914917, 0, 0, 90, -1, -1, -1, 150.0);
- CreateDynamicObject(2184, 1455.2687988281, -1654.9584960938, -21.470212936401, 0, 0, 90, -1, -1, -1, 150.0);
- CreateDynamicObject(1714, 1453.3792724609, -1653.9136962891, -21.470212936401, 0, 0, 90, -1, -1, -1, 150.0);
- CreateDynamicObject(1715, 1456.4207763672, -1654.9020996094, -21.470212936401, 0, 0, 254.1201171875, -1, -1, -1, 150.0);
- CreateDynamicObject(1715, 1456.46484375, -1652.9100341797, -21.470212936401, 0, 0, 287.86401367188, -1, -1, -1, 150.0);
- CreateDynamicObject(2332, 1454.7623291016, -1650.8009033203, -19.649755477905, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(2332, 1455.6876220703, -1650.7962646484, -19.649755477905, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(2606, 1477.1021728516, -1644.5823974609, -18.871046066284, 0, 0, 270, -1, -1, -1, 150.0);
- CreateDynamicObject(2606, 1477.1021728516, -1646.5059814453, -18.871046066284, 0, 0, 270, -1, -1, -1, 150.0);
- CreateDynamicObject(2606, 1477.1015625, -1644.58203125, -19.321039199829, 0, 0, 270, -1, -1, -1, 150.0);
- CreateDynamicObject(2606, 1477.1015625, -1644.58203125, -19.746032714844, 0, 0, 270, -1, -1, -1, 150.0);
- CreateDynamicObject(2606, 1477.1015625, -1646.505859375, -19.321039199829, 0, 0, 270, -1, -1, -1, 150.0);
- CreateDynamicObject(2606, 1477.1015625, -1646.505859375, -19.746032714844, 0, 0, 270, -1, -1, -1, 150.0);
- CreateDynamicObject(2747, 1474.2965087891, -1644.8781738281, -21.05765914917, 0, 0, 90, -1, -1, -1, 150.0);
- CreateDynamicObject(2747, 1474.2965087891, -1646.3546142578, -21.05765914917, 0, 0, 90, -1, -1, -1, 150.0);
- CreateDynamicObject(14820, 1474.314453125, -1645.6547851563, -20.5260181427, 0, 0, 90, -1, -1, -1, 150.0);
- CreateDynamicObject(1715, 1472.7265625, -1645.4533691406, -21.470212936401, 0, 0, 90, -1, -1, -1, 150.0);
- CreateDynamicObject(2616, 1465.5062255859, -1667.4710693359, -19.477537155151, 0, 0, 180, -1, -1, -1, 150.0);
- CreateDynamicObject(2491, 1464.1849365234, -1665.7802734375, -21.995212554932, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(1722, 1467.73828125, -1662.6307373047, -21.477540969849, 0, 0, 180, -1, -1, -1, 150.0);
- CreateDynamicObject(1722, 1467.1627197266, -1662.6242675781, -21.477540969849, 0, 0, 179.99450683594, -1, -1, -1, 150.0);
- CreateDynamicObject(1722, 1466.6115722656, -1662.6320800781, -21.477540969849, 0, 0, 179.99450683594, -1, -1, -1, 150.0);
- CreateDynamicObject(1722, 1466.0607910156, -1662.6398925781, -21.477540969849, 0, 0, 179.99450683594, -1, -1, -1, 150.0);
- CreateDynamicObject(1722, 1465.5100097656, -1662.6477050781, -21.477540969849, 0, 0, 179.99450683594, -1, -1, -1, 150.0);
- CreateDynamicObject(1722, 1464.9592285156, -1662.6555175781, -21.477540969849, 0, 0, 179.99450683594, -1, -1, -1, 150.0);
- CreateDynamicObject(1722, 1467.73828125, -1661.2021484375, -21.477540969849, 0, 0, 179.99450683594, -1, -1, -1, 150.0);
- CreateDynamicObject(1722, 1467.1877441406, -1661.1994628906, -21.477540969849, 0, 0, 179.99450683594, -1, -1, -1, 150.0);
- CreateDynamicObject(1722, 1466.6369628906, -1661.2045898438, -21.477540969849, 0, 0, 179.99450683594, -1, -1, -1, 150.0);
- CreateDynamicObject(1722, 1466.0861816406, -1661.2094726563, -21.477540969849, 0, 0, 179.99450683594, -1, -1, -1, 150.0);
- CreateDynamicObject(1722, 1465.5354003906, -1661.2143554688, -21.477540969849, 0, 0, 179.99450683594, -1, -1, -1, 150.0);
- CreateDynamicObject(2596, 1462.0972900391, -1640.4859619141, -18.181795120239, 0, 0, 40.759765625, -1, -1, -1, 150.0);
- CreateDynamicObject(14782, 1465.5651855469, -1640.7342529297, -20.454166412354, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(1679, 1467.5703125, -1647.5926513672, -21.013721466064, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(1679, 1463.9787597656, -1646.4353027344, -21.013721466064, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(1679, 1467.42578125, -1643.7634277344, -21.013721466064, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(1491, 1479.6754150391, -1655.1639404297, -21.531019210815, 0, 0, 90, -1, -1, -1, 150.0);
- CreateDynamicObject(1491, 1479.6459960938, -1652.1604003906, -21.531019210815, 0, 0, 270, -1, -1, -1, 150.0);
- CreateDynamicObject(5020, 1479.6882324219, -1653.7099609375, -17.346500396729, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(1703, 1459.0430908203, -1651.7390136719, -21.477540969849, 0, 0, 0, -1, -1, -1, 150.0);
- // Secret Service HQ objects
- CreateDynamicObject(5066, 1287.9954833984, -966.40020751953, 35.185741424561, 0.000000, 0.000000, 270.67565917969, -1, -1, -1, 150.0); //
- CreateDynamicObject(16775, 1286.6317138672, -1006.0518188477, 33.799278259277, 0.000000, 0.000000, 0.000000, -1, -1, -1, 150.0); //
- CreateDynamicObject(2606, 1294.2587890625, -977.9140625, 34.766139984131, 0.000000, 0.000000, 0.000000, -1, -1, -1, 150.0); //
- CreateDynamicObject(983, 1295.4002685547, -985.91766357422, 32.378868103027, 0.000000, 0.000000, 93.294494628906, -1, -1, -1, 150.0); //
- CreateDynamicObject(984, 1292.2136230469, -992.51794433594, 32.331993103027, 0.000000, 0.000000, 0.000000, -1, -1, -1, 150.0); //
- CreateDynamicObject(14391, 1294.2153320313, -978.841796875, 32.655395507813, 0.000000, 0.000000, 268.69067382813, -1, -1, -1, 150.0); //
- CreateDynamicObject(1671, 1294.4108886719, -980.60296630859, 32.15552520752, 0.000000, 0.000000, 176.66442871094, -1, -1, -1, 150.0); //
- CreateDynamicObject(853, 1295.6857910156, -989.48455810547, 32.095985412598, 0.000000, 0.000000, 0.000000, -1, -1, -1, 150.0); //
- CreateDynamicObject(16444, 1296.6667480469, -990.82568359375, 32.049438476563, 0.000000, 0.000000, 0.000000, -1, -1, -1, 150.0); //
- CreateDynamicObject(16444, 1296.3265380859, -987.82354736328, 32.049438476563, 0.000000, 0.000000, 0.000000, -1, -1, -1, 150.0); //
- CreateDynamicObject(16444, 1294.0791015625, -990.94067382813, 32.049438476563, 0.000000, 0.000000, 0.000000, -1, -1, -1, 150.0); //
- CreateDynamicObject(16444, 1294.3259277344, -987.8984375, 32.049438476563, 0.000000, 0.000000, 0.000000, -1, -1, -1, 150.0); //
- // Market Objects.
- MarketGate = CreateDynamicObject(986, 828.37866210938, -1357.3833007813, 0.50577330589294, 0, 0, 316.73498535156, 0, 0, -1, 150.0);
- CreateDynamicObject(984, 805.03576660156, -1383.0194091797, 13.050528526306, 0, 0, 90, 0, 0, -1, 150.0);
- CreateDynamicObject(983, 790.45367431641, -1382.9906005859, 13.144278526306, 0, 0, 90, 0, 0, -1, 150.0);
- CreateDynamicObject(1215, 796.48046875, -1382.8759765625, 12.890310287476, 0, 0, 0, 0, 0, -1, 150.0);
- CreateDynamicObject(1215, 797.5302734375, -1382.9052734375, 12.890310287476, 0, 0, 0, 0, 0, -1, 150.0);
- CreateDynamicObject(984, 805.03515625, -1383.0185546875, 14.32550907135, 0, 0, 90, 0, 0, -1, 150.0);
- CreateDynamicObject(983, 792.02819824219, -1382.9906005859, 14.41925907135, 0, 0, 90, 0, 0, -1, 150.0);
- CreateDynamicObject(983, 792.00463867188, -1382.9906005859, 13.144278526306, 0, 0, 90, 0, 0, -1, 150.0);
- CreateDynamicObject(983, 790.47961425781, -1382.9906005859, 14.41925907135, 0, 0, 90, 0, 0, -1, 150.0);
- CreateDynamicObject(982, 814.68170166016, -1337.4604492188, 13.230429649353, 0, 0, 90, 0, 0, -1, 150.0);
- CreateDynamicObject(982, 811.53625488281, -1337.4604492188, 13.230429649353, 0, 0, 90, 0, 0, -1, 150.0);
- CreateDynamicObject(982, 811.5361328125, -1337.4599609375, 14.455410957336, 0, 0, 90, 0, 0, -1, 150.0);
- CreateDynamicObject(982, 814.681640625, -1337.4604492188, 14.455410957336, 0, 0, 90, 0, 0, -1, 150.0);
- CreateDynamicObject(983, 790.63787841797, -1337.4604492188, 13.230429649353, 0, 0, 90, 0, 0, -1, 150.0);
- CreateDynamicObject(983, 790.6376953125, -1337.4599609375, 14.455410957336, 0, 0, 90, 0, 0, -1, 150.0);
- CreateDynamicObject(983, 793.05914306641, -1337.4604492188, 13.230429649353, 0, 0, 90, 0, 0, -1, 150.0);
- CreateDynamicObject(983, 793.05859375, -1337.4599609375, 14.455410957336, 0, 0, 90, 0, 0, -1, 150.0);
- CreateDynamicObject(1215, 797.4560546875, -1337.4599609375, 12.890310287476, 0, 0, 0, 0, 0, -1, 150.0);
- CreateDynamicObject(3860, 791.19946289063, -1376.4256591797, 13.790652275085, 0, 0, 90, 0, 0, -1, 150.0);
- CreateDynamicObject(3861, 791.19921875, -1371.5234375, 13.790652275085, 0, 0, 90, 0, 0, -1, 150.0);
- CreateDynamicObject(3862, 791.19921875, -1367.0234375, 13.790652275085, 0, 0, 90, 0, 0, -1, 150.0);
- CreateDynamicObject(3863, 791.19946289063, -1362.7755126953, 13.790652275085, 0, 0, 90, 0, 0, -1, 150.0);
- CreateDynamicObject(3040, 802.70703125, -1370.0537109375, 14.959873199463, 0, 0, 0, 0, 0, -1, 150.0);
- CreateDynamicObject(3039, 802.78192138672, -1379.3953857422, 12.579677581787, 0, 0, 90, 0, 0, -1, 150.0);
- CreateDynamicObject(3860, 791.92718505859, -1345.5964355469, 13.719205856323, 0, 0, 66.180114746094, 0, 0, -1, 150.0);
- CreateDynamicObject(3860, 791.19921875, -1349.0830078125, 13.719205856323, 0, 0, 90, 0, 0, -1, 150.0);
- CreateDynamicObject(2818, 804.4697265625, -1359.4788818359, 12.546875, 0, 0, 0, 0, 0, -1, 150.0);
- CreateDynamicObject(2818, 804.46075439453, -1360.5544433594, 12.546875, 0, 0, 0, 0, 0, -1, 150.0);
- CreateDynamicObject(2843, 804.58380126953, -1359.4938964844, 12.546875, 0, 0, 0, 0, 0, -1, 150.0);
- CreateDynamicObject(2843, 804.34558105469, -1359.7551269531, 12.546875, 0, 0, 0, 0, 0, -1, 150.0);
- CreateDynamicObject(2843, 804.08276367188, -1359.5173339844, 12.546875, 0, 0, 0, 0, 0, -1, 150.0);
- CreateDynamicObject(2843, 804.56915283203, -1359.2424316406, 12.546875, 0, 0, 0, 0, 0, -1, 150.0);
- CreateDynamicObject(2843, 804.13031005859, -1360.5153808594, 12.546875, 0, 0, 0, 0, 0, -1, 150.0);
- CreateDynamicObject(2845, 804.28656005859, -1360.0739746094, 12.546875, 0, 0, 0, 0, 0, -1, 150.0);
- CreateDynamicObject(2846, 804.39782714844, -1360.1573486328, 12.546875, 0, 0, 0, 0, 0, -1, 150.0);
- CreateDynamicObject(2846, 804.88458251953, -1359.8830566406, 12.546875, 0, 0, 0, 0, 0, -1, 150.0);
- CreateDynamicObject(1280, 826.39501953125, -1348.5483398438, 12.935241699219, 0, 0, 0, 0, 0, -1, 150.0);
- CreateDynamicObject(994, 824.29821777344, -1341.3717041016, 12.515625, 0, 27.040008544922, 0, 0, 0, -1, 150.0);
- CreateDynamicObject(1280, 824.69842529297, -1346.8270263672, 12.935241699219, 0, 0, 90, 0, 0, -1, 150.0);
- CreateDynamicObject(1280, 824.81384277344, -1350.2290039063, 12.935241699219, 0, 0, 270, 0, 0, -1, 150.0);
- CreateDynamicObject(1289, 827.23211669922, -1345.6221923828, 13.120519638062, 0, 0, 90, 0, 0, -1, 150.0);
- CreateDynamicObject(1340, 802.52398681641, -1343.8159179688, 13.674461364746, 0, 0, 0, 0, 0, -1, 150.0);
- CreateDynamicObject(18608, 818.9775390625, -1347.7672119141, 19.220867156982, 0, 0, 0, 0, 0, -1, 150.0);
- CreateDynamicObject(18608, 823.9248046875, -1347.7672119141, 19.220867156982, 0, 0, 0, 0, 0, -1, 150.0);
- CreateDynamicObject(18608, 814.12585449219, -1347.7672119141, 19.220867156982, 0, 0, 0, 0, 0, -1, 150.0);
- CreateDynamicObject(3860, 791.79986572266, -1352.5068359375, 13.719205856323, 0, 0, 109.84991455078, 0, 0, -1, 150.0);
- CreateDynamicObject(1594, 797.06597900391, -1345.6844482422, 12.859804153442, 0, 0, 0, 0, 0, -1, 150.0);
- CreateDynamicObject(1594, 795.68872070313, -1348.9884033203, 12.859804153442, 0, 0, 0, 0, 0, -1, 150.0);
- CreateDynamicObject(1594, 799.14831542969, -1347.8571777344, 12.859804153442, 0, 0, 0, 0, 0, -1, 150.0);
- CreateDynamicObject(1594, 798.28918457031, -1351.6422119141, 12.859804153442, 0, 0, 0, 0, 0, -1, 150.0);
- CreateDynamicObject(1594, 795.88488769531, -1354.234375, 12.859804153442, 0, 0, 0, 0, 0, -1, 150.0);
- CreateDynamicObject(1594, 800.14105224609, -1354.3244628906, 12.859804153442, 0, 0, 0, 0, 0, -1, 150.0);
- CreateDynamicObject(2474, 791.74237060547, -1375.3428955078, 13.436249732971, 0, 0, 19.849853515625, 0, 0, -1, 150.0);
- CreateDynamicObject(2471, 792.07855224609, -1377.1655273438, 13.582711219788, 0, 0, 90, 0, 0, -1, 150.0);
- CreateDynamicObject(2958, 789.8662109375, -1371.955078125, 12.959178924561, 0, 0, 0, 0, 0, -1, 150.0);
- CreateDynamicObject(2803, 792.13903808594, -1372.3291015625, 14.092965126038, 0, 0, 0, 0, 0, -1, 150.0);
- CreateDynamicObject(2806, 792.20379638672, -1370.9985351563, 13.656076431274, 0, 0, 0, 0, 0, -1, 150.0);
- CreateDynamicObject(2035, 791.98931884766, -1368.0811767578, 13.460686683655, 0, 0, 0, 0, 0, -1, 150.0);
- CreateDynamicObject(2035, 792.00402832031, -1367.5812988281, 13.460686683655, 0, 0, 0, 0, 0, -1, 150.0);
- CreateDynamicObject(2044, 792.01300048828, -1367.1486816406, 13.463782310486, 0, 0, 0, 0, 0, -1, 150.0);
- CreateDynamicObject(2044, 791.74182128906, -1366.8314208984, 13.463782310486, 0, 0, 0, 0, 0, -1, 150.0);
- CreateDynamicObject(2037, 791.72448730469, -1365.84375, 13.508609771729, 0, 0, 0, 0, 0, -1, 150.0);
- CreateDynamicObject(2037, 792.22204589844, -1365.8837890625, 13.508609771729, 0, 0, 0, 0, 0, -1, 150.0);
- CreateDynamicObject(2843, 791.38885498047, -1364.1447753906, 13.436249732971, 0, 0, 0, 0, 0, -1, 150.0);
- CreateDynamicObject(2845, 791.38323974609, -1363.5395507813, 13.436249732971, 0, 0, 0, 0, 0, -1, 150.0);
- CreateDynamicObject(2846, 791.34631347656, -1362.7102050781, 13.436249732971, 0, 0, 0, 0, 0, -1, 150.0);
- CreateDynamicObject(984, 821.12902832031, -1337.4599609375, 15.683578491211, 0, 0, 90, 0, 0, -1, 150.0);
- CreateDynamicObject(983, 811.53552246094, -1337.4609375, 15.683578491211, 0, 0, 90, 0, 0, -1, 150.0);
- CreateDynamicObject(984, 821.12890625, -1337.4599609375, 16.933559417725, 0, 0, 90, 0, 0, -1, 150.0);
- CreateDynamicObject(984, 821.12890625, -1337.4599609375, 18.183540344238, 0, 0, 90, 0, 0, -1, 150.0);
- CreateDynamicObject(984, 821.12890625, -1337.4599609375, 19.408521652222, 0, 0, 90, 0, 0, -1, 150.0);
- CreateDynamicObject(983, 811.53515625, -1337.4609375, 16.933559417725, 0, 0, 90, 0, 0, -1, 150.0);
- CreateDynamicObject(983, 811.53515625, -1337.4609375, 18.183540344238, 0, 0, 90, 0, 0, -1, 150.0);
- CreateDynamicObject(983, 811.53515625, -1337.4609375, 19.408521652222, 0, 0, 90, 0, 0, -1, 150.0);
- // LSPD objects
- lspdgate = CreateDynamicObject(971, 1588.5617, -1638.1036, 12.7200, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(3029, 1582.3858642578, -1637.9400634766, 12.362442970276, 0.000000, 0.000000, 270); // PD Gate Door
- CreateDynamicObject(16150, -1968.4920654297, 1127.2453613281, -95.415031433105, 0.000000, 0.000000, 0.000000, -1, -1, -1, 150.0); //Int
- CreateDynamicObject(1368, -1966.2326660156, 1125.8280029297, -94.717483520508, 0.000000, 0.000000, 0.000000, -1, -1, -1, 150.0); //Bench
- CreateDynamicObject(1368, -1970.9825439453, 1125.8529052734, -94.717483520508, 0.000000, 0.000000, 0.000000, -1, -1, -1, 150.0); //Bench
- CreateDynamicObject(1368, -1970.9559326172, 1127.6025390625, -94.717483520508, 0.000000, 0.000000, 0.000000, -1, -1, -1, 150.0); //Bench
- CreateDynamicObject(1368, -1970.9285888672, 1129.3525390625, -94.717483520508, 0.000000, 0.000000, 0.000000, -1, -1, -1, 150.0); //Bench
- CreateDynamicObject(1368, -1970.9240722656, 1130.8525390625, -94.717483520508, 0.000000, 0.000000, 0.000000, -1, -1, -1, 150.0); //Bench
- CreateDynamicObject(1368, -1970.8751220703, 1132.6016845703, -94.717483520508, 0.000000, 0.000000, 0.000000, -1, -1, -1, 150.0); //Bench
- CreateDynamicObject(1368, -1966.2073974609, 1127.4285888672, -94.717483520508, 0.000000, 0.000000, 0.000000, -1, -1, -1, 150.0); //Bench
- CreateDynamicObject(1368, -1966.1800537109, 1129.1785888672, -94.717483520508, 0.000000, 0.000000, 0.000000, -1, -1, -1, 150.0); //Bench
- CreateDynamicObject(2924, -1972.4577636719, 1122.3991699219, -94.213607788086, 0.000000, 0.000000, 0.000000, -1, -1, -1, 150.0); // ????
- LSPDDoor1 = CreateDynamicObject(1569, 239.5439453125, 116.099609375, 1002.21875, 0, 0, 90, -1, 10, -1, 150.0);
- LSPDDoor4 = CreateDynamicObject(1569, 239.54446411133, 119.09854125977, 1002.21875, 0, 0, 270, -1, 10, -1, 150.0);
- LSPDDoor2 = CreateDynamicObject(1569, 253.20678710938, 107.55118560791, 1002.21875, 0, 0, 90, -1, 10, -1, 150.0);
- LSPDDoor5 = CreateDynamicObject(1569, 253.2060546875, 110.5517578125, 1002.21875, 0, 0, 270, -1, 10, -1, 150.0);
- LSPDDoor3 = CreateDynamicObject(1569, 216.35855102539, 116.49627685547, 998.015625, 0, 0, 0, -1, 10, -1, 150.0);
- LSPDDoor6 = CreateDynamicObject(1569, 219.33728027344, 116.49627685547, 998.015625, 0, 0, 180, -1, 10, -1, 150.0);
- CreateDynamicObject(974, 243.22212219238, 119.01119232178, 1007.49609375, 0, 0, 0, -1, 10, -1, 150.0);
- CreateDynamicObject(974, 249.822265625, 119.0107421875, 1007.49609375, 0, 0, 0, -1, 10, -1, 150.0);
- CreateDynamicObject(14782, 264.39651489258, 107.42306518555, 1004.6332397461, 0, 0, 180, -1, 10, -1, 150.0);
- CreateDynamicObject(2180, 260.97589111328, 111.95813751221, 1003.6171875, 0, 0, 0, -1, 10, -1, 150.0);
- CreateDynamicObject(2180, 262.82553100586, 111.95813751221, 1003.6171875, 0, 0, 0, -1, 10, -1, 150.0);
- CreateDynamicObject(2035, 261.05895996094, 112.14032745361, 1004.4432373047, 0, 0, 0, -1, 10, -1, 150.0);
- CreateDynamicObject(2035, 261.0673828125, 111.73974609375, 1004.4432373047, 0, 0, 0, -1, 10, -1, 150.0);
- CreateDynamicObject(2035, 262.1921081543, 111.76432037354, 1004.4432373047, 0, 0, 0, -1, 10, -1, 150.0);
- CreateDynamicObject(2035, 262.18371582031, 112.11358642578, 1004.4432373047, 0, 0, 0, -1, 10, -1, 150.0);
- CreateDynamicObject(2044, 260.82150268555, 112.40478515625, 1005.1069335938, 0, 90, 90, -1, 10, -1, 150.0);
- CreateDynamicObject(2044, 261.17120361328, 112.40771484375, 1005.1069335938, 0, 90, 90, -1, 10, -1, 150.0);
- CreateDynamicObject(2044, 261.54580688477, 112.41088867188, 1005.1069335938, 0, 90, 90, -1, 10, -1, 150.0);
- CreateDynamicObject(2040, 264.0260925293, 112.05718994141, 1004.5300292969, 0, 0, 0, -1, 10, -1, 150.0);
- CreateDynamicObject(2040, 263.75338745117, 111.75393676758, 1004.5300292969, 0, 0, 0, -1, 10, -1, 150.0);
- CreateDynamicObject(2041, 263.45355224609, 112.0640411377, 1004.6237792969, 0, 0, 0, -1, 10, -1, 150.0);
- CreateDynamicObject(1672, 263.18966674805, 111.77030944824, 1004.6245727539, 0, 0, 0, -1, 10, -1, 150.0);
- CreateDynamicObject(1672, 263.18823242188, 111.89453887939, 1004.6245727539, 0, 0, 0, -1, 10, -1, 150.0);
- CreateDynamicObject(1672, 263.06253051758, 111.89331054688, 1004.6245727539, 0, 0, 0, -1, 10, -1, 150.0);
- CreateDynamicObject(1672, 263.0634765625, 111.79257202148, 1004.6245727539, 0, 0, 0, -1, 10, -1, 150.0);
- CreateDynamicObject(2635, 267.04373168945, 118.35160827637, 1004.0219116211, 0, 0, 0, -1, 10, -1, 150.0);
- CreateDynamicObject(1810, 266.11364746094, 118.62970733643, 1003.6171875, 0, 0, 90, -1, 10, -1, 150.0);
- CreateDynamicObject(1810, 267.99978637695, 118.18621826172, 1003.6171875, 0, 0, 270, -1, 10, -1, 150.0);
- CreateDynamicObject(2196, 266.58547973633, 118.47133636475, 1004.4312133789, 0, 0, 81.384521484375, -1, 10, -1, 150.0);
- CreateDynamicObject(1616, 269.84222412109, 116.25686645508, 1007.1196899414, 0, 340.14999389648, 2.969970703125, -1, 10, -1, 150.0);
- CreateDynamicObject(1537, 229.37503051758, 114.83127593994, 998.015625, 0, 0, 270, -1, 10, -1, 150.0);
- CreateDynamicObject(3051, 275.70761108398, 121.5004196167, 1004.9793701172, 0, 0, 45, -1, 10, -1, 150.0);
- CreateDynamicObject(3051, 275.7311706543, 122.69128417969, 1004.9793701172, 0, 0, 45, -1, 10, -1, 150.0);
- CreateDynamicObject(1892, 252.4386138916, 108.55013275146, 1002.21875, 0, 0, 90, -1, 10, -1, 150.0);
- CreateDynamicObject(1892, 240.44403076172, 117.10729980469, 1002.21875, 0, 0, 90, -1, 10, -1, 150.0);
- CreateDynamicObject(14412, 1786.3754882813, -1566.6236572266, -11.765108108521, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(5020, 1810.4803466797, -1578.4578857422, -26.011026382446, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(14411, 1812.5189208984, -1567.7731933594, -24.300365447998, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(1806, 1812.6756591797, -1558.4259033203, -21.108858108521, 0.000000, 0.000000, 266.70568847656); //
- CreateDynamicObject(2606, 1814.5942382813, -1558.310546875, -19.352645874023, 0.000000, 0.000000, 270); //
- CreateDynamicObject(2606, 1814.59375, -1558.310546875, -18.902652740479, 0.000000, 0.000000, 270); //
- CreateDynamicObject(984, 1797.2371826172, -1576.1966552734, -20.472179412842, 0.000000, 0.000000, 90); //
- CreateDynamicObject(984, 1797.236328125, -1576.1962890625, -19.222198486328, 0.000000, 0.000000, 90); //
- CreateDynamicObject(984, 1797.236328125, -1576.1962890625, -17.972217559814, 0.000000, 0.000000, 90); //
- CreateDynamicObject(983, 1800.44140625, -1579.3736572266, -20.425304412842, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(983, 1800.44140625, -1579.373046875, -19.200323104858, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(983, 1800.44140625, -1579.373046875, -17.950342178345, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(1771, 1802.0244140625, -1578.3690185547, -20.475191116333, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(983, 1797.2287597656, -1579.345703125, -20.425304412842, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(983, 1797.228515625, -1579.345703125, -19.175323486328, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(983, 1797.228515625, -1579.345703125, -17.925342559814, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(1771, 1798.7761230469, -1578.4307861328, -20.475191116333, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(983, 1794.0754394531, -1579.4072265625, -20.425304412842, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(983, 1790.8470458984, -1579.4229736328, -20.425304412842, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(983, 1794.0751953125, -1579.4072265625, -19.175323486328, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(983, 1794.0751953125, -1579.4072265625, -17.925342559814, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(983, 1790.8466796875, -1579.4228515625, -19.200323104858, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(983, 1790.8466796875, -1579.4228515625, -17.975341796875, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(1771, 1795.5473632813, -1578.4833984375, -20.475191116333, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(1771, 1792.3704833984, -1578.4868164063, -20.475191116333, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(14791, 1772.5690917969, -1559.0500488281, -19.06379699707, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(14791, 1780.7524414063, -1568.1584472656, -19.06379699707, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(2628, 1779.5222167969, -1554.4709472656, -21.108858108521, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(2628, 1781.271484375, -1554.4698486328, -21.108858108521, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(2628, 1783.271484375, -1554.46875, -21.108858108521, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(2629, 1783.2358398438, -1557.8597412109, -21.108858108521, 0.000000, 0.000000, 180); //
- CreateDynamicObject(2629, 1781.3894042969, -1557.8410644531, -21.108858108521, 0.000000, 0.000000, 179.99450683594); //
- CreateDynamicObject(2629, 1779.587890625, -1557.9284667969, -21.108858108521, 0.000000, 0.000000, 179.99450683594); //
- CreateDynamicObject(14407, 1765.5689697266, -1558.4847412109, -20.166234970093, 0.000000, 0.000000, 180); //
- CreateDynamicObject(5020, 1754.8359375, -1574.6522216797, -15.485235214233, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(3496, 1798.4664306641, -1559.6866455078, -21.108858108521, 0.000000, 0.000000, 90); //
- CreateDynamicObject(3496, 1798.4099121094, -1564.6815185547, -21.108858108521, 0.000000, 0.000000, 90); //
- CreateDynamicObject(3496, 1798.228515625, -1569.83203125, -21.108858108521, 0.000000, 0.000000, 90); //
- CreateDynamicObject(2114, 1792.9893798828, -1563.9981689453, -20.962547302246, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(984, 1769.9936523438, -1576.1962890625, -20.472179412842, 0.000000, 0.000000, 90); //
- CreateDynamicObject(984, 1769.9931640625, -1576.1962890625, -19.247198104858, 0.000000, 0.000000, 90); //
- CreateDynamicObject(984, 1769.9931640625, -1576.1962890625, -17.997217178345, 0.000000, 0.000000, 90); //
- CreateDynamicObject(983, 1766.8254394531, -1579.3724365234, -20.425304412842, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(983, 1766.8251953125, -1579.3720703125, -19.200323104858, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(983, 1766.8251953125, -1579.3720703125, -17.975341796875, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(983, 1769.9969482422, -1579.37890625, -20.425304412842, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(983, 1769.99609375, -1579.37890625, -19.175323486328, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(983, 1769.99609375, -1579.37890625, -17.925342559814, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(983, 1773.2802734375, -1579.3983154297, -20.425304412842, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(983, 1773.2802734375, -1579.3974609375, -19.175323486328, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(983, 1773.2802734375, -1579.3974609375, -17.950342178345, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(983, 1776.3768310547, -1579.3669433594, -20.425304412842, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(983, 1776.3759765625, -1579.3662109375, -19.175323486328, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(983, 1776.3759765625, -1579.3662109375, -17.950342178345, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(1771, 1774.8692626953, -1578.0837402344, -20.475191116333, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(1771, 1771.6446533203, -1578.2677001953, -20.475191116333, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(1771, 1768.3924560547, -1578.1876220703, -20.475191116333, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(1771, 1765.1842041016, -1578.3269042969, -20.475191116333, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(1432, 1760.7723388672, -1556.0317382813, -16.944795608521, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(1432, 1756.9672851563, -1559.1997070313, -16.944795608521, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(1432, 1760.9885253906, -1562.3266601563, -16.944795608521, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(1432, 1756.9020996094, -1564.4138183594, -16.944795608521, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(1432, 1760.7673339844, -1567.8200683594, -16.944795608521, 0.000000, 0.000000, 0.000000); //
- CreateDynamicObject(1432, 1757.1599121094, -1570.4265136719, -16.944795608521, 0.000000, 0.000000, 0.000000); //
- ImpoundGate = CreateDynamicObject(968, 1544.681640625, -1630.8924560547, 13.054567337036, 0, 90, 90, -1, -1, -1, 150.0); // Gate
- CreateDynamicObject(983, 1544.6687011719, -1620.6209716797, 13.063118934631, 0, 0, 0, -1, -1, -1, 150.0); // Fence 1
- CreateDynamicObject(983, 1544.6687011719, -1635.9771728516, 13.063118934631, 0, 0, 0, -1, -1, -1, 150.0); // Fence 2
- CreateDynamicObject(1331, 1544.4990234375, -1616.9643554688, 13.304880142212, 0, 0, 180, -1, -1, -1, 150.0); // Bin (For covering the fence edge)
- CreateDynamicObject(2957, 1582.1939697266, -1637.9399414063, 14.010244369507, 0, 0, 0, -1, -1, -1, 150.0); // Door
- CreateDynamicObject(3928, 1567.7780761719, -1651.8255615234, 27.395606994629, 0, 0, 0, -1, -1, -1, 150.0); // Helipad
- CreateDynamicObject(3928, 1567.7780761719, -1698.9566650391, 27.395606994629, 0, 0, 0, -1, -1, -1, 150.0); // Helipad
- CreateDynamicObject(3051, 1571.4965820313, -1676.1550292969, 28.757656097412, 0, 0, 45, -1, -1, -1, 150.0); // Elevator door
- CreateDynamicObject(3051, 1571.5002441406, -1674.9787597656, 28.757656097412, 0, 0, 45, -1, -1, -1, 150.0); // Elevator door 2
- // Hospital Interior
- CreateDynamicObject(14594, 1158.3475341797, -1277.7058105469, -65.460548400879, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(10150, 1136.7777099609, -1265.685546875, -63.413455963135, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(1491, 1132.3988037109, -1282.9724121094, -65.440330505371, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(1491, 1139.5205078125, -1291.1364746094, -65.452735900879, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(1491, 1171.8874511719, -1269.2377929688, -65.444923400879, 0, 0, 268.68872070313, -1, -1, -1, 150.0);
- CreateDynamicObject(1491, 1171.8879394531, -1257.7572021484, -65.444923400879, 0, 0, 270.67370605469, -1, -1, -1, 150.0);
- CreateDynamicObject(1491, 1159.8345947266, -1260.6341552734, -65.407035827637, 0, 0, 183.33422851563, -1, -1, -1, 150.0);
- CreateDynamicObject(2596, 1125.7355957031, -1299.6791992188, -62.228019714355, 0, 0, 143.63650512695, -1, -1, -1, 150.0);
- CreateDynamicObject(2367, 1125.4946289063, -1298.7846679688, -65.444923400879, 0, 0, 179.36633300781, -1, -1, -1, 150.0);
- CreateDynamicObject(2367, 1127.5819091797, -1298.7911376953, -65.444923400879, 0, 0, 179.36633300781, -1, -1, -1, 150.0);
- CreateDynamicObject(1594, 1133.6119384766, -1293.8436279297, -64.967933654785, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(1594, 1129.8220214844, -1291.0684814453, -64.967933654785, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(1594, 1126.8267822266, -1287.6267089844, -64.967933654785, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(1594, 1133, -1287.6726074219, -64.967933654785, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(1594, 1125.7453613281, -1294.0341796875, -64.967933654785, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(1594, 1130.0112304688, -1284.6125488281, -64.967933654785, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(1594, 1131.3547363281, -1297.1984863281, -64.967933654785, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(14867, 1134.1434326172, -1303.0708007813, -63.915214538574, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(3383, 1163.8588867188, -1300.2731933594, -65.444923400879, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(3383, 1164.2451171875, -1295.5380859375, -65.444923400879, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(2482, 1137.8024902344, -1297.3492431641, -65.444923400879, 0, 0, 91.309509277344, -1, -1, -1, 150.0);
- CreateDynamicObject(2482, 1137.783203125, -1295.9916992188, -65.444923400879, 0, 0, 91.307373046875, -1, -1, -1, 150.0);
- CreateDynamicObject(3390, 1138.0035400391, -1293.0611572266, -65.444923400879, 0, 0, 180.63366699219, -1, -1, -1, 150.0);
- CreateDynamicObject(2146, 1142.0844726563, -1301.1970214844, -64.959373474121, 0, 0, 336.18017578125, -1, -1, -1, 150.0);
- CreateDynamicObject(932, 1145.6413574219, -1302.3699951172, -65.444923400879, 0, 0, 180.63366699219, -1, -1, -1, 150.0);
- CreateDynamicObject(3386, 1166.2917480469, -1291.7335205078, -65.452735900879, 0, 0, 89.324493408203, -1, -1, -1, 150.0);
- CreateDynamicObject(1998, 1177.8168945313, -1254.9371337891, -65.444923400879, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(1806, 1176.5178222656, -1253.9886474609, -65.444923400879, 0, 0, 268.69067382813, -1, -1, -1, 150.0);
- CreateDynamicObject(1806, 1176.5057373047, -1255.0048828125, -65.444923400879, 0, 0, 268.68713378906, -1, -1, -1, 150.0);
- CreateDynamicObject(1726, 1174.3175048828, -1261.3046875, -65.444923400879, 0, 0, 133.71014404297, -1, -1, -1, 150.0);
- CreateDynamicObject(2994, 1178.2098388672, -1260.8349609375, -64.950477600098, 0, 0, 121.08441162109, -1, -1, -1, 150.0);
- CreateDynamicObject(1997, 1177.6787109375, -1258.8585205078, -65.444923400879, 0, 0, 268.69067382813, -1, -1, -1, 150.0);
- CreateDynamicObject(14455, 1172.2811279297, -1251.4552001953, -64.355239868164, 0, 0, 270.67565917969, -1, -1, -1, 150.0);
- CreateDynamicObject(1997, 1143.1053466797, -1292.5474853516, -65.444923400879, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(1997, 1146.6044921875, -1292.5485839844, -65.444923400879, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(1997, 1150.3526611328, -1292.4544677734, -65.444923400879, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(1997, 1154.3505859375, -1292.3544921875, -65.444923400879, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(1997, 1158.0987548828, -1292.2611083984, -65.444923400879, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(2994, 1144.7823486328, -1292.1616210938, -64.942665100098, 0, 0, 152.84503173828, -1, -1, -1, 150.0);
- CreateDynamicObject(2994, 1148.2822265625, -1292.1628417969, -64.942665100098, 0, 0, 152.841796875, -1, -1, -1, 150.0);
- CreateDynamicObject(2994, 1152.0303955078, -1292.2591552734, -64.942665100098, 0, 0, 152.841796875, -1, -1, -1, 150.0);
- CreateDynamicObject(2994, 1156.0283203125, -1292.3623046875, -64.942665100098, 0, 0, 152.841796875, -1, -1, -1, 150.0);
- CreateDynamicObject(2994, 1159.7764892578, -1292.4593505859, -64.942665100098, 0, 0, 152.841796875, -1, -1, -1, 150.0);
- CreateDynamicObject(2994, 1164.1617431641, -1298.0561523438, -64.942665100098, 0, 0, 152.841796875, -1, -1, -1, 150.0);
- CreateDynamicObject(2207, 1158.2191162109, -1268.3189697266, -65.444923400879, 0, 0, 179.36633300781, -1, -1, -1, 150.0);
- CreateDynamicObject(1671, 1157.1782226563, -1269.6607666016, -64.984710693359, 0, 0, 160.78503417969, -1, -1, -1, 150.0);
- CreateDynamicObject(1806, 1159.2347412109, -1268.1467285156, -65.444923400879, 0, 0, 127.03997802734, -1, -1, -1, 150.0);
- CreateDynamicObject(1806, 1158.2208251953, -1267.3734130859, -65.444923400879, 0, 0, 152.83996582031, -1, -1, -1, 150.0);
- CreateDynamicObject(1806, 1156.7685546875, -1267.2618408203, -65.444923400879, 0, 0, 188.56604003906, -1, -1, -1, 150.0);
- CreateDynamicObject(1806, 1155.4471435547, -1267.8515625, -65.444923400879, 0, 0, 214.36865234375, -1, -1, -1, 150.0);
- CreateDynamicObject(2606, 1154.6783447266, -1268.6931152344, -63.895751953125, 0, 0, 89.325012207031, -1, -1, -1, 150.0);
- CreateDynamicObject(2606, 1154.677734375, -1268.6884765625, -63.454917907715, 0, 0, 89.324340820313, -1, -1, -1, 150.0);
- CreateDynamicObject(2606, 1154.677734375, -1268.6904296875, -62.995956420898, 0, 0, 89.324340820313, -1, -1, -1, 150.0);
- CreateDynamicObject(2344, 1156.6042480469, -1268.9682617188, -64.657470703125, 0, 0, 227.00598144531, -1, -1, -1, 150.0);
- CreateDynamicObject(2001, 1160.1789550781, -1269.9454345703, -65.444923400879, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(2606, 1154.6783447266, -1268.6824951172, -62.536994934082, 0, 0, 89.324340820313, -1, -1, -1, 150.0);
- CreateDynamicObject(2290, 1155.3526611328, -1262.310546875, -65.444923400879, 0, 0, 1.9849853515625, -1, -1, -1, 150.0);
- CreateDynamicObject(2290, 1154.8626708984, -1265.5278320313, -65.444923400879, 0, 0, 91.309967041016, -1, -1, -1, 150.0);
- CreateDynamicObject(1997, 1184.4649658203, -1270.4307861328, -65.444923400879, 0, 358.01501464844, 270.67504882813, -1, -1, -1, 150.0);
- CreateDynamicObject(1997, 1184.4389648438, -1267.1931152344, -65.444923400879, 0, 358.01147460938, 270.67016601563, -1, -1, -1, 150.0);
- CreateDynamicObject(2994, 1184.7041015625, -1268.9752197266, -64.950477600098, 0, 0, 312.3603515625, -1, -1, -1, 150.0);
- CreateDynamicObject(2166, 1176.7707519531, -1263.6304931641, -65.452735900879, 0, 0, 180.63366699219, -1, -1, -1, 150.0);
- CreateDynamicObject(1663, 1178.8988037109, -1254.6287841797, -64.984710693359, 0, 0, 276.63061523438, -1, -1, -1, 150.0);
- CreateDynamicObject(1671, 1175.4760742188, -1263.3142089844, -64.992523193359, 0, 0, 45.65478515625, -1, -1, -1, 150.0);
- CreateDynamicObject(2309, 1177.9158935547, -1264.6394042969, -65.452735900879, 0, 0, 59.549926757813, -1, -1, -1, 150.0);
- CreateDynamicObject(2309, 1177.982421875, -1263.5758056641, -65.452735900879, 0, 0, 71.455871582031, -1, -1, -1, 150.0);
- CreateDynamicObject(1742, 1100.4301757813, -1282.9621582031, -73.410781860352, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(1742, 1173.1912841797, -1265.0836181641, -65.349143981934, 0, 0, 0, -1, -1, -1, 150.0);
- CreateDynamicObject(3388, 1185.7862548828, -1263.7642822266, -65.452735900879, 0, 0, 86.070037841797, -1, -1, -1, 150.0);
- CreateDynamicObject(2190, 1177.103515625, -1263.5718994141, -64.6611328125, 0, 0, 294.49548339844, -1, -1, -1, 150.0);
- CreateDynamicObject(2904, 1171.8421630859, -1287.9797363281, -64.138763427734, 0, 0, 270.67565917969, -1, -1, -1, 150.0);
- CreateDynamicObject(1997, 1179.9593505859, -1291.5128173828, -65.444923400879, 0, 0, 270.67498779297, -1, -1, -1, 150.0);
- return 1;
- } // Thanks to Calg00ne
- public OnGameModeInit()
- {
- LoadObjects();
- DynamicWeather();
- ShowPlayerMarkers(0);
- DisableInteriorEnterExits();
- SetGameModeText("Roleplay");
- AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
- SetTimer("Server_1000", 1000, true);
- Pickup_GasStation = CreatePickup(PICKUP_INFO, 0, LOCATION_GASSTATION, 0);
- return 1;
- }
- public OnGameModeExit()
- {
- return 1;
- }
- public OnPlayerRequestClass(playerid, classid)
- {
- return 1;
- }
- forward OnPlayerConnectEx(playerid);
- public OnPlayerConnectEx(playerid)
- {
- if(PlayerInfo[playerid][IsRegistered] == 1)
- {
- ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT, "Login", "Please write your {FF0000}password", "Ok", "");
- }else{
- ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT, "Registration", "Please write your {FF0000}password", "Ok", "");
- }
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- LoadPlayer(playerid);
- SetTimerEx("OnPlayerConnectEx", 5000, false, "i", playerid);
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- SavePlayer(playerid);
- return 1;
- }
- public OnPlayerSpawn(playerid)
- {
- if(PlayerInfo[playerid][LoggedIn] == 1)
- {
- SendClientMessage(playerid, COLOR_WHITE, MESSAGE_SPAWNED);
- GivePlayerMoney(playerid, PlayerInfo[playerid][Money]);
- if(PlayerInfo[playerid][Skin] == 0)
- {
- PlayerInfo[playerid][Skin] = 2;
- }
- SetPlayerSkin(playerid, PlayerInfo[playerid][Skin]);
- SetPlayerPos(playerid, 701.3304,-472.6199,16.3359);
- return 1;
- }
- return 0;
- }
- public OnPlayerDeath(playerid, killerid, reason)
- {
- return 1;
- }
- public OnVehicleSpawn(vehicleid)
- {
- return 1;
- }
- public OnVehicleDeath(vehicleid, killerid)
- {
- return 1;
- }
- public OnPlayerText(playerid, text[])
- {
- if(PlayerInfo[playerid][LoggedIn] == 1 || PlayerInfo[playerid][Muted] == 0)
- {
- new talk[128];
- new pname[128];
- new Float:x, Float:y, Float:z;
- GetPlayerPos(playerid, x, y, z);
- GetPlayerName(playerid, pname, sizeof(pname));
- format(talk, sizeof(talk), "%s said: %s", pname, text);
- for(new i=0;i<MAX_PLAYERS;i++)
- {
- if(IsPlayerConnected(i))
- {
- if(IsPlayerInRangeOfPoint(i, 30, x, y, z))
- {
- SendClientMessage(i, COLOR_WHITE, talk);
- }
- }
- }
- }
- return 0;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp("/mycommand", cmdtext, true, 10) == 0)
- {
- // Do something here
- return 1;
- }
- return 0;
- }
- public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
- {
- return 1;
- }
- public OnPlayerExitVehicle(playerid, vehicleid)
- {
- 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)
- {
- return 0;
- }
- public OnObjectMoved(objectid)
- {
- return 1;
- }
- public OnPlayerObjectMoved(playerid, objectid)
- {
- return 1;
- }
- public OnPlayerPickUpPickup(playerid, pickupid)
- {
- if(pickupid == Pickup_GasStation)
- {
- ShowPlayerDialog(playerid, DIALOG_BUY_GASSTATION, DIALOG_STYLE_LIST, "Gas Station", "CLOSED", "Ok", "Cancel");
- }
- 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_REGISTER)
- {
- new pname[128], pfile[128];
- GetPlayerName(playerid, pname, sizeof(pname));
- format(pfile, sizeof(pfile), "Users/%s.ini", pname);
- if(!strlen(inputtext))
- {
- SendClientMessage(playerid, COLOR_BRIGHTRED, MESSAGE_ERROR_LENGTH);
- ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT, "Login", "Please write your {FF0000}password", "Ok", "");
- return 1;
- }
- dini_Set(pfile, "Password", inputtext);
- PlayerInfo[playerid][LoggedIn] = 1;
- PlayerInfo[playerid][IsRegistered] = 1;
- SpawnPlayer(playerid);
- }
- if(dialogid == DIALOG_LOGIN)
- {
- new pname[128], pfile[128];
- GetPlayerName(playerid, pname, sizeof(pname));
- format(pfile, sizeof(pfile), "Users/%s.ini", pname);
- if(!strlen(inputtext))
- {
- SendClientMessage(playerid, COLOR_BRIGHTRED, MESSAGE_ERROR_LENGTH);
- ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT, "Login", "Please write your {FF0000}password", "Ok", "");
- return 1;
- }
- if(!strcmp(inputtext, dini_Get(pfile, "Password")))
- {
- PlayerInfo[playerid][LoggedIn] = 1;
- SpawnPlayer(playerid);
- }
- else
- {
- SendClientMessage(playerid, COLOR_WHITE, MESSAGE_ERROR_INVALIDPASSWORD);
- }
- }
- return 1;
- }
- public OnPlayerClickPlayer(playerid, clickedplayerid, source)
- {
- return 1;
- }
- /*
- REGISTER COMMAND
- ----------------
- Used when the player is registering.
- /Register
- COMMAND:register(playerid, params[])
- {
- if(PlayerInfo[playerid][IsRegistered] == 1)
- {
- SendClientMessage(playerid, COLOR_BRIGHTRED, MESSAGE_ERROR_REGISTERED);
- return 1;
- }
- return 1;
- }
- */
- /*
- LOGIN COMMAND
- ----------------
- Used when the player is login in.
- /login
- COMMAND:login(playerid, params[])
- {
- if(PlayerInfo[playerid][IsRegistered] == 0)
- {
- SendClientMessage(playerid, COLOR_BRIGHTRED, MESSAGE_ERROR_NOTREGISTERED);
- return 1;
- }
- return 1;
- }
- */
- /*
- SETADMIN COMMAND
- ----------------
- to change the admin level of userid
- /setadmin [userid][level]
- */
- COMMAND:setadmin(playerid, params[])
- {
- if(IsPlayerAdmin(playerid))
- {
- new userid, level;
- if(!sscanf(params, "ui", userid, level))
- {
- PlayerInfo[userid][Admin] = level;
- SendClientMessage(playerid, COLOR_WHITE, "You have changed the admin level of this player");
- SendClientMessage(userid, COLOR_YELLOW, "Your admin level has been changed");
- }else{
- SendClientMessage(playerid, COLOR_GREY, "USAGE: /setadmin [userid] [level]");
- }
- }else{
- SendClientMessage(playerid, COLOR_BRIGHTRED, MESSAGE_ERROR_NOTRCON);
- }
- return 1;
- }
- /*
- KICK COMMAND
- ----------------
- used to kick a player
- /kick [userid][reason]
- */
- COMMAND:kick(playerid, params[])
- {
- if(PlayerInfo[playerid][Admin] > 0)
- {
- new userid, reason;
- if(!sscanf(params, "is", userid, reason))
- {
- new str[128];
- new pname[128];
- GetPlayerName(playerid, pname, sizeof(pname));
- format(str, sizeof(str), "%s has been kicked. (Reason: %s)", pname, reason);
- SendClientMessageToAll(COLOR_WHITE, str);
- Kick(playerid);
- }else{
- SendClientMessage(playerid, COLOR_GREY, "USAGE: /kick [userid][reason]");
- }
- }else{
- SendClientMessage(playerid, COLOR_BRIGHTRED, MESSAGE_ERROR_ADMLVL1);
- }
- return 1;
- }
- /*
- BAN COMMAND
- ----------------
- used to ban a player
- /ban [userid][reason]
- */
- COMMAND:ban(playerid, params[])
- {
- if(PlayerInfo[playerid][Admin] > 0)
- {
- new userid, reason;
- if(!sscanf(params, "is", userid, reason))
- {
- new str[128];
- new pname[128];
- GetPlayerName(playerid, pname, sizeof(pname));
- format(str, sizeof(str), "%s has been banned. (Reason: %s)", pname, reason);
- SendClientMessageToAll(COLOR_WHITE, str);
- Ban(playerid);
- }else{
- SendClientMessage(playerid, COLOR_GREY, "USAGE: /ban [userid][reason]");
- }
- }else{
- SendClientMessage(playerid, COLOR_BRIGHTRED, MESSAGE_ERROR_ADMLVL1);
- }
- return 1;
- }
- /*
- AC COMMAND
- ----------------
- Admin Chat
- /kick [message]
- */
- COMMAND:ac(playerid, params[])
- {
- if(PlayerInfo[playerid][Admin] > 0)
- {
- new str[128], pname[128];
- GetPlayerName(playerid, pname, sizeof(pname));
- format(str, sizeof(str), "[ADMIN]%s : %s", pname, params);
- for(new i=0;i<MAX_PLAYERS;i++)
- {
- if(IsPlayerConnected(i))
- {
- if(PlayerInfo[i][Admin] > 0)
- {
- SendClientMessage(i, COLOR_GREEN, str);
- }
- }
- }
- }else{
- SendClientMessage(playerid, COLOR_BRIGHTRED, MESSAGE_ERROR_ADMLVL1);
- }
- return 1;
- }
- /*
- GETHERE COMMAND
- ----------------
- used to bring a player
- /Gethere [userid]
- */
- COMMAND:gethere(playerid, params[])
- {
- if(PlayerInfo[playerid][Admin] > 0)
- {
- new Float:x, Float:y, Float:z;
- GetPlayerPos(playerid, x, y, z);
- new userid;
- if(!sscanf(params, "u", userid))
- {
- SendClientMessage(playerid, COLOR_WHITE, "Teleported by Admin");
- SetPlayerPos(userid, x, y, z);
- }else{
- SendClientMessage(playerid, COLOR_GREY, "USAGE:/gethere [userid]");
- }
- }else{
- SendClientMessage(playerid, COLOR_BRIGHTRED, MESSAGE_ERROR_ADMLVL1);
- }
- return 1;
- }
- /*
- GOTO COMMAND
- ----------------
- used to go to a player
- /Goto [userid]
- */
- COMMAND:goto(playerid, params[])
- {
- if(PlayerInfo[playerid][Admin] > 0)
- {
- new userid;
- if(!sscanf(params, "u", userid))
- {
- new Float:x, Float:y, Float:z;
- GetPlayerPos(userid, x, y, z);
- SendClientMessage(userid, COLOR_WHITE, "An admin has teleported to you");
- SetPlayerPos(playerid, x, y, z);
- }else{
- SendClientMessage(playerid, COLOR_GREY, "USAGE:/goto [userid]");
- }
- }else{
- SendClientMessage(playerid, COLOR_BRIGHTRED, MESSAGE_ERROR_ADMLVL1);
- }
- return 1;
- }
- /*
- SETSKIN COMMAND
- ----------------
- used to set the player skin
- /setskin [userid][skinid]
- */
- COMMAND:setskin(playerid, params[])
- {
- if(PlayerInfo[playerid][Admin] > 0)
- {
- new userid, skinid;
- if(!sscanf(params, "ui", userid, skinid))
- {
- PlayerInfo[userid][Skin] = skinid;
- SetPlayerSkin(userid, skinid);
- }else{
- SendClientMessage(playerid, COLOR_GREY, "USAGE:/setskin [userid][skinid]");
- }
- }else{
- SendClientMessage(playerid, COLOR_BRIGHTRED, MESSAGE_ERROR_ADMLVL1);
- }
- return 1;
- }
- /*
- VEHICLE COMMAND
- ----------------
- used to spawn vehicles
- /v [vehicleid][color1][color2]
- */
- COMMAND:v(playerid, params[])
- {
- if(PlayerInfo[playerid][Admin] > 0)
- {
- new model, color1, color2;
- if(!sscanf(params, "iii", model, color1, color2))
- {
- new Float:x, Float:y, Float:z;
- GetPlayerPos(playerid, x, y, z);
- new vehicleid = CreateVehicle(model, x, y, z, 0.0, color1, color2, -1);
- PutPlayerInVehicle(playerid, vehicleid, 1);
- }else{
- SendClientMessage(playerid, COLOR_GREY, "USAGE:/v [vehicleid][color1][color2]");
- }
- }else{
- SendClientMessage(playerid, COLOR_BRIGHTRED, MESSAGE_ERROR_ADMLVL1);
- }
- return 1;
- }
- /*
- B COMMAND
- ----------------
- used for local chat
- /b [text]
- */
- COMMAND:b(playerid, params[])
- {
- if(PlayerInfo[playerid][LoggedIn] == 1)
- {
- new talk[128];
- new pname[128];
- new Float:x, Float:y, Float:z;
- GetPlayerPos(playerid, x, y, z);
- GetPlayerName(playerid, pname, sizeof(pname));
- format(talk, sizeof(talk), "(( %s said: %s ))", pname, params);
- for(new i=0;i<MAX_PLAYERS;i++)
- {
- if(IsPlayerConnected(i))
- {
- if(IsPlayerInRangeOfPoint(i, 50, x, y, z))
- {
- SendClientMessage(i, COLOR_WHITE, talk);
- }
- }
- }
- }
- return 1;
- }
- /*
- O COMMAND
- ----------------
- used for global chat
- /o [text]
- */
- COMMAND:o(playerid, params[])
- {
- if(PlayerInfo[playerid][LoggedIn] == 1)
- {
- new talk[128];
- new pname[128];
- new Float:x, Float:y, Float:z;
- GetPlayerPos(playerid, x, y, z);
- GetPlayerName(playerid, pname, sizeof(pname));
- format(talk, sizeof(talk), "(( [GLOBAL] %s said: %s ))", pname, params);
- SendClientMessageToAll(COLOR_WHITE, talk);
- }
- return 1;
- }
- /*
- SH COMMAND
- ----------------
- used to shout
- /sh [text]
- */
- COMMAND:sh(playerid, params[])
- {
- if(PlayerInfo[playerid][LoggedIn] == 1)
- {
- new talk[128];
- new pname[128];
- new Float:x, Float:y, Float:z;
- GetPlayerPos(playerid, x, y, z);
- GetPlayerName(playerid, pname, sizeof(pname));
- format(talk, sizeof(talk), "%s shouted: %s", pname, params);
- for(new i=0;i<MAX_PLAYERS;i++)
- {
- if(IsPlayerConnected(i))
- {
- if(IsPlayerInRangeOfPoint(i, 50, x, y, z))
- {
- SendClientMessage(i, COLOR_WHITE, talk);
- }
- }
- }
- }
- return 1;
- }
- /*
- W COMMAND
- ----------------
- used to whisper
- /W [text]
- */
- COMMAND:w(playerid, params[])
- {
- if(PlayerInfo[playerid][LoggedIn] == 1)
- {
- new talk[128];
- new pname[128];
- new Float:x, Float:y, Float:z;
- GetPlayerPos(playerid, x, y, z);
- GetPlayerName(playerid, pname, sizeof(pname));
- format(talk, sizeof(talk), "(( %s said: %s ))", pname, params);
- for(new i=0;i<MAX_PLAYERS;i++)
- {
- if(IsPlayerConnected(i))
- {
- if(IsPlayerInRangeOfPoint(i, 10, x, y, z))
- {
- SendClientMessage(i, COLOR_WHITE, talk);
- }
- }
- }
- }
- return 1;
- }
- /*
- ME COMMAND
- ----------------
- used for local ME chat
- /me [text]
- */
- COMMAND:me(playerid, params[])
- {
- if(PlayerInfo[playerid][LoggedIn] == 1)
- {
- new talk[128];
- new pname[128];
- new Float:x, Float:y, Float:z;
- GetPlayerPos(playerid, x, y, z);
- GetPlayerName(playerid, pname, sizeof(pname));
- format(talk, sizeof(talk), "[ME] %s %s", pname, params);
- for(new i=0;i<MAX_PLAYERS;i++)
- {
- if(IsPlayerConnected(i))
- {
- if(IsPlayerInRangeOfPoint(i, 30, x, y, z))
- {
- SendClientMessage(i, COLOR_YELLOW, talk);
- }
- }
- }
- }
- return 1;
- }
- /*
- DO COMMAND
- ----------------
- used for local DO chat
- /do [text]
- */
- COMMAND:do(playerid, params[])
- {
- if(PlayerInfo[playerid][LoggedIn] == 1)
- {
- new talk[128];
- new pname[128];
- new Float:x, Float:y, Float:z;
- GetPlayerPos(playerid, x, y, z);
- GetPlayerName(playerid, pname, sizeof(pname));
- format(talk, sizeof(talk), "[DO] %s (( %s ))", params, pname);
- for(new i=0;i<MAX_PLAYERS;i++)
- {
- if(IsPlayerConnected(i))
- {
- if(IsPlayerInRangeOfPoint(i, 30, x, y, z))
- {
- SendClientMessage(i, COLOR_YELLOW, talk);
- }
- }
- }
- }
- return 1;
- }
- /*
- MUMBLE COMMAND
- ----------------
- used for local MUMBLE chat
- /mumble [text]
- */
- COMMAND:mumble(playerid, params[])
- {
- if(PlayerInfo[playerid][LoggedIn] == 1)
- {
- new talk[128];
- new pname[128];
- new Float:x, Float:y, Float:z;
- GetPlayerPos(playerid, x, y, z);
- GetPlayerName(playerid, pname, sizeof(pname));
- format(talk, sizeof(talk), "[ME] %s mumbles: '%s'", pname, params);
- for(new i=0;i<MAX_PLAYERS;i++)
- {
- if(IsPlayerConnected(i))
- {
- if(IsPlayerInRangeOfPoint(i, 30, x, y, z))
- {
- SendClientMessage(i, COLOR_YELLOW, talk);
- }
- }
- }
- }
- return 1;
- }
- /*
- COUGH COMMAND
- ----------------
- used for local COUGH chat
- /cough [text]
- */
- COMMAND:cough(playerid, params[])
- {
- if(PlayerInfo[playerid][LoggedIn] == 1)
- {
- new talk[128];
- new pname[128];
- new Float:x, Float:y, Float:z;
- GetPlayerPos(playerid, x, y, z);
- GetPlayerName(playerid, pname, sizeof(pname));
- format(talk, sizeof(talk), "[ME] %s coughts, and says '%s'", pname, params);
- for(new i=0;i<MAX_PLAYERS;i++)
- {
- if(IsPlayerConnected(i))
- {
- if(IsPlayerInRangeOfPoint(i, 30, x, y, z))
- {
- SendClientMessage(i, COLOR_YELLOW, talk);
- }
- }
- }
- }
- return 1;
- }
- /*
- MUTE COMMAND
- ----------------
- used to spawn vehicles
- /mute [playerid]
- */
- COMMAND:mute(playerid, params[])
- {
- if(PlayerInfo[playerid][Admin] > 0)
- {
- new userid;
- if(!sscanf(params, "u", userid))
- {
- SendClientMessage(playerid, COLOR_YELLOW, "User Muted");
- PlayerInfo[userid][Muted] = 1;
- }else{
- SendClientMessage(playerid, COLOR_GREY, "USAGE:/mute [playerid]");
- }
- }else{
- SendClientMessage(playerid, COLOR_BRIGHTRED, MESSAGE_ERROR_ADMLVL1);
- }
- return 1;
- }
- /*
- SETVIP COMMAND
- ----------------
- used to spawn vehicles
- /setvip [playerid]
- */
- COMMAND:setvip(playerid, params[])
- {
- if(PlayerInfo[playerid][Admin] > 1330)
- {
- new userid, level;
- if(!sscanf(params, "ui", userid, level))
- {
- SendClientMessage(playerid, COLOR_YELLOW, "User is now VIP");
- SendClientMessage(userid, COLOR_YELLOW, "You are now VIP");
- PlayerInfo[userid][VIP] = level;
- }else{
- SendClientMessage(playerid, COLOR_GREY, "USAGE:/setvip [playerid][level]");
- }
- }else{
- SendClientMessage(playerid, COLOR_BRIGHTRED, MESSAGE_ERROR_ADMLVL1337);
- }
- return 1;
- }
- /*
- SETLEADER COMMAND
- ----------------
- used to set leader
- /setleader [playerid]
- */
- COMMAND:setleader(playerid, params[])
- {
- if(PlayerInfo[playerid][Admin] > 1330)
- {
- new userid, factionid;
- if(!sscanf(params, "ui", userid, factionid))
- {
- SendClientMessage(playerid, COLOR_YELLOW, "User is now leader of this faction");
- SendClientMessage(userid, COLOR_YELLOW, "You are now leader of a faction (/stats)");
- PlayerInfo[userid][FactionID] = factionid;
- PlayerInfo[userid][FactionRank] = 1337;
- }else{
- SendClientMessage(playerid, COLOR_GREY, "USAGE:/setleader [playerid][factionid]");
- }
- }else{
- SendClientMessage(playerid, COLOR_BRIGHTRED, MESSAGE_ERROR_ADMLVL1337);
- }
- return 1;
- }
- /*
- STATS COMMAND
- ----------------
- used to retrieve the stats of the player
- /stats
- */
- COMMAND:stats(playerid, params[])
- {
- new str[128];
- new string[128];
- if(PlayerInfo[playerid][IsRegistered] == 1)
- {
- string = "yes";
- }else{
- string = "no";
- }
- format(str, sizeof(str), "Registered: %s", string);
- format(str, sizeof(str), "%s Money: %i Dollars", str, PlayerInfo[playerid][Money]);
- format(str, sizeof(str), "%s Admin: %i ", str, PlayerInfo[playerid][Admin]);
- format(str, sizeof(str), "%s Skin: %i ", str, PlayerInfo[playerid][Skin]);
- format(str, sizeof(str), "%s Muted: %i ", str, PlayerInfo[playerid][Muted]);
- return 1;
- }
- /*
- DUTY COMMAND
- ----------------
- To go on duty on the faction
- /duty
- */
- COMMAND:duty(playerid, params[])
- {
- if(PlayerInfo[playerid][FactionID] == FACTION_RCPD)
- {
- if(PlayerInfo[playerid][FactionRank] == RANK_RCPD_CADET)
- {
- SetPlayerSkin(playerid, 280);
- }
- if(PlayerInfo[playerid][FactionRank] == RANK_RCPD_OFFICER)
- {
- SetPlayerSkin(playerid, 281);
- }
- if(PlayerInfo[playerid][FactionRank] == RANK_RCPD_LIT)
- {
- SetPlayerSkin(playerid, 282);
- }
- if(PlayerInfo[playerid][FactionRank] == RANK_RCPD_CHIEF)
- {
- SetPlayerSkin(playerid, 283);
- }
- SendClientMessage(playerid, COLOR_WANTED, "-Radio: You are now in duty as part of the Red County Police Department");
- }
- return 1;
- }
- /*
- RADIO COMMAND
- ----------------
- Sends a radio message to all
- the users that are connected
- with the same FactionID and
- a faction rank of 1 or higher.
- /r [message]
- */
- COMMAND:r(playerid, params[])
- {
- if(PlayerInfo[playerid][FactionID] == 0 || PlayerInfo[playerid][FactionRank] == 0)
- {
- return 1;
- }
- new str[128];
- new pname[128];
- GetPlayerName(playerid, pname, sizeof(pname));
- format(str, sizeof(str), "-Radio %s: %s, over", pname, params);
- for(new i=0;i<MAX_PLAYERS;i++)
- {
- if(IsPlayerConnected(i))
- {
- if(PlayerInfo[playerid][FactionID] == PlayerInfo[i][FactionID] || PlayerInfo[i][FactionRank] > 0)
- {
- SendClientMessage(playerid, COLOR_WANTED, str);
- }
- }
- }
- return 1;
- }
- /*
- TICKET COMMAND
- ----------------
- issues a ticket to the
- specified userid
- with a specific value
- which is converted to negative
- sending two messages (issuer
- and issuing)
- /ticket [userid][amount]
- */
- COMMAND:ticket(playerid, params[])
- {
- if(PlayerInfo[playerid][FactionID] == FACTION_RCPD)
- {
- new userid, amount;
- if(!sscanf(params, "ui", userid, amount))
- {
- GivePlayerMoney(userid, -amount);
- SendClientMessage(playerid, COLOR_WHITE, "You have issued this ticket");
- new str[128];
- format(str, sizeof(str), "You have received a ticket for $%i", amount);
- SendClientMessage(playerid, COLOR_YELLOW, str);
- }else{
- SendClientMessage(playerid, COLOR_BRIGHTRED, "ERROR: /ticket [userid][amount]");
- }
- }
- return 1;
- }
- stock InitTearGas(playerid)
- {
- new Float: TmpFloatX, Float: TmpFloatY, Float: TmpFloatZ;
- GetPlayerPos(playerid, TmpFloatX, TmpFloatY, TmpFloatZ);
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- if(GetPlayerSkin(i) != 285)
- {
- if(IsPlayerInRangeOfPoint(i, 10.0, TmpFloatX, TmpFloatY, TmpFloatZ))
- {
- if(Player[i][TearGasEffect] < 1)
- {
- if(! IsPlayerInAnyVehicle(i))
- {
- ApplyAnimation(i, "FAT", "IDLE_TIRED", 4.1, 1, 1, 1, 1, 0);
- TogglePlayerControllable(i, false);
- Player[i][TearGasEffect] = 1;
- }
- }
- }
- }
- }
- return 1;
- }
- forward MinutesToSeconds(minutes);
- public MinutesToSeconds(minutes)
- {
- return minutes*60;
- }
- forward SecondsToMinutes(seconds);
- public SecondsToMinutes(seconds)
- {
- return seconds/60;
- }
- stock GetPlayerSpeed(playerid, get3d)
- {
- new Float:x, Float:y, Float:z;
- if(IsPlayerInAnyVehicle(playerid))
- GetVehicleVelocity(GetPlayerVehicleID(playerid), x, y, z);
- else
- GetPlayerVelocity(playerid, x, y, z);
- return SpeedCheck(x, y, z, 100.0, get3d);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement