Advertisement
Guest User

Untitled

a guest
Jan 13th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 95.87 KB | None | 0 0
  1. /*
  2. week 0 day 1 : 0
  3. week 0 day 2 : 500
  4. week 0 day 3 : 1000
  5. week 0 day 4 : 1500
  6. week 0 day 5 : 2000
  7. week 1 day 1 : 2500
  8.  
  9. LINES SPACE:
  10. (To be able to add a specific number of lines from bonus lines
  11.  
  12. Improved Achievements System Lines
  13. ___________________________________
  14. 1
  15. 2
  16. 3
  17. 4
  18. 5
  19. 6
  20. 7
  21. 8
  22. 9
  23. 10
  24. 1
  25. 2
  26. 3
  27. 4
  28. 5
  29. 6
  30. 7
  31. 8
  32. 9
  33. 10
  34. 1
  35. 2
  36. 3
  37. 4
  38. 5
  39. 6
  40. 7
  41. 8
  42. 9
  43. 10
  44. 1
  45. 2
  46. 3
  47. 4
  48. 5
  49. 6
  50. 7
  51. 8
  52. 9
  53. 10
  54. 1
  55. 2
  56. 3
  57. 4
  58. 5
  59. 6
  60. 7
  61. 8
  62. 9
  63. 10
  64. 1
  65. 2
  66. 3
  67. 4
  68. 5
  69. 6
  70. 7
  71. 8
  72. 9
  73. 10
  74. 1
  75. 2
  76. 3
  77. 4
  78. 5
  79. 6
  80. 7
  81. 8
  82. 9
  83. 10
  84. 1
  85. 2
  86. 3
  87. 4
  88. 5
  89. 6
  90. 7
  91. 8
  92. 9
  93. 10
  94. 1
  95. 2
  96. 3
  97. 4
  98. 5
  99. 6
  100. 7
  101. 8
  102. 9
  103. 10
  104. 1
  105. 2
  106. 3
  107. 4
  108. 5
  109. 6
  110. 7
  111. 8
  112. 9
  113. 10
  114. 1
  115. 2
  116. 3
  117. 4
  118. 5
  119. 6
  120. 7
  121. 8
  122. 9
  123. 10
  124. 1
  125. 2
  126. 3
  127. 4
  128. 5
  129. 6
  130. 7
  131. 8
  132. 9
  133. 10
  134. 1
  135. 2
  136. 3
  137. 4
  138. 5
  139. 6
  140. 7
  141. 8
  142. 9
  143. 10
  144. 1
  145. 2
  146. 3
  147. 4
  148. 5
  149. 6
  150. 7
  151. 8
  152. 9
  153. 10
  154. */
  155.  
  156. /*
  157. ================================================================================
  158. INCLUDE FILES
  159. ================================================================================
  160. */
  161. #include <a_samp>
  162. #include <dini>
  163. #include <zcmd>
  164. #include <sscanf2>
  165. #include <achievements>
  166.  
  167. /*
  168. ================================================================================
  169. COLOR DEFINES
  170. ================================================================================
  171. */
  172. #define COLOR_GREY 0xAFAFAFAA
  173. #define COLOR_GREEN 0x33AA33AA
  174. #define COLOR_RED 0xAA3333AA
  175. #define COLOR_YELLOW 0xFFFF00AA
  176. #define COLOR_WHITE 0xFFFFFFAA
  177. #define COLOR_BLUE 0x0000BBAA
  178. #define COLOR_LIGHTBLUE 0x33CCFFAA
  179. #define COLOR_ORANGE 0xFF9900AA
  180. #define COLOR_RED 0xAA3333AA
  181. #define COLOR_LIME 0x10F441AA
  182. #define COLOR_MAGENTA 0xFF00FFFF
  183. #define COLOR_NAVY 0x000080AA
  184. #define COLOR_AQUA 0xF0F8FFAA
  185. #define COLOR_CRIMSON 0xDC143CAA
  186. #define COLOR_FLBLUE 0x6495EDAA
  187. #define COLOR_BISQUE 0xFFE4C4AA
  188. #define COLOR_BLACK 0x000000AA
  189. #define COLOR_CHARTREUSE 0x7FFF00AA
  190. #define COLOR_BROWN 0XA52A2AAA
  191. #define COLOR_CORAL 0xFF7F50AA
  192. #define COLOR_GOLD 0xB8860BAA
  193. #define COLOR_GREENYELLOW 0xADFF2FAA
  194. #define COLOR_INDIGO 0x4B00B0AA
  195. #define COLOR_IVORY 0xFFFF82AA
  196. #define COLOR_LAWNGREEN 0x7CFC00AA
  197. #define COLOR_LIMEGREEN 0x32CD32AA //<--- Dark lime
  198. #define COLOR_MIDNIGHTBLUE 0X191970AA
  199. #define COLOR_MAROON 0x800000AA
  200. #define COLOR_OLIVE 0x808000AA
  201. #define COLOR_ORANGERED 0xFF4500AA
  202. #define COLOR_PINK 0xFFC0CBAA // - Light light pink
  203. #define COLOR_SEAGREEN 0x2E8B57AA
  204. #define COLOR_SPRINGGREEN 0x00FF7FAA
  205. #define COLOR_TOMATO 0xFF6347AA // - Tomato >:/ sounds wrong lol... well... :P
  206. #define COLOR_YELLOWGREEN 0x9ACD32AA //- like military green
  207. #define COLOR_MEDIUMAQUA 0x83BFBFAA
  208. #define COLOR_MEDIUMMAGENTA 0x8B008BAA // dark magenta ^^
  209. #define COLOR_GREY 0xAFAFAFAA
  210. #define COLOR_GREEN 0x33AA33AA
  211. #define COLOR_BRIGHTRED 0xFF0000AA
  212. #define COLOR_DARKRED 0xC60000FF
  213. #define COLOR_YELLOW 0xFFFF00AA
  214. #define COLOR_TAN 0xBDB76BAA
  215. #define COLOR_PURPLE 0x800080AA
  216. #define COLOR_WHITE 0xFFFFFFAA
  217. #define COLOR_LIGHTBLUE 0x33CCFFAA
  218. #define COLOR_ORANGE 0xFF9900AA
  219. #define COLOR_INDIGO 0x4B00B0AA
  220. #define COLOR_SANTORANGE 0xFF6C3BAA
  221. #define COLOR_INVIS 0xAFAFAF00
  222. #define COLOR_CRIMBLUE 0x3A47DEFF
  223. #define COLOR_WANTED 0xCC0066AA
  224. #define COLOR_GROVE 0x378729FF
  225. #define COLOR_BALLAS 0xA31D88FF
  226. #define COLOR_DARKGREY 0x696969FF
  227. #define COLOR_ERPSS 0x549852FF
  228. #define COLOR_L1A 0x50A2ABFF
  229. #define COLOR_FADE1 0xE6E6E6E6
  230. #define COLOR_FADE2 0xC8C8C8C8
  231. #define COLOR_FADE3 0xAAAAAAAA
  232. #define COLOR_FADE4 0x8C8C8C8C
  233. #define COLOR_FADE5 0x6E6E6E6E
  234. #define BLACK 0x000000FF
  235. #define COLOR_TAI 0xabcaf9AA
  236. #define COLOR_MAIN 0x89AAD6AA //main server return color
  237. #define COLOR_ERROR 0xFF0000AA //The color of the message, when an error occurs
  238. #define COLOR_CYAN 0xF8A8FFAA
  239. #define COLOR_GCHAT 0x749feeAA
  240. #define COLOR_SYSTEM 0x8FA6C2AA
  241.  
  242. #define PICKUP_BRIEFCASE 1210
  243. #define PICKUP_MONEY 1212
  244. #define PICKUP_INFORMATION 1239
  245. #define PICKUP_HEART 1240
  246. #define PICKUP_ADRENALINE 1241
  247. #define PICKUP_ARMOR 1242
  248. #define PICKUP_BRIBE 1247
  249. #define PICKUP_GTA3 1248
  250. #define PICKUP_BOMB 1252
  251. #define PICKUP_PHOTO 1253
  252. #define PICKUP_SKULL 1254
  253. #define PICKUP_DOUBLESKULL 1313
  254. #define PICKUP_BHOUSE 1272
  255. #define PICKUP_GHOUSE 1273
  256. #define PICKUP_CASH 1274
  257. #define PICKUP_TSHIRT 1275
  258. #define PICKUP_TIKI 1276
  259. #define PICKUP_DISK 1277
  260. #define PICKUP_DRUG 1279
  261. #define PICKUP_INFO 1318
  262.  
  263. #define chrtolower(%1) \
  264. (((%1) > 0x40 && (%1) <= 0x5A) ? ((%1) | 0x20) : (%1))
  265.  
  266. #define SpeedCheck(%0,%1,%2,%3,%4) floatround(floatsqroot(%4?(%0*%0+%1*%1+%2*%2):(%0*%0+%1*%1)) *%3*1.6)
  267.  
  268. #define WEAPON_BRASSKNUCKLE (1)
  269. #define WEAPON_GOLFCLUB (2)
  270. #define WEAPON_NITESTICK (3)
  271. #define WEAPON_KNIFE (4)
  272. #define WEAPON_BAT (5)
  273. #define WEAPON_SHOVEL (6)
  274. #define WEAPON_POOLSTICK (7)
  275. #define WEAPON_KATANA (8)
  276. #define WEAPON_CHAINSAW (9)
  277. #define WEAPON_DILDO (10)
  278. #define WEAPON_DILDO2 (11)
  279. #define WEAPON_VIBRATOR (12)
  280. #define WEAPON_VIBRATOR2 (13)
  281. #define WEAPON_FLOWER (14)
  282. #define WEAPON_CANE (15)
  283. #define WEAPON_GRENADE (16)
  284. #define WEAPON_TEARGAS (17)
  285. #define WEAPON_MOLTOV (18)
  286. #define WEAPON_COLT45 (22)
  287. #define WEAPON_SILENCED (23)
  288. #define WEAPON_DEAGLE (24)
  289. #define WEAPON_SHOTGUN (25)
  290. #define WEAPON_SAWEDOFF (26)
  291. #define WEAPON_SHOTGSPA (27)
  292. #define WEAPON_UZI (28)
  293. #define WEAPON_MP5 (29)
  294. #define WEAPON_AK47 (30)
  295. #define WEAPON_M4 (31)
  296. #define WEAPON_TEC9 (32)
  297. #define WEAPON_RIFLE (33)
  298. #define WEAPON_SNIPER (34)
  299. #define WEAPON_ROCKETLAUNCHER (35)
  300. #define WEAPON_HEATSEEKER (36)
  301. #define WEAPON_FLAMETHROWER (37)
  302. #define WEAPON_MINIGUN (38)
  303. #define WEAPON_SATCHEL (39)
  304. #define WEAPON_BOMB (40)
  305. #define WEAPON_SPRAYCAN (41)
  306. #define WEAPON_FIREEXTINGUISHER (42)
  307. #define WEAPON_CAMERA (43)
  308. #define WEAPON_PARACHUTE (46)
  309. #define WEAPON_VEHICLE (49)
  310. #define WEAPON_DROWN (53)
  311. #define WEAPON_COLLISION (54)
  312.  
  313. #define KEY_ACTION (1)
  314. #define KEY_CROUCH (2)
  315. #define KEY_FIRE (4)
  316. #define KEY_SPRINT (8)
  317. #define KEY_SECONDARY_ATTACK (16)
  318. #define KEY_JUMP (32)
  319. #define KEY_LOOK_RIGHT (64)
  320. #define KEY_HANDBRAKE (128)
  321. #define KEY_LOOK_LEFT (256)
  322. #define KEY_SUBMISSION (512)
  323. #define KEY_LOOK_BEHIND (512)
  324. #define KEY_WALK (1024)
  325. #define KEY_ANALOG_UP (2048)
  326. #define KEY_ANALOG_DOWN (4096)
  327. #define KEY_ANALOG_RIGHT (16384)
  328. #define KEY_ANALOG_LEFT (8192)
  329.  
  330. #define PLAYER_STATE_NONE (0)
  331. #define PLAYER_STATE_ONFOOT (1)
  332. #define PLAYER_STATE_DRIVER (2)
  333. #define PLAYER_STATE_PASSENGER (3)
  334. #define PLAYER_STATE_EXIT_VEHICLE (4) // (used internally)
  335. #define PLAYER_STATE_ENTER_VEHICLE_DRIVER (5) // (used internally)
  336. #define PLAYER_STATE_ENTER_VEHICLE_PASSENGER (6) // (used internally)
  337. #define PLAYER_STATE_WASTED (7)
  338. #define PLAYER_STATE_SPAWNED (8)
  339. #define PLAYER_STATE_SPECTATING (9)
  340.  
  341. new stock VehicleNames[(212+1)][128] = {
  342. "Landstalker",
  343. "Bravura",
  344. "Buffalo",
  345. "Linerunner",
  346. "Pereniel",
  347. "Sentinel",
  348. "Dumper",
  349. "Firetruck",
  350. "Trashmaster",
  351. "Stretch",
  352. "Manana",
  353. "Infernus",
  354. "Voodoo",
  355. "Pony",
  356. "Mule",
  357. "Cheetah",
  358. "Ambulance",
  359. "Leviathan",
  360. "Moonbeam",
  361. "Esperanto",
  362. "Taxi",
  363. "Washington",
  364. "Bobcat",
  365. "Mr Whoopee",
  366. "BF Injection",
  367. "Hunter",
  368. "Premier",
  369. "Enforcer",
  370. "Securicar",
  371. "Banshee",
  372. "Predator",
  373. "Bus",
  374. "Rhino",
  375. "Barracks",
  376. "Hotknife",
  377. "Trailer", //artict1
  378. "Previon",
  379. "Coach",
  380. "Cabbie",
  381. "Stallion",
  382. "Rumpo",
  383. "RC Bandit",
  384. "Romero",
  385. "Packer",
  386. "Monster",
  387. "Admiral",
  388. "Squalo",
  389. "Seasparrow",
  390. "Pizzaboy",
  391. "Tram",
  392. "Trailer", //artict2
  393. "Turismo",
  394. "Speeder",
  395. "Reefer",
  396. "Tropic",
  397. "Flatbed",
  398. "Yankee",
  399. "Caddy",
  400. "Solair",
  401. "Berkley's RC Van",
  402. "Skimmer",
  403. "PCJ-600",
  404. "Faggio",
  405. "Freeway",
  406. "RC Baron",
  407. "RC Raider",
  408. "Glendale",
  409. "Oceanic",
  410. "Sanchez",
  411. "Sparrow",
  412. "Patriot",
  413. "Quad",
  414. "Coastguard",
  415. "Dinghy",
  416. "Hermes",
  417. "Sabre",
  418. "Rustler",
  419. "ZR3 50",
  420. "Walton",
  421. "Regina",
  422. "Comet",
  423. "BMX",
  424. "Burrito",
  425. "Camper",
  426. "Marquis",
  427. "Baggage",
  428. "Dozer",
  429. "Maverick",
  430. "News Chopper",
  431. "Rancher",
  432. "FBI Rancher",
  433. "Virgo",
  434. "Greenwood",
  435. "Jetmax",
  436. "Hotring",
  437. "Sandking",
  438. "Blista Compact",
  439. "Police Maverick",
  440. "Boxville",
  441. "Benson",
  442. "Mesa",
  443. "RC Goblin",
  444. "Hotring Racer", //hotrina
  445. "Hotring Racer", //hotrinb
  446. "Bloodring Banger",
  447. "Rancher",
  448. "Super GT",
  449. "Elegant",
  450. "Journey",
  451. "Bike",
  452. "Mountain Bike",
  453. "Beagle",
  454. "Cropdust",
  455. "Stunt",
  456. "Tanker", //petro
  457. "RoadTrain",
  458. "Nebula",
  459. "Majestic",
  460. "Buccaneer",
  461. "Shamal",
  462. "Hydra",
  463. "FCR-900",
  464. "NRG-500",
  465. "HPV1000",
  466. "Cement Truck",
  467. "Tow Truck",
  468. "Fortune",
  469. "Cadrona",
  470. "FBI Truck",
  471. "Willard",
  472. "Forklift",
  473. "Tractor",
  474. "Combine",
  475. "Feltzer",
  476. "Remington",
  477. "Slamvan",
  478. "Blade",
  479. "Freight",
  480. "Streak",
  481. "Vortex",
  482. "Vincent",
  483. "Bullet",
  484. "Clover",
  485. "Sadler",
  486. "Firetruck", //firela
  487. "Hustler",
  488. "Intruder",
  489. "Primo",
  490. "Cargobob",
  491. "Tampa",
  492. "Sunrise",
  493. "Merit",
  494. "Utility",
  495. "Nevada",
  496. "Yosemite",
  497. "Windsor",
  498. "Monster", //monstera
  499. "Monster", //monsterb
  500. "Uranus",
  501. "Jester",
  502. "Sultan",
  503. "Stratum",
  504. "Elegy",
  505. "Raindance",
  506. "RC Tiger",
  507. "Flash",
  508. "Tahoma",
  509. "Savanna",
  510. "Bandito",
  511. "Freight", //freiflat
  512. "Trailer", //streakc
  513. "Kart",
  514. "Mower",
  515. "Duneride",
  516. "Sweeper",
  517. "Broadway",
  518. "Tornado",
  519. "AT-400",
  520. "DFT-30",
  521. "Huntley",
  522. "Stafford",
  523. "BF-400",
  524. "Newsvan",
  525. "Tug",
  526. "Trailer", //petrotr
  527. "Emperor",
  528. "Wayfarer",
  529. "Euros",
  530. "Hotdog",
  531. "Club",
  532. "Trailer", //freibox
  533. "Trailer", //artict3
  534. "Andromada",
  535. "Dodo",
  536. "RC Cam",
  537. "Launch",
  538. "Police Car (LSPD)",
  539. "Police Car (SFPD)",
  540. "Police Car (LVPD)",
  541. "Police Ranger",
  542. "Picador",
  543. "S.W.A.T. Van",
  544. "Alpha",
  545. "Phoenix",
  546. "Glendale",
  547. "Sadler",
  548. "Luggage Trailer", //bagboxa
  549. "Luggage Trailer", //bagboxb
  550. "Stair Trailer", //tugstair
  551. "Boxville",
  552. "Farm Plow", //farmtr1
  553. "Utility Trailer", //utiltr1
  554. "Invalid Vehicle" //just to return if the modelid is invalid
  555. };
  556.  
  557. AntiDeAMX()
  558. {
  559. new a[][] =
  560. {
  561. "Unarmed (Fist)",
  562. "Brass K"
  563. };
  564. #pragma unused a
  565. }
  566.  
  567. new Pickup_GasStation;
  568. #define LOCATION_GASSTATION 653.6004,-565.2471,16.3359
  569. /*
  570. ================================================================================
  571. MESSAGES
  572. ================================================================================
  573. */
  574.  
  575.  
  576. #define MESSAGE_SPAWNED "You have spawned, have fun!"
  577.  
  578. /*
  579. ================================================================================
  580. ERROR MESSAGES
  581. ================================================================================
  582. */
  583.  
  584. #define MESSAGE_ERROR_REGISTERED "ERROR: {FFFFFF}You are already registered"
  585. #define MESSAGE_ERROR_NOTREGISTERED "ERROR: {FFFFFF}You are not registered"
  586. #define MESSAGE_ERROR_LENGTH "ERROR: {FFFFFF}Invalid input size"
  587. #define MESSAGE_ERROR_INVALIDPASSWORD "ERROR: {FFFFFF}Passwords don't match"
  588. #define MESSAGE_ERROR_NOTRCON "ERROR: {FFFFFF}You are not a RCON Admin"
  589. #define MESSAGE_ERROR_ADMLVL1 "ERROR: {FFFFFF}You need to be atleast Admin Level 1"
  590. #define MESSAGE_ERROR_ADMLVL1337 "ERROR: {FFFFFF}You need to be atleast Admin Level 1337"
  591.  
  592. /*
  593. ================================================================================
  594. DIALOGS
  595. ================================================================================
  596. */
  597.  
  598. #define DIALOG_REGISTER 1
  599. #define DIALOG_LOGIN 2
  600. #define DIALOG_BUY_GASSTATION 3
  601.  
  602. /*
  603. ================================================================================
  604. PLAYER ENUMS
  605. ================================================================================
  606. */
  607.  
  608.  
  609. enum PlayerInformation
  610. {
  611. IsRegistered,
  612. Password[128],
  613. LoggedIn,
  614. Money,
  615. Admin,
  616. Skin,
  617. Muted,
  618. VIP,
  619. FactionID,
  620. FactionRank
  621. }
  622. new PlayerInfo[MAX_PLAYERS][PlayerInformation];
  623.  
  624. #define FACTION_NONE 0
  625. #define FACTION_RCPD 1
  626. #define RANK_RCPD_CADET 1
  627. #define RANK_RCPD_OFFICER 2
  628. #define RANK_RCPD_LIT 3
  629. #define RANK_RCPD_CHIEF 4
  630.  
  631. /*
  632. ================================================================================
  633. LOAD
  634. ================================================================================
  635. */
  636.  
  637. stock LoadPlayer(playerid)
  638. {
  639. new pname[128], pfile[128];
  640. GetPlayerName(playerid, pname, sizeof(pname));
  641. format(pfile, sizeof(pfile), "Users/%s.ini", pname);
  642. PlayerInfo[playerid][IsRegistered] = dini_Int(pfile, "IsRegistered");
  643. PlayerInfo[playerid][Money] = dini_Int(pfile, "Money");
  644. PlayerInfo[playerid][Admin] = dini_Int(pfile, "Admin");
  645. PlayerInfo[playerid][Skin] = dini_Int(pfile, "Skin");
  646. }
  647.  
  648. /*
  649. ================================================================================
  650. SAVE
  651. ================================================================================
  652. */
  653.  
  654. stock SavePlayer(playerid)
  655. {
  656. new pname[128], pfile[128];
  657. GetPlayerName(playerid, pname, sizeof(pname));
  658. format(pfile, sizeof(pfile), "Users/%s.ini", pname);
  659. dini_IntSet(pfile, "IsRegistered", PlayerInfo[playerid][IsRegistered]);
  660. dini_IntSet(pfile, "Money", PlayerInfo[playerid][Money]);
  661. dini_IntSet(pfile, "Admin", PlayerInfo[playerid][Admin]);
  662. dini_IntSet(pfile, "Skin", PlayerInfo[playerid][Skin]);
  663. }
  664.  
  665. main()
  666. {
  667. }
  668.  
  669. forward Server_1000();
  670. public Server_1000()
  671. {
  672. for(new playerid=0;playerid<MAX_PLAYERS;playerid++)
  673. {
  674. if(IsPlayerConnected(playerid))
  675. {
  676. new currentmoney = GetPlayerMoney(playerid);
  677. if(currentmoney != PlayerInfo[playerid][Money])
  678. {
  679. GivePlayerMoney(playerid, -currentmoney);
  680. GivePlayerMoney(playerid, PlayerInfo[playerid][Money]);
  681. }
  682. }
  683. }
  684. return 1;
  685. }
  686.  
  687. stock GivePlayerMoneyEx(playerid, amount)
  688. {
  689. PlayerInfo[playerid][Money] = PlayerInfo[playerid][Money]+amount;
  690. }
  691.  
  692. forward DynamicWeather();
  693. public DynamicWeather()
  694. {
  695. new GlobalWeather;
  696. GlobalWeather = random(17);
  697. SetWeather(GlobalWeather);
  698. return 1;
  699. } // Thanks to Calg00ne.
  700.  
  701. stock LoadObjects()
  702. {
  703. // Danny's Ramp
  704. CreateObject(1696, 2818.1513671875, -1462.9223632813, 40.069728851318, 0.000000, 0.000000, 246.85583496094);
  705.  
  706. // New Arrest Point
  707. PrisonGate = CreateDynamicObject(980, 1788.4801025391, -1600.1746826172, 15.320266723633, 0, 0, 348.07507324219, -1, -1, -1, 100);
  708. CreateDynamicObject(987, 1797.1053466797, -1601.7110595703, 12.524091720581, 0, 0, 358.74755859375, -1, -1, -1, 100);
  709. CreateDynamicObject(987, 1800.1494140625, -1601.908203125, 12.524091720581, 0, 0, 358.74755859375, -1, -1, -1, 100);
  710. CreateDynamicObject(987, 1811.8372802734, -1602.2653808594, 12.524091720581, 0, 0, 90, -1, -1, -1, 100);
  711. CreateDynamicObject(987, 1811.8372802734, -1593.2626953125, 12.524091720581, 0, 0, 90, -1, -1, -1, 100);
  712. CreateDynamicObject(987, 1811.7364501953, -1581.3986816406, 12.474092483521, 0, 0, 75.249938964844, -1, -1, -1, 100);
  713. CreateDynamicObject(987, 1814.7548828125, -1569.8776855469, 12.44909286499, 0, 0, 74.995361328125, -1, -1, -1, 100);
  714. CreateDynamicObject(987, 1817.8708496094, -1558.4490966797, 12.44909286499, 0, 0, 74.24267578125, -1, -1, -1, 100);
  715. CreateDynamicObject(987, 1821.1696777344, -1547.0092773438, 12.42409324646, 0, 0, 168.09008789063, -1, -1, -1, 100);
  716. CreateDynamicObject(3749, 1788.7869873047, -1598.2781982422, 18.374307632446, 0, 0, 348.25, -1, -1, -1, 100);
  717.  
  718. // Dillimore Fences
  719. CreateDynamicObject(987, 878.19152832031, -555.26751708984, 18.846422195435, 0.000000, 357.99621582031, 106.99658203125, -1, -1, -1, 100);
  720. CreateDynamicObject(987, 884.7734375, -575.1669921875, 19.662727355957, 0.000000, 4.185791015625, 109.99514770508, -1, -1, -1, 100);
  721. CreateDynamicObject(987, 874.2783203125, -541.9453125, 20.224229812622, 0.000000, 351.99096679688, 103.99658203125, -1, -1, -1, 100);
  722. CreateDynamicObject(987, 871.47912597656, -530.49053955078, 22.229835510254, 0.000000, 351.99645996094, 103.99658203125, -1, -1, -1, 100);
  723. CreateDynamicObject(987, 868.45727539063, -519.16613769531, 24.204593658447, 0.000000, 351.99645996094, 103.99658203125, -1, -1, -1, 100);
  724. CreateDynamicObject(987, 865.50201416016, -508.20715332031, 25.793262481689, 0.000000, 356.99645996094, 103.99658203125, -1, -1, -1, 100);
  725. CreateDynamicObject(987, 862.60638427734, -496.52239990234, 26.309391021729, 0.000000, 351.99645996094, 103.99658203125, -1, -1, -1, 100);
  726. CreateDynamicObject(987, 859.73895263672, -484.99890136719, 27.779407501221, 0.000000, 351.99645996094, 103.99658203125, -1, -1, -1, 100);
  727. CreateDynamicObject(987, 858.97442626953, -473.84356689453, 29.905250549316, 0.000000, 29, 184, -1, -1, -1, 100);
  728. CreateDynamicObject(987, 848.27716064453, -474.45513916016, 24.488092422485, 0.000000, 28.998413085938, 183.9990234375, -1, -1, -1, 100);
  729. CreateDynamicObject(987, 847.36071777344, -474.35614013672, 24.048976898193, 0.000000, 28.998413085938, 183.9990234375, -1, -1, -1, 100);
  730. CreateDynamicObject(987, 836.51782226563, -474.97598266602, 18.776485443115, 0.000000, 17.998413085938, 183.9990234375, -1, -1, -1, 100);
  731. CreateDynamicObject(987, 824.84832763672, -475.77407836914, 15.909212112427, 0.000000, 5, 183.9990234375, -1, -1, -1, 100);
  732. CreateDynamicObject(987, 812.97216796875, -476.62902832031, 14.827367782593, 0.000000, 1.998779296875, 183.9990234375, -1, -1, -1, 100);
  733. CreateDynamicObject(987, 801.02600097656, -477.478515625, 14.725658416748, 0.000000, 0.000000, 183.9990234375, -1, -1, -1, 100);
  734. CreateDynamicObject(987, 789.29638671875, -478.37826538086, 15.3359375, 0.000000, 1.9940185546875, 183.9990234375, -1, -1, -1, 100);
  735. CreateDynamicObject(987, 777.27038574219, -479.22692871094, 15.338191986084, 0.000000, 0.9940185546875, 180, -1, -1, -1, 100);
  736. CreateDynamicObject(987, 765.2509765625, -479.22619628906, 15.3359375, 0.000000, 0.000000, 180, -1, -1, -1, 100);
  737. CreateDynamicObject(987, 753.29528808594, -479.22619628906, 15.3359375, 0.000000, 0.000000, 180, -1, -1, -1, 100);
  738. CreateDynamicObject(987, 741.31274414063, -479.23364257813, 15.3359375, 0.000000, 0.000000, 179.99450683594, -1, -1, -1, 100);
  739. CreateDynamicObject(987, 729.330078125, -479.14041137695, 15.3359375, 0.000000, 0.000000, 90, -1, -1, -1, 100);
  740. CreateDynamicObject(987, 729.32543945313, -467.14434814453, 15.3359375, 0.000000, 0.000000, 90, -1, -1, -1, 100);
  741. CreateDynamicObject(987, 729.35913085938, -455.19284057617, 15.3359375, 0.000000, 0.000000, 90, -1, -1, -1, 100);
  742. CreateDynamicObject(987, 729.40209960938, -450.07754516602, 15.3359375, 0.000000, 0.000000, 90, -1, -1, -1, 100);
  743. CreateDynamicObject(987, 729.36944580078, -439.51220703125, 15.3359375, 0.000000, 12, 90, -1, -1, -1, 100);
  744. CreateDynamicObject(987, 729.34429931641, -427.96881103516, 13.084827423096, 0.000000, 7, 90, -1, -1, -1, 100);
  745. CreateDynamicObject(987, 729.48901367188, -415.89389038086, 11.743815422058, 0.000000, 355, 180, -1, -1, -1, 100);
  746. CreateDynamicObject(987, 717.61071777344, -415.80996704102, 12.991068840027, 0.000000, 354.99572753906, 179.99450683594, -1, -1, -1, 100);
  747. CreateDynamicObject(987, 705.74475097656, -415.74383544922, 14.194542884827, 0.000000, 354.99572753906, 179.99450683594, -1, -1, -1, 100);
  748. CreateDynamicObject(987, 693.76171875, -415.54000854492, 15.393180847168, 0.000000, 354.99572753906, 179.99450683594, -1, -1, -1, 100);
  749. CreateDynamicObject(987, 684.71734619141, -415.39520263672, 16.339876174927, 0.000000, 359, 179.99450683594, -1, -1, -1, 100);
  750. CreateDynamicObject(987, 672.81188964844, -415.53039550781, 16.379411697388, 0.000000, 0.79998779296875, 179.99450683594, -1, -1, -1, 100);
  751. CreateDynamicObject(987, 661.30914306641, -415.53176879883, 16.189367294312, 0.000000, 4.7965087890625, 179.99450683594, -1, -1, -1, 100);
  752. CreateDynamicObject(987, 649.251953125, -415.4755859375, 15.360529899597, 0.000000, 0.000000, 270, -1, -1, -1, 100);
  753. dGates[0] = CreateDynamicObject(971, 641.03759765625, -426.08184814453, 18.757417678833, 0.000000, 0.000000, 0.000000, -1, -1, -1, 100);
  754. CreateDynamicObject(987, 636.52276611328, -425.89846801758, 15.45868396759, 0.000000, 356.99523925781, 179.99450683594, -1, -1, -1, 100);
  755. CreateDynamicObject(987, 624.96862792969, -425.86193847656, 16.079877853394, 0.000000, 356.99523925781, 270, -1, -1, -1, 100);
  756. CreateDynamicObject(987, 624.93566894531, -437.49353027344, 16.752447128296, 0.000000, 0.000000, 270, -1, -1, -1, 100);
  757. CreateDynamicObject(987, 625.13543701172, -449.3840637207, 16.609519958496, 0.000000, 0.000000, 269.98901367188, -1, -1, -1, 100);
  758. CreateDynamicObject(987, 624.88525390625, -461.13934326172, 15.514266967773, 0.000000, 0.000000, 269.98901367188, -1, -1, -1, 100);
  759. CreateDynamicObject(3749, 877.88354492188, -559.63415527344, 24.332035064697, 0.000000, 0.000000, 288.99536132813, -1, -1, -1, 100);
  760. dGates[1] = CreateDynamicObject(971, 879.41540527344, -559.67053222656, 22.263460159302, 0.000000, 0.000000, 108, -1, -1, -1, 100);
  761. CreateDynamicObject(987, 875.44543457031, -546.6025390625, 19.524656295776, 0.000000, 351.99499511719, 106.99588012695, -1, -1, -1, 100);
  762. CreateDynamicObject(3749, 641.00659179688, -426.22872924805, 21.045913696289, 0.000000, 0.000000, 0.000000, -1, -1, -1, 100);
  763. CreateDynamicObject(987, 657.14215087891, -425.97109985352, 15.54341506958, 0.000000, 1, 179.99450683594, -1, -1, -1, 100);
  764. CreateDynamicObject(987, 625.00732421875, -467.70855712891, 15.218000411987, 0.000000, 0.000000, 269.98901367188, -1, -1, -1, 100);
  765. CreateDynamicObject(987, 624.6357421875, -479.03747558594, 15.3359375, 0.000000, 0.000000, 180, -1, -1, -1, 100);
  766. CreateDynamicObject(987, 612.74658203125, -479.03042602539, 15.335936546326, 0.000000, 0.000000, 180, -1, -1, -1, 100);
  767. CreateDynamicObject(987, 600.61364746094, -478.51965332031, 15.573776245117, 0.000000, 0.000000, 252, -1, -1, -1, 100);
  768. CreateDynamicObject(987, 596.92755126953, -489.86529541016, 15.3359375, 0.000000, 0.000000, 266.99890136719, -1, -1, -1, 100);
  769. CreateDynamicObject(987, 596.28448486328, -501.81750488281, 15.3359375, 0.000000, 0.000000, 270.19525146484, -1, -1, -1, 100);
  770. CreateDynamicObject(987, 596.32379150391, -513.755859375, 15.3359375, 0.000000, 0.000000, 270.19226074219, -1, -1, -1, 100);
  771. CreateDynamicObject(987, 596.33197021484, -525.72137451172, 15.3359375, 0.000000, 0.000000, 270.19226074219, -1, -1, -1, 100);
  772. CreateDynamicObject(987, 596.19732666016, -537.697265625, 15.689353942871, 0.000000, 0.000000, 270.19226074219, -1, -1, -1, 100);
  773. CreateDynamicObject(987, 596.22521972656, -549.66271972656, 16.050436019897, 0.000000, 0.000000, 270.19226074219, -1, -1, -1, 100);
  774. CreateDynamicObject(987, 596.25604248047, -561.65252685547, 16.129402160645, 0.000000, 0.000000, 270.19226074219, -1, -1, -1, 100);
  775. CreateDynamicObject(987, 596.21392822266, -573.68414306641, 16.217031478882, 0.000000, 0.000000, 270.19226074219, -1, -1, -1, 100);
  776. CreateDynamicObject(987, 596.40985107422, -585.64685058594, 16.153072357178, 0.000000, 0.000000, 270.19226074219, -1, -1, -1, 100);
  777. CreateDynamicObject(987, 596.40808105469, -597.59515380859, 16.171394348145, 0.000000, 0.000000, 270.19226074219, -1, -1, -1, 100);
  778. CreateDynamicObject(987, 596.43487548828, -609.56567382813, 16.72620010376, 0.000000, 357, 270.19226074219, -1, -1, -1, 100);
  779. CreateDynamicObject(987, 596.51477050781, -624.0556640625, 17.982280731201, 0.000000, 347, 270.18676757813, -1, -1, -1, 100);
  780. CreateDynamicObject(987, 596.46264648438, -612.03210449219, 16.85179901123, 0.000000, 356.99523925781, 270.18676757813, -1, -1, -1, 100);
  781. CreateDynamicObject(987, 596.30010986328, -635.13970947266, 20.488275527954, 0.000000, 7, 340, -1, -1, -1, 100);
  782. CreateDynamicObject(987, 607.40325927734, -639.27813720703, 19.113561630249, 0.000000, 6.998291015625, 339.99938964844, -1, -1, -1, 100);
  783. CreateDynamicObject(987, 618.57275390625, -643.3037109375, 18.043838500977, 0.000000, 6.998291015625, 339.99938964844, -1, -1, -1, 100);
  784. CreateDynamicObject(987, 629.78735351563, -647.42333984375, 16.769758224487, 0.000000, 3, 345.99938964844, -1, -1, -1, 100);
  785. CreateDynamicObject(987, 641.41003417969, -650.37951660156, 16.220834732056, 0.000000, 2.999267578125, 345.99792480469, -1, -1, -1, 100);
  786. CreateDynamicObject(987, 652.81701660156, -653.35870361328, 15.673723220825, 0.000000, 2.999267578125, 345.99792480469, -1, -1, -1, 100);
  787. CreateDynamicObject(987, 665.07293701172, -656.49932861328, 15.328876495361, 0.000000, 0.999267578125, 359.99792480469, -1, -1, -1, 100);
  788. CreateDynamicObject(3749, 681.6494140625, -655.0576171875, 21.045913696289, 0.000000, 0.000000, 0.000000, -1, -1, -1, 100);
  789. dGates[2] = CreateDynamicObject(971, 681.40765380859, -656.54528808594, 18.757417678833, 0.000000, 0.000000, 0.000000, -1, -1, -1, 100);
  790. CreateDynamicObject(987, 664.64691162109, -656.49542236328, 15.332686424255, 0.000000, 0.9942626953125, 359.99450683594, -1, -1, -1, 100);
  791. CreateDynamicObject(987, 685.8544921875, -656.7412109375, 15.32497215271, 0.000000, 0.000000, 359.98901367188, -1, -1, -1, 100);
  792. CreateDynamicObject(987, 697.80145263672, -656.80236816406, 15.329986572266, 0.000000, 1, 359.98901367188, -1, -1, -1, 100);
  793. CreateDynamicObject(987, 709.45983886719, -656.86505126953, 14.971923828125, 0.000000, 0.000000, 359.98901367188, -1, -1, -1, 100);
  794. CreateDynamicObject(987, 721.40496826172, -656.89471435547, 14.771392822266, 0.000000, 0.000000, 359.98901367188, -1, -1, -1, 100);
  795. CreateDynamicObject(987, 733.3720703125, -656.80413818359, 14.689651489258, 0.000000, 0.000000, 359.98901367188, -1, -1, -1, 100);
  796. CreateDynamicObject(987, 745.28778076172, -656.74322509766, 14.650032043457, 0.000000, 0.000000, 359.98901367188, -1, -1, -1, 100);
  797. CreateDynamicObject(987, 757.09893798828, -656.74011230469, 15.09056854248, 0.000000, 354, 38, -1, -1, -1, 100);
  798. CreateDynamicObject(987, 766.04632568359, -649.82873535156, 16.276504516602, 0.000000, 0.000000, 0.000000, -1, -1, -1, 100);
  799. CreateDynamicObject(987, 778.01824951172, -649.78247070313, 16.049873352051, 0.000000, 0.000000, 0.000000, -1, -1, -1, 100);
  800. CreateDynamicObject(987, 789.87329101563, -649.78582763672, 15.945636749268, 0.000000, 1.1000061035156, 0.000000, -1, -1, -1, 100);
  801. CreateDynamicObject(987, 801.92358398438, -649.76574707031, 15.591381072998, 0.000000, 0.000000, 0.000000, -1, -1, -1, 100);
  802. CreateDynamicObject(987, 813.8642578125, -649.78112792969, 15.3359375, 0.000000, 0.000000, 0.000000, -1, -1, -1, 100);
  803. CreateDynamicObject(987, 825.81072998047, -649.76251220703, 15.3359375, 0.000000, 0.000000, 0.000000, -1, -1, -1, 100);
  804. CreateDynamicObject(987, 837.63696289063, -649.75897216797, 16.301498413086, 0.000000, 0.000000, 45, -1, -1, -1, 100);
  805. CreateDynamicObject(987, 846.09124755859, -641.31304931641, 16.262481689453, 0.000000, 0.000000, 44.994506835938, -1, -1, -1, 100);
  806. CreateDynamicObject(987, 854.5498046875, -632.84985351563, 16.682537078857, 0.000000, 0.000000, 44.994506835938, -1, -1, -1, 100);
  807. CreateDynamicObject(987, 863.01812744141, -624.41119384766, 17.101375579834, 0.000000, 0.000000, 15, -1, -1, -1, 100);
  808. CreateDynamicObject(987, 873.41778564453, -621.57360839844, 17.501335144043, 0.000000, 0.000000, 14.996337890625, -1, -1, -1, 100);
  809. CreateDynamicObject(987, 888.81726074219, -586.34094238281, 20.501022338867, 0.000000, 4.185791015625, 109.99514770508, -1, -1, -1, 100);
  810. CreateDynamicObject(987, 886.74926757813, -597.95196533203, 20.603000640869, 0.000000, 4.185791015625, 80, -1, -1, -1, 100);
  811. CreateDynamicObject(987, 877.81964111328, -617.73986816406, 17.482070922852, 0.000000, 0.000000, 90, -1, -1, -1, 100);
  812. CreateDynamicObject(987, 878.12243652344, -605.89727783203, 17.536697387695, 0.000000, 350, 45, -1, -1, -1, 100);
  813. CreateDynamicObject(987, 879.11248779297, -604.93585205078, 17.81111907959, 0.000000, 349.99694824219, 44.994506835938, -1, -1, -1, 100);
  814. CreateDynamicObject(987, 877.87603759766, -620.45501708984, 17.495414733887, 0.000000, 0.000000, 90, -1, -1, -1, 100);
  815. CreateDynamicObject(987, 657.34924316406, -415.42208862305, 15.935859680176, 0.000000, 0.000000, 270, -1, -1, -1, 100);
  816.  
  817. // Cameras
  818. CreateDynamicObject(1616,1553.954711,-1650.065429,26.071039,0.000000,4.000000, 454.000000, 0, 0, -1, 150.0);
  819. CreateDynamicObject(1616,1554.435424,-1701.015502,26.131610,0.000000,0.000000,0.000000, 0, 0, -1, 150.0);
  820. CreateDynamicObject(1616,1547.012451,-1637.666748,26.233406,0.000000,-24.000000,0.000000, 0, 0, -1, 150.0);
  821. CreateDynamicObject(1616,1582.134643,-1638.071166,16.406646,0.000000,18.000000,262.000000, 0, 0, -1, 150.0);
  822.  
  823. CreateDynamicObject(1622,1554.744750,-1672.485229,19.866825,0.000000,0.000000,0.000000, 0, 0, -1, 150.0);
  824. CreateDynamicObject(2921,1494.899291,-1772.192260,31.959861,0.000000,330.000000,-348.000000, 0, 0, -1, 150.0);
  825. CreateDynamicObject(2921,1468.053100,-1772.614746,31.912132,8.000000,-34.000000,256.000000, 0, 0, -1, 150.0);
  826. CreateDynamicObject(2921,599.520019,-1245.774047,24.313776,0.000000,-18.000000,0.000000, 0, 0, -1, 150.0);
  827. CreateDynamicObject(1886,1412.130981,-1704.981689,16.190988,0.000000,358.000000,-252.000000, 0, 0, -1, 150.0);
  828. CreateDynamicObject(1886,1415.521850,-1698.588989,16.582780,16.000000,10.000000,296.000000, 0, 0, -1, 150.0);
  829.  
  830. // Ganton Ministation
  831. CreateDynamicObject(982, 2281.4604492188, -1263.5357666016, 23.691139221191, 0.000000, 0.000000, 0.000000, 0, 0, -1, 150.0);
  832. CreateDynamicObject(982, 2281.4392089844, -1229.7736816406, 23.684722900391, 0.000000, 0.000000, 0.000000, 0, 0, -1, 150.0);
  833. CreateDynamicObject(983, 2281.3989257813, -1245.7922363281, 23.684555053711, 0.000000, 0.000000, 0.000000, 0, 0, -1, 150.0);
  834. CreateDynamicObject(984, 2281.4211425781, -1282.73046875, 23.636344909668, 0.000000, 0.000000, 0.000000, 0, 0, -1, 150.0);
  835. CreateDynamicObject(984, 2281.4035644531, -1295.5361328125, 23.636299133301, 0.000000, 0.000000, 0.000000, 0, 0, -1, 150.0);
  836. CreateDynamicObject(982, 2281.4191894531, -1322.0804443359, 23.683555603027, 0.000000, 0.000000, 0.000000, 0, 0, -1, 150.0);
  837. CreateDynamicObject(1228, 2281.423828125, -1249.8824462891, 23.422229766846, 0.000000, 0.000000, 0.000000, 0, 0, -1, 150.0);
  838. CreateDynamicObject(1363, 2278.3237304688, -1304.9714355469, 23.838163375854, 0.000000, 0.000000, 0.000000, 0, 0, -1, 150.0);
  839. CreateDynamicObject(984, 2281.3935546875, -1341.2841796875, 23.630844116211, 0.000000, 0.000000, 0.000000, 0, 0, -1, 150.0);
  840. CreateDynamicObject(982, 2281.4306640625, -1360.4041748047, 23.677814483643, 0.000000, 0.000000, 0.000000, 0, 0, -1, 150.0);
  841. CreateDynamicObject(18066, 2287.1318359375, -1121.8599853516, 36.600532531738, 0.000000, 0.000000, 0.000000, 0, 0, -1, 150.0);
  842. CreateDynamicObject(1263, 1684.3828125, -1955.8887939453, 19.887203216553, 0.000000, 0.000000, 177.38134765625, 0, 0, -1, 150.0);
  843.  
  844. // Fences at Unity
  845. CreateDynamicObject(987, 1699.6953125, -1886.0477294922, 12.597728729248, 0.000000, 0.000000, 179.36633300781, 0, 0, -1, 150.0);
  846. CreateDynamicObject(987, 1687.7385253906, -1885.7711181641, 12.535243988037, 0.000000, 0.000000, 181.10131835938, 0, 0, -1, 150.0);
  847. CreateDynamicObject(1411, 1715.3929443359, -1934.3159179688, 14.17848110199, 0.000000, 0.000000, 0.000000, 0, 0, -1, 150.0);
  848.  
  849. // Stage Shittery
  850. CGate1 = CreateDynamicObject(1569, 1481.1398925781, -1649.4718017578, -38.890918731689, 0, 0, 0, -1, -1, -1, 150.0);
  851. CGate2 = CreateDynamicObject(1569, 1484.1184082031, -1649.4512939453, -38.890918731689, 0, 0, 180, -1, -1, -1, 150.0);
  852. CreateDynamicObject(14602, 1487.154296875, -1642.2978515625, -33.523731231689, 0, 0, 0, -1, -1, -1, 150.0);
  853. CreateDynamicObject(14593, 1470.474609375, -1612.26953125, -36.568000793457, 0, 0, 0, -1, -1, -1, 150.0);
  854. CreateDynamicObject(14596, 1484.798828125, -1657.46484375, -28.191957473755, 0, 0, 0, -1, -1, -1, 150.0);
  855. CreateDynamicObject(14825, 1467.810546875, -1660.9384765625, -30.837598800659, 0, 0, 90, -1, -1, -1, 150.0);
  856. CreateDynamicObject(2412, 1478.27734375, -1653.9748535156, -33.038883209229, 0, 0, 90, -1, -1, -1, 150.0);
  857. CreateDynamicObject(2412, 1478.27734375, -1652.8413085938, -33.038883209229, 0, 0, 90, -1, -1, -1, 150.0);
  858. CreateDynamicObject(14825, 1467.78515625, -1660.9384765625, -25.012687683105, 0, 0, 90, -1, -1, -1, 150.0);
  859. CreateDynamicObject(5020, 1479.517578125, -1657.5806884766, -25.676149368286, 0, 0, 0, -1, -1, -1, 150.0);
  860. CreateDynamicObject(5020, 1479.4169921875, -1649.86328125, -25.676149368286, 0, 0, 0, -1, -1, -1, 150.0);
  861. CreateDynamicObject(5020, 1479.5209960938, -1655.3566894531, -23.176187515259, 0, 0, 0, -1, -1, -1, 150.0);
  862. CreateDynamicObject(2412, 1478.5859375, -1653.9682617188, -27.214120864868, 0, 0, 90, -1, -1, -1, 150.0);
  863. CreateDynamicObject(2412, 1478.5859375, -1652.8505859375, -27.21159362793, 0, 0, 90, -1, -1, -1, 150.0);
  864. CreateDynamicObject(14597, 1465.9228515625, -1653.94921875, -19.485353469849, 0, 0, 0, -1, -1, -1, 150.0);
  865. CreateDynamicObject(1714, 1469.7176513672, -1642.5837402344, -38.884414672852, 0, 0, 90, -1, -1, -1, 150.0);
  866. CreateDynamicObject(2190, 1471.3394775391, -1641.9996337891, -38.164356231689, 0, 0, 270, -1, -1, -1, 150.0);
  867. CreateDynamicObject(1753, 1483.1320800781, -1629.4797363281, -38.884414672852, 0, 0, 0, -1, -1, -1, 150.0);
  868. CreateDynamicObject(1753, 1482.2270507813, -1632.6997070313, -38.884414672852, 0, 0, 90, -1, -1, -1, 150.0);
  869. CreateDynamicObject(1753, 1486.0318603516, -1630.5968017578, -38.884414672852, 0, 0, 270, -1, -1, -1, 150.0);
  870. CreateDynamicObject(2195, 1482.1439208984, -1629.54296875, -38.267227172852, 0, 0, 0, -1, -1, -1, 150.0);
  871. CreateDynamicObject(2195, 1486.0980224609, -1629.5289306641, -38.267227172852, 0, 0, 0, -1, -1, -1, 150.0);
  872. CreateDynamicObject(2311, 1484.1362304688, -1631.0948486328, -38.884414672852, 0, 0, 270, -1, -1, -1, 150.0);
  873. CreateDynamicObject(2853, 1484.1126708984, -1631.7203369141, -38.378921508789, 0, 0, 0, -1, -1, -1, 150.0);
  874. CreateDynamicObject(1491, 1476.4337158203, -1626.4521484375, -38.890918731689, 0, 0, 0, -1, -1, -1, 150.0);
  875. CreateDynamicObject(1594, 1466.2562255859, -1604.7579345703, -38.419136047363, 0, 0, 0, -1, -1, -1, 150.0);
  876. CreateDynamicObject(1594, 1469.6153564453, -1606.8394775391, -38.419136047363, 0, 0, 0, -1, -1, -1, 150.0);
  877. CreateDynamicObject(1594, 1472.4711914063, -1603.9405517578, -38.419136047363, 0, 0, 0, -1, -1, -1, 150.0);
  878. CreateDynamicObject(1594, 1466.720703125, -1608.9881591797, -38.419136047363, 0, 0, 0, -1, -1, -1, 150.0);
  879. CreateDynamicObject(2367, 1474.9490966797, -1614.7037353516, -38.996131896973, 0, 0, 180, -1, -1, -1, 150.0);
  880. CreateDynamicObject(2367, 1472.8962402344, -1614.7037353516, -38.996131896973, 0, 0, 179.99450683594, -1, -1, -1, 150.0);
  881. CreateDynamicObject(1514, 1474.6328125, -1614.7937011719, -37.689453125, 0, 0, 180, -1, -1, -1, 150.0);
  882. CreateDynamicObject(1594, 1470.8737792969, -1610.3342285156, -38.419136047363, 0, 0, 0, -1, -1, -1, 150.0);
  883. CreateDynamicObject(1594, 1467.5874023438, -1612.6694335938, -38.419136047363, 0, 0, 0, -1, -1, -1, 150.0);
  884. CreateDynamicObject(2452, 1474.6979980469, -1616.6593017578, -38.896125793457, 0, 0, 180, -1, -1, -1, 150.0);
  885. CreateDynamicObject(1594, 1473.009765625, -1607.6895751953, -38.419136047363, 0, 0, 0, -1, -1, -1, 150.0);
  886. CreateDynamicObject(3406, 1468.7631835938, -1670.0568847656, -34.247375488281, 0, 0, 0, -1, -1, -1, 150.0);
  887. CreateDynamicObject(3406, 1468.7752685547, -1668.0545654297, -34.247375488281, 0, 0, 0, -1, -1, -1, 150.0);
  888. CreateDynamicObject(2311, 1471.5423583984, -1670.5380859375, -27.247097015381, 0, 0, 0, -1, -1, -1, 150.0);
  889. CreateDynamicObject(2311, 1469.2426757813, -1670.521484375, -27.247097015381, 0, 0, 0, -1, -1, -1, 150.0);
  890. CreateDynamicObject(2311, 1467.0390625, -1670.5144042969, -27.247097015381, 0, 0, 0, -1, -1, -1, 150.0);
  891. CreateDynamicObject(2311, 1471.5484619141, -1669.5866699219, -27.247097015381, 0, 0, 0, -1, -1, -1, 150.0);
  892. CreateDynamicObject(2311, 1469.2946777344, -1669.5798339844, -27.247097015381, 0, 0, 0, -1, -1, -1, 150.0);
  893. CreateDynamicObject(2311, 1467.0395507813, -1669.5699462891, -27.247097015381, 0, 0, 0, -1, -1, -1, 150.0);
  894. CreateDynamicObject(2311, 1471.5349121094, -1668.7119140625, -27.247097015381, 0, 0, 0, -1, -1, -1, 150.0);
  895. CreateDynamicObject(2311, 1469.1068115234, -1668.7237548828, -27.247097015381, 0, 0, 0, -1, -1, -1, 150.0);
  896. CreateDynamicObject(2311, 1467.0294189453, -1668.7337646484, -27.247097015381, 0, 0, 0, -1, -1, -1, 150.0);
  897. CreateDynamicObject(2606, 1477.1413574219, -1661.3282470703, -18.871046066284, 0, 0, 270, -1, -1, -1, 150.0);
  898. CreateDynamicObject(2606, 1477.1413574219, -1663.2800292969, -18.871046066284, 0, 0, 270, -1, -1, -1, 150.0);
  899. CreateDynamicObject(2606, 1477.140625, -1661.328125, -19.296039581299, 0, 0, 270, -1, -1, -1, 150.0);
  900. CreateDynamicObject(2606, 1477.1413574219, -1663.279296875, -19.296039581299, 0, 0, 270, -1, -1, -1, 150.0);
  901. CreateDynamicObject(2606, 1477.140625, -1661.328125, -19.721033096313, 0, 0, 270, -1, -1, -1, 150.0);
  902. CreateDynamicObject(2606, 1477.1413574219, -1663.279296875, -19.721033096313, 0, 0, 270, -1, -1, -1, 150.0);
  903. CreateDynamicObject(2747, 1474.6834716797, -1662.8536376953, -21.05765914917, 0, 0, 90, -1, -1, -1, 150.0);
  904. CreateDynamicObject(1715, 1473.5355224609, -1662.1356201172, -21.470212936401, 0, 0, 90, -1, -1, -1, 150.0);
  905. CreateDynamicObject(14820, 1474.6340332031, -1662.1536865234, -20.5260181427, 0, 0, 90, -1, -1, -1, 150.0);
  906. CreateDynamicObject(2747, 1474.6834716797, -1661.4703369141, -21.05765914917, 0, 0, 90, -1, -1, -1, 150.0);
  907. CreateDynamicObject(2184, 1455.2687988281, -1654.9584960938, -21.470212936401, 0, 0, 90, -1, -1, -1, 150.0);
  908. CreateDynamicObject(1714, 1453.3792724609, -1653.9136962891, -21.470212936401, 0, 0, 90, -1, -1, -1, 150.0);
  909. CreateDynamicObject(1715, 1456.4207763672, -1654.9020996094, -21.470212936401, 0, 0, 254.1201171875, -1, -1, -1, 150.0);
  910. CreateDynamicObject(1715, 1456.46484375, -1652.9100341797, -21.470212936401, 0, 0, 287.86401367188, -1, -1, -1, 150.0);
  911. CreateDynamicObject(2332, 1454.7623291016, -1650.8009033203, -19.649755477905, 0, 0, 0, -1, -1, -1, 150.0);
  912. CreateDynamicObject(2332, 1455.6876220703, -1650.7962646484, -19.649755477905, 0, 0, 0, -1, -1, -1, 150.0);
  913. CreateDynamicObject(2606, 1477.1021728516, -1644.5823974609, -18.871046066284, 0, 0, 270, -1, -1, -1, 150.0);
  914. CreateDynamicObject(2606, 1477.1021728516, -1646.5059814453, -18.871046066284, 0, 0, 270, -1, -1, -1, 150.0);
  915. CreateDynamicObject(2606, 1477.1015625, -1644.58203125, -19.321039199829, 0, 0, 270, -1, -1, -1, 150.0);
  916. CreateDynamicObject(2606, 1477.1015625, -1644.58203125, -19.746032714844, 0, 0, 270, -1, -1, -1, 150.0);
  917. CreateDynamicObject(2606, 1477.1015625, -1646.505859375, -19.321039199829, 0, 0, 270, -1, -1, -1, 150.0);
  918. CreateDynamicObject(2606, 1477.1015625, -1646.505859375, -19.746032714844, 0, 0, 270, -1, -1, -1, 150.0);
  919. CreateDynamicObject(2747, 1474.2965087891, -1644.8781738281, -21.05765914917, 0, 0, 90, -1, -1, -1, 150.0);
  920. CreateDynamicObject(2747, 1474.2965087891, -1646.3546142578, -21.05765914917, 0, 0, 90, -1, -1, -1, 150.0);
  921. CreateDynamicObject(14820, 1474.314453125, -1645.6547851563, -20.5260181427, 0, 0, 90, -1, -1, -1, 150.0);
  922. CreateDynamicObject(1715, 1472.7265625, -1645.4533691406, -21.470212936401, 0, 0, 90, -1, -1, -1, 150.0);
  923. CreateDynamicObject(2616, 1465.5062255859, -1667.4710693359, -19.477537155151, 0, 0, 180, -1, -1, -1, 150.0);
  924. CreateDynamicObject(2491, 1464.1849365234, -1665.7802734375, -21.995212554932, 0, 0, 0, -1, -1, -1, 150.0);
  925. CreateDynamicObject(1722, 1467.73828125, -1662.6307373047, -21.477540969849, 0, 0, 180, -1, -1, -1, 150.0);
  926. CreateDynamicObject(1722, 1467.1627197266, -1662.6242675781, -21.477540969849, 0, 0, 179.99450683594, -1, -1, -1, 150.0);
  927. CreateDynamicObject(1722, 1466.6115722656, -1662.6320800781, -21.477540969849, 0, 0, 179.99450683594, -1, -1, -1, 150.0);
  928. CreateDynamicObject(1722, 1466.0607910156, -1662.6398925781, -21.477540969849, 0, 0, 179.99450683594, -1, -1, -1, 150.0);
  929. CreateDynamicObject(1722, 1465.5100097656, -1662.6477050781, -21.477540969849, 0, 0, 179.99450683594, -1, -1, -1, 150.0);
  930. CreateDynamicObject(1722, 1464.9592285156, -1662.6555175781, -21.477540969849, 0, 0, 179.99450683594, -1, -1, -1, 150.0);
  931. CreateDynamicObject(1722, 1467.73828125, -1661.2021484375, -21.477540969849, 0, 0, 179.99450683594, -1, -1, -1, 150.0);
  932. CreateDynamicObject(1722, 1467.1877441406, -1661.1994628906, -21.477540969849, 0, 0, 179.99450683594, -1, -1, -1, 150.0);
  933. CreateDynamicObject(1722, 1466.6369628906, -1661.2045898438, -21.477540969849, 0, 0, 179.99450683594, -1, -1, -1, 150.0);
  934. CreateDynamicObject(1722, 1466.0861816406, -1661.2094726563, -21.477540969849, 0, 0, 179.99450683594, -1, -1, -1, 150.0);
  935. CreateDynamicObject(1722, 1465.5354003906, -1661.2143554688, -21.477540969849, 0, 0, 179.99450683594, -1, -1, -1, 150.0);
  936. CreateDynamicObject(2596, 1462.0972900391, -1640.4859619141, -18.181795120239, 0, 0, 40.759765625, -1, -1, -1, 150.0);
  937. CreateDynamicObject(14782, 1465.5651855469, -1640.7342529297, -20.454166412354, 0, 0, 0, -1, -1, -1, 150.0);
  938. CreateDynamicObject(1679, 1467.5703125, -1647.5926513672, -21.013721466064, 0, 0, 0, -1, -1, -1, 150.0);
  939. CreateDynamicObject(1679, 1463.9787597656, -1646.4353027344, -21.013721466064, 0, 0, 0, -1, -1, -1, 150.0);
  940. CreateDynamicObject(1679, 1467.42578125, -1643.7634277344, -21.013721466064, 0, 0, 0, -1, -1, -1, 150.0);
  941. CreateDynamicObject(1491, 1479.6754150391, -1655.1639404297, -21.531019210815, 0, 0, 90, -1, -1, -1, 150.0);
  942. CreateDynamicObject(1491, 1479.6459960938, -1652.1604003906, -21.531019210815, 0, 0, 270, -1, -1, -1, 150.0);
  943. CreateDynamicObject(5020, 1479.6882324219, -1653.7099609375, -17.346500396729, 0, 0, 0, -1, -1, -1, 150.0);
  944. CreateDynamicObject(1703, 1459.0430908203, -1651.7390136719, -21.477540969849, 0, 0, 0, -1, -1, -1, 150.0);
  945.  
  946. // Secret Service HQ objects
  947. CreateDynamicObject(5066, 1287.9954833984, -966.40020751953, 35.185741424561, 0.000000, 0.000000, 270.67565917969, -1, -1, -1, 150.0); //
  948. CreateDynamicObject(16775, 1286.6317138672, -1006.0518188477, 33.799278259277, 0.000000, 0.000000, 0.000000, -1, -1, -1, 150.0); //
  949. CreateDynamicObject(2606, 1294.2587890625, -977.9140625, 34.766139984131, 0.000000, 0.000000, 0.000000, -1, -1, -1, 150.0); //
  950. CreateDynamicObject(983, 1295.4002685547, -985.91766357422, 32.378868103027, 0.000000, 0.000000, 93.294494628906, -1, -1, -1, 150.0); //
  951. CreateDynamicObject(984, 1292.2136230469, -992.51794433594, 32.331993103027, 0.000000, 0.000000, 0.000000, -1, -1, -1, 150.0); //
  952. CreateDynamicObject(14391, 1294.2153320313, -978.841796875, 32.655395507813, 0.000000, 0.000000, 268.69067382813, -1, -1, -1, 150.0); //
  953. CreateDynamicObject(1671, 1294.4108886719, -980.60296630859, 32.15552520752, 0.000000, 0.000000, 176.66442871094, -1, -1, -1, 150.0); //
  954. CreateDynamicObject(853, 1295.6857910156, -989.48455810547, 32.095985412598, 0.000000, 0.000000, 0.000000, -1, -1, -1, 150.0); //
  955. CreateDynamicObject(16444, 1296.6667480469, -990.82568359375, 32.049438476563, 0.000000, 0.000000, 0.000000, -1, -1, -1, 150.0); //
  956. CreateDynamicObject(16444, 1296.3265380859, -987.82354736328, 32.049438476563, 0.000000, 0.000000, 0.000000, -1, -1, -1, 150.0); //
  957. CreateDynamicObject(16444, 1294.0791015625, -990.94067382813, 32.049438476563, 0.000000, 0.000000, 0.000000, -1, -1, -1, 150.0); //
  958. CreateDynamicObject(16444, 1294.3259277344, -987.8984375, 32.049438476563, 0.000000, 0.000000, 0.000000, -1, -1, -1, 150.0); //
  959.  
  960. // Market Objects.
  961. MarketGate = CreateDynamicObject(986, 828.37866210938, -1357.3833007813, 0.50577330589294, 0, 0, 316.73498535156, 0, 0, -1, 150.0);
  962. CreateDynamicObject(984, 805.03576660156, -1383.0194091797, 13.050528526306, 0, 0, 90, 0, 0, -1, 150.0);
  963. CreateDynamicObject(983, 790.45367431641, -1382.9906005859, 13.144278526306, 0, 0, 90, 0, 0, -1, 150.0);
  964. CreateDynamicObject(1215, 796.48046875, -1382.8759765625, 12.890310287476, 0, 0, 0, 0, 0, -1, 150.0);
  965. CreateDynamicObject(1215, 797.5302734375, -1382.9052734375, 12.890310287476, 0, 0, 0, 0, 0, -1, 150.0);
  966. CreateDynamicObject(984, 805.03515625, -1383.0185546875, 14.32550907135, 0, 0, 90, 0, 0, -1, 150.0);
  967. CreateDynamicObject(983, 792.02819824219, -1382.9906005859, 14.41925907135, 0, 0, 90, 0, 0, -1, 150.0);
  968. CreateDynamicObject(983, 792.00463867188, -1382.9906005859, 13.144278526306, 0, 0, 90, 0, 0, -1, 150.0);
  969. CreateDynamicObject(983, 790.47961425781, -1382.9906005859, 14.41925907135, 0, 0, 90, 0, 0, -1, 150.0);
  970. CreateDynamicObject(982, 814.68170166016, -1337.4604492188, 13.230429649353, 0, 0, 90, 0, 0, -1, 150.0);
  971. CreateDynamicObject(982, 811.53625488281, -1337.4604492188, 13.230429649353, 0, 0, 90, 0, 0, -1, 150.0);
  972. CreateDynamicObject(982, 811.5361328125, -1337.4599609375, 14.455410957336, 0, 0, 90, 0, 0, -1, 150.0);
  973. CreateDynamicObject(982, 814.681640625, -1337.4604492188, 14.455410957336, 0, 0, 90, 0, 0, -1, 150.0);
  974. CreateDynamicObject(983, 790.63787841797, -1337.4604492188, 13.230429649353, 0, 0, 90, 0, 0, -1, 150.0);
  975. CreateDynamicObject(983, 790.6376953125, -1337.4599609375, 14.455410957336, 0, 0, 90, 0, 0, -1, 150.0);
  976. CreateDynamicObject(983, 793.05914306641, -1337.4604492188, 13.230429649353, 0, 0, 90, 0, 0, -1, 150.0);
  977. CreateDynamicObject(983, 793.05859375, -1337.4599609375, 14.455410957336, 0, 0, 90, 0, 0, -1, 150.0);
  978. CreateDynamicObject(1215, 797.4560546875, -1337.4599609375, 12.890310287476, 0, 0, 0, 0, 0, -1, 150.0);
  979. CreateDynamicObject(3860, 791.19946289063, -1376.4256591797, 13.790652275085, 0, 0, 90, 0, 0, -1, 150.0);
  980. CreateDynamicObject(3861, 791.19921875, -1371.5234375, 13.790652275085, 0, 0, 90, 0, 0, -1, 150.0);
  981. CreateDynamicObject(3862, 791.19921875, -1367.0234375, 13.790652275085, 0, 0, 90, 0, 0, -1, 150.0);
  982. CreateDynamicObject(3863, 791.19946289063, -1362.7755126953, 13.790652275085, 0, 0, 90, 0, 0, -1, 150.0);
  983. CreateDynamicObject(3040, 802.70703125, -1370.0537109375, 14.959873199463, 0, 0, 0, 0, 0, -1, 150.0);
  984. CreateDynamicObject(3039, 802.78192138672, -1379.3953857422, 12.579677581787, 0, 0, 90, 0, 0, -1, 150.0);
  985. CreateDynamicObject(3860, 791.92718505859, -1345.5964355469, 13.719205856323, 0, 0, 66.180114746094, 0, 0, -1, 150.0);
  986. CreateDynamicObject(3860, 791.19921875, -1349.0830078125, 13.719205856323, 0, 0, 90, 0, 0, -1, 150.0);
  987. CreateDynamicObject(2818, 804.4697265625, -1359.4788818359, 12.546875, 0, 0, 0, 0, 0, -1, 150.0);
  988. CreateDynamicObject(2818, 804.46075439453, -1360.5544433594, 12.546875, 0, 0, 0, 0, 0, -1, 150.0);
  989. CreateDynamicObject(2843, 804.58380126953, -1359.4938964844, 12.546875, 0, 0, 0, 0, 0, -1, 150.0);
  990. CreateDynamicObject(2843, 804.34558105469, -1359.7551269531, 12.546875, 0, 0, 0, 0, 0, -1, 150.0);
  991. CreateDynamicObject(2843, 804.08276367188, -1359.5173339844, 12.546875, 0, 0, 0, 0, 0, -1, 150.0);
  992. CreateDynamicObject(2843, 804.56915283203, -1359.2424316406, 12.546875, 0, 0, 0, 0, 0, -1, 150.0);
  993. CreateDynamicObject(2843, 804.13031005859, -1360.5153808594, 12.546875, 0, 0, 0, 0, 0, -1, 150.0);
  994. CreateDynamicObject(2845, 804.28656005859, -1360.0739746094, 12.546875, 0, 0, 0, 0, 0, -1, 150.0);
  995. CreateDynamicObject(2846, 804.39782714844, -1360.1573486328, 12.546875, 0, 0, 0, 0, 0, -1, 150.0);
  996. CreateDynamicObject(2846, 804.88458251953, -1359.8830566406, 12.546875, 0, 0, 0, 0, 0, -1, 150.0);
  997. CreateDynamicObject(1280, 826.39501953125, -1348.5483398438, 12.935241699219, 0, 0, 0, 0, 0, -1, 150.0);
  998. CreateDynamicObject(994, 824.29821777344, -1341.3717041016, 12.515625, 0, 27.040008544922, 0, 0, 0, -1, 150.0);
  999. CreateDynamicObject(1280, 824.69842529297, -1346.8270263672, 12.935241699219, 0, 0, 90, 0, 0, -1, 150.0);
  1000. CreateDynamicObject(1280, 824.81384277344, -1350.2290039063, 12.935241699219, 0, 0, 270, 0, 0, -1, 150.0);
  1001. CreateDynamicObject(1289, 827.23211669922, -1345.6221923828, 13.120519638062, 0, 0, 90, 0, 0, -1, 150.0);
  1002. CreateDynamicObject(1340, 802.52398681641, -1343.8159179688, 13.674461364746, 0, 0, 0, 0, 0, -1, 150.0);
  1003. CreateDynamicObject(18608, 818.9775390625, -1347.7672119141, 19.220867156982, 0, 0, 0, 0, 0, -1, 150.0);
  1004. CreateDynamicObject(18608, 823.9248046875, -1347.7672119141, 19.220867156982, 0, 0, 0, 0, 0, -1, 150.0);
  1005. CreateDynamicObject(18608, 814.12585449219, -1347.7672119141, 19.220867156982, 0, 0, 0, 0, 0, -1, 150.0);
  1006. CreateDynamicObject(3860, 791.79986572266, -1352.5068359375, 13.719205856323, 0, 0, 109.84991455078, 0, 0, -1, 150.0);
  1007. CreateDynamicObject(1594, 797.06597900391, -1345.6844482422, 12.859804153442, 0, 0, 0, 0, 0, -1, 150.0);
  1008. CreateDynamicObject(1594, 795.68872070313, -1348.9884033203, 12.859804153442, 0, 0, 0, 0, 0, -1, 150.0);
  1009. CreateDynamicObject(1594, 799.14831542969, -1347.8571777344, 12.859804153442, 0, 0, 0, 0, 0, -1, 150.0);
  1010. CreateDynamicObject(1594, 798.28918457031, -1351.6422119141, 12.859804153442, 0, 0, 0, 0, 0, -1, 150.0);
  1011. CreateDynamicObject(1594, 795.88488769531, -1354.234375, 12.859804153442, 0, 0, 0, 0, 0, -1, 150.0);
  1012. CreateDynamicObject(1594, 800.14105224609, -1354.3244628906, 12.859804153442, 0, 0, 0, 0, 0, -1, 150.0);
  1013. CreateDynamicObject(2474, 791.74237060547, -1375.3428955078, 13.436249732971, 0, 0, 19.849853515625, 0, 0, -1, 150.0);
  1014. CreateDynamicObject(2471, 792.07855224609, -1377.1655273438, 13.582711219788, 0, 0, 90, 0, 0, -1, 150.0);
  1015. CreateDynamicObject(2958, 789.8662109375, -1371.955078125, 12.959178924561, 0, 0, 0, 0, 0, -1, 150.0);
  1016. CreateDynamicObject(2803, 792.13903808594, -1372.3291015625, 14.092965126038, 0, 0, 0, 0, 0, -1, 150.0);
  1017. CreateDynamicObject(2806, 792.20379638672, -1370.9985351563, 13.656076431274, 0, 0, 0, 0, 0, -1, 150.0);
  1018. CreateDynamicObject(2035, 791.98931884766, -1368.0811767578, 13.460686683655, 0, 0, 0, 0, 0, -1, 150.0);
  1019. CreateDynamicObject(2035, 792.00402832031, -1367.5812988281, 13.460686683655, 0, 0, 0, 0, 0, -1, 150.0);
  1020. CreateDynamicObject(2044, 792.01300048828, -1367.1486816406, 13.463782310486, 0, 0, 0, 0, 0, -1, 150.0);
  1021. CreateDynamicObject(2044, 791.74182128906, -1366.8314208984, 13.463782310486, 0, 0, 0, 0, 0, -1, 150.0);
  1022. CreateDynamicObject(2037, 791.72448730469, -1365.84375, 13.508609771729, 0, 0, 0, 0, 0, -1, 150.0);
  1023. CreateDynamicObject(2037, 792.22204589844, -1365.8837890625, 13.508609771729, 0, 0, 0, 0, 0, -1, 150.0);
  1024. CreateDynamicObject(2843, 791.38885498047, -1364.1447753906, 13.436249732971, 0, 0, 0, 0, 0, -1, 150.0);
  1025. CreateDynamicObject(2845, 791.38323974609, -1363.5395507813, 13.436249732971, 0, 0, 0, 0, 0, -1, 150.0);
  1026. CreateDynamicObject(2846, 791.34631347656, -1362.7102050781, 13.436249732971, 0, 0, 0, 0, 0, -1, 150.0);
  1027. CreateDynamicObject(984, 821.12902832031, -1337.4599609375, 15.683578491211, 0, 0, 90, 0, 0, -1, 150.0);
  1028. CreateDynamicObject(983, 811.53552246094, -1337.4609375, 15.683578491211, 0, 0, 90, 0, 0, -1, 150.0);
  1029. CreateDynamicObject(984, 821.12890625, -1337.4599609375, 16.933559417725, 0, 0, 90, 0, 0, -1, 150.0);
  1030. CreateDynamicObject(984, 821.12890625, -1337.4599609375, 18.183540344238, 0, 0, 90, 0, 0, -1, 150.0);
  1031. CreateDynamicObject(984, 821.12890625, -1337.4599609375, 19.408521652222, 0, 0, 90, 0, 0, -1, 150.0);
  1032. CreateDynamicObject(983, 811.53515625, -1337.4609375, 16.933559417725, 0, 0, 90, 0, 0, -1, 150.0);
  1033. CreateDynamicObject(983, 811.53515625, -1337.4609375, 18.183540344238, 0, 0, 90, 0, 0, -1, 150.0);
  1034. CreateDynamicObject(983, 811.53515625, -1337.4609375, 19.408521652222, 0, 0, 90, 0, 0, -1, 150.0);
  1035.  
  1036. // LSPD objects
  1037. lspdgate = CreateDynamicObject(971, 1588.5617, -1638.1036, 12.7200, 0, 0, 0, -1, -1, -1, 150.0);
  1038. CreateDynamicObject(3029, 1582.3858642578, -1637.9400634766, 12.362442970276, 0.000000, 0.000000, 270); // PD Gate Door
  1039. CreateDynamicObject(16150, -1968.4920654297, 1127.2453613281, -95.415031433105, 0.000000, 0.000000, 0.000000, -1, -1, -1, 150.0); //Int
  1040. CreateDynamicObject(1368, -1966.2326660156, 1125.8280029297, -94.717483520508, 0.000000, 0.000000, 0.000000, -1, -1, -1, 150.0); //Bench
  1041. CreateDynamicObject(1368, -1970.9825439453, 1125.8529052734, -94.717483520508, 0.000000, 0.000000, 0.000000, -1, -1, -1, 150.0); //Bench
  1042. CreateDynamicObject(1368, -1970.9559326172, 1127.6025390625, -94.717483520508, 0.000000, 0.000000, 0.000000, -1, -1, -1, 150.0); //Bench
  1043. CreateDynamicObject(1368, -1970.9285888672, 1129.3525390625, -94.717483520508, 0.000000, 0.000000, 0.000000, -1, -1, -1, 150.0); //Bench
  1044. CreateDynamicObject(1368, -1970.9240722656, 1130.8525390625, -94.717483520508, 0.000000, 0.000000, 0.000000, -1, -1, -1, 150.0); //Bench
  1045. CreateDynamicObject(1368, -1970.8751220703, 1132.6016845703, -94.717483520508, 0.000000, 0.000000, 0.000000, -1, -1, -1, 150.0); //Bench
  1046. CreateDynamicObject(1368, -1966.2073974609, 1127.4285888672, -94.717483520508, 0.000000, 0.000000, 0.000000, -1, -1, -1, 150.0); //Bench
  1047. CreateDynamicObject(1368, -1966.1800537109, 1129.1785888672, -94.717483520508, 0.000000, 0.000000, 0.000000, -1, -1, -1, 150.0); //Bench
  1048. CreateDynamicObject(2924, -1972.4577636719, 1122.3991699219, -94.213607788086, 0.000000, 0.000000, 0.000000, -1, -1, -1, 150.0); // ????
  1049. LSPDDoor1 = CreateDynamicObject(1569, 239.5439453125, 116.099609375, 1002.21875, 0, 0, 90, -1, 10, -1, 150.0);
  1050. LSPDDoor4 = CreateDynamicObject(1569, 239.54446411133, 119.09854125977, 1002.21875, 0, 0, 270, -1, 10, -1, 150.0);
  1051. LSPDDoor2 = CreateDynamicObject(1569, 253.20678710938, 107.55118560791, 1002.21875, 0, 0, 90, -1, 10, -1, 150.0);
  1052. LSPDDoor5 = CreateDynamicObject(1569, 253.2060546875, 110.5517578125, 1002.21875, 0, 0, 270, -1, 10, -1, 150.0);
  1053. LSPDDoor3 = CreateDynamicObject(1569, 216.35855102539, 116.49627685547, 998.015625, 0, 0, 0, -1, 10, -1, 150.0);
  1054. LSPDDoor6 = CreateDynamicObject(1569, 219.33728027344, 116.49627685547, 998.015625, 0, 0, 180, -1, 10, -1, 150.0);
  1055. CreateDynamicObject(974, 243.22212219238, 119.01119232178, 1007.49609375, 0, 0, 0, -1, 10, -1, 150.0);
  1056. CreateDynamicObject(974, 249.822265625, 119.0107421875, 1007.49609375, 0, 0, 0, -1, 10, -1, 150.0);
  1057. CreateDynamicObject(14782, 264.39651489258, 107.42306518555, 1004.6332397461, 0, 0, 180, -1, 10, -1, 150.0);
  1058. CreateDynamicObject(2180, 260.97589111328, 111.95813751221, 1003.6171875, 0, 0, 0, -1, 10, -1, 150.0);
  1059. CreateDynamicObject(2180, 262.82553100586, 111.95813751221, 1003.6171875, 0, 0, 0, -1, 10, -1, 150.0);
  1060. CreateDynamicObject(2035, 261.05895996094, 112.14032745361, 1004.4432373047, 0, 0, 0, -1, 10, -1, 150.0);
  1061. CreateDynamicObject(2035, 261.0673828125, 111.73974609375, 1004.4432373047, 0, 0, 0, -1, 10, -1, 150.0);
  1062. CreateDynamicObject(2035, 262.1921081543, 111.76432037354, 1004.4432373047, 0, 0, 0, -1, 10, -1, 150.0);
  1063. CreateDynamicObject(2035, 262.18371582031, 112.11358642578, 1004.4432373047, 0, 0, 0, -1, 10, -1, 150.0);
  1064. CreateDynamicObject(2044, 260.82150268555, 112.40478515625, 1005.1069335938, 0, 90, 90, -1, 10, -1, 150.0);
  1065. CreateDynamicObject(2044, 261.17120361328, 112.40771484375, 1005.1069335938, 0, 90, 90, -1, 10, -1, 150.0);
  1066. CreateDynamicObject(2044, 261.54580688477, 112.41088867188, 1005.1069335938, 0, 90, 90, -1, 10, -1, 150.0);
  1067. CreateDynamicObject(2040, 264.0260925293, 112.05718994141, 1004.5300292969, 0, 0, 0, -1, 10, -1, 150.0);
  1068. CreateDynamicObject(2040, 263.75338745117, 111.75393676758, 1004.5300292969, 0, 0, 0, -1, 10, -1, 150.0);
  1069. CreateDynamicObject(2041, 263.45355224609, 112.0640411377, 1004.6237792969, 0, 0, 0, -1, 10, -1, 150.0);
  1070. CreateDynamicObject(1672, 263.18966674805, 111.77030944824, 1004.6245727539, 0, 0, 0, -1, 10, -1, 150.0);
  1071. CreateDynamicObject(1672, 263.18823242188, 111.89453887939, 1004.6245727539, 0, 0, 0, -1, 10, -1, 150.0);
  1072. CreateDynamicObject(1672, 263.06253051758, 111.89331054688, 1004.6245727539, 0, 0, 0, -1, 10, -1, 150.0);
  1073. CreateDynamicObject(1672, 263.0634765625, 111.79257202148, 1004.6245727539, 0, 0, 0, -1, 10, -1, 150.0);
  1074. CreateDynamicObject(2635, 267.04373168945, 118.35160827637, 1004.0219116211, 0, 0, 0, -1, 10, -1, 150.0);
  1075. CreateDynamicObject(1810, 266.11364746094, 118.62970733643, 1003.6171875, 0, 0, 90, -1, 10, -1, 150.0);
  1076. CreateDynamicObject(1810, 267.99978637695, 118.18621826172, 1003.6171875, 0, 0, 270, -1, 10, -1, 150.0);
  1077. CreateDynamicObject(2196, 266.58547973633, 118.47133636475, 1004.4312133789, 0, 0, 81.384521484375, -1, 10, -1, 150.0);
  1078. CreateDynamicObject(1616, 269.84222412109, 116.25686645508, 1007.1196899414, 0, 340.14999389648, 2.969970703125, -1, 10, -1, 150.0);
  1079. CreateDynamicObject(1537, 229.37503051758, 114.83127593994, 998.015625, 0, 0, 270, -1, 10, -1, 150.0);
  1080. CreateDynamicObject(3051, 275.70761108398, 121.5004196167, 1004.9793701172, 0, 0, 45, -1, 10, -1, 150.0);
  1081. CreateDynamicObject(3051, 275.7311706543, 122.69128417969, 1004.9793701172, 0, 0, 45, -1, 10, -1, 150.0);
  1082. CreateDynamicObject(1892, 252.4386138916, 108.55013275146, 1002.21875, 0, 0, 90, -1, 10, -1, 150.0);
  1083. CreateDynamicObject(1892, 240.44403076172, 117.10729980469, 1002.21875, 0, 0, 90, -1, 10, -1, 150.0);
  1084. CreateDynamicObject(14412, 1786.3754882813, -1566.6236572266, -11.765108108521, 0.000000, 0.000000, 0.000000); //
  1085. CreateDynamicObject(5020, 1810.4803466797, -1578.4578857422, -26.011026382446, 0.000000, 0.000000, 0.000000); //
  1086. CreateDynamicObject(14411, 1812.5189208984, -1567.7731933594, -24.300365447998, 0.000000, 0.000000, 0.000000); //
  1087. CreateDynamicObject(1806, 1812.6756591797, -1558.4259033203, -21.108858108521, 0.000000, 0.000000, 266.70568847656); //
  1088. CreateDynamicObject(2606, 1814.5942382813, -1558.310546875, -19.352645874023, 0.000000, 0.000000, 270); //
  1089. CreateDynamicObject(2606, 1814.59375, -1558.310546875, -18.902652740479, 0.000000, 0.000000, 270); //
  1090. CreateDynamicObject(984, 1797.2371826172, -1576.1966552734, -20.472179412842, 0.000000, 0.000000, 90); //
  1091. CreateDynamicObject(984, 1797.236328125, -1576.1962890625, -19.222198486328, 0.000000, 0.000000, 90); //
  1092. CreateDynamicObject(984, 1797.236328125, -1576.1962890625, -17.972217559814, 0.000000, 0.000000, 90); //
  1093. CreateDynamicObject(983, 1800.44140625, -1579.3736572266, -20.425304412842, 0.000000, 0.000000, 0.000000); //
  1094. CreateDynamicObject(983, 1800.44140625, -1579.373046875, -19.200323104858, 0.000000, 0.000000, 0.000000); //
  1095. CreateDynamicObject(983, 1800.44140625, -1579.373046875, -17.950342178345, 0.000000, 0.000000, 0.000000); //
  1096. CreateDynamicObject(1771, 1802.0244140625, -1578.3690185547, -20.475191116333, 0.000000, 0.000000, 0.000000); //
  1097. CreateDynamicObject(983, 1797.2287597656, -1579.345703125, -20.425304412842, 0.000000, 0.000000, 0.000000); //
  1098. CreateDynamicObject(983, 1797.228515625, -1579.345703125, -19.175323486328, 0.000000, 0.000000, 0.000000); //
  1099. CreateDynamicObject(983, 1797.228515625, -1579.345703125, -17.925342559814, 0.000000, 0.000000, 0.000000); //
  1100. CreateDynamicObject(1771, 1798.7761230469, -1578.4307861328, -20.475191116333, 0.000000, 0.000000, 0.000000); //
  1101. CreateDynamicObject(983, 1794.0754394531, -1579.4072265625, -20.425304412842, 0.000000, 0.000000, 0.000000); //
  1102. CreateDynamicObject(983, 1790.8470458984, -1579.4229736328, -20.425304412842, 0.000000, 0.000000, 0.000000); //
  1103. CreateDynamicObject(983, 1794.0751953125, -1579.4072265625, -19.175323486328, 0.000000, 0.000000, 0.000000); //
  1104. CreateDynamicObject(983, 1794.0751953125, -1579.4072265625, -17.925342559814, 0.000000, 0.000000, 0.000000); //
  1105. CreateDynamicObject(983, 1790.8466796875, -1579.4228515625, -19.200323104858, 0.000000, 0.000000, 0.000000); //
  1106. CreateDynamicObject(983, 1790.8466796875, -1579.4228515625, -17.975341796875, 0.000000, 0.000000, 0.000000); //
  1107. CreateDynamicObject(1771, 1795.5473632813, -1578.4833984375, -20.475191116333, 0.000000, 0.000000, 0.000000); //
  1108. CreateDynamicObject(1771, 1792.3704833984, -1578.4868164063, -20.475191116333, 0.000000, 0.000000, 0.000000); //
  1109. CreateDynamicObject(14791, 1772.5690917969, -1559.0500488281, -19.06379699707, 0.000000, 0.000000, 0.000000); //
  1110. CreateDynamicObject(14791, 1780.7524414063, -1568.1584472656, -19.06379699707, 0.000000, 0.000000, 0.000000); //
  1111. CreateDynamicObject(2628, 1779.5222167969, -1554.4709472656, -21.108858108521, 0.000000, 0.000000, 0.000000); //
  1112. CreateDynamicObject(2628, 1781.271484375, -1554.4698486328, -21.108858108521, 0.000000, 0.000000, 0.000000); //
  1113. CreateDynamicObject(2628, 1783.271484375, -1554.46875, -21.108858108521, 0.000000, 0.000000, 0.000000); //
  1114. CreateDynamicObject(2629, 1783.2358398438, -1557.8597412109, -21.108858108521, 0.000000, 0.000000, 180); //
  1115. CreateDynamicObject(2629, 1781.3894042969, -1557.8410644531, -21.108858108521, 0.000000, 0.000000, 179.99450683594); //
  1116. CreateDynamicObject(2629, 1779.587890625, -1557.9284667969, -21.108858108521, 0.000000, 0.000000, 179.99450683594); //
  1117. CreateDynamicObject(14407, 1765.5689697266, -1558.4847412109, -20.166234970093, 0.000000, 0.000000, 180); //
  1118. CreateDynamicObject(5020, 1754.8359375, -1574.6522216797, -15.485235214233, 0.000000, 0.000000, 0.000000); //
  1119. CreateDynamicObject(3496, 1798.4664306641, -1559.6866455078, -21.108858108521, 0.000000, 0.000000, 90); //
  1120. CreateDynamicObject(3496, 1798.4099121094, -1564.6815185547, -21.108858108521, 0.000000, 0.000000, 90); //
  1121. CreateDynamicObject(3496, 1798.228515625, -1569.83203125, -21.108858108521, 0.000000, 0.000000, 90); //
  1122. CreateDynamicObject(2114, 1792.9893798828, -1563.9981689453, -20.962547302246, 0.000000, 0.000000, 0.000000); //
  1123. CreateDynamicObject(984, 1769.9936523438, -1576.1962890625, -20.472179412842, 0.000000, 0.000000, 90); //
  1124. CreateDynamicObject(984, 1769.9931640625, -1576.1962890625, -19.247198104858, 0.000000, 0.000000, 90); //
  1125. CreateDynamicObject(984, 1769.9931640625, -1576.1962890625, -17.997217178345, 0.000000, 0.000000, 90); //
  1126. CreateDynamicObject(983, 1766.8254394531, -1579.3724365234, -20.425304412842, 0.000000, 0.000000, 0.000000); //
  1127. CreateDynamicObject(983, 1766.8251953125, -1579.3720703125, -19.200323104858, 0.000000, 0.000000, 0.000000); //
  1128. CreateDynamicObject(983, 1766.8251953125, -1579.3720703125, -17.975341796875, 0.000000, 0.000000, 0.000000); //
  1129. CreateDynamicObject(983, 1769.9969482422, -1579.37890625, -20.425304412842, 0.000000, 0.000000, 0.000000); //
  1130. CreateDynamicObject(983, 1769.99609375, -1579.37890625, -19.175323486328, 0.000000, 0.000000, 0.000000); //
  1131. CreateDynamicObject(983, 1769.99609375, -1579.37890625, -17.925342559814, 0.000000, 0.000000, 0.000000); //
  1132. CreateDynamicObject(983, 1773.2802734375, -1579.3983154297, -20.425304412842, 0.000000, 0.000000, 0.000000); //
  1133. CreateDynamicObject(983, 1773.2802734375, -1579.3974609375, -19.175323486328, 0.000000, 0.000000, 0.000000); //
  1134. CreateDynamicObject(983, 1773.2802734375, -1579.3974609375, -17.950342178345, 0.000000, 0.000000, 0.000000); //
  1135. CreateDynamicObject(983, 1776.3768310547, -1579.3669433594, -20.425304412842, 0.000000, 0.000000, 0.000000); //
  1136. CreateDynamicObject(983, 1776.3759765625, -1579.3662109375, -19.175323486328, 0.000000, 0.000000, 0.000000); //
  1137. CreateDynamicObject(983, 1776.3759765625, -1579.3662109375, -17.950342178345, 0.000000, 0.000000, 0.000000); //
  1138. CreateDynamicObject(1771, 1774.8692626953, -1578.0837402344, -20.475191116333, 0.000000, 0.000000, 0.000000); //
  1139. CreateDynamicObject(1771, 1771.6446533203, -1578.2677001953, -20.475191116333, 0.000000, 0.000000, 0.000000); //
  1140. CreateDynamicObject(1771, 1768.3924560547, -1578.1876220703, -20.475191116333, 0.000000, 0.000000, 0.000000); //
  1141. CreateDynamicObject(1771, 1765.1842041016, -1578.3269042969, -20.475191116333, 0.000000, 0.000000, 0.000000); //
  1142. CreateDynamicObject(1432, 1760.7723388672, -1556.0317382813, -16.944795608521, 0.000000, 0.000000, 0.000000); //
  1143. CreateDynamicObject(1432, 1756.9672851563, -1559.1997070313, -16.944795608521, 0.000000, 0.000000, 0.000000); //
  1144. CreateDynamicObject(1432, 1760.9885253906, -1562.3266601563, -16.944795608521, 0.000000, 0.000000, 0.000000); //
  1145. CreateDynamicObject(1432, 1756.9020996094, -1564.4138183594, -16.944795608521, 0.000000, 0.000000, 0.000000); //
  1146. CreateDynamicObject(1432, 1760.7673339844, -1567.8200683594, -16.944795608521, 0.000000, 0.000000, 0.000000); //
  1147. CreateDynamicObject(1432, 1757.1599121094, -1570.4265136719, -16.944795608521, 0.000000, 0.000000, 0.000000); //
  1148. ImpoundGate = CreateDynamicObject(968, 1544.681640625, -1630.8924560547, 13.054567337036, 0, 90, 90, -1, -1, -1, 150.0); // Gate
  1149. CreateDynamicObject(983, 1544.6687011719, -1620.6209716797, 13.063118934631, 0, 0, 0, -1, -1, -1, 150.0); // Fence 1
  1150. CreateDynamicObject(983, 1544.6687011719, -1635.9771728516, 13.063118934631, 0, 0, 0, -1, -1, -1, 150.0); // Fence 2
  1151. CreateDynamicObject(1331, 1544.4990234375, -1616.9643554688, 13.304880142212, 0, 0, 180, -1, -1, -1, 150.0); // Bin (For covering the fence edge)
  1152. CreateDynamicObject(2957, 1582.1939697266, -1637.9399414063, 14.010244369507, 0, 0, 0, -1, -1, -1, 150.0); // Door
  1153. CreateDynamicObject(3928, 1567.7780761719, -1651.8255615234, 27.395606994629, 0, 0, 0, -1, -1, -1, 150.0); // Helipad
  1154. CreateDynamicObject(3928, 1567.7780761719, -1698.9566650391, 27.395606994629, 0, 0, 0, -1, -1, -1, 150.0); // Helipad
  1155. CreateDynamicObject(3051, 1571.4965820313, -1676.1550292969, 28.757656097412, 0, 0, 45, -1, -1, -1, 150.0); // Elevator door
  1156. CreateDynamicObject(3051, 1571.5002441406, -1674.9787597656, 28.757656097412, 0, 0, 45, -1, -1, -1, 150.0); // Elevator door 2
  1157.  
  1158. // Hospital Interior
  1159. CreateDynamicObject(14594, 1158.3475341797, -1277.7058105469, -65.460548400879, 0, 0, 0, -1, -1, -1, 150.0);
  1160. CreateDynamicObject(10150, 1136.7777099609, -1265.685546875, -63.413455963135, 0, 0, 0, -1, -1, -1, 150.0);
  1161. CreateDynamicObject(1491, 1132.3988037109, -1282.9724121094, -65.440330505371, 0, 0, 0, -1, -1, -1, 150.0);
  1162. CreateDynamicObject(1491, 1139.5205078125, -1291.1364746094, -65.452735900879, 0, 0, 0, -1, -1, -1, 150.0);
  1163. CreateDynamicObject(1491, 1171.8874511719, -1269.2377929688, -65.444923400879, 0, 0, 268.68872070313, -1, -1, -1, 150.0);
  1164. CreateDynamicObject(1491, 1171.8879394531, -1257.7572021484, -65.444923400879, 0, 0, 270.67370605469, -1, -1, -1, 150.0);
  1165. CreateDynamicObject(1491, 1159.8345947266, -1260.6341552734, -65.407035827637, 0, 0, 183.33422851563, -1, -1, -1, 150.0);
  1166. CreateDynamicObject(2596, 1125.7355957031, -1299.6791992188, -62.228019714355, 0, 0, 143.63650512695, -1, -1, -1, 150.0);
  1167. CreateDynamicObject(2367, 1125.4946289063, -1298.7846679688, -65.444923400879, 0, 0, 179.36633300781, -1, -1, -1, 150.0);
  1168. CreateDynamicObject(2367, 1127.5819091797, -1298.7911376953, -65.444923400879, 0, 0, 179.36633300781, -1, -1, -1, 150.0);
  1169. CreateDynamicObject(1594, 1133.6119384766, -1293.8436279297, -64.967933654785, 0, 0, 0, -1, -1, -1, 150.0);
  1170. CreateDynamicObject(1594, 1129.8220214844, -1291.0684814453, -64.967933654785, 0, 0, 0, -1, -1, -1, 150.0);
  1171. CreateDynamicObject(1594, 1126.8267822266, -1287.6267089844, -64.967933654785, 0, 0, 0, -1, -1, -1, 150.0);
  1172. CreateDynamicObject(1594, 1133, -1287.6726074219, -64.967933654785, 0, 0, 0, -1, -1, -1, 150.0);
  1173. CreateDynamicObject(1594, 1125.7453613281, -1294.0341796875, -64.967933654785, 0, 0, 0, -1, -1, -1, 150.0);
  1174. CreateDynamicObject(1594, 1130.0112304688, -1284.6125488281, -64.967933654785, 0, 0, 0, -1, -1, -1, 150.0);
  1175. CreateDynamicObject(1594, 1131.3547363281, -1297.1984863281, -64.967933654785, 0, 0, 0, -1, -1, -1, 150.0);
  1176. CreateDynamicObject(14867, 1134.1434326172, -1303.0708007813, -63.915214538574, 0, 0, 0, -1, -1, -1, 150.0);
  1177. CreateDynamicObject(3383, 1163.8588867188, -1300.2731933594, -65.444923400879, 0, 0, 0, -1, -1, -1, 150.0);
  1178. CreateDynamicObject(3383, 1164.2451171875, -1295.5380859375, -65.444923400879, 0, 0, 0, -1, -1, -1, 150.0);
  1179. CreateDynamicObject(2482, 1137.8024902344, -1297.3492431641, -65.444923400879, 0, 0, 91.309509277344, -1, -1, -1, 150.0);
  1180. CreateDynamicObject(2482, 1137.783203125, -1295.9916992188, -65.444923400879, 0, 0, 91.307373046875, -1, -1, -1, 150.0);
  1181. CreateDynamicObject(3390, 1138.0035400391, -1293.0611572266, -65.444923400879, 0, 0, 180.63366699219, -1, -1, -1, 150.0);
  1182. CreateDynamicObject(2146, 1142.0844726563, -1301.1970214844, -64.959373474121, 0, 0, 336.18017578125, -1, -1, -1, 150.0);
  1183. CreateDynamicObject(932, 1145.6413574219, -1302.3699951172, -65.444923400879, 0, 0, 180.63366699219, -1, -1, -1, 150.0);
  1184. CreateDynamicObject(3386, 1166.2917480469, -1291.7335205078, -65.452735900879, 0, 0, 89.324493408203, -1, -1, -1, 150.0);
  1185. CreateDynamicObject(1998, 1177.8168945313, -1254.9371337891, -65.444923400879, 0, 0, 0, -1, -1, -1, 150.0);
  1186. CreateDynamicObject(1806, 1176.5178222656, -1253.9886474609, -65.444923400879, 0, 0, 268.69067382813, -1, -1, -1, 150.0);
  1187. CreateDynamicObject(1806, 1176.5057373047, -1255.0048828125, -65.444923400879, 0, 0, 268.68713378906, -1, -1, -1, 150.0);
  1188. CreateDynamicObject(1726, 1174.3175048828, -1261.3046875, -65.444923400879, 0, 0, 133.71014404297, -1, -1, -1, 150.0);
  1189. CreateDynamicObject(2994, 1178.2098388672, -1260.8349609375, -64.950477600098, 0, 0, 121.08441162109, -1, -1, -1, 150.0);
  1190. CreateDynamicObject(1997, 1177.6787109375, -1258.8585205078, -65.444923400879, 0, 0, 268.69067382813, -1, -1, -1, 150.0);
  1191. CreateDynamicObject(14455, 1172.2811279297, -1251.4552001953, -64.355239868164, 0, 0, 270.67565917969, -1, -1, -1, 150.0);
  1192. CreateDynamicObject(1997, 1143.1053466797, -1292.5474853516, -65.444923400879, 0, 0, 0, -1, -1, -1, 150.0);
  1193. CreateDynamicObject(1997, 1146.6044921875, -1292.5485839844, -65.444923400879, 0, 0, 0, -1, -1, -1, 150.0);
  1194. CreateDynamicObject(1997, 1150.3526611328, -1292.4544677734, -65.444923400879, 0, 0, 0, -1, -1, -1, 150.0);
  1195. CreateDynamicObject(1997, 1154.3505859375, -1292.3544921875, -65.444923400879, 0, 0, 0, -1, -1, -1, 150.0);
  1196. CreateDynamicObject(1997, 1158.0987548828, -1292.2611083984, -65.444923400879, 0, 0, 0, -1, -1, -1, 150.0);
  1197. CreateDynamicObject(2994, 1144.7823486328, -1292.1616210938, -64.942665100098, 0, 0, 152.84503173828, -1, -1, -1, 150.0);
  1198. CreateDynamicObject(2994, 1148.2822265625, -1292.1628417969, -64.942665100098, 0, 0, 152.841796875, -1, -1, -1, 150.0);
  1199. CreateDynamicObject(2994, 1152.0303955078, -1292.2591552734, -64.942665100098, 0, 0, 152.841796875, -1, -1, -1, 150.0);
  1200. CreateDynamicObject(2994, 1156.0283203125, -1292.3623046875, -64.942665100098, 0, 0, 152.841796875, -1, -1, -1, 150.0);
  1201. CreateDynamicObject(2994, 1159.7764892578, -1292.4593505859, -64.942665100098, 0, 0, 152.841796875, -1, -1, -1, 150.0);
  1202. CreateDynamicObject(2994, 1164.1617431641, -1298.0561523438, -64.942665100098, 0, 0, 152.841796875, -1, -1, -1, 150.0);
  1203. CreateDynamicObject(2207, 1158.2191162109, -1268.3189697266, -65.444923400879, 0, 0, 179.36633300781, -1, -1, -1, 150.0);
  1204. CreateDynamicObject(1671, 1157.1782226563, -1269.6607666016, -64.984710693359, 0, 0, 160.78503417969, -1, -1, -1, 150.0);
  1205. CreateDynamicObject(1806, 1159.2347412109, -1268.1467285156, -65.444923400879, 0, 0, 127.03997802734, -1, -1, -1, 150.0);
  1206. CreateDynamicObject(1806, 1158.2208251953, -1267.3734130859, -65.444923400879, 0, 0, 152.83996582031, -1, -1, -1, 150.0);
  1207. CreateDynamicObject(1806, 1156.7685546875, -1267.2618408203, -65.444923400879, 0, 0, 188.56604003906, -1, -1, -1, 150.0);
  1208. CreateDynamicObject(1806, 1155.4471435547, -1267.8515625, -65.444923400879, 0, 0, 214.36865234375, -1, -1, -1, 150.0);
  1209. CreateDynamicObject(2606, 1154.6783447266, -1268.6931152344, -63.895751953125, 0, 0, 89.325012207031, -1, -1, -1, 150.0);
  1210. CreateDynamicObject(2606, 1154.677734375, -1268.6884765625, -63.454917907715, 0, 0, 89.324340820313, -1, -1, -1, 150.0);
  1211. CreateDynamicObject(2606, 1154.677734375, -1268.6904296875, -62.995956420898, 0, 0, 89.324340820313, -1, -1, -1, 150.0);
  1212. CreateDynamicObject(2344, 1156.6042480469, -1268.9682617188, -64.657470703125, 0, 0, 227.00598144531, -1, -1, -1, 150.0);
  1213. CreateDynamicObject(2001, 1160.1789550781, -1269.9454345703, -65.444923400879, 0, 0, 0, -1, -1, -1, 150.0);
  1214. CreateDynamicObject(2606, 1154.6783447266, -1268.6824951172, -62.536994934082, 0, 0, 89.324340820313, -1, -1, -1, 150.0);
  1215. CreateDynamicObject(2290, 1155.3526611328, -1262.310546875, -65.444923400879, 0, 0, 1.9849853515625, -1, -1, -1, 150.0);
  1216. CreateDynamicObject(2290, 1154.8626708984, -1265.5278320313, -65.444923400879, 0, 0, 91.309967041016, -1, -1, -1, 150.0);
  1217. CreateDynamicObject(1997, 1184.4649658203, -1270.4307861328, -65.444923400879, 0, 358.01501464844, 270.67504882813, -1, -1, -1, 150.0);
  1218. CreateDynamicObject(1997, 1184.4389648438, -1267.1931152344, -65.444923400879, 0, 358.01147460938, 270.67016601563, -1, -1, -1, 150.0);
  1219. CreateDynamicObject(2994, 1184.7041015625, -1268.9752197266, -64.950477600098, 0, 0, 312.3603515625, -1, -1, -1, 150.0);
  1220. CreateDynamicObject(2166, 1176.7707519531, -1263.6304931641, -65.452735900879, 0, 0, 180.63366699219, -1, -1, -1, 150.0);
  1221. CreateDynamicObject(1663, 1178.8988037109, -1254.6287841797, -64.984710693359, 0, 0, 276.63061523438, -1, -1, -1, 150.0);
  1222. CreateDynamicObject(1671, 1175.4760742188, -1263.3142089844, -64.992523193359, 0, 0, 45.65478515625, -1, -1, -1, 150.0);
  1223. CreateDynamicObject(2309, 1177.9158935547, -1264.6394042969, -65.452735900879, 0, 0, 59.549926757813, -1, -1, -1, 150.0);
  1224. CreateDynamicObject(2309, 1177.982421875, -1263.5758056641, -65.452735900879, 0, 0, 71.455871582031, -1, -1, -1, 150.0);
  1225. CreateDynamicObject(1742, 1100.4301757813, -1282.9621582031, -73.410781860352, 0, 0, 0, -1, -1, -1, 150.0);
  1226. CreateDynamicObject(1742, 1173.1912841797, -1265.0836181641, -65.349143981934, 0, 0, 0, -1, -1, -1, 150.0);
  1227. CreateDynamicObject(3388, 1185.7862548828, -1263.7642822266, -65.452735900879, 0, 0, 86.070037841797, -1, -1, -1, 150.0);
  1228. CreateDynamicObject(2190, 1177.103515625, -1263.5718994141, -64.6611328125, 0, 0, 294.49548339844, -1, -1, -1, 150.0);
  1229. CreateDynamicObject(2904, 1171.8421630859, -1287.9797363281, -64.138763427734, 0, 0, 270.67565917969, -1, -1, -1, 150.0);
  1230. CreateDynamicObject(1997, 1179.9593505859, -1291.5128173828, -65.444923400879, 0, 0, 270.67498779297, -1, -1, -1, 150.0);
  1231.  
  1232. return 1;
  1233. } // Thanks to Calg00ne
  1234.  
  1235. public OnGameModeInit()
  1236. {
  1237. LoadObjects();
  1238. DynamicWeather();
  1239.  
  1240. ShowPlayerMarkers(0);
  1241. DisableInteriorEnterExits();
  1242. SetGameModeText("Roleplay");
  1243. AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
  1244.  
  1245. SetTimer("Server_1000", 1000, true);
  1246.  
  1247. Pickup_GasStation = CreatePickup(PICKUP_INFO, 0, LOCATION_GASSTATION, 0);
  1248. return 1;
  1249. }
  1250.  
  1251. public OnGameModeExit()
  1252. {
  1253. return 1;
  1254. }
  1255.  
  1256. public OnPlayerRequestClass(playerid, classid)
  1257. {
  1258. return 1;
  1259. }
  1260.  
  1261. forward OnPlayerConnectEx(playerid);
  1262. public OnPlayerConnectEx(playerid)
  1263. {
  1264. if(PlayerInfo[playerid][IsRegistered] == 1)
  1265. {
  1266. ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT, "Login", "Please write your {FF0000}password", "Ok", "");
  1267. }else{
  1268. ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT, "Registration", "Please write your {FF0000}password", "Ok", "");
  1269. }
  1270. return 1;
  1271. }
  1272.  
  1273. public OnPlayerConnect(playerid)
  1274. {
  1275. LoadPlayer(playerid);
  1276. SetTimerEx("OnPlayerConnectEx", 5000, false, "i", playerid);
  1277. return 1;
  1278. }
  1279.  
  1280. public OnPlayerDisconnect(playerid, reason)
  1281. {
  1282. SavePlayer(playerid);
  1283. return 1;
  1284. }
  1285.  
  1286. public OnPlayerSpawn(playerid)
  1287. {
  1288. if(PlayerInfo[playerid][LoggedIn] == 1)
  1289. {
  1290. SendClientMessage(playerid, COLOR_WHITE, MESSAGE_SPAWNED);
  1291. GivePlayerMoney(playerid, PlayerInfo[playerid][Money]);
  1292. if(PlayerInfo[playerid][Skin] == 0)
  1293. {
  1294. PlayerInfo[playerid][Skin] = 2;
  1295. }
  1296. SetPlayerSkin(playerid, PlayerInfo[playerid][Skin]);
  1297. SetPlayerPos(playerid, 701.3304,-472.6199,16.3359);
  1298. return 1;
  1299. }
  1300. return 0;
  1301. }
  1302.  
  1303. public OnPlayerDeath(playerid, killerid, reason)
  1304. {
  1305. return 1;
  1306. }
  1307.  
  1308. public OnVehicleSpawn(vehicleid)
  1309. {
  1310. return 1;
  1311. }
  1312.  
  1313. public OnVehicleDeath(vehicleid, killerid)
  1314. {
  1315. return 1;
  1316. }
  1317.  
  1318. public OnPlayerText(playerid, text[])
  1319. {
  1320. if(PlayerInfo[playerid][LoggedIn] == 1 || PlayerInfo[playerid][Muted] == 0)
  1321. {
  1322. new talk[128];
  1323. new pname[128];
  1324. new Float:x, Float:y, Float:z;
  1325. GetPlayerPos(playerid, x, y, z);
  1326. GetPlayerName(playerid, pname, sizeof(pname));
  1327. format(talk, sizeof(talk), "%s said: %s", pname, text);
  1328. for(new i=0;i<MAX_PLAYERS;i++)
  1329. {
  1330. if(IsPlayerConnected(i))
  1331. {
  1332. if(IsPlayerInRangeOfPoint(i, 30, x, y, z))
  1333. {
  1334. SendClientMessage(i, COLOR_WHITE, talk);
  1335. }
  1336. }
  1337. }
  1338. }
  1339. return 0;
  1340. }
  1341.  
  1342. public OnPlayerCommandText(playerid, cmdtext[])
  1343. {
  1344. if (strcmp("/mycommand", cmdtext, true, 10) == 0)
  1345. {
  1346. // Do something here
  1347. return 1;
  1348. }
  1349. return 0;
  1350. }
  1351.  
  1352. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  1353. {
  1354. return 1;
  1355. }
  1356.  
  1357. public OnPlayerExitVehicle(playerid, vehicleid)
  1358. {
  1359. return 1;
  1360. }
  1361.  
  1362. public OnPlayerStateChange(playerid, newstate, oldstate)
  1363. {
  1364. return 1;
  1365. }
  1366.  
  1367. public OnPlayerEnterCheckpoint(playerid)
  1368. {
  1369. return 1;
  1370. }
  1371.  
  1372. public OnPlayerLeaveCheckpoint(playerid)
  1373. {
  1374. return 1;
  1375. }
  1376.  
  1377. public OnPlayerEnterRaceCheckpoint(playerid)
  1378. {
  1379. return 1;
  1380. }
  1381.  
  1382. public OnPlayerLeaveRaceCheckpoint(playerid)
  1383. {
  1384. return 1;
  1385. }
  1386.  
  1387. public OnRconCommand(cmd[])
  1388. {
  1389. return 1;
  1390. }
  1391.  
  1392. public OnPlayerRequestSpawn(playerid)
  1393. {
  1394. return 0;
  1395. }
  1396.  
  1397. public OnObjectMoved(objectid)
  1398. {
  1399. return 1;
  1400. }
  1401.  
  1402. public OnPlayerObjectMoved(playerid, objectid)
  1403. {
  1404. return 1;
  1405. }
  1406.  
  1407. public OnPlayerPickUpPickup(playerid, pickupid)
  1408. {
  1409. if(pickupid == Pickup_GasStation)
  1410. {
  1411. ShowPlayerDialog(playerid, DIALOG_BUY_GASSTATION, DIALOG_STYLE_LIST, "Gas Station", "CLOSED", "Ok", "Cancel");
  1412. }
  1413. return 1;
  1414. }
  1415.  
  1416. public OnVehicleMod(playerid, vehicleid, componentid)
  1417. {
  1418. return 1;
  1419. }
  1420.  
  1421. public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
  1422. {
  1423. return 1;
  1424. }
  1425.  
  1426. public OnVehicleRespray(playerid, vehicleid, color1, color2)
  1427. {
  1428. return 1;
  1429. }
  1430.  
  1431. public OnPlayerSelectedMenuRow(playerid, row)
  1432. {
  1433. return 1;
  1434. }
  1435.  
  1436. public OnPlayerExitedMenu(playerid)
  1437. {
  1438. return 1;
  1439. }
  1440.  
  1441. public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
  1442. {
  1443. return 1;
  1444. }
  1445.  
  1446. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  1447. {
  1448. return 1;
  1449. }
  1450.  
  1451. public OnRconLoginAttempt(ip[], password[], success)
  1452. {
  1453. return 1;
  1454. }
  1455.  
  1456. public OnPlayerUpdate(playerid)
  1457. {
  1458. return 1;
  1459. }
  1460.  
  1461. public OnPlayerStreamIn(playerid, forplayerid)
  1462. {
  1463. return 1;
  1464. }
  1465.  
  1466. public OnPlayerStreamOut(playerid, forplayerid)
  1467. {
  1468. return 1;
  1469. }
  1470.  
  1471. public OnVehicleStreamIn(vehicleid, forplayerid)
  1472. {
  1473. return 1;
  1474. }
  1475.  
  1476. public OnVehicleStreamOut(vehicleid, forplayerid)
  1477. {
  1478. return 1;
  1479. }
  1480.  
  1481. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  1482. {
  1483. if(dialogid == DIALOG_REGISTER)
  1484. {
  1485. new pname[128], pfile[128];
  1486. GetPlayerName(playerid, pname, sizeof(pname));
  1487. format(pfile, sizeof(pfile), "Users/%s.ini", pname);
  1488. if(!strlen(inputtext))
  1489. {
  1490. SendClientMessage(playerid, COLOR_BRIGHTRED, MESSAGE_ERROR_LENGTH);
  1491. ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT, "Login", "Please write your {FF0000}password", "Ok", "");
  1492. return 1;
  1493. }
  1494. dini_Set(pfile, "Password", inputtext);
  1495. PlayerInfo[playerid][LoggedIn] = 1;
  1496. PlayerInfo[playerid][IsRegistered] = 1;
  1497. SpawnPlayer(playerid);
  1498. }
  1499. if(dialogid == DIALOG_LOGIN)
  1500. {
  1501. new pname[128], pfile[128];
  1502. GetPlayerName(playerid, pname, sizeof(pname));
  1503. format(pfile, sizeof(pfile), "Users/%s.ini", pname);
  1504. if(!strlen(inputtext))
  1505. {
  1506. SendClientMessage(playerid, COLOR_BRIGHTRED, MESSAGE_ERROR_LENGTH);
  1507. ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT, "Login", "Please write your {FF0000}password", "Ok", "");
  1508. return 1;
  1509. }
  1510. if(!strcmp(inputtext, dini_Get(pfile, "Password")))
  1511. {
  1512. PlayerInfo[playerid][LoggedIn] = 1;
  1513. SpawnPlayer(playerid);
  1514. }
  1515. else
  1516. {
  1517. SendClientMessage(playerid, COLOR_WHITE, MESSAGE_ERROR_INVALIDPASSWORD);
  1518. }
  1519. }
  1520. return 1;
  1521. }
  1522.  
  1523. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  1524. {
  1525. return 1;
  1526. }
  1527.  
  1528. /*
  1529. REGISTER COMMAND
  1530. ----------------
  1531. Used when the player is registering.
  1532. /Register
  1533.  
  1534. COMMAND:register(playerid, params[])
  1535. {
  1536. if(PlayerInfo[playerid][IsRegistered] == 1)
  1537. {
  1538. SendClientMessage(playerid, COLOR_BRIGHTRED, MESSAGE_ERROR_REGISTERED);
  1539. return 1;
  1540. }
  1541. return 1;
  1542. }
  1543. */
  1544.  
  1545. /*
  1546. LOGIN COMMAND
  1547. ----------------
  1548. Used when the player is login in.
  1549. /login
  1550.  
  1551. COMMAND:login(playerid, params[])
  1552. {
  1553. if(PlayerInfo[playerid][IsRegistered] == 0)
  1554. {
  1555. SendClientMessage(playerid, COLOR_BRIGHTRED, MESSAGE_ERROR_NOTREGISTERED);
  1556. return 1;
  1557. }
  1558. return 1;
  1559. }
  1560. */
  1561.  
  1562. /*
  1563. SETADMIN COMMAND
  1564. ----------------
  1565. to change the admin level of userid
  1566. /setadmin [userid][level]
  1567. */
  1568.  
  1569. COMMAND:setadmin(playerid, params[])
  1570. {
  1571. if(IsPlayerAdmin(playerid))
  1572. {
  1573. new userid, level;
  1574. if(!sscanf(params, "ui", userid, level))
  1575. {
  1576. PlayerInfo[userid][Admin] = level;
  1577. SendClientMessage(playerid, COLOR_WHITE, "You have changed the admin level of this player");
  1578. SendClientMessage(userid, COLOR_YELLOW, "Your admin level has been changed");
  1579. }else{
  1580. SendClientMessage(playerid, COLOR_GREY, "USAGE: /setadmin [userid] [level]");
  1581. }
  1582. }else{
  1583. SendClientMessage(playerid, COLOR_BRIGHTRED, MESSAGE_ERROR_NOTRCON);
  1584. }
  1585. return 1;
  1586. }
  1587.  
  1588. /*
  1589. KICK COMMAND
  1590. ----------------
  1591. used to kick a player
  1592. /kick [userid][reason]
  1593. */
  1594.  
  1595. COMMAND:kick(playerid, params[])
  1596. {
  1597. if(PlayerInfo[playerid][Admin] > 0)
  1598. {
  1599. new userid, reason;
  1600. if(!sscanf(params, "is", userid, reason))
  1601. {
  1602. new str[128];
  1603. new pname[128];
  1604. GetPlayerName(playerid, pname, sizeof(pname));
  1605. format(str, sizeof(str), "%s has been kicked. (Reason: %s)", pname, reason);
  1606. SendClientMessageToAll(COLOR_WHITE, str);
  1607. Kick(playerid);
  1608. }else{
  1609. SendClientMessage(playerid, COLOR_GREY, "USAGE: /kick [userid][reason]");
  1610. }
  1611. }else{
  1612. SendClientMessage(playerid, COLOR_BRIGHTRED, MESSAGE_ERROR_ADMLVL1);
  1613. }
  1614. return 1;
  1615. }
  1616.  
  1617. /*
  1618. BAN COMMAND
  1619. ----------------
  1620. used to ban a player
  1621. /ban [userid][reason]
  1622. */
  1623.  
  1624. COMMAND:ban(playerid, params[])
  1625. {
  1626. if(PlayerInfo[playerid][Admin] > 0)
  1627. {
  1628. new userid, reason;
  1629. if(!sscanf(params, "is", userid, reason))
  1630. {
  1631. new str[128];
  1632. new pname[128];
  1633. GetPlayerName(playerid, pname, sizeof(pname));
  1634. format(str, sizeof(str), "%s has been banned. (Reason: %s)", pname, reason);
  1635. SendClientMessageToAll(COLOR_WHITE, str);
  1636. Ban(playerid);
  1637. }else{
  1638. SendClientMessage(playerid, COLOR_GREY, "USAGE: /ban [userid][reason]");
  1639. }
  1640. }else{
  1641. SendClientMessage(playerid, COLOR_BRIGHTRED, MESSAGE_ERROR_ADMLVL1);
  1642. }
  1643. return 1;
  1644. }
  1645.  
  1646. /*
  1647. AC COMMAND
  1648. ----------------
  1649. Admin Chat
  1650. /kick [message]
  1651. */
  1652.  
  1653. COMMAND:ac(playerid, params[])
  1654. {
  1655. if(PlayerInfo[playerid][Admin] > 0)
  1656. {
  1657. new str[128], pname[128];
  1658. GetPlayerName(playerid, pname, sizeof(pname));
  1659. format(str, sizeof(str), "[ADMIN]%s : %s", pname, params);
  1660. for(new i=0;i<MAX_PLAYERS;i++)
  1661. {
  1662. if(IsPlayerConnected(i))
  1663. {
  1664. if(PlayerInfo[i][Admin] > 0)
  1665. {
  1666. SendClientMessage(i, COLOR_GREEN, str);
  1667. }
  1668. }
  1669. }
  1670. }else{
  1671. SendClientMessage(playerid, COLOR_BRIGHTRED, MESSAGE_ERROR_ADMLVL1);
  1672. }
  1673. return 1;
  1674. }
  1675.  
  1676. /*
  1677. GETHERE COMMAND
  1678. ----------------
  1679. used to bring a player
  1680. /Gethere [userid]
  1681. */
  1682.  
  1683. COMMAND:gethere(playerid, params[])
  1684. {
  1685. if(PlayerInfo[playerid][Admin] > 0)
  1686. {
  1687. new Float:x, Float:y, Float:z;
  1688. GetPlayerPos(playerid, x, y, z);
  1689. new userid;
  1690. if(!sscanf(params, "u", userid))
  1691. {
  1692. SendClientMessage(playerid, COLOR_WHITE, "Teleported by Admin");
  1693. SetPlayerPos(userid, x, y, z);
  1694. }else{
  1695. SendClientMessage(playerid, COLOR_GREY, "USAGE:/gethere [userid]");
  1696. }
  1697. }else{
  1698. SendClientMessage(playerid, COLOR_BRIGHTRED, MESSAGE_ERROR_ADMLVL1);
  1699. }
  1700. return 1;
  1701. }
  1702.  
  1703. /*
  1704. GOTO COMMAND
  1705. ----------------
  1706. used to go to a player
  1707. /Goto [userid]
  1708. */
  1709.  
  1710.  
  1711. COMMAND:goto(playerid, params[])
  1712. {
  1713. if(PlayerInfo[playerid][Admin] > 0)
  1714. {
  1715. new userid;
  1716. if(!sscanf(params, "u", userid))
  1717. {
  1718. new Float:x, Float:y, Float:z;
  1719. GetPlayerPos(userid, x, y, z);
  1720. SendClientMessage(userid, COLOR_WHITE, "An admin has teleported to you");
  1721. SetPlayerPos(playerid, x, y, z);
  1722. }else{
  1723. SendClientMessage(playerid, COLOR_GREY, "USAGE:/goto [userid]");
  1724. }
  1725. }else{
  1726. SendClientMessage(playerid, COLOR_BRIGHTRED, MESSAGE_ERROR_ADMLVL1);
  1727. }
  1728. return 1;
  1729. }
  1730.  
  1731. /*
  1732. SETSKIN COMMAND
  1733. ----------------
  1734. used to set the player skin
  1735. /setskin [userid][skinid]
  1736. */
  1737.  
  1738. COMMAND:setskin(playerid, params[])
  1739. {
  1740. if(PlayerInfo[playerid][Admin] > 0)
  1741. {
  1742. new userid, skinid;
  1743. if(!sscanf(params, "ui", userid, skinid))
  1744. {
  1745. PlayerInfo[userid][Skin] = skinid;
  1746. SetPlayerSkin(userid, skinid);
  1747. }else{
  1748. SendClientMessage(playerid, COLOR_GREY, "USAGE:/setskin [userid][skinid]");
  1749. }
  1750. }else{
  1751. SendClientMessage(playerid, COLOR_BRIGHTRED, MESSAGE_ERROR_ADMLVL1);
  1752. }
  1753. return 1;
  1754. }
  1755.  
  1756. /*
  1757. VEHICLE COMMAND
  1758. ----------------
  1759. used to spawn vehicles
  1760. /v [vehicleid][color1][color2]
  1761. */
  1762.  
  1763. COMMAND:v(playerid, params[])
  1764. {
  1765. if(PlayerInfo[playerid][Admin] > 0)
  1766. {
  1767. new model, color1, color2;
  1768. if(!sscanf(params, "iii", model, color1, color2))
  1769. {
  1770. new Float:x, Float:y, Float:z;
  1771. GetPlayerPos(playerid, x, y, z);
  1772. new vehicleid = CreateVehicle(model, x, y, z, 0.0, color1, color2, -1);
  1773. PutPlayerInVehicle(playerid, vehicleid, 1);
  1774. }else{
  1775. SendClientMessage(playerid, COLOR_GREY, "USAGE:/v [vehicleid][color1][color2]");
  1776. }
  1777. }else{
  1778. SendClientMessage(playerid, COLOR_BRIGHTRED, MESSAGE_ERROR_ADMLVL1);
  1779. }
  1780. return 1;
  1781. }
  1782.  
  1783. /*
  1784. B COMMAND
  1785. ----------------
  1786. used for local chat
  1787. /b [text]
  1788. */
  1789.  
  1790. COMMAND:b(playerid, params[])
  1791. {
  1792. if(PlayerInfo[playerid][LoggedIn] == 1)
  1793. {
  1794. new talk[128];
  1795. new pname[128];
  1796. new Float:x, Float:y, Float:z;
  1797. GetPlayerPos(playerid, x, y, z);
  1798. GetPlayerName(playerid, pname, sizeof(pname));
  1799. format(talk, sizeof(talk), "(( %s said: %s ))", pname, params);
  1800. for(new i=0;i<MAX_PLAYERS;i++)
  1801. {
  1802. if(IsPlayerConnected(i))
  1803. {
  1804. if(IsPlayerInRangeOfPoint(i, 50, x, y, z))
  1805. {
  1806. SendClientMessage(i, COLOR_WHITE, talk);
  1807. }
  1808. }
  1809. }
  1810. }
  1811. return 1;
  1812. }
  1813.  
  1814. /*
  1815. O COMMAND
  1816. ----------------
  1817. used for global chat
  1818. /o [text]
  1819. */
  1820.  
  1821. COMMAND:o(playerid, params[])
  1822. {
  1823. if(PlayerInfo[playerid][LoggedIn] == 1)
  1824. {
  1825. new talk[128];
  1826. new pname[128];
  1827. new Float:x, Float:y, Float:z;
  1828. GetPlayerPos(playerid, x, y, z);
  1829. GetPlayerName(playerid, pname, sizeof(pname));
  1830. format(talk, sizeof(talk), "(( [GLOBAL] %s said: %s ))", pname, params);
  1831. SendClientMessageToAll(COLOR_WHITE, talk);
  1832. }
  1833. return 1;
  1834. }
  1835.  
  1836. /*
  1837. SH COMMAND
  1838. ----------------
  1839. used to shout
  1840. /sh [text]
  1841. */
  1842.  
  1843. COMMAND:sh(playerid, params[])
  1844. {
  1845. if(PlayerInfo[playerid][LoggedIn] == 1)
  1846. {
  1847. new talk[128];
  1848. new pname[128];
  1849. new Float:x, Float:y, Float:z;
  1850. GetPlayerPos(playerid, x, y, z);
  1851. GetPlayerName(playerid, pname, sizeof(pname));
  1852. format(talk, sizeof(talk), "%s shouted: %s", pname, params);
  1853. for(new i=0;i<MAX_PLAYERS;i++)
  1854. {
  1855. if(IsPlayerConnected(i))
  1856. {
  1857. if(IsPlayerInRangeOfPoint(i, 50, x, y, z))
  1858. {
  1859. SendClientMessage(i, COLOR_WHITE, talk);
  1860. }
  1861. }
  1862. }
  1863. }
  1864. return 1;
  1865. }
  1866.  
  1867. /*
  1868. W COMMAND
  1869. ----------------
  1870. used to whisper
  1871. /W [text]
  1872. */
  1873.  
  1874. COMMAND:w(playerid, params[])
  1875. {
  1876. if(PlayerInfo[playerid][LoggedIn] == 1)
  1877. {
  1878. new talk[128];
  1879. new pname[128];
  1880. new Float:x, Float:y, Float:z;
  1881. GetPlayerPos(playerid, x, y, z);
  1882. GetPlayerName(playerid, pname, sizeof(pname));
  1883. format(talk, sizeof(talk), "(( %s said: %s ))", pname, params);
  1884. for(new i=0;i<MAX_PLAYERS;i++)
  1885. {
  1886. if(IsPlayerConnected(i))
  1887. {
  1888. if(IsPlayerInRangeOfPoint(i, 10, x, y, z))
  1889. {
  1890. SendClientMessage(i, COLOR_WHITE, talk);
  1891. }
  1892. }
  1893. }
  1894. }
  1895. return 1;
  1896. }
  1897.  
  1898. /*
  1899. ME COMMAND
  1900. ----------------
  1901. used for local ME chat
  1902. /me [text]
  1903. */
  1904.  
  1905. COMMAND:me(playerid, params[])
  1906. {
  1907. if(PlayerInfo[playerid][LoggedIn] == 1)
  1908. {
  1909. new talk[128];
  1910. new pname[128];
  1911. new Float:x, Float:y, Float:z;
  1912. GetPlayerPos(playerid, x, y, z);
  1913. GetPlayerName(playerid, pname, sizeof(pname));
  1914. format(talk, sizeof(talk), "[ME] %s %s", pname, params);
  1915. for(new i=0;i<MAX_PLAYERS;i++)
  1916. {
  1917. if(IsPlayerConnected(i))
  1918. {
  1919. if(IsPlayerInRangeOfPoint(i, 30, x, y, z))
  1920. {
  1921. SendClientMessage(i, COLOR_YELLOW, talk);
  1922. }
  1923. }
  1924. }
  1925. }
  1926. return 1;
  1927. }
  1928.  
  1929. /*
  1930. DO COMMAND
  1931. ----------------
  1932. used for local DO chat
  1933. /do [text]
  1934. */
  1935.  
  1936. COMMAND:do(playerid, params[])
  1937. {
  1938. if(PlayerInfo[playerid][LoggedIn] == 1)
  1939. {
  1940. new talk[128];
  1941. new pname[128];
  1942. new Float:x, Float:y, Float:z;
  1943. GetPlayerPos(playerid, x, y, z);
  1944. GetPlayerName(playerid, pname, sizeof(pname));
  1945. format(talk, sizeof(talk), "[DO] %s (( %s ))", params, pname);
  1946. for(new i=0;i<MAX_PLAYERS;i++)
  1947. {
  1948. if(IsPlayerConnected(i))
  1949. {
  1950. if(IsPlayerInRangeOfPoint(i, 30, x, y, z))
  1951. {
  1952. SendClientMessage(i, COLOR_YELLOW, talk);
  1953. }
  1954. }
  1955. }
  1956. }
  1957. return 1;
  1958. }
  1959.  
  1960. /*
  1961. MUMBLE COMMAND
  1962. ----------------
  1963. used for local MUMBLE chat
  1964. /mumble [text]
  1965. */
  1966.  
  1967. COMMAND:mumble(playerid, params[])
  1968. {
  1969. if(PlayerInfo[playerid][LoggedIn] == 1)
  1970. {
  1971. new talk[128];
  1972. new pname[128];
  1973. new Float:x, Float:y, Float:z;
  1974. GetPlayerPos(playerid, x, y, z);
  1975. GetPlayerName(playerid, pname, sizeof(pname));
  1976. format(talk, sizeof(talk), "[ME] %s mumbles: '%s'", pname, params);
  1977. for(new i=0;i<MAX_PLAYERS;i++)
  1978. {
  1979. if(IsPlayerConnected(i))
  1980. {
  1981. if(IsPlayerInRangeOfPoint(i, 30, x, y, z))
  1982. {
  1983. SendClientMessage(i, COLOR_YELLOW, talk);
  1984. }
  1985. }
  1986. }
  1987. }
  1988. return 1;
  1989. }
  1990.  
  1991. /*
  1992. COUGH COMMAND
  1993. ----------------
  1994. used for local COUGH chat
  1995. /cough [text]
  1996. */
  1997.  
  1998. COMMAND:cough(playerid, params[])
  1999. {
  2000. if(PlayerInfo[playerid][LoggedIn] == 1)
  2001. {
  2002. new talk[128];
  2003. new pname[128];
  2004. new Float:x, Float:y, Float:z;
  2005. GetPlayerPos(playerid, x, y, z);
  2006. GetPlayerName(playerid, pname, sizeof(pname));
  2007. format(talk, sizeof(talk), "[ME] %s coughts, and says '%s'", pname, params);
  2008. for(new i=0;i<MAX_PLAYERS;i++)
  2009. {
  2010. if(IsPlayerConnected(i))
  2011. {
  2012. if(IsPlayerInRangeOfPoint(i, 30, x, y, z))
  2013. {
  2014. SendClientMessage(i, COLOR_YELLOW, talk);
  2015. }
  2016. }
  2017. }
  2018. }
  2019. return 1;
  2020. }
  2021.  
  2022. /*
  2023. MUTE COMMAND
  2024. ----------------
  2025. used to spawn vehicles
  2026. /mute [playerid]
  2027. */
  2028.  
  2029. COMMAND:mute(playerid, params[])
  2030. {
  2031. if(PlayerInfo[playerid][Admin] > 0)
  2032. {
  2033. new userid;
  2034. if(!sscanf(params, "u", userid))
  2035. {
  2036. SendClientMessage(playerid, COLOR_YELLOW, "User Muted");
  2037. PlayerInfo[userid][Muted] = 1;
  2038. }else{
  2039. SendClientMessage(playerid, COLOR_GREY, "USAGE:/mute [playerid]");
  2040. }
  2041. }else{
  2042. SendClientMessage(playerid, COLOR_BRIGHTRED, MESSAGE_ERROR_ADMLVL1);
  2043. }
  2044. return 1;
  2045. }
  2046.  
  2047. /*
  2048. SETVIP COMMAND
  2049. ----------------
  2050. used to spawn vehicles
  2051. /setvip [playerid]
  2052. */
  2053.  
  2054. COMMAND:setvip(playerid, params[])
  2055. {
  2056. if(PlayerInfo[playerid][Admin] > 1330)
  2057. {
  2058. new userid, level;
  2059. if(!sscanf(params, "ui", userid, level))
  2060. {
  2061. SendClientMessage(playerid, COLOR_YELLOW, "User is now VIP");
  2062. SendClientMessage(userid, COLOR_YELLOW, "You are now VIP");
  2063. PlayerInfo[userid][VIP] = level;
  2064. }else{
  2065. SendClientMessage(playerid, COLOR_GREY, "USAGE:/setvip [playerid][level]");
  2066. }
  2067. }else{
  2068. SendClientMessage(playerid, COLOR_BRIGHTRED, MESSAGE_ERROR_ADMLVL1337);
  2069. }
  2070. return 1;
  2071. }
  2072.  
  2073. /*
  2074. SETLEADER COMMAND
  2075. ----------------
  2076. used to set leader
  2077. /setleader [playerid]
  2078. */
  2079.  
  2080. COMMAND:setleader(playerid, params[])
  2081. {
  2082. if(PlayerInfo[playerid][Admin] > 1330)
  2083. {
  2084. new userid, factionid;
  2085. if(!sscanf(params, "ui", userid, factionid))
  2086. {
  2087. SendClientMessage(playerid, COLOR_YELLOW, "User is now leader of this faction");
  2088. SendClientMessage(userid, COLOR_YELLOW, "You are now leader of a faction (/stats)");
  2089. PlayerInfo[userid][FactionID] = factionid;
  2090. PlayerInfo[userid][FactionRank] = 1337;
  2091. }else{
  2092. SendClientMessage(playerid, COLOR_GREY, "USAGE:/setleader [playerid][factionid]");
  2093. }
  2094. }else{
  2095. SendClientMessage(playerid, COLOR_BRIGHTRED, MESSAGE_ERROR_ADMLVL1337);
  2096. }
  2097. return 1;
  2098. }
  2099.  
  2100. /*
  2101. STATS COMMAND
  2102. ----------------
  2103. used to retrieve the stats of the player
  2104. /stats
  2105. */
  2106.  
  2107. COMMAND:stats(playerid, params[])
  2108. {
  2109. new str[128];
  2110. new string[128];
  2111. if(PlayerInfo[playerid][IsRegistered] == 1)
  2112. {
  2113. string = "yes";
  2114. }else{
  2115. string = "no";
  2116. }
  2117. format(str, sizeof(str), "Registered: %s", string);
  2118. format(str, sizeof(str), "%s Money: %i Dollars", str, PlayerInfo[playerid][Money]);
  2119. format(str, sizeof(str), "%s Admin: %i ", str, PlayerInfo[playerid][Admin]);
  2120. format(str, sizeof(str), "%s Skin: %i ", str, PlayerInfo[playerid][Skin]);
  2121. format(str, sizeof(str), "%s Muted: %i ", str, PlayerInfo[playerid][Muted]);
  2122. return 1;
  2123. }
  2124.  
  2125. /*
  2126. DUTY COMMAND
  2127. ----------------
  2128. To go on duty on the faction
  2129. /duty
  2130. */
  2131.  
  2132. COMMAND:duty(playerid, params[])
  2133. {
  2134. if(PlayerInfo[playerid][FactionID] == FACTION_RCPD)
  2135. {
  2136. if(PlayerInfo[playerid][FactionRank] == RANK_RCPD_CADET)
  2137. {
  2138. SetPlayerSkin(playerid, 280);
  2139. }
  2140. if(PlayerInfo[playerid][FactionRank] == RANK_RCPD_OFFICER)
  2141. {
  2142. SetPlayerSkin(playerid, 281);
  2143. }
  2144. if(PlayerInfo[playerid][FactionRank] == RANK_RCPD_LIT)
  2145. {
  2146. SetPlayerSkin(playerid, 282);
  2147. }
  2148. if(PlayerInfo[playerid][FactionRank] == RANK_RCPD_CHIEF)
  2149. {
  2150. SetPlayerSkin(playerid, 283);
  2151. }
  2152. SendClientMessage(playerid, COLOR_WANTED, "-Radio: You are now in duty as part of the Red County Police Department");
  2153. }
  2154. return 1;
  2155. }
  2156.  
  2157. /*
  2158. RADIO COMMAND
  2159. ----------------
  2160. Sends a radio message to all
  2161. the users that are connected
  2162. with the same FactionID and
  2163. a faction rank of 1 or higher.
  2164. /r [message]
  2165. */
  2166.  
  2167. COMMAND:r(playerid, params[])
  2168. {
  2169. if(PlayerInfo[playerid][FactionID] == 0 || PlayerInfo[playerid][FactionRank] == 0)
  2170. {
  2171. return 1;
  2172. }
  2173. new str[128];
  2174. new pname[128];
  2175. GetPlayerName(playerid, pname, sizeof(pname));
  2176. format(str, sizeof(str), "-Radio %s: %s, over", pname, params);
  2177. for(new i=0;i<MAX_PLAYERS;i++)
  2178. {
  2179. if(IsPlayerConnected(i))
  2180. {
  2181. if(PlayerInfo[playerid][FactionID] == PlayerInfo[i][FactionID] || PlayerInfo[i][FactionRank] > 0)
  2182. {
  2183. SendClientMessage(playerid, COLOR_WANTED, str);
  2184. }
  2185. }
  2186. }
  2187. return 1;
  2188. }
  2189.  
  2190. /*
  2191. TICKET COMMAND
  2192. ----------------
  2193. issues a ticket to the
  2194. specified userid
  2195. with a specific value
  2196. which is converted to negative
  2197. sending two messages (issuer
  2198. and issuing)
  2199. /ticket [userid][amount]
  2200. */
  2201.  
  2202. COMMAND:ticket(playerid, params[])
  2203. {
  2204. if(PlayerInfo[playerid][FactionID] == FACTION_RCPD)
  2205. {
  2206. new userid, amount;
  2207. if(!sscanf(params, "ui", userid, amount))
  2208. {
  2209. GivePlayerMoney(userid, -amount);
  2210. SendClientMessage(playerid, COLOR_WHITE, "You have issued this ticket");
  2211. new str[128];
  2212. format(str, sizeof(str), "You have received a ticket for $%i", amount);
  2213. SendClientMessage(playerid, COLOR_YELLOW, str);
  2214. }else{
  2215. SendClientMessage(playerid, COLOR_BRIGHTRED, "ERROR: /ticket [userid][amount]");
  2216. }
  2217. }
  2218. return 1;
  2219. }
  2220.  
  2221. stock InitTearGas(playerid)
  2222. {
  2223. new Float: TmpFloatX, Float: TmpFloatY, Float: TmpFloatZ;
  2224.  
  2225. GetPlayerPos(playerid, TmpFloatX, TmpFloatY, TmpFloatZ);
  2226.  
  2227. for(new i = 0; i < MAX_PLAYERS; i++)
  2228. {
  2229. if(GetPlayerSkin(i) != 285)
  2230. {
  2231. if(IsPlayerInRangeOfPoint(i, 10.0, TmpFloatX, TmpFloatY, TmpFloatZ))
  2232. {
  2233. if(Player[i][TearGasEffect] < 1)
  2234. {
  2235. if(! IsPlayerInAnyVehicle(i))
  2236. {
  2237. ApplyAnimation(i, "FAT", "IDLE_TIRED", 4.1, 1, 1, 1, 1, 0);
  2238. TogglePlayerControllable(i, false);
  2239. Player[i][TearGasEffect] = 1;
  2240. }
  2241. }
  2242. }
  2243. }
  2244. }
  2245. return 1;
  2246. }
  2247.  
  2248. forward MinutesToSeconds(minutes);
  2249. public MinutesToSeconds(minutes)
  2250. {
  2251. return minutes*60;
  2252. }
  2253.  
  2254. forward SecondsToMinutes(seconds);
  2255. public SecondsToMinutes(seconds)
  2256. {
  2257. return seconds/60;
  2258. }
  2259.  
  2260. stock GetPlayerSpeed(playerid, get3d)
  2261. {
  2262. new Float:x, Float:y, Float:z;
  2263. if(IsPlayerInAnyVehicle(playerid))
  2264. GetVehicleVelocity(GetPlayerVehicleID(playerid), x, y, z);
  2265. else
  2266. GetPlayerVelocity(playerid, x, y, z);
  2267.  
  2268. return SpeedCheck(x, y, z, 100.0, get3d);
  2269. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement