Guest User

Sa-mp Jueix's Multi mod

a guest
Feb 11th, 2013
603
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 499.54 KB | None | 0 0
  1. //vehicle format
  2. //object format CreateDynamicObject({model}, {x}, {y}, {z}, {rx}, {ry}, {rz}, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 200.0);
  3. //Objects stunt world = world 1 to 4 roleplay = world 0 cops n robbers = world 5
  4.  
  5. #include <a_samp>
  6. #include <dini>
  7. #include <dudb>
  8. #include <zcmd>
  9. #include <sscanf2>
  10. #include <streamer>
  11. #include <foreach>
  12. #include <GetVehicleColor>
  13. #include <lethaldudb2>
  14.  
  15. //roleplay timers and enter n exit points.
  16. new freezet[MAX_PLAYERS];
  17. new apenter;
  18. new apexit;
  19.  
  20. new RandomMusic[][] =
  21. {
  22. "http://a.tumblr.com/tumblr_lqaq3p3lRM1r0fogto1.mp3", //the game pot of gold
  23. "http://itsalwaysnew.files.wordpress.com/2012/11/50-ml-ft-em-al-cdq-itsalwaysnew-com.mp3", //50 cent ft eminem my life.
  24. "http://i.pinger.pl/paud1585/661376dd0029f7dc485a9a73/eminem%2520-%2520loose%2520your%2520self.mp3",// Loose your self
  25. "http://www.sloanerangermusic.com/music/show.mp3",//the show goes on lupe fiasco
  26. "http://www.whatmyworldslike.com/audio/beautifullasers.mp3",//lupe fiasco beatiful lasers
  27. "http://navarro.nico.free.fr/IPAD/musik/Dr. Dre - Chronic 2001/10. forgot About Dre.mp3",//dre forget about dre
  28. "http://a.tumblr.com/tumblr_l8p4fpZmN41qa1c87o1.mp3"//Pro green just be good to me
  29. };
  30.  
  31. //player vehicles
  32. #define WHITE 0xFFFFFFFF
  33. #define PURPLE 0xC2A2DAFF
  34. #define BLUE 0x0000FFFF
  35. #define RED 0xFF0000FF
  36. #define YELLOW 0xFFFF00FF
  37. #define GREEN 0x33AA33FF
  38. #define LIGHTBLUE 0x33CCFFFF
  39. #define LIGHTRED 0xFF6347FF
  40. #define DARKRED 0xAA3333FF
  41. #define GREY 0xAFAFAFFF
  42. #define ORANGE 0xFFA100FF
  43. #define YELLOW2 0xF5DEB3FF
  44. #define MAX_PLAYER_CARS 120
  45. #define LOCK_PRICE 20000
  46. #pragma dynamic 719196 // FUCKING STRINGS
  47.  
  48. enum vDealerData
  49. {
  50. vModel,
  51. Float:vX,
  52. Float:vY,
  53. Float:vZ,
  54. Float:vRot,
  55. vForSale,
  56. vPrice,
  57. Text3D:vLabel,
  58. vID,
  59. vSQL_ID
  60. };
  61.  
  62. enum pDealerData
  63. {
  64. pCarModel,
  65. Float:pCarX,
  66. Float:pCarY,
  67. Float:pCarZ,
  68. Float:pCarRot,
  69. pCarColor1,
  70. pCarColor2,
  71. pCarPaintjob,
  72. pCarMod1,
  73. pCarMod2,
  74. pCarMod3,
  75. pCarMod4,
  76. pCarMod5,
  77. pCarMod6,
  78. pCarMod7,
  79. pCarMod8,
  80. pCarMod9,
  81. pCarMod10,
  82. pCarMod11,
  83. pCarMod12,
  84. pCarMod13,
  85. pCarMod14,
  86. pCarMod15,
  87. pCarMod16,
  88. pCarMod17,
  89. pCarHasLock,
  90. pCarLocked,
  91. pCarTrunkCash,
  92. pCarTrunkGun1,
  93. pCarTrunkGun2,
  94. pCarTrunkGun3,
  95. pCarTrunkGun4,
  96. pCarTrunkAmmo1,
  97. pCarTrunkAmmo2,
  98. pCarTrunkAmmo3,
  99. pCarTrunkAmmo4,
  100. pCarSpawned,
  101. pCarOwned,
  102. pCarID
  103. };
  104.  
  105. new PlayerVehicles[MAX_PLAYERS][MAX_PLAYER_CARS + 1][pDealerData];
  106. new DealershipVehicles[MAX_VEHICLES][vDealerData];
  107. new VehicleLocked[MAX_VEHICLES];
  108. new VehicleListitem[MAX_PLAYERS][MAX_PLAYER_CARS + 1];
  109. new DB:VehicleDatabase[MAX_PLAYERS];
  110. new DB:DealerVehicleDatabase;
  111. new dealershipCars;
  112.  
  113. new spoiler[20][0] = {1000, 1001, 1002, 1003, 1014, 1015, 1016, 1023, 1058, 1060, 1049, 1050, 1138, 1139, 1146, 1147, 1158, 1162, 1163, 1164};
  114. new nitro[3][0] = {1008, 1009, 1010};
  115. new front_bumper[23][0] = {1117, 1152, 1153, 1155, 1157, 1160, 1165, 1167, 1169, 1170, 1171, 1172, 1173, 1174, 1175, 1179, 1181, 1182, 1185, 1188, 1189, 1192, 1193};
  116. new rear_bumper[22][0] = {1140, 1141, 1148, 1149, 1150, 1151, 1154, 1156, 1159, 1161, 1166, 1168, 1176, 1177, 1178, 1180, 1183, 1184, 1186, 1187, 1190, 1191};
  117. new exhaust[28][0] = {1018, 1019, 1020, 1021, 1022, 1028, 1029, 1037, 1043, 1044, 1045, 1046, 1059, 1064, 1065, 1066, 1089, 1092, 1104, 1105, 1113, 1114, 1126, 1127, 1129, 1132, 1135, 1136};
  118. new bventr[2][0] = {1042, 1044};
  119. new bventl[2][0] = {1043, 1045};
  120. new bscoop[4][0] = {1004, 1005, 1011, 1012};
  121. new rscoop[13][0] = {1006, 1032, 1033, 1035, 1038, 1053, 1054, 1055, 1061, 1067, 1068, 1088, 1091};
  122. new left_sideskirt[21][0] = {1007, 1026, 1031, 1036, 1039, 1042, 1047, 1048, 1056, 1057, 1069, 1070, 1090, 1093, 1106, 1108, 1118, 1119, 1133, 1122, 1134};
  123. new right_sideskirt[21][0] = {1017, 1027, 1030, 1040, 1041, 1051, 1052, 1062, 1063, 1071, 1072, 1094, 1095, 1099, 1101, 1102, 1107, 1120, 1121, 1124, 1137};
  124. new hydraulics[1][0] = {1087};
  125. new bass[1][0] = {1086};
  126. new rbbars[2][0] = {1109, 1110};
  127. new fbbars[2][0] = {1115, 1116};
  128. new wheels[17][0] = {1025, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1096, 1097, 1098};
  129. new lights[2][0] = {1013, 1024};
  130.  
  131. //weapon attach
  132. #define ARMEDBODY_USE_HEAVY_WEAPON (true)
  133.  
  134. static
  135. armedbody_pTick[MAX_PLAYERS];
  136.  
  137. //furniture system
  138. new Object;
  139. new oModel;
  140. new abuyh;
  141. #define OBJECT_FILE_NAME "DObject.txt"
  142. //house system
  143. #define HOUSE_FILE_NAME "DHouses.txt"
  144. #define MAX_DISTANCE_TO_PROP 1.5
  145. #define MAX_HOUSES 450
  146. #define MAX_RENTCOST 1000
  147. #define MIN_RENTCOST 500
  148. #define MAX_BUY_CARS 0
  149. #define CAR_DELIVER_TIME 1 //The time that it takes that your car will be delivered. In hours.
  150.  
  151. //buyable cars
  152. enum CarInfo {CarModel,CarName[24],CarCost};
  153. new Buyable_Cars[MAX_BUY_CARS][CarInfo] =
  154. { //Modelid, Buy Name, Price
  155. {411,"Infernus",0},
  156. {522,"NRG-500",50000},
  157. {451,"Turismo",50000},
  158. {541,"Bullet",50000},
  159. {415,"Cheetah",50000},
  160. {429,"Banshee",50000},
  161. {494,"Hotring",50000},
  162. {556,"Monster",50000}
  163. };
  164. //----------------------------
  165. //----------------------------
  166. #define c_y 0xFFFF00AA
  167. #define c_r 0xAA3333AA
  168. new HousePickup[MAX_HOUSES];
  169. new playerinterior[MAX_PLAYERS]=-1;
  170. new Float:housex, Float:housey, Float:housez;
  171. new housemapicon[MAX_PLAYERS];
  172. new playerworld[MAX_PLAYERS];
  173. new bool:KillVeh[MAX_VEHICLES] = false;
  174. forward rentfee();
  175. forward newcar();
  176. forward KillVehicle(carid);
  177.  
  178. enum HouseInfo
  179. {
  180. Name[24],
  181. Renter[24],
  182. Rentable,
  183. Rentcost,
  184. Cost,
  185. Sell,
  186. Interior,
  187. Virtualworld,
  188. Locked,
  189. Float:InteriorX,
  190. Float:InteriorY,
  191. Float:InteriorZ,
  192. Float:iconx,
  193. Float:icony,
  194. Float:iconz,
  195. Rentfee
  196. }
  197. new hInfo[MAX_HOUSES][HouseInfo];
  198.  
  199. enum HouseCarInfo
  200. {
  201. HouseCar,
  202. GotCar,
  203. Houseid,
  204. CarModel,
  205. Float:CarX,
  206. Float:CarY,
  207. Float:CarZ,
  208. CarColor1,
  209. CarColor2,
  210. Respawn_Delay,
  211. NewCar
  212. }
  213. new cInfo[MAX_HOUSES][HouseCarInfo];
  214.  
  215. //text draw main menu
  216. new Text:startgame;
  217. new Text:options;
  218. //skin select
  219. new Text:nextskin;
  220. new Text:backskin;
  221. new Text:doneskin;
  222. //world select
  223. new Text:worldselect;
  224. new Text:worldrp;
  225. new Text:worldstunt;
  226.  
  227. new sworld;
  228. //prison
  229. new
  230. door0, door1, door2, door3;
  231.  
  232. new
  233. cell0, cell1, cell2, cell3, cell4, cell5, cell6, cell7;
  234.  
  235. //player shit
  236. #define STUNT_USER_FILE "StuntUsers/%s.ini"
  237.  
  238. enum sInfo
  239. {
  240. AdminLevel,
  241. pCSW,
  242. AdminDuty,
  243. AdminName,
  244. Float:pX,
  245. Float:pY,
  246. Float:pZ,
  247. pDonetut,
  248. pCash,
  249. pWorld,
  250. pSSkin,
  251. pPskin,
  252. pScore,
  253. pColor,
  254. HAdminDuty,
  255. ChatDuty,
  256. pVw,
  257. pInt,
  258. pSkin,
  259. pWarns,
  260. pFactionRank,
  261. pFaction,
  262. pJob,
  263. pCheckPoint,
  264. pCheck,
  265. pHasSpawned
  266.  
  267. }
  268. new StuntAccountInfo[MAX_PLAYERS][sInfo];
  269.  
  270. #define ROLEPLAY_USER_FILE "RpUsers/%s.ini"
  271. enum rpInfo
  272. {
  273. rAdminLevel,
  274. rCSW,
  275. rAdminDuty,
  276. rAdminName,
  277. Float:rX,
  278. Float:rY,
  279. Float:rZ,
  280. rDonetut,
  281. rCash,
  282. rWorld,
  283. rSSkin,
  284. rskin,
  285. rScore,
  286. rColor,
  287. rHAdminDuty,
  288. rChatDuty,
  289. rVw,
  290. rInt,
  291. rSkin,
  292. rWarns,
  293. rFactionRank,
  294. rFaction,
  295. rJob,
  296. rCheckroint,
  297. rCheck,
  298. rHasSpawned
  299. }
  300. new RPAccountInfo[MAX_PLAYERS][rpInfo];
  301.  
  302. new gPlayerLogged[MAX_PLAYERS];
  303.  
  304. #define DONATION_USER_FILE "DonUsers/%s.ini"
  305. enum wInfo
  306. {
  307. pWorld,
  308. pDonator,
  309. AdminDuty,
  310. //weapon stuff.
  311. pAllowedSniper,
  312. pAllowedBomb,
  313. pAllowedUzi,
  314. pAllowedMachinegun,
  315. pAllowedPistol,
  316. pAllowedShotgun,
  317. pAllowedMeele,
  318. pAllowedArmour,
  319. pAllowedWeapons,
  320. asa,
  321. AdminLevel
  322. }
  323. new WorldInfo[MAX_PLAYERS][wInfo];
  324.  
  325. //defines colours
  326. #define COLOR_YELLOW 0xD8D8D8FF
  327. #define COLOR_FADE1 0xE6E6E6E6
  328. #define COLOR_FADE2 0xC8C8C8C8
  329. #define COLOR_FADE3 0xAAAAAAAA
  330. #define COLOR_FADE4 0x8C8C8C8C
  331. #define COLOR_FADE5 0x6E6E6E6E
  332. #define COLOR_FADE 0xC8C8C8C8
  333. #define COLOR_WHITE 0xFFFFFFAA
  334. #define COLOR_GRAD2 0xBFC0C2FF
  335. #define COLOR_DARKRED 0x8B0000AA
  336. #define COLOR_RED 0xFF0000AA
  337. #define COLOR_LIGHTBLUE 0x33CCFFAA
  338. #define COLOR_GREY 0xAFAFAFAA
  339. #define COLOR_PINK 0xDC00DDAA
  340. #define COLOR_BLUE 0x0259EAAA
  341. #define COLOR_GREEN 0x00A800AA
  342. #define COLOR_ORANGE 0xFF8000AA
  343. #define COLOR_CYAN 0xFF8080AA
  344. #define COLOR_WHITE 0xFFFFFFAA
  345. #define COLOR_DARKBLUE 0x0000A0AA
  346. #define COLOR_BLACK 0x000000AA
  347. #define COLOR_DARKGOLD 0x808000AA
  348. #define COLOR_PURPLE 0xC2A2DAAA
  349. #define COLOR_BROWN 0x804000AA
  350. #define COLOR_BLACK2 0x000000ff
  351. #define COLOR_GRAD2 0xBFC0C2FF
  352. //Color Defines
  353. #define green 0x33FF33AA
  354. #define red 0xFF0000AA
  355. #define yellow 0xFFFF00AA
  356. #define grey 0xC0C0C0AA
  357. #define blue 0x2641FEAA
  358. #define orange 0xFF9900AA
  359. #define black 0x2C2727AA
  360.  
  361. public OnGameModeInit()
  362. {
  363. // Don't use these lines if it's a filterscript
  364. SetGameModeText("New project development");
  365. AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
  366. EnableStuntBonusForAll(0);
  367. DisableInteriorEnterExits();
  368. //vehicle system
  369. new query[142];
  370. DealerVehicleDatabase = db_open("DealershipVehicles.db");
  371. format(query, sizeof(query), "CREATE TABLE IF NOT EXISTS `DEALERCARS` (`vID`, `vModel`, `vX`, `vY`, `vZ`, `vRot`, `vForSale`, `vPrice`)");
  372. db_query(DealerVehicleDatabase, query);
  373. LoadDealershipVehicles();
  374. foreach(Player, i)
  375. {
  376. VehicleConnect(i);
  377. }
  378. //text draws start menu
  379. startgame = TextDrawCreate(239.5 ,127 , "Start Game");
  380. TextDrawFont(startgame , 3);
  381. TextDrawLetterSize(startgame , 1.0, 9.1);
  382. TextDrawColor(startgame , 0x0022ffFF);
  383. TextDrawSetOutline(startgame , false);
  384. TextDrawSetProportional(startgame , true);
  385. TextDrawSetShadow(startgame , 1);
  386. TextDrawSetSelectable(startgame, true);
  387. options = TextDrawCreate(279.5 ,207 , "Options");
  388. TextDrawFont(options , 3);
  389. TextDrawLetterSize(options , 1.0, 9.1);
  390. TextDrawColor(options , 0x0022ffFF);
  391. TextDrawSetOutline(options , false);
  392. TextDrawSetProportional(options , true);
  393. TextDrawSetShadow(options , 1);
  394. TextDrawSetSelectable(options, true);
  395. //skin selection
  396. nextskin = TextDrawCreate(255.5 ,385 , "Next Skin");
  397. TextDrawFont(nextskin , 1);
  398. TextDrawLetterSize(nextskin , 0.8, 5.6000000000000005);
  399. TextDrawColor(nextskin , 0x0022ffFF);
  400. TextDrawSetOutline(nextskin , false);
  401. TextDrawSetProportional(nextskin , true);
  402. TextDrawSetShadow(nextskin , 1);
  403. TextDrawSetSelectable(nextskin, true);
  404. backskin = TextDrawCreate(9.5 ,385 , "Previous skin");
  405. TextDrawFont(backskin , 1);
  406. TextDrawLetterSize(backskin , 0.8, 5.6000000000000005);
  407. TextDrawColor(backskin , 0x0022ffFF);
  408. TextDrawSetOutline(backskin , false);
  409. TextDrawSetProportional(backskin , true);
  410. TextDrawSetShadow(backskin , 1);
  411. TextDrawSetSelectable(backskin, true);
  412. doneskin = TextDrawCreate(538.5 ,385 , "Finish");
  413. TextDrawFont(doneskin , 1);
  414. TextDrawLetterSize(doneskin , 0.8, 5.6000000000000005);
  415. TextDrawColor(doneskin , 0x0022ffFF);
  416. TextDrawSetOutline(doneskin , false);
  417. TextDrawSetProportional(doneskin , true);
  418. TextDrawSetShadow(doneskin , 1);
  419. TextDrawSetSelectable(doneskin, true);
  420. //world select
  421. worldselect = TextDrawCreate(225.5 ,139 , "World Select");
  422. TextDrawFont(worldselect , 0);
  423. TextDrawLetterSize(worldselect , 1, 7);
  424. TextDrawColor(worldselect , 0xff0000FF);
  425. TextDrawSetOutline(worldselect , true);
  426. TextDrawSetProportional(worldselect , true);
  427. TextDrawSetShadow(worldselect , 1);
  428. worldrp = TextDrawCreate(225.5 ,219 , "RolePlay");
  429. TextDrawFont(worldrp , 0);
  430. TextDrawLetterSize(worldrp , 1, 7);
  431. TextDrawColor(worldrp , 0xff0000FF);
  432. TextDrawSetOutline(worldrp , true);
  433. TextDrawSetProportional(worldrp , true);
  434. TextDrawSetShadow(worldrp , 1);
  435. TextDrawSetSelectable(worldrp, true);
  436. worldstunt = TextDrawCreate(225.5 ,299 , "Stunting");
  437. TextDrawFont(worldstunt , 0);
  438. TextDrawLetterSize(worldstunt , 1, 7);
  439. TextDrawColor(worldstunt , 0xff0000FF);
  440. TextDrawSetOutline(worldstunt , true);
  441. TextDrawSetProportional(worldstunt , true);
  442. TextDrawSetShadow(worldstunt , 1);
  443. TextDrawSetSelectable(worldstunt, true);
  444. //houses blank interiors
  445. abuyh = 1;
  446. //ok int big and shit
  447. CreateObject(14706, 247.46, 1649.13, -11.44, 0.00, 0.00, 0.00);
  448. //very big blank int
  449. CreateObject(14707, 231.55, 1570.98, -27.28, 0.00, 0.00, 0.00);
  450. //pretty cool gang int
  451. CreateObject(14701, 273.30, 1560.40, -41.69, 0.00, 0.00, 0.00);
  452. AddObjectFromFile(OBJECT_FILE_NAME);
  453. //Vehicles
  454. apenter = CreateDynamicPickup(1318, 1,1685.6193,-2335.0063,13.5469, 0, 0, -1, 100.0);
  455. apexit = CreateDynamicPickup(1318, 1,-1896.8229,59.9074,1055.1296, 0, 14, -1, 100.0);
  456. CreateDynamicObject(1566,-1869.59997559,42.40000153,1055.50000000,0.00000000,0.00000000,269.99996948); //object(cj_ws_door) (1)
  457. CreateDynamicObject(8547,-1875.00000000,-15.19921875,1054.19995117,0.00000000,0.00000000,270.00000000); //object(fctrygrnd01_lvs) (1)
  458. CreateDynamicObject(2938,-1883.69995117,49.40000153,1056.80004883,0.00000000,0.00000000,90.00000000); //object(shutter_vegas) (1)
  459. CreateDynamicObject(2938,-1875.69995117,49.40000153,1059.40002441,0.00000000,0.00000000,90.00000000); //object(shutter_vegas) (2)
  460. CreateDynamicObject(2938,-1880.09997559,49.40000153,1052.80004883,0.00000000,0.00000000,90.00000000); //object(shutter_vegas) (3)
  461. CreateDynamicObject(2938,-1888.80004883,50.20000076,1056.80004883,0.00000000,0.00000000,180.00000000); //object(shutter_vegas) (4)
  462. CreateDynamicObject(2938,-1888.79980469,62.00000000,1059.40002441,0.00000000,0.00000000,179.99450684); //object(shutter_vegas) (5)
  463. CreateDynamicObject(2938,-1888.80004883,68.80000305,1056.80004883,0.00000000,0.00000000,179.99450684); //object(shutter_vegas) (6)
  464. CreateDynamicObject(2938,-1882.80004883,72.09999847,1056.80004883,0.00000000,0.00000000,89.99450684); //object(shutter_vegas) (7)
  465. CreateDynamicObject(2938,-1871.80004883,72.09999847,1056.80004883,0.00000000,0.00000000,89.99450684); //object(shutter_vegas) (8)
  466. CreateDynamicObject(2938,-1860.40002441,72.19999695,1056.69995117,0.00000000,0.00000000,89.99450684); //object(shutter_vegas) (9)
  467. CreateDynamicObject(2938,-1848.69995117,72.09999847,1056.19995117,0.00000000,0.00000000,89.99450684); //object(shutter_vegas) (10)
  468. CreateDynamicObject(2938,-1838.30004883,72.09999847,1056.80004883,0.00000000,0.00000000,89.99450684); //object(shutter_vegas) (11)
  469. CreateDynamicObject(2938,-1835.09997559,68.80000305,1056.80004883,0.00000000,0.01199341,179.95849609); //object(shutter_vegas) (12)
  470. CreateDynamicObject(2938,-1835.09997559,59.59999847,1059.40002441,0.00000000,0.01098633,179.95605469); //object(shutter_vegas) (13)
  471. CreateDynamicObject(2938,-1835.09960938,50.19921875,1056.80004883,0.00000000,0.00549316,180.09886169); //object(shutter_vegas) (14)
  472. CreateDynamicObject(2938,-1831.50000000,49.50000000,1056.80004883,0.00000000,0.00549316,271.16278076); //object(shutter_vegas) (15)
  473. CreateDynamicObject(2938,-1840.59997559,49.40000153,1059.30004883,0.00000000,0.00000000,270.22296143); //object(shutter_vegas) (17)
  474. CreateDynamicObject(2938,-1847.40002441,49.40000153,1056.69995117,0.00000000,0.00000000,270.21972656); //object(shutter_vegas) (18)
  475. CreateDynamicObject(2938,-1848.00000000,49.39941406,1056.69995117,0.00000000,0.00000000,270.21972656); //object(shutter_vegas) (19)
  476. CreateDynamicObject(2938,-1853.90002441,43.50000000,1056.69995117,0.00000000,0.00000000,0.51174927); //object(shutter_vegas) (20)
  477. CreateDynamicObject(1566,-1863.69995117,72.00000000,1055.59997559,0.00000000,0.00000000,0.00000000); //object(cj_ws_door) (1)
  478. CreateDynamicObject(1566,-1860.59997559,72.00000000,1055.59997559,0.00000000,0.00000000,180.00000000); //object(cj_ws_door) (2)
  479. CreateDynamicObject(1492,-1874.09997559,49.50000000,1054.19995117,0.00000000,0.00000000,0.00000000); //object(gen_doorint02) (1)
  480. CreateDynamicObject(2938,-1869.69995117,43.50000000,1052.80004883,0.00000000,0.00000000,180.00000000); //object(shutter_vegas) (21)
  481. CreateDynamicObject(2938,-1869.69995117,43.50000000,1059.40002441,0.00000000,0.00000000,179.99450684); //object(shutter_vegas) (22)
  482. CreateDynamicObject(2938,-1869.69995117,38.90000153,1056.80004883,0.00000000,0.00000000,179.99450684); //object(shutter_vegas) (23)
  483. CreateDynamicObject(2938,-1874.09960938,39.89941406,1055.59997559,0.00000000,0.00000000,1.12609863); //object(shutter_vegas) (25)
  484. CreateDynamicObject(2938,-1880.09997559,45.90000153,1056.80004883,0.00000000,0.00000000,88.89392090); //object(shutter_vegas) (26)
  485. CreateDynamicObject(2938,-1878.19995117,43.29999924,1056.80004883,0.00000000,0.00000000,0.38619995); //object(shutter_vegas) (27)
  486. CreateDynamicObject(1649,-1835.19995117,61.59999847,1055.69995117,0.00000000,0.00000000,270.00000000); //object(wglasssmash) (1)
  487. CreateDynamicObject(1649,-1835.19921875,61.69921875,1055.30004883,0.00000000,0.00000000,88.59924316); //object(wglasssmash) (2)
  488. CreateDynamicObject(1569,-1835.09960938,56.39941406,1054.09997559,0.00000000,0.00000000,219.99572754); //object(adam_v_door) (1)
  489. CreateDynamicObject(1569,-1835.09960938,59.19921875,1054.09997559,0.00000000,0.00000000,149.57464600); //object(adam_v_door) (2)
  490. CreateDynamicObject(11474,-1876.39941406,49.29980469,1056.09997559,0.00000000,0.00000000,6.60827637); //object(des_swtfence2) (1)
  491. CreateDynamicObject(970,-1867.30004883,47.50000000,1054.69995117,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (1)
  492. CreateDynamicObject(970,-1863.19995117,47.50000000,1054.69995117,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (2)
  493. CreateDynamicObject(970,-1859.69995117,47.50000000,1054.69995117,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (4)
  494. CreateDynamicObject(970,-1863.90002441,45.09999847,1054.69995117,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (5)
  495. CreateDynamicObject(970,-1859.80004883,45.09999847,1054.69995117,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (6)
  496. CreateDynamicObject(970,-1855.69995117,45.09999847,1054.69995117,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (7)
  497. CreateDynamicObject(9131,-1861.80004883,55.50000000,1055.30004883,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (1)
  498. CreateDynamicObject(9131,-1861.80004883,55.50000000,1057.59997559,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (2)
  499. CreateDynamicObject(9131,-1861.80004883,66.00000000,1055.30004883,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (3)
  500. CreateDynamicObject(9131,-1861.79980469,66.00000000,1057.59997559,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (4)
  501. CreateDynamicObject(9131,-1873.50000000,55.50000000,1055.30004883,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (5)
  502. CreateDynamicObject(9131,-1873.50000000,55.50000000,1057.59997559,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (6)
  503. CreateDynamicObject(9131,-1873.50000000,66.00000000,1055.30004883,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (7)
  504. CreateDynamicObject(9131,-1873.50000000,66.00000000,1057.59997559,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (8)
  505. CreateDynamicObject(9131,-1849.79980469,66.00000000,1055.30004883,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (9)
  506. CreateDynamicObject(9131,-1849.80004883,66.00000000,1057.59997559,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (10)
  507. CreateDynamicObject(9131,-1849.80004883,55.50000000,1055.30004883,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (12)
  508. CreateDynamicObject(9131,-1839.39941406,49.09960938,1055.30004883,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (14)
  509. CreateDynamicObject(9131,-1839.40002441,49.00000000,1057.59997559,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (15)
  510. CreateDynamicObject(9131,-1849.80004883,55.50000000,1057.59997559,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (16)
  511. CreateDynamicObject(2395,-1834.50000000,65.69921875,1054.09997559,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (2)
  512. CreateDynamicObject(2938,-1859.89941406,40.09960938,1056.80004883,0.00000000,0.00000000,90.72509766); //object(shutter_vegas) (28)
  513. CreateDynamicObject(2938,-1868.59960938,40.00000000,1056.80004883,0.00000000,0.00000000,90.58227539); //object(shutter_vegas) (29)
  514. CreateDynamicObject(2395,-1854.50000000,40.29999924,1054.09997559,0.00000000,0.00000000,181.13610840); //object(cj_sports_wall) (3)
  515. CreateDynamicObject(2395,-1858.19995117,40.29999924,1054.09997559,0.00000000,0.00000000,180.41168213); //object(cj_sports_wall) (4)
  516. CreateDynamicObject(2395,-1861.90002441,40.20000076,1054.09997559,0.00000000,0.00000000,180.40649414); //object(cj_sports_wall) (5)
  517. CreateDynamicObject(2395,-1865.59997559,40.20000076,1054.09997559,0.00000000,0.00000000,180.40649414); //object(cj_sports_wall) (6)
  518. CreateDynamicObject(2395,-1869.19921875,40.19921875,1054.09997559,0.00000000,0.00000000,177.23693848); //object(cj_sports_wall) (7)
  519. CreateDynamicObject(2395,-1854.50000000,40.29980469,1056.80004883,0.00000000,0.00000000,179.57153320); //object(cj_sports_wall) (8)
  520. CreateDynamicObject(2395,-1858.09997559,40.29999924,1056.80004883,0.00000000,0.00000000,180.47180176); //object(cj_sports_wall) (9)
  521. CreateDynamicObject(2395,-1861.80004883,40.20000076,1056.80004883,0.00000000,0.00000000,180.46691895); //object(cj_sports_wall) (10)
  522. CreateDynamicObject(2395,-1865.50000000,40.20000076,1056.80004883,0.00000000,0.00000000,180.26669312); //object(cj_sports_wall) (11)
  523. CreateDynamicObject(2395,-1869.19995117,40.20000076,1056.80004883,0.00000000,0.00000000,180.26367188); //object(cj_sports_wall) (12)
  524. CreateDynamicObject(2395,-1830.80004883,65.69999695,1054.09997559,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (13)
  525. CreateDynamicObject(2395,-1827.09997559,65.69999695,1054.09997559,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (14)
  526. CreateDynamicObject(2395,-1829.59997559,65.69999695,1056.80004883,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (15)
  527. CreateDynamicObject(2395,-1834.59997559,65.69999695,1056.80004883,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (16)
  528. CreateDynamicObject(2395,-1831.09997559,65.69999695,1056.80004883,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (17)
  529. CreateDynamicObject(2395,-1826.59997559,65.30000305,1054.09997559,0.00000000,0.00000000,270.00000000); //object(cj_sports_wall) (18)
  530. CreateDynamicObject(2395,-1826.59997559,65.30000305,1056.80004883,0.00000000,0.00000000,270.00000000); //object(cj_sports_wall) (19)
  531. CreateDynamicObject(2395,-1826.59960938,61.59960938,1054.09997559,0.00000000,0.00000000,270.00000000); //object(cj_sports_wall) (20)
  532. CreateDynamicObject(2395,-1826.59960938,61.59960938,1056.80004883,0.00000000,0.00000000,270.00000000); //object(cj_sports_wall) (21)
  533. CreateDynamicObject(2395,-1826.59997559,58.40000153,1056.80004883,0.00000000,0.00000000,270.00000000); //object(cj_sports_wall) (22)
  534. CreateDynamicObject(2395,-1826.59960938,55.29980469,1056.80004883,0.00000000,0.00000000,270.00000000); //object(cj_sports_wall) (23)
  535. CreateDynamicObject(2395,-1826.59997559,57.90000153,1054.09997559,0.00000000,0.00000000,270.00000000); //object(cj_sports_wall) (24)
  536. CreateDynamicObject(2395,-1826.59997559,54.59999847,1054.09997559,0.00000000,0.00000000,270.00000000); //object(cj_sports_wall) (25)
  537. CreateDynamicObject(2395,-1827.00000000,53.90000153,1054.09997559,0.00000000,0.00000000,180.00000000); //object(cj_sports_wall) (26)
  538. CreateDynamicObject(2395,-1827.00000000,53.90000153,1056.80004883,0.00000000,0.00000000,179.99450684); //object(cj_sports_wall) (27)
  539. CreateDynamicObject(2395,-1831.80004883,53.90000153,1054.09997559,0.00000000,0.00000000,179.99450684); //object(cj_sports_wall) (28)
  540. CreateDynamicObject(2395,-1831.80004883,53.90000153,1056.80004883,0.00000000,0.00000000,179.99450684); //object(cj_sports_wall) (29)
  541. CreateDynamicObject(2395,-1829.19995117,53.90000153,1056.80004883,0.00000000,0.00000000,179.99450684); //object(cj_sports_wall) (30)
  542. CreateDynamicObject(2395,-1829.50000000,53.90000153,1054.09997559,0.00000000,0.00000000,179.99450684); //object(cj_sports_wall) (31)
  543. CreateDynamicObject(2395,-1834.90002441,53.09999847,1054.09997559,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (32)
  544. CreateDynamicObject(2395,-1834.90002441,54.09999847,1056.69995117,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (33)
  545. CreateDynamicObject(2395,-1834.90002441,63.20000076,1054.09997559,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (34)
  546. CreateDynamicObject(2395,-1834.90002441,63.20000076,1056.69995117,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (35)
  547. CreateDynamicObject(2395,-1834.90002441,59.59999847,1056.69995117,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (36)
  548. CreateDynamicObject(2395,-1834.90002441,57.00000000,1056.69995117,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (37)
  549. CreateDynamicObject(2412,-1834.40002441,59.09999847,1054.09997559,0.00000000,0.00000000,270.00000000); //object(cj_detector) (1)
  550. CreateDynamicObject(2412,-1834.30004883,55.90000153,1054.09997559,0.00000000,0.00000000,270.00000000); //object(cj_detector) (2)
  551. CreateDynamicObject(2541,-1826.89941406,59.00000000,1054.30004883,0.00000000,0.00000000,270.00000000); //object(cj_ss_3_m) (1)
  552. CreateDynamicObject(2541,-1826.79980469,57.50000000,1054.30004883,0.00000000,0.00000000,270.00000000); //object(cj_ss_3_m) (2)
  553. CreateDynamicObject(2582,-1834.69995117,54.90000153,1055.00000000,0.00000000,0.00000000,90.00000000); //object(cj_sex_video_1) (1)
  554. CreateDynamicObject(12854,-1830.89941406,59.79980469,1056.09997559,0.00000000,0.00000000,0.00000000); //object(sw_gas01int) (1)
  555. CreateDynamicObject(2941,-1834.19995117,63.40000153,1055.09997559,0.00000000,0.00000000,0.00000000); //object(temp_till) (1)
  556. CreateDynamicObject(2941,-1832.19995117,63.40000153,1055.09997559,0.00000000,0.00000000,0.00000000); //object(temp_till) (2)
  557. CreateDynamicObject(1713,-1877.80004883,46.79999924,1054.09997559,0.00000000,0.00000000,90.00000000); //object(kb_couch04) (1)
  558. CreateDynamicObject(2938,-1875.90002441,42.59999847,1056.80004883,0.00000000,0.00000000,90.94607544); //object(shutter_vegas) (25)
  559. CreateDynamicObject(2009,-1870.30004883,44.20000076,1054.09997559,0.00000000,0.00000000,179.33178711); //object(officedesk2l) (2)
  560. CreateDynamicObject(2009,-1872.59997559,43.29999924,1054.09997559,0.00000000,0.00000000,90.01388550); //object(officedesk2l) (3)
  561. CreateDynamicObject(1671,-1871.19995117,43.90000153,1054.59997559,0.00000000,0.00000000,0.00000000); //object(swivelchair_a) (1)
  562. CreateDynamicObject(1671,-1872.90002441,44.20000076,1054.59997559,0.00000000,0.00000000,270.00000000); //object(swivelchair_a) (2)
  563. CreateDynamicObject(2231,-1878.19995117,49.20000076,1056.40002441,0.00000000,0.00000000,90.00000000); //object(swank_speaker_3) (1)
  564. CreateDynamicObject(2231,-1878.19995117,46.40000153,1056.40002441,0.00000000,0.00000000,90.00000000); //object(swank_speaker_3) (2)
  565. CreateDynamicObject(3803,-1865.59997559,49.00000000,1054.40002441,0.00000000,0.00000000,0.00000000); //object(sfx_alarms03) (1)
  566. CreateDynamicObject(995,-1853.30004883,62.09999847,1054.40002441,0.00000000,0.00000000,181.99952698); //object(bar_barrier16) (1)
  567. CreateDynamicObject(995,-1880.09997559,61.50000000,1054.69995117,0.00000000,0.00000000,103.09115601); //object(bar_barrier16) (2)
  568. CreateDynamicObject(995,-1876.50000000,65.50000000,1054.69995117,0.00000000,0.00000000,266.34313965); //object(bar_barrier16) (3)
  569. CreateDynamicObject(995,-1881.00000000,68.59999847,1054.69995117,0.00000000,0.00000000,89.97045898); //object(bar_barrier16) (4)
  570. CreateDynamicObject(995,-1881.00000000,64.90000153,1054.69995117,0.00000000,0.00000000,89.96704102); //object(bar_barrier16) (5)
  571. CreateDynamicObject(995,-1880.90002441,62.20000076,1054.69995117,0.00000000,0.00000000,89.96704102); //object(bar_barrier16) (6)
  572. CreateDynamicObject(995,-1876.50000000,69.80000305,1054.69995117,0.00000000,0.00000000,269.96704102); //object(bar_barrier16) (7)
  573. CreateDynamicObject(995,-1876.59997559,65.90000153,1054.69995117,0.00000000,0.00000000,269.96154785); //object(bar_barrier16) (8)
  574. CreateDynamicObject(995,-1871.69995117,70.40000153,1054.69995117,0.00000000,0.00000000,180.34155273); //object(bar_barrier16) (9)
  575. CreateDynamicObject(995,-1870.40002441,66.30000305,1054.69995117,0.00000000,0.00000000,90.01647949); //object(bar_barrier16) (10)
  576. CreateDynamicObject(995,-1870.50000000,62.50000000,1054.69995117,0.00000000,0.00000000,90.01647949); //object(bar_barrier16) (11)
  577. CreateDynamicObject(995,-1866.50000000,61.90000153,1054.69995117,0.00000000,0.00000000,180.01647949); //object(bar_barrier16) (12)
  578. CreateDynamicObject(995,-1866.09997559,65.69999695,1054.69995117,0.00000000,0.00000000,269.80044556); //object(bar_barrier16) (13)
  579. CreateDynamicObject(995,-1866.00000000,69.30000305,1054.69995117,0.00000000,0.00000000,269.79675293); //object(bar_barrier16) (14)
  580. CreateDynamicObject(995,-1866.00000000,73.09999847,1054.69995117,0.00000000,0.00000000,269.79675293); //object(bar_barrier16) (15)
  581. CreateDynamicObject(995,-1857.40002441,67.59999847,1054.69995117,0.00000000,0.00000000,89.79675293); //object(bar_barrier16) (16)
  582. CreateDynamicObject(995,-1857.40002441,63.50000000,1054.69995117,0.00000000,0.00000000,89.79125977); //object(bar_barrier16) (17)
  583. CreateDynamicObject(995,-1857.30004883,62.20000076,1054.69995117,0.00000000,0.00000000,89.79125977); //object(bar_barrier16) (18)
  584. CreateDynamicObject(995,-1853.40002441,61.90000153,1054.69995117,0.00000000,0.00000000,179.79125977); //object(bar_barrier16) (19)
  585. CreateDynamicObject(995,-1853.00000000,65.80000305,1054.69995117,0.00000000,0.00000000,269.78576660); //object(bar_barrier16) (20)
  586. CreateDynamicObject(995,-1852.90002441,68.30000305,1054.69995117,0.00000000,0.00000000,269.99951172); //object(bar_barrier16) (1)
  587. CreateDynamicObject(995,-1852.90002441,71.80000305,1054.69995117,0.00000000,0.00000000,269.99450684); //object(bar_barrier16) (1)
  588. CreateDynamicObject(995,-1848.19995117,70.40000153,1054.69995117,0.00000000,0.00000000,179.99450684); //object(bar_barrier16) (1)
  589. CreateDynamicObject(995,-1846.90002441,66.80000305,1054.69995117,0.00000000,0.00000000,89.99450684); //object(bar_barrier16) (1)
  590. CreateDynamicObject(995,-1846.90002441,62.79999924,1054.69995117,0.00000000,0.00000000,89.99450684); //object(bar_barrier16) (1)
  591. CreateDynamicObject(995,-1846.69995117,62.00000000,1054.69995117,0.00000000,0.00000000,89.99450684); //object(bar_barrier16) (1)
  592. CreateDynamicObject(995,-1842.80004883,61.90000153,1054.69995117,0.00000000,0.00000000,181.47032166); //object(bar_barrier16) (1)
  593. CreateDynamicObject(995,-1842.40002441,66.00000000,1054.69995117,0.00000000,0.00000000,269.46667480); //object(bar_barrier16) (1)
  594. CreateDynamicObject(995,-1842.40002441,69.59999847,1054.69995117,0.00000000,0.00000000,269.92971802); //object(bar_barrier16) (1)
  595. CreateDynamicObject(995,-1842.40002441,72.09999847,1054.69995117,0.00000000,0.00000000,269.92858887); //object(bar_barrier16) (1)
  596. CreateDynamicObject(1523,-1888.90002441,59.29999924,1054.09997559,0.00000000,0.00000000,270.00000000); //object(gen_doorext10) (1)
  597. CreateDynamicObject(1523,-1888.80004883,59.59999847,1054.09997559,0.00000000,0.00000000,90.00000000); //object(gen_doorext10) (2)
  598. CreateDynamicObject(1649,-1888.80004883,55.59999847,1055.80004883,0.00000000,0.00000000,90.00000000); //object(wglasssmash) (3)
  599. CreateDynamicObject(1649,-1888.80004883,63.29999924,1055.80004883,0.00000000,0.00000000,90.00000000); //object(wglasssmash) (4)
  600. CreateDynamicObject(1649,-1888.90002441,55.59999847,1055.80004883,0.00000000,0.00000000,270.00000000); //object(wglasssmash) (5)
  601. CreateDynamicObject(1649,-1888.89941406,63.29980469,1055.80004883,0.00000000,0.00000000,270.00000000); //object(wglasssmash) (6)
  602. CreateDynamicObject(1649,-1888.80004883,59.59999847,1058.19995117,0.00000000,0.00000000,270.00000000); //object(wglasssmash) (7)
  603. CreateDynamicObject(2395,-1869.80004883,49.50000000,1057.40002441,359.99240112,89.76354980,180.20372009); //object(cj_sports_wall) (8)
  604. CreateDynamicObject(2938,-1897.59960938,59.79980469,1056.80004883,0.00000000,0.00000000,179.99450684); //object(shutter_vegas) (5)
  605. CreateDynamicObject(2938,-1895.00000000,65.80000305,1056.80004883,0.00000000,0.00000000,89.99450684); //object(shutter_vegas) (5)
  606. CreateDynamicObject(2938,-1895.00000000,53.69921875,1056.80004883,0.00000000,0.00000000,90.64617920); //object(shutter_vegas) (5)
  607. CreateDynamicObject(2688,-1853.50000000,49.59999847,1055.69995117,0.00000000,0.00000000,180.00000000); //object(cj_food_post4) (1)
  608. CreateDynamicObject(3468,-1836.50000000,60.59999847,1054.80004883,0.00000000,0.00000000,270.00000000); //object(vegstreetsign2) (1)
  609. CreateDynamicObject(7313,-1861.69995117,49.40000153,1056.69995117,0.00000000,0.00000000,180.11154175); //object(vgsn_scrollsgn01) (1)
  610. CreateDynamicObject(2200,-1871.69995117,49.29999924,1054.19995117,0.00000000,0.00000000,0.00000000); //object(med_office5_unit_1) (1)
  611. CreateDynamicObject(1256,-1879.09997559,49.90000153,1054.80004883,0.00000000,0.00000000,270.00000000); //object(stonebench1) (1)
  612. CreateDynamicObject(1256,-1882.80004883,49.90000153,1054.80004883,0.00000000,0.00000000,270.00000000); //object(stonebench1) (2)
  613. CreateDynamicObject(1256,-1886.59997559,49.90000153,1054.80004883,0.00000000,0.00000000,270.00000000); //object(stonebench1) (3)
  614. CreateDynamicObject(1550,-1870.19995117,48.40000153,1054.40002441,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (1)
  615. CreateDynamicObject(1550,-1870.19995117,47.90000153,1054.40002441,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (2)
  616. CreateDynamicObject(1215,-1889.19995117,59.50000000,1054.59997559,0.00000000,0.00000000,0.00000000); //object(bollardlight) (1)
  617. CreateDynamicObject(1215,-1890.19995117,59.50000000,1054.59997559,0.00000000,0.00000000,0.00000000); //object(bollardlight) (2)
  618. CreateDynamicObject(2395,-1893.50000000,53.79999924,1054.90002441,0.00000000,0.00000000,180.49987793); //object(cj_sports_wall) (21)
  619. CreateDynamicObject(2614,-1889.09997559,59.50000000,1057.50000000,0.00000000,0.00000000,270.84790039); //object(cj_us_flag) (1)
  620. CreateDynamicObject(1583,-1890.80004883,53.90000153,1054.19995117,0.00000000,0.00000000,0.00000000); //object(tar_gun2) (1)
  621. CreateDynamicObject(1585,-1892.00000000,53.90000153,1054.09997559,0.00000000,0.00000000,0.00000000); //object(tar_civ2) (1)
  622. CreateDynamicObject(1584,-1893.09997559,53.90000153,1054.09997559,0.00000000,0.00000000,0.00000000); //object(tar_gun1) (1)
  623. CreateDynamicObject(2395,-1889.30004883,53.90000153,1054.09997559,0.00000000,0.00000000,180.00000000); //object(cj_sports_wall) (72)
  624. CreateDynamicObject(2395,-1889.30004883,53.90000153,1056.59997559,0.00000000,0.00000000,179.99450684); //object(cj_sports_wall) (73)
  625. CreateDynamicObject(2395,-1893.00000000,53.90000153,1054.09997559,0.00000000,0.00000000,179.99450684); //object(cj_sports_wall) (74)
  626. CreateDynamicObject(2395,-1893.00000000,53.90000153,1055.69995117,0.00000000,0.00000000,179.99450684); //object(cj_sports_wall) (75)
  627. CreateDynamicObject(2395,-1895.00000000,53.90000153,1055.69995117,0.00000000,0.00000000,179.99450684); //object(cj_sports_wall) (76)
  628. CreateDynamicObject(2395,-1895.19995117,53.90000153,1054.09997559,0.00000000,0.00000000,179.99450684); //object(cj_sports_wall) (77)
  629. CreateDynamicObject(2395,-1897.40002441,54.29999924,1054.09997559,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (78)
  630. CreateDynamicObject(2395,-1897.40002441,54.29999924,1056.30004883,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (79)
  631. CreateDynamicObject(2395,-1897.40002441,57.50000000,1054.09997559,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (80)
  632. CreateDynamicObject(2395,-1897.40002441,57.50000000,1056.30004883,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (81)
  633. CreateDynamicObject(2395,-1897.40002441,61.20000076,1054.09997559,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (82)
  634. CreateDynamicObject(2395,-1897.40002441,61.20000076,1055.90002441,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (83)
  635. CreateDynamicObject(2395,-1897.40002441,62.59999847,1055.90002441,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (84)
  636. CreateDynamicObject(2395,-1897.40002441,62.79999924,1054.09997559,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (85)
  637. CreateDynamicObject(2395,-1897.00000000,65.69999695,1054.09997559,0.00000000,0.00000000,0.03051758); //object(cj_sports_wall) (86)
  638. CreateDynamicObject(2395,-1897.00000000,65.69999695,1055.90002441,0.00000000,0.00000000,0.02746582); //object(cj_sports_wall) (87)
  639. CreateDynamicObject(2395,-1893.30004883,65.69999695,1054.09997559,0.00000000,0.00000000,0.02746582); //object(cj_sports_wall) (88)
  640. CreateDynamicObject(2395,-1893.30004883,65.69999695,1055.69995117,0.00000000,0.00000000,0.02746582); //object(cj_sports_wall) (89)
  641. CreateDynamicObject(2395,-1892.19995117,65.69999695,1054.09997559,0.00000000,0.00000000,0.02746582); //object(cj_sports_wall) (90)
  642. CreateDynamicObject(2395,-1892.19995117,65.69999695,1055.80004883,0.00000000,0.00000000,0.02746582); //object(cj_sports_wall) (91)
  643. CreateDynamicObject(2395,-1889.09997559,65.90000153,1054.09997559,0.00000000,0.00000000,270.02746582); //object(cj_sports_wall) (92)
  644. CreateDynamicObject(2395,-1889.09997559,65.30000305,1056.69995117,0.00000000,0.00000000,270.02197266); //object(cj_sports_wall) (93)
  645. CreateDynamicObject(2395,-1889.09997559,62.20000076,1056.69995117,0.00000000,0.00000000,270.02197266); //object(cj_sports_wall) (94)
  646. CreateDynamicObject(2395,-1889.09997559,59.00000000,1056.69995117,0.00000000,0.00000000,270.02197266); //object(cj_sports_wall) (95)
  647. CreateDynamicObject(2395,-1889.09997559,55.90000153,1056.69995117,0.00000000,0.00000000,270.02197266); //object(cj_sports_wall) (96)
  648. CreateDynamicObject(2395,-1889.09997559,55.79999924,1054.09997559,0.00000000,0.00000000,270.02197266); //object(cj_sports_wall) (97)
  649. CreateDynamicObject(1566,-1897.40002441,58.20000076,1055.69995117,0.00000000,0.00000000,90.00000000); //object(cj_ws_door) (5)
  650. CreateDynamicObject(1566,-1897.40002441,61.29999924,1055.69995117,0.00000000,0.00000000,269.71191406); //object(cj_ws_door) (6)
  651. CreateDynamicObject(1495,-1837.40002441,49.40000153,1054.19995117,0.00000000,0.00000000,180.00000000); //object(gen_doorext01) (1)
  652. CreateDynamicObject(1495,-1841.50000000,49.40000153,1054.19995117,0.00000000,0.00000000,359.99450684); //object(gen_doorext01) (2)
  653. CreateDynamicObject(2395,-1838.09997559,49.40000153,1054.09997559,0.00000000,0.00000000,180.00000000); //object(cj_sports_wall) (107)
  654. //object format CreateDynamicObject({model}, {x}, {y}, {z}, {rx}, {ry}, {rz}, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 200.0);
  655. //Objects stunt world = world 1 to 4 roleplay = world 0 cops n robbers = world 5
  656. //LS AP
  657. CreateDynamicObject(18779, 1874.42000000, -2292.61000000, 22.31000000, 0.00000000, 0.00000000, 4.00000000, 1, -1, -1, 200.0);
  658. CreateDynamicObject(6959, 2025.34000000, -2286.17000000, 24.56000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  659. CreateDynamicObject(6959, 2025.23000000, -2246.12000000, 24.56000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  660. CreateDynamicObject(18788, 1986.36000000, -2294.80000000, 16.80000000, 0.00000000, 340.00000000, 0.00000000, 1, -1, -1, 200.0);
  661. CreateDynamicObject(18788, 1986.26000000, -2269.52000000, 16.80000000, 0.00000000, 340.00000000, 0.00000000, 1, -1, -1, 200.0);
  662. CreateDynamicObject(18790, 1910.19000000, -2284.55000000, 10.80000000, 0.00000000, 0.00000000, 272.00000000, 1, -1, -1, 200.0);
  663. CreateDynamicObject(18801, 1680.46000000, -2593.96000000, 34.90000000, 0.00000000, 0.00000000, 2.00000000, 1, -1, -1, 200.0);
  664. CreateDynamicObject(18750, 1892.55000000, -2281.43000000, 19.70000000, 87.99000000, 0.00000000, 92.00000000, 1, -1, -1, 200.0);
  665. CreateDynamicObject(18789, 1945.82000000, -2279.68000000, 42.92000000, 0.00000000, 0.00000000, 4.00000000, 1, -1, -1, 200.0);
  666. CreateDynamicObject(18779, 1865.33000000, -2292.91000000, 31.06000000, 0.00000000, 26.00000000, 4.00000000, 1, -1, -1, 200.0);
  667. CreateDynamicObject(18779, 1862.32000000, -2293.03000000, 38.06000000, 0.00000000, 44.00000000, 3.99000000, 1, -1, -1, 200.0);
  668. CreateDynamicObject(18779, 1861.65000000, -2292.69000000, 51.56000000, 0.00000000, 77.99000000, 3.99000000, 1, -1, -1, 200.0);
  669. CreateDynamicObject(18795, 2039.45000000, -2272.45000000, 42.36000000, 0.00000000, 0.00000000, 6.00000000, 1, -1, -1, 200.0);
  670. CreateDynamicObject(18795, 2077.69000000, -2277.53000000, 42.36000000, 0.00000000, 0.00000000, 354.00000000, 1, -1, -1, 200.0);
  671. CreateDynamicObject(18795, 2113.11000000, -2293.02000000, 42.36000000, 0.00000000, 0.00000000, 334.00000000, 1, -1, -1, 200.0);
  672. CreateDynamicObject(18795, 2142.40000000, -2319.73000000, 42.36000000, 0.00000000, 0.00000000, 316.00000000, 1, -1, -1, 200.0);
  673. CreateDynamicObject(18795, 2161.91000000, -2354.15000000, 42.36000000, 0.00000000, 0.00000000, 297.99000000, 1, -1, -1, 200.0);
  674. CreateDynamicObject(18795, 2169.78000000, -2393.00000000, 42.36000000, 0.00000000, 0.00000000, 279.99000000, 1, -1, -1, 200.0);
  675. CreateDynamicObject(18795, 2165.35000000, -2432.14000000, 42.36000000, 0.00000000, 0.00000000, 261.99000000, 1, -1, -1, 200.0);
  676. CreateDynamicObject(18795, 2150.02000000, -2469.04000000, 42.36000000, 0.00000000, 0.00000000, 247.99000000, 1, -1, -1, 200.0);
  677. CreateDynamicObject(18778, 2139.66000000, -2482.43000000, 44.73000000, 0.00000000, 0.00000000, 140.00000000, 1, -1, -1, 200.0);
  678. CreateDynamicObject(18778, 2137.17000000, -2485.57000000, 47.23000000, 18.00000000, 0.00000000, 140.00000000, 1, -1, -1, 200.0);
  679. CreateDynamicObject(18789, 1911.88000000, -2406.96000000, 35.92000000, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  680. CreateDynamicObject(18809, 1911.98000000, -2506.33000000, 41.15000000, 270.00000000, 180.00000000, 180.00000000, 1, -1, -1, 200.0);
  681. CreateDynamicObject(18809, 1911.97000000, -2556.35000000, 41.15000000, 270.00000000, 179.99000000, 179.99000000, 1, -1, -1, 200.0);
  682. CreateDynamicObject(18826, 1896.62000000, -2592.43000000, 40.61000000, 272.00000000, 180.00000000, 272.00000000, 1, -1, -1, 200.0);
  683. CreateDynamicObject(18826, 1863.47000000, -2573.94000000, 40.61000000, 272.00000000, 179.99000000, 96.00000000, 1, -1, -1, 200.0);
  684. CreateDynamicObject(18825, 1848.75000000, -2596.42000000, 57.10000000, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  685. CreateDynamicObject(18829, 1848.69000000, -2560.56000000, 69.38000000, 278.00000000, 180.00000000, 180.00000000, 1, -1, -1, 200.0);
  686. CreateDynamicObject(1632, 1850.40000000, -2537.60000000, 62.49000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  687. CreateDynamicObject(1632, 1846.65000000, -2537.45000000, 62.49000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  688. CreateDynamicObject(18789, 1906.16000000, -2161.78000000, 35.92000000, 0.00000000, 0.00000000, 91.99000000, 1, -1, -1, 200.0);
  689. CreateDynamicObject(18789, 1903.25000000, -2074.66000000, 35.92000000, 0.00000000, 0.00000000, 91.99000000, 1, -1, -1, 200.0);
  690. CreateDynamicObject(18779, 1895.21000000, -2004.54000000, 45.96000000, 0.00000000, 0.00000000, 272.00000000, 1, -1, -1, 200.0);
  691. CreateDynamicObject(18779, 1894.85000000, -1997.78000000, 52.21000000, 0.00000000, 20.00000000, 272.00000000, 1, -1, -1, 200.0);
  692. CreateDynamicObject(18779, 1894.99000000, -1992.98000000, 61.21000000, 0.00000000, 40.00000000, 272.00000000, 1, -1, -1, 200.0);
  693. CreateDynamicObject(18779, 1895.06000000, -1991.86000000, 68.96000000, 0.00000000, 57.99000000, 272.00000000, 1, -1, -1, 200.0);
  694. CreateDynamicObject(18789, 1903.70000000, -2090.38000000, 52.12000000, 0.00000000, 0.00000000, 91.99000000, 1, -1, -1, 200.0);
  695. CreateDynamicObject(18778, 1905.98000000, -2163.04000000, 53.68000000, 0.00000000, 0.00000000, 182.00000000, 1, -1, -1, 200.0);
  696. CreateDynamicObject(18778, 1906.18000000, -2167.11000000, 55.93000000, 14.00000000, 0.00000000, 182.00000000, 1, -1, -1, 200.0);
  697. CreateDynamicObject(18779, 1814.39000000, -2418.51000000, 21.80000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  698. CreateDynamicObject(18789, 1715.03000000, -2413.36000000, 31.42000000, 0.00000000, 0.00000000, 179.99000000, 1, -1, -1, 200.0);
  699. CreateDynamicObject(18779, 1635.46000000, -2419.16000000, 40.10000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  700. CreateDynamicObject(18844, 1621.98000000, -2413.25000000, 99.39000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  701. CreateDynamicObject(18859, 2120.96000000, -2450.85000000, 23.92000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  702. CreateDynamicObject(18859, 2072.96000000, -2450.91000000, 23.92000000, 0.00000000, 0.00000000, 360.00000000, 1, -1, -1, 200.0);
  703. CreateDynamicObject(18859, 2072.96000000, -2450.91000000, 23.92000000, 0.00000000, 0.00000000, 360.00000000, 1, -1, -1, 200.0);
  704. CreateDynamicObject(18859, 2072.22000000, -2597.49000000, 23.92000000, 0.00000000, 0.00000000, 179.99000000, 1, -1, -1, 200.0);
  705. CreateDynamicObject(18859, 2072.22000000, -2597.49000000, 23.92000000, 0.00000000, 0.00000000, 179.99000000, 1, -1, -1, 200.0);
  706. CreateDynamicObject(18859, 2112.19000000, -2597.52000000, 23.92000000, 0.00000000, 0.00000000, 179.99000000, 1, -1, -1, 200.0);
  707. CreateDynamicObject(18859, 2112.19000000, -2597.52000000, 23.92000000, 0.00000000, 0.00000000, 179.99000000, 1, -1, -1, 200.0);
  708. CreateDynamicObject(18753, 2086.06000000, -2529.58000000, 13.05000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  709. CreateDynamicObject(18859, 2047.56000000, -2597.65000000, 23.92000000, 0.00000000, 0.00000000, 179.99000000, 1, -1, -1, 200.0);
  710. CreateDynamicObject(18859, 2047.56000000, -2597.65000000, 23.92000000, 0.00000000, 0.00000000, 179.99000000, 1, -1, -1, 200.0);
  711. CreateDynamicObject(18859, 2047.91000000, -2450.93000000, 23.92000000, 0.00000000, 0.00000000, 359.99000000, 1, -1, -1, 200.0);
  712. CreateDynamicObject(18859, 2047.91000000, -2450.93000000, 23.92000000, 0.00000000, 0.00000000, 359.99000000, 1, -1, -1, 200.0);
  713. CreateDynamicObject(18785, 2013.56000000, -2541.02000000, 11.05000000, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  714. CreateDynamicObject(18785, 2013.66000000, -2560.06000000, 11.05000000, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  715. CreateDynamicObject(18785, 2013.45000000, -2521.33000000, 11.05000000, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  716. CreateDynamicObject(18785, 2013.55000000, -2501.51000000, 11.05000000, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  717. CreateDynamicObject(18785, 2013.58000000, -2481.78000000, 11.05000000, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  718. CreateDynamicObject(18859, 2123.50000000, -2564.69000000, 23.92000000, 0.00000000, 0.00000000, 269.99000000, 1, -1, -1, 200.0);
  719. CreateDynamicObject(18859, 2123.50000000, -2564.69000000, 23.92000000, 0.00000000, 0.00000000, 269.99000000, 1, -1, -1, 200.0);
  720. CreateDynamicObject(18859, 2123.47000000, -2516.12000000, 23.92000000, 0.00000000, 0.00000000, 269.99000000, 1, -1, -1, 200.0);
  721. CreateDynamicObject(18859, 2123.47000000, -2516.12000000, 23.92000000, 0.00000000, 0.00000000, 269.99000000, 1, -1, -1, 200.0);
  722. CreateDynamicObject(18859, 2123.47000000, -2467.91000000, 23.92000000, 0.00000000, 0.00000000, 269.99000000, 1, -1, -1, 200.0);
  723. CreateDynamicObject(18859, 2123.47000000, -2467.91000000, 23.92000000, 0.00000000, 0.00000000, 269.99000000, 1, -1, -1, 200.0);
  724. CreateDynamicObject(18781, 1999.40000000, -2440.59000000, 23.27000000, 0.00000000, 0.00000000, 272.00000000, 1, -1, -1, 200.0);
  725. CreateDynamicObject(18781, 2002.76000000, -2608.28000000, 23.27000000, 0.00000000, 0.00000000, 269.99000000, 1, -1, -1, 200.0);
  726. CreateDynamicObject(19073, 1442.77000000, -2493.88000000, 13.30000000, 358.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
  727. CreateDynamicObject(19073, 1427.04000000, -2494.02000000, 17.80000000, 349.99000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
  728. CreateDynamicObject(19073, 1405.97000000, -2493.85000000, 23.80000000, 341.99000000, 0.00000000, 269.99000000, 1, -1, -1, 200.0);
  729. CreateDynamicObject(19073, 1347.36000000, -2493.99000000, 33.14000000, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
  730. CreateDynamicObject(19073, 1288.11000000, -2494.06000000, 33.14000000, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
  731. CreateDynamicObject(19073, 1228.90000000, -2494.14000000, 33.14000000, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
  732. CreateDynamicObject(19073, 1169.60000000, -2494.26000000, 33.14000000, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
  733. CreateDynamicObject(1632, 1154.92000000, -2509.39000000, 34.44000000, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  734. CreateDynamicObject(1632, 1149.86000000, -2509.44000000, 37.69000000, 18.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  735. CreateDynamicObject(1632, 1147.07000000, -2509.38000000, 41.69000000, 42.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  736. CreateDynamicObject(1632, 1146.04000000, -2509.30000000, 47.44000000, 70.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  737. CreateDynamicObject(1632, 1142.44000000, -2500.82000000, 34.44000000, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  738. CreateDynamicObject(1632, 1142.39000000, -2497.41000000, 34.44000000, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  739. CreateDynamicObject(1632, 1140.02000000, -2480.98000000, 34.44000000, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  740. CreateDynamicObject(1632, 1139.96000000, -2477.45000000, 34.44000000, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  741. CreateDynamicObject(1225, 1144.81000000, -2491.73000000, 33.54000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  742. CreateDynamicObject(1225, 1144.84000000, -2489.45000000, 33.54000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  743. CreateDynamicObject(1225, 1144.55000000, -2487.43000000, 33.54000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  744. CreateDynamicObject(1225, 1146.44000000, -2486.09000000, 33.54000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  745. CreateDynamicObject(1225, 1146.80000000, -2489.52000000, 33.54000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  746. CreateDynamicObject(1225, 1146.67000000, -2488.10000000, 33.54000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  747. CreateDynamicObject(1225, 1146.95000000, -2491.11000000, 33.54000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  748. CreateDynamicObject(19073, 1047.68000000, -2493.47000000, 33.14000000, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
  749. CreateDynamicObject(19073, 988.07000000, -2493.50000000, 33.14000000, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
  750. CreateDynamicObject(1655, 959.75000000, -2499.07000000, 34.44000000, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  751. CreateDynamicObject(1655, 955.47000000, -2499.11000000, 37.44000000, 22.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  752. CreateDynamicObject(1655, 952.18000000, -2499.03000000, 41.94000000, 39.99000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  753. CreateDynamicObject(1655, 950.94000000, -2499.19000000, 47.44000000, 67.99000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  754. CreateDynamicObject(1655, 951.62000000, -2498.88000000, 53.19000000, 81.99000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  755. CreateDynamicObject(1655, 960.54000000, -2488.71000000, 34.44000000, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  756. CreateDynamicObject(1655, 956.14000000, -2488.77000000, 37.44000000, 21.99000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  757. CreateDynamicObject(1655, 953.00000000, -2488.78000000, 41.94000000, 39.99000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  758. CreateDynamicObject(1655, 951.94000000, -2488.64000000, 47.44000000, 67.99000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  759. CreateDynamicObject(1655, 952.86000000, -2488.75000000, 53.19000000, 81.99000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  760. CreateDynamicObject(1655, 960.55000000, -2478.68000000, 34.44000000, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  761. CreateDynamicObject(1655, 956.00000000, -2478.73000000, 37.44000000, 21.99000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  762. CreateDynamicObject(1655, 952.62000000, -2478.79000000, 41.94000000, 39.99000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  763. CreateDynamicObject(1655, 951.20000000, -2478.84000000, 47.44000000, 67.99000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  764. CreateDynamicObject(1655, 951.96000000, -2478.58000000, 53.19000000, 81.99000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  765. CreateDynamicObject(1655, 960.33000000, -2508.49000000, 34.44000000, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  766. CreateDynamicObject(1655, 955.73000000, -2508.72000000, 37.44000000, 21.99000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  767. CreateDynamicObject(1655, 952.34000000, -2508.74000000, 41.94000000, 39.99000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  768. CreateDynamicObject(1655, 951.24000000, -2508.93000000, 47.44000000, 67.99000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  769. CreateDynamicObject(1655, 951.85000000, -2509.02000000, 53.19000000, 81.99000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  770. CreateDynamicObject(19073, 994.10000000, -2493.58000000, 43.89000000, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
  771. CreateDynamicObject(19073, 1032.00000000, -2493.37000000, 56.46000000, 26.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
  772. CreateDynamicObject(19073, 1078.82000000, -2493.17000000, 79.41000000, 26.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
  773. CreateDynamicObject(19071, 1136.86000000, -2492.96000000, 92.46000000, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  774. CreateDynamicObject(19071, 1194.26000000, -2493.11000000, 92.46000000, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  775. CreateDynamicObject(19071, 1252.92000000, -2493.24000000, 92.46000000, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  776. CreateDynamicObject(1655, 1282.08000000, -2478.17000000, 93.26000000, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
  777. CreateDynamicObject(1655, 1282.22000000, -2487.96000000, 93.26000000, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
  778. CreateDynamicObject(1655, 1282.31000000, -2498.26000000, 93.26000000, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
  779. CreateDynamicObject(1655, 1281.93000000, -2508.26000000, 93.26000000, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
  780. CreateDynamicObject(18750, 1787.93000000, -2632.18000000, 52.52000000, 87.99000000, 0.00000000, 180.00000000, 1, -1, -1, 200.0);
  781. CreateDynamicObject(18806, 1418.18000000, -2583.63000000, 9.55000000, 0.00000000, 2.00000000, 0.00000000, 1, -1, -1, 200.0);
  782. CreateDynamicObject(18845, 1557.17000000, -2619.34000000, 52.55000000, 0.00000000, 0.00000000, 86.00000000, 1, -1, -1, 200.0);
  783. CreateDynamicObject(18845, 1557.17000000, -2619.34000000, 52.55000000, 0.00000000, 0.00000000, 86.00000000, 1, -1, -1, 200.0);
  784. CreateDynamicObject(1660, 1557.19000000, -2611.63000000, 10.30000000, 0.00000000, 0.00000000, 178.00000000, 1, -1, -1, 200.0);
  785. CreateDynamicObject(16304, 1766.65000000, -2542.97000000, 17.23000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  786. CreateDynamicObject(18801, 1681.28000000, -2491.41000000, 34.90000000, 0.00000000, 0.00000000, 2.00000000, 1, -1, -1, 200.0);
  787. CreateDynamicObject(18825, 1723.76000000, -2403.68000000, 33.13000000, 0.00000000, 0.00000000, 268.00000000, 1, -1, -1, 200.0);
  788. CreateDynamicObject(18836, 1723.41000000, -2439.07000000, 49.16000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  789. CreateDynamicObject(18836, 1723.41000000, -2439.07000000, 49.16000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  790. CreateDynamicObject(18836, 1723.39000000, -2483.52000000, 49.16000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  791. CreateDynamicObject(18836, 1723.39000000, -2483.52000000, 49.16000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  792. CreateDynamicObject(16401, 1723.50000000, -2507.10000000, 44.23000000, 0.00000000, 356.00000000, 270.00000000, 1, -1, -1, 200.0);
  793. CreateDynamicObject(16401, 1723.50000000, -2507.10000000, 44.23000000, 0.00000000, 356.00000000, 270.00000000, 1, -1, -1, 200.0);
  794. CreateDynamicObject(18862, 1939.50000000, -2385.61000000, 17.48000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  795. CreateDynamicObject(18855, 1853.45000000, -2362.62000000, 49.12000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  796. CreateDynamicObject(18841, 1881.02000000, -2361.97000000, 23.05000000, -4.00000000, 91.00000000, 89.17000000, 1, -1, -1, 200.0);
  797. CreateDynamicObject(18983, 1934.67000000, -2361.99000000, 80.89000000, 0.00000000, 0.00000000, 270.80000000, 1, -1, -1, 200.0);
  798. CreateDynamicObject(18983, 2033.95000000, -2360.60000000, 80.89000000, 0.00000000, 0.00000000, 270.80000000, 1, -1, -1, 200.0);
  799. CreateDynamicObject(18833, 2108.41000000, -2364.05000000, 78.37000000, 84.00000000, 0.00000000, 249.00000000, 1, -1, -1, 200.0);
  800. CreateDynamicObject(18833, 2145.13000000, -2395.06000000, 73.40000000, 84.00000000, 0.00000000, 210.67000000, 1, -1, -1, 200.0);
  801. CreateDynamicObject(18833, 2153.53000000, -2442.45000000, 68.38000000, 84.00000000, 0.00000000, 169.43000000, 1, -1, -1, 200.0);
  802. CreateDynamicObject(18778, 2146.58000000, -2460.20000000, 63.28000000, 0.00000000, 0.00000000, 140.00000000, 1, -1, -1, 200.0);
  803. CreateDynamicObject(18855, 1899.61000000, -2511.90000000, 49.12000000, 0.00000000, 0.00000000, 88.61000000, 1, -1, -1, 200.0);
  804. CreateDynamicObject(18825, 1784.83000000, -2645.05000000, 33.10000000, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  805. CreateDynamicObject(18779, 1955.53000000, -2638.65000000, 21.80000000, 0.00000000, 0.00000000, 89.79000000, 1, -1, -1, 200.0);
  806. CreateDynamicObject(18779, 1944.48000000, -2638.50000000, 21.80000000, 0.00000000, 0.00000000, 90.09000000, 1, -1, -1, 200.0);
  807. CreateDynamicObject(18779, 1955.48000000, -2645.86000000, 28.24000000, 0.00000000, 25.00000000, 90.00000000, 1, -1, -1, 200.0);
  808. CreateDynamicObject(18779, 1944.52000000, -2645.64000000, 28.24000000, 0.00000000, 25.00000000, 90.00000000, 1, -1, -1, 200.0);
  809. CreateDynamicObject(18779, 1955.39000000, -2651.35000000, 48.78000000, 0.00000000, 62.00000000, 90.00000000, 1, -1, -1, 200.0);
  810. CreateDynamicObject(18779, 1944.40000000, -2651.23000000, 48.78000000, 0.00000000, 62.00000000, 90.00000000, 1, -1, -1, 200.0);
  811. CreateDynamicObject(18779, 1955.34000000, -2643.95000000, 67.18000000, 0.00000000, 98.00000000, 90.00000000, 1, -1, -1, 200.0);
  812. CreateDynamicObject(18779, 1944.42000000, -2643.86000000, 67.18000000, 0.00000000, 98.00000000, 90.00000000, 1, -1, -1, 200.0);
  813. CreateDynamicObject(18450, 1940.89000000, -2589.25000000, 56.64000000, 0.00000000, 0.00000000, 87.98000000, 1, -1, -1, 200.0);
  814. CreateDynamicObject(18450, 1956.44000000, -2589.81000000, 56.64000000, 0.00000000, 0.00000000, 87.98000000, 1, -1, -1, 200.0);
  815. CreateDynamicObject(18450, 1959.23000000, -2512.13000000, 56.64000000, 0.00000000, 0.00000000, 87.98000000, 1, -1, -1, 200.0);
  816. CreateDynamicObject(18450, 1943.52000000, -2510.52000000, 56.64000000, 0.00000000, 0.00000000, 87.98000000, 1, -1, -1, 200.0);
  817. CreateDynamicObject(18779, 1940.81000000, -2411.09000000, 65.85000000, 0.00000000, 0.00000000, 268.43000000, 1, -1, -1, 200.0);
  818. CreateDynamicObject(18779, 1956.93000000, -2412.09000000, 65.85000000, 0.00000000, 0.00000000, 268.43000000, 1, -1, -1, 200.0);
  819. CreateDynamicObject(18450, 1946.18000000, -2431.55000000, 56.64000000, 0.00000000, 0.00000000, 87.98000000, 1, -1, -1, 200.0);
  820. CreateDynamicObject(18450, 1962.01000000, -2432.37000000, 56.64000000, 0.00000000, 0.00000000, 87.98000000, 1, -1, -1, 200.0);
  821. CreateDynamicObject(18772, 1426.79000000, -2357.07000000, 53.22000000, 18.00000000, 0.00000000, 41.00000000, 1, -1, -1, 200.0);
  822. CreateDynamicObject(18772, 1272.00000000, -2179.10000000, 129.89000000, 18.00000000, 0.00000000, 41.00000000, 1, -1, -1, 200.0);
  823. CreateDynamicObject(18785, 1188.90000000, -2081.74000000, 168.53000000, 0.00000000, 0.00000000, 41.19000000, 1, -1, -1, 200.0);
  824. CreateDynamicObject(18778, 1511.04000000, -2452.40000000, 13.64000000, 0.00000000, 0.00000000, 221.34000000, 1, -1, -1, 200.0);
  825. CreateDynamicObject(18778, 1513.43000000, -2455.04000000, 15.35000000, 18.00000000, 0.00000000, 221.00000000, 1, -1, -1, 200.0);
  826. CreateDynamicObject(18843, 1448.67000000, -2444.00000000, 82.69000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  827. CreateDynamicObject(18779, 1455.86000000, -2454.20000000, 22.40000000, 0.00000000, 0.00000000, 331.51000000, 1, -1, -1, 200.0);
  828. CreateDynamicObject(18778, 1663.50000000, -2539.45000000, 13.90000000, 0.00000000, 0.00000000, 89.32000000, 1, -1, -1, 200.0);
  829. CreateDynamicObject(18778, 1663.36000000, -2545.43000000, 13.90000000, 0.00000000, 0.00000000, 89.32000000, 1, -1, -1, 200.0);
  830. //stunt factory
  831. CreateDynamicObject(16481, -195.14933777, -227.66950989, 10.99456406, 0.00000000, 344.00000000, 330.00000000, 1, -1, -1, 200.0);
  832. CreateDynamicObject(1634, -201.47261047, -212.60549927, 1.71919274, 0.00000000, 0.00000000, 358.00000000, 1, -1, -1, 200.0);
  833. CreateDynamicObject(1634, -201.09976196, -202.05545044, 1.71919274, 0.00000000, 0.00000000, 178.00000000, 1, -1, -1, 200.0);
  834. CreateDynamicObject(1634, -196.33396912, -207.45697021, 1.71919274, 0.00000000, 0.00000000, 88.00000000, 1, -1, -1, 200.0);
  835. CreateDynamicObject(1634, -206.17477417, -207.15454102, 1.71919274, 0.00000000, 0.00000000, 268.00000000, 1, -1, -1, 200.0);
  836. CreateDynamicObject(1634, -208.50009155, -285.69183350, 1.72700524, 0.00000000, 2.00000000, 16.00000000, 1, -1, -1, 200.0);
  837. CreateDynamicObject(1634, -211.60375977, -275.69680786, 1.72700524, 0.00000000, 0.00000000, 198.00000000, 1, -1, -1, 200.0);
  838. CreateDynamicObject(1634, -204.91249084, -279.04864502, 1.72700524, 0.00000000, 0.00000000, 107.99996948, 1, -1, -1, 200.0);
  839. CreateDynamicObject(1634, -214.96748352, -282.26614380, 1.72700524, 0.00000000, 0.00000000, 287.99996948, 1, -1, -1, 200.0);
  840. CreateDynamicObject(13641, -154.34701538, -208.30624390, 0.42187309, 0.00000000, 0.00000000, 356.00000000, 1, -1, -1, 200.0);
  841. CreateDynamicObject(1634, -94.82765198, -210.29061890, 1.71919274, 0.00000000, 0.00000000, 267.99499512, 1, -1, -1, 200.0);
  842. CreateDynamicObject(1634, -80.76728821, -210.93264771, 6.82929230, 0.00000000, 0.00000000, 267.99499512, 1, -1, -1, 200.0);
  843. CreateDynamicObject(16481, -171.42832947, -251.72755432, 25.81656837, 0.00000000, 0.00000000, 297.99584961, 1, -1, -1, 200.0);
  844. CreateDynamicObject(18367, -163.20703125, -266.54882812, 31.30779648, 0.00000000, 0.00000000, 95.99853516, 1, -1, -1, 200.0);
  845. CreateDynamicObject(1634, -146.86611938, -264.50619507, 33.52396011, 0.00000000, 0.00000000, 275.99853516, 1, -1, -1, 200.0);
  846. CreateDynamicObject(16481, -120.43521881, -259.62863159, 39.84100723, 0.00000000, 340.00000000, 15.99319458, 1, -1, -1, 200.0);
  847. CreateDynamicObject(18367, -79.85984039, -239.87408447, 51.22595215, 0.00000000, 0.00000000, 95.99853516, 1, -1, -1, 200.0);
  848. CreateDynamicObject(18367, -50.27479172, -236.86585999, 54.96842194, 0.00000000, 0.00000000, 95.99853516, 1, -1, -1, 200.0);
  849. CreateDynamicObject(18367, -21.78605843, -233.76364136, 58.57662964, 0.00000000, 0.00000000, 55.99853516, 1, -1, -1, 200.0);
  850. CreateDynamicObject(18367, 2.65164948, -249.99743652, 62.26941681, 0.00000000, 0.00000000, 9.99731445, 1, -1, -1, 200.0);
  851. CreateDynamicObject(18367, 8.40814209, -278.88153076, 65.63025665, 0.00000000, 0.00000000, 319.99206543, 1, -1, -1, 200.0);
  852. CreateDynamicObject(18367, -10.36410141, -301.59222412, 69.33874512, 0.00000000, 0.00000000, 273.98779297, 1, -1, -1, 200.0);
  853. CreateDynamicObject(18367, -40.73799133, -303.84008789, 73.12805176, 0.00000000, 0.00000000, 217.98252869, 1, -1, -1, 200.0);
  854. CreateDynamicObject(18367, -59.74627686, -279.38211060, 76.62686920, 0.00000000, 2.00000000, 205.97717285, 1, -1, -1, 200.0);
  855. CreateDynamicObject(18367, -85.55943298, -226.47299194, 76.16911316, 0.00000000, 0.00000000, 25.97216797, 1, -1, -1, 200.0);
  856. CreateDynamicObject(13645, -83.48138428, -229.20384216, 77.70307922, 0.00000000, 1.99951172, 13.99658203, 1, -1, -1, 200.0);
  857. CreateDynamicObject(18367, -86.74349976, -223.69183350, 79.11174011, 0.00000000, 1.99987793, 269.97241211, 1, -1, -1, 200.0);
  858. CreateDynamicObject(13641, -155.49270630, -230.86688232, 91.63819885, 0.00000000, 356.00000000, 173.99047852, 1, -1, -1, 200.0);
  859. CreateDynamicObject(1634, -31.14160919, -216.94856262, 5.72700500, 0.00000000, 0.00000000, 262.00000000, 1, -1, -1, 200.0);
  860. CreateDynamicObject(1634, -8.41685677, -219.84712219, 5.72700500, 0.00000000, 0.00000000, 81.99645996, 1, -1, -1, 200.0);
  861. CreateDynamicObject(16401, 10.16519928, -222.75689697, 4.42968750, 0.00000000, 0.00000000, 354.00000000, 1, -1, -1, 200.0);
  862. CreateDynamicObject(12956, -17.13419914, -367.51550293, 8.25792599, 0.00000000, 0.00000000, 268.00000000, 1, -1, -1, 200.0);
  863. CreateDynamicObject(1320, -19.72239685, -224.59963989, 5.91406250, 0.00000000, 0.00000000, 172.00000000, 1, -1, -1, 200.0);
  864. CreateDynamicObject(12921, -1.52108145, -267.05538940, 7.78780603, 0.00000000, 0.00000000, 182.00000000, 1, -1, -1, 200.0);
  865. CreateDynamicObject(973, 5.41496849, -260.16879272, 5.26990747, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
  866. CreateDynamicObject(973, 5.46605015, -247.42930603, 5.26990747, 0.00000000, 0.00000000, 269.99450684, 1, -1, -1, 200.0);
  867. CreateDynamicObject(973, 5.42385483, -234.29843140, 5.26990747, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
  868. CreateDynamicObject(3865, -4.93347454, -300.20974731, 5.12321186, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  869. CreateDynamicObject(3865, -4.94740295, -308.33032227, 5.05853462, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  870. CreateDynamicObject(18367, 191.64787292, -307.72808838, 15.39496994, 0.00000000, 0.00000000, 57.99133301, 1, -1, -1, 200.0);
  871. CreateDynamicObject(1634, 165.16043091, -290.14453125, 1.86968827, 0.00000000, 0.00000000, 237.99496460, 1, -1, -1, 200.0);
  872. CreateDynamicObject(1634, 176.31903076, -297.45455933, 7.56785107, 0.00000000, 0.00000000, 237.99133301, 1, -1, -1, 200.0);
  873. CreateDynamicObject(1634, 189.04402161, -305.82162476, 13.21139717, 0.00000000, 0.00000000, 237.99133301, 1, -1, -1, 200.0);
  874. CreateDynamicObject(18367, 216.29061890, -324.92340088, 18.80285835, 0.00000000, 0.00000000, 1.98852539, 1, -1, -1, 200.0);
  875. CreateDynamicObject(18367, 216.78836060, -354.68359375, 22.08989716, 0.00000000, 356.00000000, 317.98779297, 1, -1, -1, 200.0);
  876. CreateDynamicObject(18367, 195.37144470, -376.61270142, 25.52708817, 0.00000000, 351.99499512, 279.98657227, 1, -1, -1, 200.0);
  877. CreateDynamicObject(18367, 164.75256348, -379.95330811, 28.58971214, 0.00000000, 357.98950195, 239.98535156, 1, -1, -1, 200.0);
  878. CreateDynamicObject(18367, 138.73860168, -364.50061035, 32.09196854, 0.00000000, 357.98950195, 239.97985840, 1, -1, -1, 200.0);
  879. CreateDynamicObject(13641, 109.51821899, -346.84558105, 38.03905869, 0.00000000, 352.00000000, 145.99182129, 1, -1, -1, 200.0);
  880. CreateDynamicObject(18367, 63.72570801, -317.79864502, 27.62540436, 0.00000000, 357.98950195, 57.98034668, 1, -1, -1, 200.0);
  881. CreateDynamicObject(1634, 24.78656769, -312.61520386, 29.62191391, 0.00000000, 0.00000000, 91.99133301, 1, -1, -1, 200.0);
  882. CreateDynamicObject(1634, 11.28437424, -312.74859619, 35.57875824, 0.00000000, 0.00000000, 91.98852539, 1, -1, -1, 200.0);
  883. CreateDynamicObject(1634, -2.25998402, -313.31488037, 40.59996414, 0.00000000, 0.00000000, 91.98852539, 1, -1, -1, 200.0);
  884. CreateDynamicObject(18367, -5.48137331, -313.18692017, 42.67329407, 0.00000000, 357.98950195, 271.97753906, 1, -1, -1, 200.0);
  885. CreateDynamicObject(16481, -47.02262878, -314.63464355, 57.16702271, 0.00000000, 331.99938965, 181.99060059, 1, -1, -1, 200.0);
  886. CreateDynamicObject(16481, -47.21809387, -314.50436401, 57.69026566, 0.00000000, 335.99584961, 181.98852539, 1, -1, -1, 200.0);
  887. CreateDynamicObject(18367, -60.33315659, -314.98638916, 70.16845703, 0.00000000, 0.00000000, 271.98254395, 1, -1, -1, 200.0);
  888. CreateDynamicObject(1634, -95.91169739, -316.37988281, 75.32136536, 0.00000000, 0.00000000, 91.98852539, 1, -1, -1, 200.0);
  889. CreateDynamicObject(1634, -117.72367096, -317.44146729, 64.88913727, 0.00000000, 0.00000000, 89.98852539, 1, -1, -1, 200.0);
  890. CreateDynamicObject(1634, -138.10069275, -318.19323730, 49.74314117, 0.00000000, 0.00000000, 89.98352051, 1, -1, -1, 200.0);
  891. CreateDynamicObject(18367, -141.23693848, -318.00723267, 52.32511520, 0.00000000, 0.00000000, 269.97753906, 1, -1, -1, 200.0);
  892. CreateDynamicObject(18367, -170.74310303, -317.86880493, 55.72505188, 0.00000000, 356.00000000, 223.97277832, 1, -1, -1, 200.0);
  893. CreateDynamicObject(18367, -192.12510681, -295.52636719, 59.00794601, 0.00000000, 0.00000000, 197.96862793, 1, -1, -1, 200.0);
  894. CreateDynamicObject(18367, -201.65472412, -266.11157227, 62.38274002, 0.00000000, 0.00000000, 195.96862793, 1, -1, -1, 200.0);
  895. CreateDynamicObject(13641, -211.00531006, -233.35041809, 68.18672180, 0.00000000, 351.99645996, 103.99108887, 1, -1, -1, 200.0);
  896. CreateDynamicObject(975, -122.12597656, -324.74609375, 14.19808388, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  897. CreateDynamicObject(13592, -84.34954834, -356.86651611, 12.00029469, 0.00000000, 14.00000000, 2.00000000, 1, -1, -1, 200.0);
  898. CreateDynamicObject(13592, -85.32812500, -364.78808594, 12.00029469, 0.00000000, 342.00000000, 1.99951172, 1, -1, -1, 200.0);
  899. CreateDynamicObject(973, -117.63833618, -386.88027954, 1.26990759, 0.00000000, 0.00000000, 317.99450684, 1, -1, -1, 200.0);
  900. CreateDynamicObject(973, -125.05087280, -380.07464600, 1.26990759, 0.00000000, 0.00000000, 317.99377441, 1, -1, -1, 200.0);
  901. CreateDynamicObject(973, -132.45034790, -373.44528198, 1.26990759, 0.00000000, 0.00000000, 317.99377441, 1, -1, -1, 200.0);
  902. CreateDynamicObject(973, -139.93624878, -366.73812866, 1.26990759, 0.00000000, 0.00000000, 317.99377441, 1, -1, -1, 200.0);
  903. CreateDynamicObject(973, -147.53088379, -359.95889282, 1.26990759, 0.00000000, 0.00000000, 317.99377441, 1, -1, -1, 200.0);
  904. CreateDynamicObject(973, -155.16741943, -353.18746948, 1.26990759, 0.00000000, 0.00000000, 317.99377441, 1, -1, -1, 200.0);
  905. CreateDynamicObject(973, -162.60369873, -346.00888062, 1.26990759, 0.00000000, 0.00000000, 313.99377441, 1, -1, -1, 200.0);
  906. CreateDynamicObject(973, -169.67137146, -338.71588135, 1.26990759, 0.00000000, 0.00000000, 313.98925781, 1, -1, -1, 200.0);
  907. CreateDynamicObject(973, -177.11444092, -331.07568359, 1.26990759, 0.00000000, 0.00000000, 313.98925781, 1, -1, -1, 200.0);
  908. CreateDynamicObject(973, -184.01925659, -323.95690918, 1.26209509, 0.00000000, 0.00000000, 313.98925781, 1, -1, -1, 200.0);
  909. CreateDynamicObject(13592, -147.75292969, -227.04589844, 98.26308441, 0.00000000, 23.99560547, 1.99951172, 1, -1, -1, 200.0);
  910. CreateDynamicObject(18367, -117.65732574, -223.90966797, 82.54321289, 0.00000000, 1.99951172, 269.96154785, 1, -1, -1, 200.0);
  911. CreateDynamicObject(1634, -56.33852005, -305.15286255, 5.72700500, 0.00000000, 0.00000000, 87.99499512, 1, -1, -1, 200.0);
  912. CreateDynamicObject(1634, -72.46757507, -304.70315552, 11.92551422, 0.00000000, 0.00000000, 87.99499512, 1, -1, -1, 200.0);
  913. CreateDynamicObject(1320, 96.88491058, -258.07827759, 8.75063133, 0.00000000, 0.00000000, 121.99649048, 1, -1, -1, 200.0);
  914. CreateDynamicObject(973, 112.01561737, -299.43579102, 1.41834509, 0.00000000, 0.00000000, 267.98925781, 1, -1, -1, 200.0);
  915. CreateDynamicObject(973, 111.49819946, -311.46224976, 1.41834509, 0.00000000, 0.00000000, 267.98400879, 1, -1, -1, 200.0);
  916. CreateDynamicObject(973, 110.96862030, -323.97998047, 1.41834509, 0.00000000, 0.00000000, 267.98400879, 1, -1, -1, 200.0);
  917. CreateDynamicObject(1634, 40.53037643, -337.73342896, 2.29497647, 0.00000000, 0.00000000, 87.99133301, 1, -1, -1, 200.0);
  918. CreateDynamicObject(1634, 21.34174347, -337.30325317, 8.97762966, 0.00000000, 0.00000000, 87.98950195, 1, -1, -1, 200.0);
  919. CreateDynamicObject(3261, 54.63920975, -338.10195923, 0.57812500, 0.00000000, 0.00000000, 88.00000000, 1, -1, -1, 200.0);
  920. CreateDynamicObject(3261, 57.78337097, -338.22705078, 0.57812500, 0.00000000, 0.00000000, 87.99499512, 1, -1, -1, 200.0);
  921. CreateDynamicObject(3261, 65.89416504, -338.17385864, 0.57812500, 0.00000000, 0.00000000, 89.99499512, 1, -1, -1, 200.0);
  922. CreateDynamicObject(3261, 69.03846741, -338.15805054, 0.57812691, 0.00000000, 0.00000000, 89.99499512, 1, -1, -1, 200.0);
  923. CreateDynamicObject(3261, 79.25028229, -338.18807983, 0.57812500, 0.00000000, 0.00000000, 87.99499512, 1, -1, -1, 200.0);
  924. CreateDynamicObject(3261, 82.37716675, -338.16802979, 0.57812500, 0.00000000, 0.00000000, 89.99499512, 1, -1, -1, 200.0);
  925. CreateDynamicObject(1225, -167.74395752, -229.77450562, 96.73863983, 0.00000000, 261.99645996, 265.99548340, 1, -1, -1, 200.0);
  926. CreateDynamicObject(1225, -214.32873535, -221.93235779, 74.12116241, 0.00000000, 265.99548340, 193.99108887, 1, -1, -1, 200.0);
  927. CreateDynamicObject(1225, 99.27140808, -340.66986084, 43.97911835, 0.00000000, 267.99499512, 237.98583984, 1, -1, -1, 200.0);
  928. CreateDynamicObject(1225, 94.18199158, -246.09379578, 7.67201138, 0.00000000, 0.00000000, 281.98583984, 1, -1, -1, 200.0);
  929. CreateDynamicObject(1225, 92.87876892, -248.21290588, 7.67201138, 0.00000000, 0.00000000, 281.98059082, 1, -1, -1, 200.0);
  930. CreateDynamicObject(1225, 96.10227966, -243.91026306, 7.67201138, 0.00000000, 0.00000000, 281.98059082, 1, -1, -1, 200.0);
  931. CreateDynamicObject(1225, 101.53910065, -251.94488525, 7.67201138, 0.00000000, 0.00000000, 281.98059082, 1, -1, -1, 200.0);
  932. CreateDynamicObject(1225, 99.82783508, -253.98184204, 7.67201138, 0.00000000, 0.00000000, 281.98059082, 1, -1, -1, 200.0);
  933. CreateDynamicObject(1225, 102.97078705, -249.78610229, 7.67201138, 0.00000000, 0.00000000, 281.98059082, 1, -1, -1, 200.0);
  934. CreateDynamicObject(1225, -141.71159363, -208.73612976, 4.65429401, 0.00000000, 278.00000000, 267.98059082, 1, -1, -1, 200.0);
  935. CreateDynamicObject(1225, -201.14619446, -207.56369019, 0.82763004, 0.00000000, 277.99804688, 267.97851562, 1, -1, -1, 200.0);
  936. CreateDynamicObject(1225, -202.36294556, -207.46913147, 0.82763004, 0.00000000, 277.99804688, 267.97851562, 1, -1, -1, 200.0);
  937. CreateDynamicObject(1225, -208.80496216, -279.77966309, 0.83544254, 0.00000000, 277.99804688, 267.97851562, 1, -1, -1, 200.0);
  938. CreateDynamicObject(1225, -210.16975403, -281.07409668, 0.83544254, 0.00000000, 277.99804688, 267.97851562, 1, -1, -1, 200.0);
  939. CreateDynamicObject(2780, -201.26055908, -207.32037354, 1.25386786, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  940. CreateDynamicObject(2780, -209.73818970, -280.80917358, 0.42968750, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  941. CreateDynamicObject(2780, -212.05334473, -229.14982605, 69.11316681, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  942. CreateDynamicObject(2780, 106.14922333, -344.03598022, 38.80239868, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  943. CreateDynamicObject(2780, -159.99676514, -231.83480835, 92.27294922, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  944. CreateDynamicObject(2780, -3.64612103, -304.73782349, 5.14863586, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  945. CreateDynamicObject(2780, -5.38992882, -360.93371582, 11.13291931, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  946. CreateDynamicObject(1225, -5.99810600, -367.60568237, 12.07056236, 0.00000000, 358.00000000, 265.99548340, 1, -1, -1, 200.0);
  947. CreateDynamicObject(3524, -214.29092407, -223.68754578, 89.46921539, 0.00000000, 0.00000000, 15.99609375, 1, -1, -1, 200.0);
  948. CreateDynamicObject(3524, -166.87887573, -230.37626648, 112.16451263, 0.00000000, 0.00000000, 85.99548340, 1, -1, -1, 200.0);
  949. CreateDynamicObject(3524, 100.66965485, -341.69360352, 59.32941818, 0.00000000, 0.00000000, 55.99731445, 1, -1, -1, 200.0);
  950. CreateDynamicObject(3524, -141.83337402, -208.36814880, 20.10876465, 0.00000000, 0.00000000, 267.99731445, 1, -1, -1, 200.0);
  951. CreateDynamicObject(2780, -149.82415771, -208.44346619, 0.42187500, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  952. CreateDynamicObject(7388, -239.89874268, -233.27279663, 1.42968750, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  953. CreateDynamicObject(9833, -169.70101929, -236.57385254, 3.63223124, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  954. CreateDynamicObject(9833, -165.97737122, -224.41900635, 3.63223124, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  955. CreateDynamicObject(9833, -179.61009216, -226.97050476, 3.62441874, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  956. CreateDynamicObject(3095, -100.92230225, -316.51971436, 71.87472534, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  957. CreateDynamicObject(3095, -123.38735962, -317.50592041, 63.88879395, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  958. CreateDynamicObject(1634, -141.24378967, -264.02993774, 35.39931488, 0.00000000, 0.00000000, 275.99853516, 1, -1, -1, 200.0);
  959. CreateDynamicObject(2780, -6.46869993, -304.19039917, 5.10601330, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  960. CreateDynamicObject(13645, -84.73185730, -225.85406494, 78.07551575, 0.00000000, 1.99951172, 13.99658203, 1, -1, -1, 200.0);
  961. CreateDynamicObject(13645, -84.17601013, -227.30729675, 78.44742584, 0.00000000, 1.99951172, 13.99658203, 1, -1, -1, 200.0);
  962. //LV Sea Side
  963. CreateDynamicObject(8171, 2323.06000000, 526.20000000, 0.95000000, 0.00000000, 0.00000000, 89.30000000, 1, -1, -1, 200.0);
  964. CreateDynamicObject(8171, 2322.60000000, 486.53000000, 0.92000000, 0.00000000, 0.00000000, 89.30000000, 1, -1, -1, 200.0);
  965. CreateDynamicObject(8171, 2321.68000000, 450.41000000, 1.02000000, 0.00000000, 0.00000000, 89.30000000, 1, -1, -1, 200.0);
  966. CreateDynamicObject(8171, 2321.77000000, 411.80000000, 1.13000000, 0.00000000, 0.00000000, 89.30000000, 1, -1, -1, 200.0);
  967. CreateDynamicObject(8171, 2410.72000000, 483.36000000, 0.93000000, 0.00000000, 0.00000000, 178.76000000, 1, -1, -1, 200.0);
  968. CreateDynamicObject(8171, 2449.43000000, 481.41000000, 0.91000000, 0.00000000, 0.00000000, 177.98000000, 1, -1, -1, 200.0);
  969. CreateDynamicObject(8171, 2440.36000000, 565.65000000, 0.92000000, 0.00000000, 0.00000000, 269.15000000, 1, -1, -1, 200.0);
  970. CreateDynamicObject(8171, 2436.88000000, 393.63000000, 0.86000000, 0.00000000, 0.00000000, 269.12000000, 1, -1, -1, 200.0);
  971. CreateDynamicObject(8171, 2487.42000000, 476.30000000, 0.99000000, -0.06000000, 0.24000000, 178.68000000, 1, -1, -1, 200.0);
  972. CreateDynamicObject(8171, 2233.99000000, 488.21000000, 1.02000000, 0.00000000, 0.00000000, 179.19000000, 1, -1, -1, 200.0);
  973. CreateDynamicObject(8171, 2194.32000000, 488.41000000, 1.02000000, 0.00000000, 0.00000000, 179.09000000, 1, -1, -1, 200.0);
  974. CreateDynamicObject(8171, 2241.95000000, 399.16000000, 1.12000000, 0.00000000, 0.00000000, 268.97000000, 1, -1, -1, 200.0);
  975. CreateDynamicObject(8149, 2506.31000000, 460.73000000, 3.11000000, 0.00000000, 0.00000000, 178.63000000, 1, -1, -1, 200.0);
  976. CreateDynamicObject(8342, 2507.96000000, 547.33000000, 3.23000000, 0.00000000, 0.00000000, 269.38000000, 1, -1, -1, 200.0);
  977. CreateDynamicObject(987, 2435.96000000, 565.94000000, 2.71000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  978. CreateDynamicObject(987, 2423.93000000, 565.99000000, 2.71000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  979. CreateDynamicObject(987, 2423.95000000, 565.98000000, 7.76000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  980. CreateDynamicObject(987, 2411.91000000, 566.08000000, 7.76000000, 0.00000000, 0.00000000, 359.62000000, 1, -1, -1, 200.0);
  981. CreateDynamicObject(987, 2399.95000000, 566.17000000, 7.76000000, 0.00000000, 0.00000000, 359.62000000, 1, -1, -1, 200.0);
  982. CreateDynamicObject(987, 2396.56000000, 566.14000000, 7.76000000, 0.00000000, 0.00000000, 359.62000000, 1, -1, -1, 200.0);
  983. CreateDynamicObject(8149, 2174.59000000, 479.03000000, 3.11000000, 0.00000000, 0.00000000, 359.16000000, 1, -1, -1, 200.0);
  984. CreateDynamicObject(8342, 2173.73000000, 399.05000000, 3.13000000, 0.00000000, 0.00000000, 449.98000000, 1, -1, -1, 200.0);
  985. CreateDynamicObject(987, 2245.90000000, 380.57000000, 0.14000000, 0.00000000, 0.00000000, 177.45000000, 1, -1, -1, 200.0);
  986. CreateDynamicObject(987, 2257.75000000, 380.11000000, 5.37000000, 0.00000000, 0.00000000, 177.45000000, 1, -1, -1, 200.0);
  987. CreateDynamicObject(987, 2245.90000000, 380.57000000, 0.14000000, 0.00000000, 0.00000000, 177.45000000, 1, -1, -1, 200.0);
  988. CreateDynamicObject(987, 2245.88000000, 380.45000000, 5.39000000, 0.00000000, 0.00000000, 177.55000000, 1, -1, -1, 200.0);
  989. CreateDynamicObject(987, 2176.02000000, 559.98000000, 5.92000000, 0.00000000, 0.00000000, 353.11000000, 1, -1, -1, 200.0);
  990. CreateDynamicObject(987, 2187.83000000, 558.48000000, 5.92000000, 0.00000000, 0.00000000, 353.11000000, 1, -1, -1, 200.0);
  991. CreateDynamicObject(987, 2199.75000000, 557.05000000, 5.92000000, 0.00000000, 0.00000000, 356.82000000, 1, -1, -1, 200.0);
  992. CreateDynamicObject(987, 2211.72000000, 556.38000000, 5.92000000, 0.00000000, 0.00000000, 4.27000000, 1, -1, -1, 200.0);
  993. CreateDynamicObject(987, 2223.69000000, 557.23000000, 5.92000000, 0.00000000, 0.00000000, 7.51000000, 1, -1, -1, 200.0);
  994. CreateDynamicObject(987, 2235.73000000, 558.78000000, 5.95000000, -1.26000000, -2.73000000, 86.89000000, 1, -1, -1, 200.0);
  995. CreateDynamicObject(18825, 2307.25000000, 482.84000000, 5.97000000, 89.94000000, 3.66000000, 81.70000000, 1, -1, -1, 200.0);
  996. CreateDynamicObject(18825, 2340.31000000, 500.51000000, 6.50000000, 268.32000000, 177.24000000, 83.71000000, 1, -1, -1, 200.0);
  997. CreateDynamicObject(18827, 2420.67000000, 472.11000000, 7.15000000, 0.00000000, 0.00000000, 88.26000000, 1, -1, -1, 200.0);
  998. CreateDynamicObject(18831, 2360.31000000, 478.12000000, 7.10000000, 89.16000000, 38.58000000, 7.18000000, 1, -1, -1, 200.0);
  999. CreateDynamicObject(18841, 2479.57000000, 470.81000000, 22.90000000, -0.60000000, 180.66000000, 0.00000000, 1, -1, -1, 200.0);
  1000. CreateDynamicObject(18850, 2454.46000000, 471.37000000, 11.44000000, 0.00000000, 0.00000000, 357.76000000, 1, -1, -1, 200.0);
  1001. CreateDynamicObject(18850, 2428.38000000, 472.30000000, 11.44000000, 0.00000000, 0.00000000, 357.76000000, 1, -1, -1, 200.0);
  1002. CreateDynamicObject(18850, 2402.40000000, 473.36000000, 11.44000000, 0.00000000, 0.00000000, 357.76000000, 1, -1, -1, 200.0);
  1003. CreateDynamicObject(18850, 2376.31000000, 474.23000000, 11.44000000, 0.00000000, 0.00000000, 358.30000000, 1, -1, -1, 200.0);
  1004. CreateDynamicObject(18786, 2373.12000000, 474.47000000, 25.73000000, 0.00000000, 0.00000000, 357.43000000, 1, -1, -1, 200.0);
  1005. CreateDynamicObject(18789, 2266.95000000, 484.64000000, 24.37000000, 0.00000000, 0.00000000, 357.96000000, 1, -1, -1, 200.0);
  1006. CreateDynamicObject(18789, 2266.81000000, 469.15000000, 24.37000000, 0.00000000, 0.00000000, 357.96000000, 1, -1, -1, 200.0);
  1007. CreateDynamicObject(18778, 2196.24000000, 486.02000000, 25.82000000, -6.36000000, 0.54000000, 88.47000000, 1, -1, -1, 200.0);
  1008. CreateDynamicObject(18824, 2172.13000000, 461.02000000, 30.35000000, -93.00000000, 53.82000000, 3.98000000, 1, -1, -1, 200.0);
  1009. CreateDynamicObject(18811, 2157.00000000, 419.00000000, 34.88000000, 81.66000000, -12.36000000, 9.21000000, 1, -1, -1, 200.0);
  1010. CreateDynamicObject(18824, 2165.01000000, 374.73000000, 42.32000000, -101.64000000, -45.00000000, 351.67000000, 1, -1, -1, 200.0);
  1011. CreateDynamicObject(18815, 2204.31000000, 364.94000000, 12.97000000, 0.00000000, 0.00000000, 2.84000000, 1, -1, -1, 200.0);
  1012. CreateDynamicObject(8397, 2490.37000000, 550.26000000, 8.27000000, 0.00000000, 0.00000000, 87.36000000, 1, -1, -1, 200.0);
  1013. CreateDynamicObject(8397, 2489.67000000, 521.69000000, 8.08000000, 0.00000000, 0.00000000, 87.36000000, 1, -1, -1, 200.0);
  1014. CreateDynamicObject(8397, 2488.60000000, 491.86000000, 8.08000000, 0.00000000, 0.00000000, 87.36000000, 1, -1, -1, 200.0);
  1015. CreateDynamicObject(18778, 2404.38000000, 515.79000000, 1.39000000, 1.26000000, -0.66000000, -91.62000000, 1, -1, -1, 200.0);
  1016. CreateDynamicObject(18788, 2425.57000000, 515.41000000, 9.24000000, 0.34000000, -23.16000000, 358.50000000, 1, -1, -1, 200.0);
  1017. CreateDynamicObject(18783, 2453.51000000, 512.38000000, 15.73000000, -0.68000000, -0.96000000, 356.92000000, 1, -1, -1, 200.0);
  1018. CreateDynamicObject(18824, 2473.89000000, 536.53000000, 21.17000000, 84.72000000, -32.40000000, 328.13000000, 1, -1, -1, 200.0);
  1019. CreateDynamicObject(18788, 2501.11000000, 525.23000000, 12.94000000, 0.00000000, 0.00000000, 88.14000000, 1, -1, -1, 200.0);
  1020. CreateDynamicObject(18824, 2474.68000000, 501.02000000, 25.95000000, 238.14000000, 45.18000000, -4.70000000, 1, -1, -1, 200.0);
  1021. CreateDynamicObject(7392, 2448.72000000, 420.11000000, 7.73000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1022. CreateDynamicObject(7392, 2448.35000000, 449.32000000, 7.73000000, 0.00000000, 0.00000000, 178.02000000, 1, -1, -1, 200.0);
  1023. CreateDynamicObject(7905, 2465.78000000, 399.09000000, 9.77000000, 0.00000000, 0.00000000, 352.53000000, 1, -1, -1, 200.0);
  1024. CreateDynamicObject(1222, 2204.91000000, 365.56000000, 8.47000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1025. CreateDynamicObject(7073, 2494.31000000, 433.09000000, 18.76000000, 0.00000000, 0.00000000, 0.83000000, 1, -1, -1, 200.0);
  1026. CreateDynamicObject(19005, 2435.88000000, 434.98000000, 0.67000000, -10.38000000, 0.24000000, 269.60000000, 1, -1, -1, 200.0);
  1027. CreateDynamicObject(18750, 2340.98000000, 610.48000000, 27.17000000, 78.96000000, 0.12000000, 359.59000000, 1, -1, -1, 200.0);
  1028. CreateDynamicObject(11470, 2240.27000000, 552.50000000, 10.40000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1029. CreateDynamicObject(11470, 2240.34000000, 563.89000000, 10.40000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1030. CreateDynamicObject(11470, 2392.79000000, 552.39000000, 10.40000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1031. CreateDynamicObject(11470, 2392.69000000, 562.98000000, 10.40000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1032. CreateDynamicObject(11470, 2221.02000000, 498.83000000, 4.13000000, 0.00000000, 0.00000000, -91.92000000, 1, -1, -1, 200.0);
  1033. CreateDynamicObject(11470, 2232.32000000, 498.62000000, 3.97000000, 0.00000000, 0.00000000, -91.92000000, 1, -1, -1, 200.0);
  1034. CreateDynamicObject(3374, 2220.21000000, 504.29000000, 2.39000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1035. CreateDynamicObject(3374, 2224.95000000, 504.26000000, 2.37000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1036. CreateDynamicObject(3374, 2230.18000000, 504.21000000, 2.29000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1037. CreateDynamicObject(3374, 2235.12000000, 504.12000000, 2.55000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1038. CreateDynamicObject(3374, 2235.44000000, 494.32000000, 2.38000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1039. CreateDynamicObject(3374, 2230.28000000, 494.27000000, 2.49000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1040. CreateDynamicObject(3374, 2225.62000000, 494.23000000, 2.59000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1041. CreateDynamicObject(3374, 2220.73000000, 494.33000000, 2.48000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1042. CreateDynamicObject(18778, 2228.67000000, 516.83000000, 2.37000000, 0.00000000, 0.00000000, 182.81000000, 1, -1, -1, 200.0);
  1043. CreateDynamicObject(18778, 2226.75000000, 481.45000000, 2.41000000, 0.00000000, 0.00000000, 359.76000000, 1, -1, -1, 200.0);
  1044. CreateDynamicObject(1222, 2203.11000000, 363.99000000, 8.47000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1045. CreateDynamicObject(1222, 2200.95000000, 365.56000000, 8.47000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1046. CreateDynamicObject(1222, 2202.46000000, 367.26000000, 8.47000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1047. CreateDynamicObject(645, 2197.51000000, 421.78000000, 0.09000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1048. CreateDynamicObject(645, 2213.89000000, 422.62000000, -0.02000000, 0.00000000, 0.00000000, 0.72000000, 1, -1, -1, 200.0);
  1049. CreateDynamicObject(645, 2224.93000000, 422.41000000, -0.02000000, 0.00000000, 0.00000000, 0.72000000, 1, -1, -1, 200.0);
  1050. CreateDynamicObject(645, 2236.02000000, 422.80000000, -0.02000000, 0.00000000, 0.00000000, 0.72000000, 1, -1, -1, 200.0);
  1051. CreateDynamicObject(645, 2245.97000000, 422.02000000, -0.02000000, 0.00000000, 0.00000000, 0.72000000, 1, -1, -1, 200.0);
  1052. CreateDynamicObject(645, 2196.62000000, 437.49000000, 0.09000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1053. CreateDynamicObject(645, 2196.77000000, 453.06000000, 0.09000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1054. CreateDynamicObject(645, 2196.77000000, 465.60000000, 0.09000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1055. CreateDynamicObject(645, 2196.81000000, 477.77000000, 0.09000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1056. CreateDynamicObject(645, 2196.80000000, 488.06000000, 0.09000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1057. CreateDynamicObject(645, 2196.70000000, 499.24000000, 0.09000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1058. CreateDynamicObject(645, 2196.73000000, 510.74000000, 0.09000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1059. CreateDynamicObject(645, 2196.75000000, 510.75000000, 0.09000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1060. CreateDynamicObject(645, 2197.12000000, 521.69000000, 0.09000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1061. CreateDynamicObject(645, 2197.72000000, 534.23000000, 0.09000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1062. CreateDynamicObject(645, 2198.14000000, 545.17000000, 0.09000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1063. //parkour city
  1064. CreateDynamicObject(3983, 2581.91528300, -1432.61254900, 233.02203400, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1065. CreateDynamicObject(3983, 2536.63134800, -1432.78857400, 233.18798800, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1066. CreateDynamicObject(3989, 2559.21093800, -1366.99780300, 226.62889100, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
  1067. CreateDynamicObject(4010, 2528.51660200, -1403.49072300, 231.55517600, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1068. CreateDynamicObject(3776, 2602.35278300, -1369.87817400, 239.95028700, 0.00000000, 0.00000000, 180.00000000, 1, -1, -1, 200.0);
  1069. CreateDynamicObject(4002, 2553.02734400, -1443.52441400, 255.60842900, 0.00000000, 0.00000000, 180.00000000, 1, -1, -1, 200.0);
  1070. CreateDynamicObject(1684, 2590.28369100, -1360.50842300, 232.81843600, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1071. CreateDynamicObject(1684, 2591.22631800, -1365.26342800, 235.43504300, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1072. CreateDynamicObject(1684, 2591.22631800, -1371.11633300, 238.47139000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1073. CreateDynamicObject(3998, 2591.82226600, -1400.05847200, 236.83416700, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
  1074. CreateDynamicObject(1684, 2601.77661100, -1386.45959500, 241.23397800, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1075. CreateDynamicObject(1684, 2601.64672900, -1387.70959500, 242.72633400, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1076. CreateDynamicObject(1684, 2601.29003900, -1388.20959500, 244.13964800, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1077. CreateDynamicObject(1684, 2593.50781300, -1387.20959500, 242.57151800, 0.00000000, 331.63860000, 8.59440000, 1, -1, -1, 200.0);
  1078. CreateDynamicObject(4079, 2519.50463900, -1401.18115200, 244.64541600, 0.00000000, 0.00000000, 22.50000000, 1, -1, -1, 200.0);
  1079. CreateDynamicObject(1437, 2590.14062500, -1388.44689900, 243.72769200, 0.00000000, 0.00000000, 168.74990000, 1, -1, -1, 200.0);
  1080. CreateDynamicObject(1698, 2587.30224600, -1390.67456100, 245.44149800, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
  1081. CreateDynamicObject(1698, 2582.39404300, -1391.49536100, 246.44149800, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
  1082. CreateDynamicObject(1698, 2578.98486300, -1394.94470200, 246.94149800, 0.00000000, 0.00000000, 337.50000000, 1, -1, -1, 200.0);
  1083. CreateDynamicObject(1698, 2580.20043900, -1398.30725100, 248.69149800, 0.00000000, 0.00000000, 45.00000000, 1, -1, -1, 200.0);
  1084. CreateDynamicObject(1698, 2583.54614300, -1400.50659200, 249.69149800, 0.00000000, 0.00000000, 78.75000000, 1, -1, -1, 200.0);
  1085. CreateDynamicObject(1698, 2587.11499000, -1402.20568800, 250.21661400, 0.00000000, 0.00000000, 71.95180000, 1, -1, -1, 200.0);
  1086. CreateDynamicObject(851, 2592.02880900, -1397.88842800, 251.64035000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1087. CreateDynamicObject(851, 2591.99585000, -1393.47741700, 250.64035000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1088. CreateDynamicObject(851, 2578.28637700, -1387.44104000, 245.13577300, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1089. CreateDynamicObject(851, 2573.77343800, -1389.69726600, 245.13577300, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1090. CreateDynamicObject(3447, 2589.25415000, -1403.92211900, 253.07101400, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  1091. CreateDynamicObject(1698, 2591.64013700, -1394.75402800, 250.19607500, 0.00000000, 0.00000000, 236.25000000, 1, -1, -1, 200.0);
  1092. CreateDynamicObject(1698, 2587.37548800, -1393.35156300, 249.69149800, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
  1093. CreateDynamicObject(1698, 2583.08300800, -1393.47473100, 250.43571500, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
  1094. CreateDynamicObject(1698, 2578.55297900, -1392.63476600, 250.67993200, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
  1095. CreateDynamicObject(970, 2573.57470700, -1392.72583000, 251.35704000, 49.84730000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1096. CreateDynamicObject(970, 2570.46972700, -1393.06347700, 252.86842300, 49.84730000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1097. CreateDynamicObject(970, 2567.01220700, -1392.17663600, 253.24229400, 115.16440000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1098. CreateDynamicObject(970, 2565.25561500, -1393.24585000, 253.80241400, 48.12840000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1099. CreateDynamicObject(970, 2560.43994100, -1393.08105500, 254.39897200, 48.12840000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1100. CreateDynamicObject(991, 2555.10034200, -1393.06713900, 255.16015600, 85.94360000, 14.61040000, 347.96790000, 1, -1, -1, 200.0);
  1101. CreateDynamicObject(991, 2552.06494100, -1392.17688000, 256.47036700, 85.94360000, 14.61040000, 347.96790000, 1, -1, -1, 200.0);
  1102. CreateDynamicObject(991, 2549.21362300, -1390.87097200, 257.74905400, 85.94360000, 14.61040000, 347.96790000, 1, -1, -1, 200.0);
  1103. CreateDynamicObject(991, 2545.94506800, -1389.49890100, 259.02932700, 85.94360000, 14.61040000, 347.96790000, 1, -1, -1, 200.0);
  1104. CreateDynamicObject(991, 2543.29492200, -1387.71667500, 260.27200300, 85.94360000, 14.61040000, 347.96790000, 1, -1, -1, 200.0);
  1105. CreateDynamicObject(991, 2541.08252000, -1386.41796900, 261.54174800, 85.94360000, 14.61040000, 347.96790000, 1, -1, -1, 200.0);
  1106. CreateDynamicObject(991, 2542.33300800, -1386.77368200, 261.54794300, 85.94360000, 14.61040000, 347.96790000, 1, -1, -1, 200.0);
  1107. CreateDynamicObject(1407, 2539.98413100, -1385.53039600, 262.31094400, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1108. CreateDynamicObject(1407, 2543.35913100, -1385.52648900, 262.28631600, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1109. CreateDynamicObject(1407, 2537.69848600, -1386.84423800, 262.44085700, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  1110. CreateDynamicObject(1407, 2540.09448200, -1385.60046400, 263.70770300, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1111. CreateDynamicObject(1407, 2544.21899400, -1385.50061000, 263.60040300, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1112. CreateDynamicObject(991, 2533.85693400, -1385.69299300, 259.69052100, 85.94360000, 14.61040000, 291.71790000, 1, -1, -1, 200.0);
  1113. CreateDynamicObject(2400, 2502.80810500, -1392.84411600, 257.36416600, 0.00000000, 0.00000000, 337.50000000, 1, -1, -1, 200.0);
  1114. CreateDynamicObject(2400, 2508.47631800, -1394.73510700, 257.36416600, 0.00000000, 0.00000000, 337.50000000, 1, -1, -1, 200.0);
  1115. CreateDynamicObject(3359, 2501.94165000, -1416.25244100, 257.38168300, 0.00000000, 0.00000000, 191.25000000, 1, -1, -1, 200.0);
  1116. CreateDynamicObject(983, 2499.43505900, -1415.76110800, 257.03387500, 28.36140000, 84.22470000, 351.40560000, 1, -1, -1, 200.0);
  1117. CreateDynamicObject(983, 2499.15820300, -1419.50891100, 255.28506500, 0.00000000, 0.00000000, 11.25000000, 1, -1, -1, 200.0);
  1118. CreateDynamicObject(1698, 2502.25585900, -1421.81115700, 250.67942800, 0.00000000, 0.00000000, 337.50000000, 1, -1, -1, 200.0);
  1119. CreateDynamicObject(1698, 2501.15844700, -1424.50512700, 251.88790900, 0.00000000, 0.00000000, 337.50000000, 1, -1, -1, 200.0);
  1120. CreateDynamicObject(1698, 2499.56298800, -1428.79174800, 252.13212600, 0.00000000, 0.00000000, 337.50000000, 1, -1, -1, 200.0);
  1121. CreateDynamicObject(1698, 2498.00268600, -1432.18396000, 253.12634300, 0.00000000, 0.00000000, 337.50000000, 1, -1, -1, 200.0);
  1122. CreateDynamicObject(980, 2497.02221700, -1441.38427700, 252.92575100, 94.53800000, 0.00000000, 303.75000000, 1, -1, -1, 200.0);
  1123. CreateDynamicObject(980, 2501.73730500, -1448.51306200, 253.51026900, 97.11630000, 253.97580000, 228.61250000, 1, -1, -1, 200.0);
  1124. CreateDynamicObject(3286, 2503.70654300, -1451.42932100, 258.72027600, 0.00000000, 0.00000000, 33.75000000, 1, -1, -1, 200.0);
  1125. CreateDynamicObject(1698, 2503.08593800, -1448.17346200, 255.61291500, 0.00000000, 0.00000000, 303.75000000, 1, -1, -1, 200.0);
  1126. CreateDynamicObject(1698, 2499.84619100, -1450.58606000, 256.49575800, 0.00000000, 0.00000000, 303.75000000, 1, -1, -1, 200.0);
  1127. CreateDynamicObject(1698, 2501.19043000, -1453.37890600, 256.97415200, 0.00000000, 0.00000000, 56.25000000, 1, -1, -1, 200.0);
  1128. CreateDynamicObject(1698, 2504.43847700, -1454.12365700, 257.54354900, 321.32530000, 0.00000000, 146.25000000, 1, -1, -1, 200.0);
  1129. CreateDynamicObject(1387, 2504.22583000, -1455.39416500, 257.76071200, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1130. CreateDynamicObject(1387, 2504.57617200, -1454.79785200, 258.17022700, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1131. CreateDynamicObject(1698, 2506.86279300, -1455.77539100, 258.60336300, 0.00000000, 0.00000000, 56.25000000, 1, -1, -1, 200.0);
  1132. CreateDynamicObject(1698, 2511.80786100, -1456.14672900, 258.46997100, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
  1133. CreateDynamicObject(1698, 2514.74096700, -1456.14672900, 259.57919300, 0.00000000, 0.00000000, 271.71890000, 1, -1, -1, 200.0);
  1134. CreateDynamicObject(1698, 2518.73046900, -1456.38867200, 260.07342500, 0.00000000, 0.00000000, 271.71890000, 1, -1, -1, 200.0);
  1135. CreateDynamicObject(2649, 2519.73535200, -1455.64672900, 260.89938400, 0.00000000, 0.00000000, 258.75000000, 1, -1, -1, 200.0);
  1136. CreateDynamicObject(2649, 2521.22387700, -1455.89672900, 261.74975600, 0.00000000, 0.00000000, 258.75000000, 1, -1, -1, 200.0);
  1137. CreateDynamicObject(925, 2514.86840800, -1454.07263200, 263.08441200, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1138. CreateDynamicObject(925, 2517.77880900, -1453.97814900, 264.27230800, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1139. CreateDynamicObject(925, 2514.14648400, -1453.66418500, 265.69421400, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1140. CreateDynamicObject(925, 2511.90747100, -1454.49682600, 267.26037600, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1141. CreateDynamicObject(1684, 2533.18774400, -1445.40820300, 278.14486700, 0.00000000, 331.63860000, 8.59440000, 1, -1, -1, 200.0);
  1142. CreateDynamicObject(1684, 2533.18774400, -1451.17407200, 280.39032000, 0.00000000, 331.63860000, 8.59440000, 1, -1, -1, 200.0);
  1143. CreateDynamicObject(1684, 2533.68481400, -1445.68054200, 282.19412200, 0.00000000, 331.63860000, 8.59440000, 1, -1, -1, 200.0);
  1144. CreateDynamicObject(1684, 2531.38793900, -1441.09570300, 283.08398400, 0.00000000, 331.63860000, 8.59440000, 1, -1, -1, 200.0);
  1145. CreateDynamicObject(1684, 2533.18774400, -1443.39306600, 286.69430500, 0.00000000, 331.63860000, 8.59440000, 1, -1, -1, 200.0);
  1146. CreateDynamicObject(1684, 2533.18774400, -1447.29724100, 288.91796900, 0.00000000, 331.63860000, 8.59440000, 1, -1, -1, 200.0);
  1147. CreateDynamicObject(1684, 2533.63793900, -1443.42346200, 292.58688400, 0.00000000, 331.63860000, 8.59440000, 1, -1, -1, 200.0);
  1148. CreateDynamicObject(1637, 2533.18774400, -1440.41796900, 291.87448100, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1149. CreateDynamicObject(3406, 2533.18774400, -1444.44299300, 297.20544400, 0.85940000, 310.15270000, 278.67170000, 1, -1, -1, 200.0);
  1150. CreateDynamicObject(1498, 2531.93188500, -1445.54553200, 301.54388400, 39.53410000, 358.28110000, 0.00000000, 1, -1, -1, 200.0);
  1151. CreateDynamicObject(3167, 2533.24462900, -1451.70874000, 302.59603900, 327.34140000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  1152. CreateDynamicObject(3361, 2533.50878900, -1451.18676800, 311.01568600, 0.00000000, 0.00000000, 168.75000000, 1, -1, -1, 200.0);
  1153. CreateDynamicObject(1684, 2530.47436500, -1454.47497600, 306.17977900, 0.00000000, 331.63860000, 312.34430000, 1, -1, -1, 200.0);
  1154. CreateDynamicObject(1698, 2530.08789100, -1451.75622600, 307.96051000, 346.24900000, 0.00000000, 101.25000000, 1, -1, -1, 200.0);
  1155. CreateDynamicObject(3361, 2565.54126000, -1435.08752400, 315.87109400, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  1156. CreateDynamicObject(1698, 2565.82055700, -1441.99316400, 318.81579600, 346.24900000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1157. CreateDynamicObject(1698, 2565.90454100, -1445.59960900, 320.14569100, 346.24900000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1158. CreateDynamicObject(1698, 2565.80200200, -1449.51574700, 321.49017300, 346.24900000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1159. CreateDynamicObject(3399, 2564.15893600, -1446.19384800, 324.21557600, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  1160. CreateDynamicObject(3399, 2564.15893600, -1446.12329100, 329.96347000, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
  1161. CreateDynamicObject(3399, 2561.91381800, -1443.88330100, 336.89199800, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
  1162. CreateDynamicObject(3399, 2562.01440400, -1444.25415000, 343.00235000, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
  1163. CreateDynamicObject(1698, 2559.89648400, -1445.43505900, 346.34066800, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1164. CreateDynamicObject(1698, 2557.87915000, -1443.04284700, 349.17828400, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1165. CreateDynamicObject(1698, 2555.91015600, -1442.49939000, 351.57128900, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1166. CreateDynamicObject(1698, 2553.89453100, -1442.08349600, 353.64672900, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1167. CreateDynamicObject(1698, 2553.89453100, -1443.71521000, 354.58596800, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1168. CreateDynamicObject(1698, 2601.33129900, -1382.40930200, 240.98431400, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1169. CreateDynamicObject(1684, 2591.22631800, -1372.69616700, 240.37892200, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1170. //parkour
  1171. CreateDynamicObject(972, 1531.47973600, -1359.22656300, 328.45034800, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1172. CreateDynamicObject(972, 1550.99121100, -1359.23681600, 328.45581100, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1173. CreateDynamicObject(972, 1542.70861800, -1365.28625500, 328.15380900, 0.00000000, 0.00000000, -89.38141604, 1, -1, -1, 200.0);
  1174. CreateDynamicObject(974, 1551.05700700, -1345.10205100, 331.23623700, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1175. CreateDynamicObject(974, 1538.19177200, -1345.07312000, 331.24121100, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1176. CreateDynamicObject(978, 1544.50683600, -1337.02807600, 329.04757700, 94.53809349, 0.00000000, -88.52197935, 1, -1, -1, 200.0);
  1177. CreateDynamicObject(978, 1544.70898400, -1345.88708500, 327.34652700, -245.79883682, 256.97151382, 14.61042378, 1, -1, -1, 200.0);
  1178. CreateDynamicObject(978, 1544.23742700, -1324.61401400, 329.04776000, 94.53809349, 0.00000000, -88.52197935, 1, -1, -1, 200.0);
  1179. CreateDynamicObject(974, 1544.29467800, -1316.17517100, 328.01788300, 91.95972612, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1180. CreateDynamicObject(974, 1544.08886700, -1307.95434600, 326.07467700, 91.95972612, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1181. CreateDynamicObject(974, 1544.86120600, -1299.68432600, 328.92422500, 91.95972612, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1182. CreateDynamicObject(974, 1553.25988800, -1299.90087900, 330.80770900, 91.95972612, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1183. CreateDynamicObject(974, 1560.94299300, -1300.69543500, 328.54486100, 91.95972612, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1184. CreateDynamicObject(974, 1564.03942900, -1299.92248500, 331.32266200, 183.91950953, 0.00000000, -89.38141604, 1, -1, -1, 200.0);
  1185. CreateDynamicObject(974, 1561.32983400, -1292.13647500, 326.95224000, 91.95972612, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1186. CreateDynamicObject(974, 1562.18335000, -1287.30468800, 324.15411400, 91.95972612, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1187. CreateDynamicObject(3258, 1559.69677700, -1287.83447300, 322.73663300, 118.60232089, 0.00000000, -88.52197935, 1, -1, -1, 200.0);
  1188. CreateDynamicObject(3257, 1555.85412600, -1255.20996100, 276.35571300, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1189. CreateDynamicObject(3287, 1565.30419900, -1254.09912100, 288.89392100, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1190. CreateDynamicObject(3287, 1571.85827600, -1254.17468300, 288.93530300, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1191. CreateDynamicObject(3502, 1537.46252400, -1282.56335400, 314.28128100, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1192. CreateDynamicObject(3502, 1538.06433100, -1274.25805700, 313.83450300, -6.01605685, 0.00000000, -7.73493023, 1, -1, -1, 200.0);
  1193. CreateDynamicObject(3502, 1539.64648400, -1267.35376000, 312.58728000, -12.03211370, 0.00000000, -16.32929716, 1, -1, -1, 200.0);
  1194. CreateDynamicObject(3502, 1541.58178700, -1256.78161600, 307.05413800, -85.08423258, 0.00000000, -16.32929716, 1, -1, -1, 200.0);
  1195. CreateDynamicObject(974, 1541.15478500, -1254.38464400, 311.65838600, 91.95972612, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1196. CreateDynamicObject(974, 1541.23645000, -1262.01538100, 310.14981100, 91.95972612, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1197. CreateDynamicObject(974, 1546.33313000, -1258.03479000, 310.41314700, 91.95972612, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
  1198. CreateDynamicObject(974, 1536.39111300, -1257.45532200, 310.30587800, 91.95972612, 0.00000000, 11.17267701, 1, -1, -1, 200.0);
  1199. CreateDynamicObject(974, 1540.46557600, -1255.21789600, 298.40844700, 91.95972612, 0.00000000, 3.43774677, 1, -1, -1, 200.0);
  1200. CreateDynamicObject(974, 1544.44763200, -1255.29968300, 298.42996200, 91.95972612, 0.00000000, -4.29718346, 1, -1, -1, 200.0);
  1201. CreateDynamicObject(3257, 1585.73034700, -1253.02539100, 272.12976100, 0.00000000, 0.00000000, -88.52197935, 1, -1, -1, 200.0);
  1202. CreateDynamicObject(3257, 1585.98681600, -1261.29406700, 272.13314800, 0.00000000, 0.00000000, -268.14419083, 1, -1, -1, 200.0);
  1203. CreateDynamicObject(3631, 1594.14160200, -1257.08642600, 286.86883500, 0.00000000, 0.00000000, 1.71887339, 1, -1, -1, 200.0);
  1204. CreateDynamicObject(3631, 1604.56164600, -1256.77233900, 286.85174600, 0.00000000, 0.00000000, 1.71887339, 1, -1, -1, 200.0);
  1205. CreateDynamicObject(3631, 1615.55175800, -1256.58337400, 286.85958900, 0.00000000, 0.00000000, 1.71887339, 1, -1, -1, 200.0);
  1206. CreateDynamicObject(3636, 1633.98425300, -1255.84838900, 276.36599700, 82.50592250, 0.00000000, -1.71887339, 1, -1, -1, 200.0);
  1207. CreateDynamicObject(3636, 1650.99963400, -1256.63537600, 274.60452300, 82.50592250, 0.00000000, -1.71887339, 1, -1, -1, 200.0);
  1208. CreateDynamicObject(3636, 1666.38598600, -1255.20495600, 272.61486800, 82.50592250, 0.00000000, 17.18873385, 1, -1, -1, 200.0);
  1209. CreateDynamicObject(3636, 1681.09021000, -1248.78125000, 273.70929000, 82.50592250, 0.00000000, 27.50197417, 1, -1, -1, 200.0);
  1210. CreateDynamicObject(3636, 1694.77307100, -1239.38745100, 274.84780900, 82.50592250, 0.00000000, 39.53408786, 1, -1, -1, 200.0);
  1211. CreateDynamicObject(6867, 1714.95483400, -1178.67041000, 297.15399200, 0.00000000, 0.00000000, -51.56620156, 1, -1, -1, 200.0);
  1212. CreateDynamicObject(974, 1706.98413100, -1211.47265600, 277.03076200, 90.24085273, 0.00000000, -49.84732818, 1, -1, -1, 200.0);
  1213. CreateDynamicObject(974, 1701.03759800, -1204.87646500, 276.81738300, 90.24085273, 0.00000000, -49.84732818, 1, -1, -1, 200.0);
  1214. CreateDynamicObject(974, 1693.76635700, -1197.61450200, 276.82901000, 90.24085273, 0.00000000, -49.84732818, 1, -1, -1, 200.0);
  1215. CreateDynamicObject(974, 1702.92028800, -1178.17627000, 279.18060300, 90.24085273, 0.00000000, -49.84732818, 1, -1, -1, 200.0);
  1216. CreateDynamicObject(974, 1697.31506300, -1182.87817400, 279.61947600, 90.24085273, 0.00000000, -49.84732818, 1, -1, -1, 200.0);
  1217. CreateDynamicObject(974, 1690.98498500, -1185.70861800, 280.65783700, 90.24085273, 0.00000000, -49.84732818, 1, -1, -1, 200.0);
  1218. CreateDynamicObject(974, 1707.23571800, -1118.80554200, 273.88061500, 90.24085273, 0.00000000, -49.84732818, 1, -1, -1, 200.0);
  1219. CreateDynamicObject(974, 1711.80139200, -1115.36169400, 276.67355300, 90.24085273, 0.00000000, -49.84732818, 1, -1, -1, 200.0);
  1220. CreateDynamicObject(974, 1716.70105000, -1121.03784200, 278.09811400, 90.24085273, 0.00000000, -49.84732818, 1, -1, -1, 200.0);
  1221. CreateDynamicObject(974, 1722.69030800, -1124.65515100, 279.08462500, 90.24085273, 0.00000000, -49.84732818, 1, -1, -1, 200.0);
  1222. CreateDynamicObject(974, 1727.63134800, -1129.97741700, 280.64492800, 90.24085273, 0.00000000, -49.84732818, 1, -1, -1, 200.0);
  1223. CreateDynamicObject(974, 1732.61572300, -1125.55322300, 282.77932700, 90.24085273, 0.00000000, -49.84732818, 1, -1, -1, 200.0);
  1224. CreateDynamicObject(974, 1740.99438500, -1120.95617700, 280.22213700, 90.24085273, 0.00000000, -49.84732818, 1, -1, -1, 200.0);
  1225. CreateDynamicObject(974, 1744.08374000, -1121.66052200, 281.85693400, 183.06007284, 0.00000000, 39.53408786, 1, -1, -1, 200.0);
  1226. CreateDynamicObject(974, 1779.22509800, -1161.04113800, 280.83062700, 268.14419083, 0.00000000, 39.53408786, 1, -1, -1, 200.0);
  1227. CreateDynamicObject(3330, 1804.41137700, -1187.47509800, 270.03402700, -31.79915763, 0.00000000, 37.81521448, 1, -1, -1, 200.0);
  1228. CreateDynamicObject(3330, 1820.63317900, -1210.19104000, 233.51001000, -55.00394833, 0.00000000, 37.81521448, 1, -1, -1, 200.0);
  1229. CreateDynamicObject(3411, 1879.03271500, -1241.67932100, 183.44625900, 0.00000000, 0.00000000, -53.28501765, 1, -1, -1, 200.0);
  1230. CreateDynamicObject(4550, 1957.40417500, -1183.40344200, 126.30550400, 124.61832044, 0.00000000, 126.33730842, 1, -1, -1, 200.0);
  1231. //abandoned airport 1
  1232. CreateDynamicObject(18754, -120.48000000, 2347.15000000, 28.40000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
  1233. CreateDynamicObject(18754, -121.07000000, 2595.68000000, 28.40000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
  1234. CreateDynamicObject(18754, 369.07000000, 2347.46000000, 28.40000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
  1235. CreateDynamicObject(18754, 376.40000000, 2596.07000000, 28.40000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
  1236. CreateDynamicObject(18754, 127.72000000, 2595.59000000, 28.40000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
  1237. CreateDynamicObject(18754, 128.26000000, 2347.69000000, 28.40000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
  1238. CreateDynamicObject(18750, 266.95000000, 2731.08000000, 104.68000000, 88.10000000, 0.00000000, 355.62000000, 1, -1, -1, 250.0);
  1239. CreateDynamicObject(18780, 288.84000000, 2689.71000000, 38.01000000, 0.00000000, 0.00000000, 87.63000000, 1, -1, -1, 250.0);
  1240. CreateDynamicObject(18780, 252.73000000, 2715.40000000, 59.41000000, 0.00000000, -33.00000000, 88.00000000, 1, -1, -1, 250.0);
  1241. CreateDynamicObject(18780, 251.72000000, 2690.44000000, 38.01000000, 0.00000000, 0.00000000, 87.63000000, 1, -1, -1, 250.0);
  1242. CreateDynamicObject(18780, 289.71000000, 2712.87000000, 59.41000000, 0.00000000, -33.00000000, 88.00000000, 1, -1, -1, 250.0);
  1243. CreateDynamicObject(18809, 271.18000000, 2741.46000000, 37.86000000, 94.94000000, 0.00000000, 358.51000000, 1, -1, -1, 250.0);
  1244. CreateDynamicObject(18809, 270.13000000, 2701.01000000, 35.10000000, 93.92000000, 0.00000000, 358.51000000, 1, -1, -1, 250.0);
  1245. CreateDynamicObject(18826, 272.05000000, 2776.04000000, 55.89000000, 0.00000000, 0.00000000, 268.70000000, 1, -1, -1, 250.0);
  1246. CreateDynamicObject(18985, 271.93000000, 2715.49000000, 71.77000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
  1247. CreateDynamicObject(18809, 272.00000000, 2641.42000000, 71.37000000, 91.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
  1248. CreateDynamicObject(18851, 272.38000000, 2543.58000000, 71.75000000, 0.00000000, 0.00000000, 270.78000000, 1, -1, -1, 250.0);
  1249. CreateDynamicObject(18752, -15.66000000, 2351.93000000, 1.17000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
  1250. CreateDynamicObject(18809, 272.01000000, 2592.15000000, 70.51000000, 91.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
  1251. CreateDynamicObject(18801, 215.34000000, 2446.25000000, 51.67000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
  1252. CreateDynamicObject(18779, 279.00000000, 2517.00000000, 74.47000000, 0.00000000, 0.00000000, 92.95000000, 1, -1, -1, 250.0);
  1253. CreateDynamicObject(18809, 223.47000000, 2315.11000000, 51.05000000, 91.00000000, 0.00000000, 0.32000000, 1, -1, -1, 250.0);
  1254. CreateDynamicObject(18779, 217.49000000, 2274.73000000, 35.99000000, 0.00000000, 0.00000000, 270.24000000, 1, -1, -1, 250.0);
  1255. CreateDynamicObject(18779, 218.04000000, 2265.73000000, 33.77000000, 0.00000000, -18.00000000, 272.21000000, 1, -1, -1, 250.0);
  1256. CreateDynamicObject(18809, 223.15000000, 2363.36000000, 51.90000000, 91.00000000, 0.00000000, 0.32000000, 1, -1, -1, 250.0);
  1257. CreateDynamicObject(18809, 222.89000000, 2410.67000000, 52.72000000, 91.00000000, 0.00000000, 0.32000000, 1, -1, -1, 250.0);
  1258. CreateDynamicObject(18809, 222.30000000, 2508.30000000, 54.34000000, 91.00000000, 0.00000000, 0.32000000, 1, -1, -1, 250.0);
  1259. CreateDynamicObject(18801, 217.70000000, 2426.46000000, 51.67000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
  1260. CreateDynamicObject(18801, 220.15000000, 2406.64000000, 51.67000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
  1261. CreateDynamicObject(18801, 222.64000000, 2386.80000000, 51.67000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
  1262. CreateDynamicObject(18450, 463.61000000, 2270.22000000, 82.03000000, 0.00000000, -18.00000000, 309.01000000, 1, -1, -1, 250.0);
  1263. CreateDynamicObject(18450, 426.66000000, 2315.78000000, 62.96000000, 0.00000000, -18.00000000, 309.01000000, 1, -1, -1, 250.0);
  1264. CreateDynamicObject(18450, 510.88000000, 2211.73000000, 106.47000000, 0.00000000, -18.00000000, 309.01000000, 1, -1, -1, 250.0);
  1265. CreateDynamicObject(18450, 558.47000000, 2152.92000000, 130.98000000, 0.00000000, -18.00000000, 309.01000000, 1, -1, -1, 250.0);
  1266. CreateDynamicObject(18450, 697.72000000, 1981.28000000, 202.71000000, 0.00000000, -18.00000000, 309.01000000, 1, -1, -1, 250.0);
  1267. CreateDynamicObject(18450, 604.87000000, 2095.88000000, 154.81000000, 0.00000000, -18.00000000, 309.01000000, 1, -1, -1, 250.0);
  1268. CreateDynamicObject(18450, 651.90000000, 2037.82000000, 179.07000000, 0.00000000, -18.00000000, 309.01000000, 1, -1, -1, 250.0);
  1269. CreateDynamicObject(18450, 791.99000000, 1865.08000000, 251.36000000, 0.00000000, -18.00000000, 309.01000000, 1, -1, -1, 250.0);
  1270. CreateDynamicObject(18450, 744.50000000, 1923.62000000, 226.86000000, 0.00000000, -18.00000000, 309.01000000, 1, -1, -1, 250.0);
  1271. CreateDynamicObject(3489, 334.36000000, 2966.45000000, -0.57000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
  1272. CreateDynamicObject(8040, 838.49000000, 1802.52000000, 264.80000000, 0.00000000, 0.00000000, 128.88000000, 1, -1, -1, 250.0);
  1273. CreateDynamicObject(18450, 382.85000000, 2369.94000000, 40.35000000, 0.00000000, -18.00000000, 309.01000000, 1, -1, -1, 250.0);
  1274. CreateDynamicObject(18779, 414.61000000, 2313.19000000, 76.55000000, 0.00000000, 0.00000000, 309.23000000, 1, -1, -1, 250.0);
  1275. CreateDynamicObject(18779, 594.11000000, 2108.46000000, 165.44000000, 0.00000000, 0.00000000, 309.23000000, 1, -1, -1, 250.0);
  1276. CreateDynamicObject(18859, 471.56000000, 2548.83000000, 40.19000000, 0.00000000, 0.00000000, 270.18000000, 1, -1, -1, 250.0);
  1277. CreateDynamicObject(18859, 471.49000000, 2500.21000000, 40.19000000, 0.00000000, 0.00000000, 270.18000000, 1, -1, -1, 250.0);
  1278. CreateDynamicObject(18859, 471.68000000, 2451.73000000, 40.19000000, 0.00000000, 0.00000000, 270.18000000, 1, -1, -1, 250.0);
  1279. CreateDynamicObject(18779, 322.18000000, 2581.05000000, 38.75000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
  1280. CreateDynamicObject(18855, 237.52000000, 2561.94000000, 65.43000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
  1281. CreateDynamicObject(18983, 318.64000000, 2563.89000000, 97.19000000, 0.00000000, 0.00000000, 92.19000000, 1, -1, -1, 250.0);
  1282. CreateDynamicObject(18833, 392.81000000, 2563.95000000, 97.22000000, 90.10000000, 0.00000000, 254.44000000, 1, -1, -1, 250.0);
  1283. CreateDynamicObject(18833, 431.83000000, 2534.77000000, 97.32000000, 90.10000000, 0.00000000, 211.99000000, 1, -1, -1, 250.0);
  1284. CreateDynamicObject(18833, 441.13000000, 2487.05000000, 97.32000000, 90.10000000, 0.00000000, 170.05000000, 1, -1, -1, 250.0);
  1285. CreateDynamicObject(18833, 418.23000000, 2444.65000000, 97.40000000, 90.10000000, 0.00000000, 133.25000000, 1, -1, -1, 250.0);
  1286. CreateDynamicObject(18833, 373.28000000, 2426.37000000, 97.48000000, 90.10000000, 0.00000000, 91.04000000, 1, -1, -1, 250.0);
  1287. CreateDynamicObject(18984, 300.82000000, 2444.01000000, 97.54000000, 0.00000000, 0.00000000, 74.63000000, 1, -1, -1, 250.0);
  1288. CreateDynamicObject(18779, 322.16000000, 2530.32000000, 38.75000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
  1289. CreateDynamicObject(18809, 222.60000000, 2459.56000000, 53.53000000, 91.00000000, 0.00000000, 0.32000000, 1, -1, -1, 250.0);
  1290. CreateDynamicObject(18826, 174.45000000, 2521.73000000, 54.45000000, 91.00000000, 0.00000000, 90.75000000, 1, -1, -1, 250.0);
  1291. CreateDynamicObject(18826, 205.94000000, 2543.36000000, 54.47000000, 91.00000000, 0.00000000, 271.39000000, 1, -1, -1, 250.0);
  1292. CreateDynamicObject(18826, -24.76000000, 2412.17000000, 49.32000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
  1293. CreateDynamicObject(18984, 35.36000000, 2413.20000000, 65.24000000, 0.00000000, 0.00000000, 271.30000000, 1, -1, -1, 250.0);
  1294. CreateDynamicObject(18826, 180.18000000, 2358.27000000, 98.62000000, 90.00000000, 0.00000000, 105.93000000, 1, -1, -1, 250.0);
  1295. CreateDynamicObject(18833, 109.71000000, 2412.62000000, 65.66000000, 91.00000000, 0.00000000, 254.96000000, 1, -1, -1, 250.0);
  1296. CreateDynamicObject(18833, 150.47000000, 2386.20000000, 66.51000000, 91.00000000, 0.00000000, 219.20000000, 1, -1, -1, 250.0);
  1297. CreateDynamicObject(18826, 191.31000000, 2382.94000000, 82.73000000, 0.00000000, 0.00000000, 277.46000000, 1, -1, -1, 250.0);
  1298. CreateDynamicObject(18826, 180.26000000, 2358.67000000, 66.90000000, 90.00000000, 0.00000000, 105.93000000, 1, -1, -1, 250.0);
  1299. CreateDynamicObject(18984, 146.99000000, 2411.25000000, 98.68000000, 0.00000000, 0.00000000, 197.73000000, 1, -1, -1, 250.0);
  1300. CreateDynamicObject(18779, 123.78000000, 2464.16000000, 103.12000000, 0.00000000, 0.00000000, 287.54000000, 1, -1, -1, 250.0);
  1301. CreateDynamicObject(18984, 205.22000000, 2470.30000000, 97.54000000, 0.00000000, 0.00000000, 74.63000000, 1, -1, -1, 250.0);
  1302. CreateDynamicObject(18826, 151.63000000, 2501.81000000, 97.53000000, 90.00000000, 0.00000000, 343.07000000, 1, -1, -1, 250.0);
  1303. CreateDynamicObject(18826, 176.64000000, 2511.75000000, 113.42000000, 0.00000000, 0.00000000, 169.25000000, 1, -1, -1, 250.0);
  1304. CreateDynamicObject(18984, 118.98000000, 2526.76000000, 129.24000000, 0.00000000, 0.00000000, 74.63000000, 1, -1, -1, 250.0);
  1305. CreateDynamicObject(18779, 68.69000000, 2534.73000000, 132.16000000, 0.00000000, 0.00000000, 346.53000000, 1, -1, -1, 250.0);
  1306. CreateDynamicObject(18779, 45.88000000, 2607.65000000, 38.61000000, 0.00000000, 0.00000000, 313.07000000, 1, -1, -1, 250.0);
  1307. CreateDynamicObject(18779, 44.57000000, 2609.14000000, 40.69000000, 0.00000000, 18.00000000, 313.10000000, 1, -1, -1, 250.0);
  1308. CreateDynamicObject(18779, 39.97000000, 2613.80000000, 53.45000000, 0.00000000, 47.00000000, 313.20000000, 1, -1, -1, 250.0);
  1309. CreateDynamicObject(18779, 39.98000000, 2613.40000000, 66.12000000, 0.00000000, 76.00000000, 313.00000000, 1, -1, -1, 250.0);
  1310. CreateDynamicObject(18779, 10.72000000, 2574.82000000, 38.61000000, 0.00000000, 0.00000000, 313.07000000, 1, -1, -1, 250.0);
  1311. CreateDynamicObject(18779, 8.16000000, 2577.39000000, 40.69000000, 0.00000000, 18.00000000, 313.10000000, 1, -1, -1, 250.0);
  1312. CreateDynamicObject(18779, 3.62000000, 2582.26000000, 53.45000000, 0.00000000, 47.00000000, 313.20000000, 1, -1, -1, 250.0);
  1313. CreateDynamicObject(18779, 3.98000000, 2581.88000000, 66.12000000, 0.00000000, 76.00000000, 313.00000000, 1, -1, -1, 250.0);
  1314. CreateDynamicObject(18772, 150.02000000, 2739.53000000, 69.55000000, 18.00000000, 0.00000000, 1.20000000, 1, -1, -1, 250.0);
  1315. CreateDynamicObject(18778, 151.49000000, 2610.95000000, 30.30000000, 0.00000000, 0.00000000, 179.94000000, 1, -1, -1, 250.0);
  1316. CreateDynamicObject(18826, 143.51000000, 2543.67000000, 54.45000000, 91.00000000, 0.00000000, 264.84000000, 1, -1, -1, 250.0);
  1317. CreateDynamicObject(18984, 118.23000000, 2485.34000000, 54.15000000, 0.00000000, 0.00000000, 350.18000000, 1, -1, -1, 250.0);
  1318. CreateDynamicObject(18826, 92.76000000, 2427.03000000, 54.45000000, 91.00000000, 0.00000000, 84.53000000, 1, -1, -1, 250.0);
  1319. CreateDynamicObject(18778, 78.53000000, 2434.78000000, 51.16000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
  1320. CreateDynamicObject(18772, 144.71000000, 2962.89000000, 142.08000000, 18.00000000, 0.00000000, 1.49000000, 1, -1, -1, 250.0);
  1321. CreateDynamicObject(18785, 142.09000000, 3090.83000000, 180.46000000, 0.00000000, 0.00000000, 1.47000000, 1, -1, -1, 250.0);
  1322. CreateDynamicObject(18844, -108.63000000, 2347.36000000, 95.39000000, 0.00000000, 0.00000000, 359.68000000, 1, -1, -1, 250.0);
  1323. CreateDynamicObject(18779, -102.75000000, 2357.74000000, 36.85000000, 0.00000000, 0.00000000, 88.80000000, 1, -1, -1, 250.0);
  1324. CreateDynamicObject(18845, 123.37000000, 2294.38000000, 70.62000000, 0.00000000, 0.00000000, 81.44000000, 1, -1, -1, 250.0);
  1325. CreateDynamicObject(1660, 124.64000000, 2304.14000000, 28.46000000, 0.00000000, 0.00000000, 172.59000000, 1, -1, -1, 250.0);
  1326. CreateDynamicObject(18843, -196.05000000, 2537.76000000, 115.57000000, 4.00000000, -18.00000000, 4.00000000, 1, -1, -1, 250.0);
  1327. CreateDynamicObject(18833, -169.90000000, 2537.12000000, 48.46000000, 0.00000000, -40.00000000, 336.17000000, 1, -1, -1, 250.0);
  1328. CreateDynamicObject(18785, -190.79000000, 2539.07000000, 70.22000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
  1329. CreateDynamicObject(18785, -98.45000000, 2577.33000000, 30.63000000, 0.00000000, 0.00000000, 178.22000000, 1, -1, -1, 250.0);
  1330. CreateDynamicObject(18783, -97.88000000, 2597.27000000, 30.67000000, 0.00000000, 0.00000000, 358.51000000, 1, -1, -1, 250.0);
  1331. CreateDynamicObject(18783, -97.33000000, 2617.37000000, 30.67000000, 0.00000000, 0.00000000, 358.51000000, 1, -1, -1, 250.0);
  1332. CreateDynamicObject(18783, -96.96000000, 2632.06000000, 30.67000000, 0.00000000, 0.00000000, 358.51000000, 1, -1, -1, 250.0);
  1333. CreateDynamicObject(18855, -98.65000000, 2653.20000000, 69.52000000, 0.00000000, 0.00000000, 269.69000000, 1, -1, -1, 250.0);
  1334. CreateDynamicObject(18984, -101.92000000, 2572.01000000, 101.32000000, 0.00000000, 0.00000000, 356.46000000, 1, -1, -1, 250.0);
  1335. CreateDynamicObject(18826, -89.69000000, 2510.67000000, 101.35000000, 90.00000000, 0.00000000, 86.48000000, 1, -1, -1, 250.0);
  1336. CreateDynamicObject(18826, -56.64000000, 2529.53000000, 101.41000000, 90.00000000, 0.00000000, 265.80000000, 1, -1, -1, 250.0);
  1337. CreateDynamicObject(18984, -40.47000000, 2468.32000000, 101.40000000, 0.00000000, 0.00000000, 181.22000000, 1, -1, -1, 250.0);
  1338. CreateDynamicObject(18779, -33.38000000, 2414.36000000, 106.55000000, 0.00000000, 0.00000000, 89.22000000, 1, -1, -1, 250.0);
  1339. CreateDynamicObject(18862, -12.18000000, 2493.46000000, 33.94000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
  1340. SetVehicleVirtualWorld( AddStaticVehicle(541, 504.51950000, 2389.58940000, 29.55710000, 135.47740000, 255, 1), 1);
  1341. SetVehicleVirtualWorld( AddStaticVehicle(541, 509.41910000, 2385.74070000, 29.85770000, 133.15450000, 255, 1), 1);
  1342. SetVehicleVirtualWorld( AddStaticVehicle(541, 516.06790000, 2381.80030000, 29.91040000, 138.39820000, 255, 1), 1);
  1343. SetVehicleVirtualWorld( AddStaticVehicle(411, 524.44590000, 2376.74440000, 29.92470000, 140.74230000, 66, 66), 1);
  1344. SetVehicleVirtualWorld( AddStaticVehicle(411, 529.50010000, 2373.18360000, 30.00180000, 140.85660000, 211, 211), 1);
  1345. SetVehicleVirtualWorld( AddStaticVehicle(522, 533.52060000, 2369.87480000, 29.99930000, 142.64440000, 12, 2), 1);
  1346. SetVehicleVirtualWorld( AddStaticVehicle(522, 536.57930000, 2367.22270000, 30.17550000, 138.91680000, 12, 2), 1);
  1347. SetVehicleVirtualWorld( AddStaticVehicle(522, 535.21450000, 2358.06420000, 30.29150000, 59.61700000, 33, 54), 1);
  1348. SetVehicleVirtualWorld( AddStaticVehicle(522, 534.31980000, 2354.03390000, 30.47020000, 64.54100000, 57, 120), 1);
  1349. SetVehicleVirtualWorld( AddStaticVehicle(522, 532.69070000, 2350.37010000, 30.49340000, 65.40530000, -1, -1), 1);
  1350. SetVehicleVirtualWorld( AddStaticVehicle(560, 529.32230000, 2343.75880000, 30.36440000, 56.56760000, -1, -1), 1);
  1351. SetVehicleVirtualWorld( AddStaticVehicle(560, 527.07310000, 2340.14060000, 30.37190000, 56.89780000, -1, -1), 1);
  1352. SetVehicleVirtualWorld( AddStaticVehicle(560, 517.24200000, 2339.15040000, 30.34380000, 8.62920000, 5, 5), 1);
  1353. SetVehicleVirtualWorld( AddStaticVehicle(560, 511.43450000, 2344.28440000, 30.08040000, 4.61350000, 7, 8), 1);
  1354. //san fierro airport 1
  1355. SetVehicleVirtualWorld( AddStaticVehicle(411, -1347.65770000, -288.22900000, 13.87550000, 304.71730000, -1, -1), 1);
  1356. SetVehicleVirtualWorld( AddStaticVehicle(411, -1351.60490000, -282.71170000, 13.87550000, 306.18080000, -1, -1), 1);
  1357. SetVehicleVirtualWorld( AddStaticVehicle(402, -1354.15330000, -278.00610000, 13.98000000, 308.15200000, -1, -1), 1);
  1358. SetVehicleVirtualWorld( AddStaticVehicle(402, -1359.45190000, -273.38700000, 13.98010000, 309.53030000, 1, 1), 1);
  1359. SetVehicleVirtualWorld( AddStaticVehicle(411, -1362.99060000, -269.23900000, 13.87550000, 311.34360000, 1, 1), 1);
  1360. SetVehicleVirtualWorld( AddStaticVehicle(402, -1366.28090000, -265.27070000, 13.98020000, 309.74270000, -1, -1), 1);
  1361. SetVehicleVirtualWorld( AddStaticVehicle(541, -1369.73900000, -261.53540000, 13.77150000, 309.05260000, -1, 1), 1);
  1362. SetVehicleVirtualWorld( AddStaticVehicle(541, -1371.99160000, -257.43020000, 13.76890000, 303.08960000, 1, -1), 1);
  1363. SetVehicleVirtualWorld( AddStaticVehicle(522, -1334.98630000, -302.45100000, 13.72000000, 19.68510000, -1, -1), 1);
  1364. SetVehicleVirtualWorld( AddStaticVehicle(522, -1332.51370000, -300.90610000, 13.72520000, 17.01370000, -1, -1), 1);
  1365. SetVehicleVirtualWorld( AddStaticVehicle(522, -1330.21250000, -299.15050000, 13.71770000, 11.21840000, -1, -1), 1);
  1366. SetVehicleVirtualWorld( AddStaticVehicle(522, -1327.63590000, -297.71920000, 13.71720000, 11.04770000, -1, -1), 1);
  1367. SetVehicleVirtualWorld( AddStaticVehicle(522, -1325.35930000, -296.21340000, 13.71900000, 11.83040000, -1, -1), 1);
  1368. SetVehicleVirtualWorld( AddStaticVehicle(521, -1323.22800000, -294.95150000, 13.70910000, 16.77060000, -1, -1), 1);
  1369. SetVehicleVirtualWorld( AddStaticVehicle(560, -1318.97810000, -293.44380000, 13.84970000, 12.73110000, -1, -1), 1);
  1370. SetVehicleVirtualWorld( AddStaticVehicle(560, -1314.05680000, -292.04910000, 13.84840000, 7.31190000, -1, -1), 1);
  1371. CreateDynamicObject(18882, 2694.92529297, -2055.54980469, 498.18206787, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
  1372. CreateDynamicObject(18882, 2695.39208984, -2056.81298828, 498.18139648, 0.00000000, 0.00000000, 44.25000000, 1, -1, -1, 250.0);
  1373. CreateDynamicObject(18854, -1157.69726562, 304.41015625, 85.27660370, 49.41650391, 137.63122559, 214.87609863, 1, -1, -1, 250.0);
  1374. CreateDynamicObject(18847, -1112.97656250, 122.17578125, 31.41416168, 0.00000000, 0.00000000, 43.99475098, 1, -1, -1, 250.0);
  1375. CreateDynamicObject(18846, -1522.69824219, -300.96679688, 9.92865181, 0.00000000, 0.00000000, 343.99291992, 1, -1, -1, 250.0);
  1376. CreateDynamicObject(18846, -1522.69824219, -300.96679688, 9.92865181, 0.00000000, 0.00000000, 343.99291992, 1, -1, -1, 250.0);
  1377. CreateDynamicObject(18836, -1519.75585938, -245.70794678, 12.41532707, 348.18493652, 349.78125000, 191.88616943, 1, -1, -1, 250.0);
  1378. CreateDynamicObject(18836, -1519.75585938, -245.70794678, 12.41532707, 348.18493652, 349.78125000, 191.88616943, 1, -1, -1, 250.0);
  1379. CreateDynamicObject(18786, -1157.93359375, -392.73925781, 99.00852966, 0.00000000, 1.99951172, 9.99755859, 1, -1, -1, 250.0);
  1380. CreateDynamicObject(18786, -1295.81311035, -562.36334229, 15.64843750, 0.00000000, 3.98803711, 23.98413086, 1, -1, -1, 250.0);
  1381. CreateDynamicObject(18750, -1210.14843750, -99.39062500, 47.78957367, 90.00000000, 179.99450684, 133.99475098, 1, -1, -1, 250.0);
  1382. CreateDynamicObject(18860, -1374.68945312, -306.86035156, 75.58260345, 0.00000000, 0.00000000, 305.99121094, 1, -1, -1, 250.0);
  1383. CreateDynamicObject(18860, -1374.68945312, -306.86035156, 75.58260345, 0.00000000, 0.00000000, 305.99121094, 1, -1, -1, 250.0);
  1384. CreateDynamicObject(18859, -1467.40136719, 65.52734375, 22.79420471, 0.00000000, 0.00000000, 45.99975586, 1, -1, -1, 250.0);
  1385. CreateDynamicObject(18859, -1498.22460938, 33.80371094, 23.10605621, 0.00000000, 0.00000000, 45.99975586, 1, -1, -1, 250.0);
  1386. CreateDynamicObject(18859, -1530.59545898, 0.57065344, 23.25201416, 0.00000000, 0.00000000, 45.99975586, 1, -1, -1, 250.0);
  1387. CreateDynamicObject(18752, -1598.03247070, -234.45643616, -10.97603607, 0.00000000, 0.00000000, 131.99401855, 1, -1, -1, 250.0);
  1388. CreateDynamicObject(18752, -1598.03247070, -234.45643616, -10.97603607, 0.00000000, 0.00000000, 131.99401855, 1, -1, -1, 250.0);
  1389. CreateDynamicObject(18852, -1094.68457031, -275.37207031, 32.57359314, 0.00000000, 67.99987793, 11.98059082, 1, -1, -1, 250.0);
  1390. CreateDynamicObject(18851, -1366.33068848, -403.62994385, 10.62823486, 0.00000000, 0.00000000, 345.99792480, 1, -1, -1, 250.0);
  1391. CreateDynamicObject(18851, -1366.33068848, -403.62994385, 10.62823486, 0.00000000, 0.00000000, 345.99792480, 1, -1, -1, 250.0);
  1392. CreateDynamicObject(18835, -1338.08105469, -204.48632812, 45.61994171, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
  1393. CreateDynamicObject(18830, -1370.29882812, -243.60644531, 15.72062302, 0.00000000, 137.99377441, 205.99365234, 1, -1, -1, 250.0);
  1394. CreateDynamicObject(18825, -1321.82617188, -476.90722656, 31.97656250, 0.00000000, 351.99096680, 31.98669434, 1, -1, -1, 250.0);
  1395. CreateDynamicObject(18750, -1629.55859375, -80.17150116, 30.51136589, 90.00000000, 179.99450684, 225.99475098, 1, -1, -1, 250.0);
  1396. CreateDynamicObject(18790, -1171.48144531, -151.45703125, 13.14843750, 3.94958496, 327.91442871, 45.81298828, 1, -1, -1, 250.0);
  1397. CreateDynamicObject(18789, -1213.50292969, -194.43652344, 47.66661835, 0.00000000, 0.00000000, 43.98925781, 1, -1, -1, 250.0);
  1398. CreateDynamicObject(18784, -1411.46093750, -103.99511719, 15.64396572, 0.00000000, 353.99597168, 249.99389648, 1, -1, -1, 250.0);
  1399. CreateDynamicObject(18781, -1390.75109863, -111.94002533, 21.70432472, 0.00000000, 0.00000000, 153.99487305, 1, -1, -1, 250.0);
  1400. CreateDynamicObject(18858, -1397.28808594, -127.92500305, 36.15469742, 0.00000000, 0.00000000, 333.99975586, 1, -1, -1, 250.0);
  1401. CreateDynamicObject(18780, -1247.38635254, -183.47413635, 24.14843750, 0.00000000, 0.00000000, 137.99377441, 1, -1, -1, 250.0);
  1402. CreateDynamicObject(18779, -1225.06774902, -31.51200104, 22.84501266, 0.00000000, 0.00000000, 133.98925781, 1, -1, -1, 250.0);
  1403. CreateDynamicObject(18779, -1290.89062500, -249.86425781, 17.11386108, 0.00000000, 0.00000000, 109.98416138, 1, -1, -1, 250.0);
  1404. CreateDynamicObject(18779, -1355.82519531, -242.24316406, 23.14062500, 0.00000000, 0.00000000, 45.98327637, 1, -1, -1, 250.0);
  1405. CreateDynamicObject(18779, -1222.12597656, -310.88183594, 17.59983444, 0.00000000, 0.00000000, 19.98413086, 1, -1, -1, 250.0);
  1406. CreateDynamicObject(18777, -1362.69653320, -495.25265503, 39.04573822, 0.00000000, 0.00000000, 117.99169922, 1, -1, -1, 250.0);
  1407. CreateDynamicObject(18846, -1506.11108398, -297.81857300, 9.80125999, 0.00000000, 0.00000000, 327.99291992, 1, -1, -1, 250.0);
  1408. CreateDynamicObject(18846, -1506.11108398, -297.81857300, 9.80125999, 0.00000000, 0.00000000, 327.99291992, 1, -1, -1, 250.0);
  1409. CreateDynamicObject(18846, -1413.95642090, -389.58523560, 9.86258125, 0.00000000, 0.00000000, 285.99060059, 1, -1, -1, 250.0);
  1410. CreateDynamicObject(18846, -1413.95642090, -389.58523560, 9.86258125, 0.00000000, 0.00000000, 285.99060059, 1, -1, -1, 250.0);
  1411. CreateDynamicObject(18846, -1415.43603516, -409.26766968, 9.92187500, 0.00000000, 0.00000000, 291.99060059, 1, -1, -1, 250.0);
  1412. CreateDynamicObject(18846, -1415.43603516, -409.26766968, 9.92187500, 0.00000000, 0.00000000, 291.99060059, 1, -1, -1, 250.0);
  1413. CreateDynamicObject(18846, -1301.89428711, -283.79577637, 29.35937500, 0.00000000, 0.00000000, 219.98913574, 1, -1, -1, 250.0);
  1414. CreateDynamicObject(18846, -1301.89428711, -283.79577637, 29.35937500, 0.00000000, 0.00000000, 219.98913574, 1, -1, -1, 250.0);
  1415. CreateDynamicObject(18846, -1370.17968750, -228.46548462, 18.06584167, 0.00000000, 0.00000000, 135.97924805, 1, -1, -1, 250.0);
  1416. CreateDynamicObject(18846, -1370.17968750, -228.46548462, 18.06584167, 0.00000000, 0.00000000, 135.97924805, 1, -1, -1, 250.0);
  1417. CreateDynamicObject(18779, -1281.50769043, -186.51466370, 23.14062500, 0.00000000, 0.00000000, 133.98962402, 1, -1, -1, 250.0);
  1418. CreateDynamicObject(18779, -1214.33715820, -115.90894318, 23.13615417, 0.00000000, 0.00000000, 133.98925781, 1, -1, -1, 250.0);
  1419. CreateDynamicObject(18779, -1454.43457031, -189.17382812, 23.14062500, 0.00000000, 0.00000000, 73.98925781, 1, -1, -1, 250.0);
  1420. CreateDynamicObject(18779, -1587.68652344, -51.00488281, 22.94360352, 0.00000000, 0.00000000, 287.97912598, 1, -1, -1, 250.0);
  1421. CreateDynamicObject(18883, -944.31542969, 281.38574219, 59.75061798, 0.00000000, 0.00000000, 45.99426270, 1, -1, -1, 250.0);
  1422. CreateDynamicObject(19001, -1269.69104004, -111.97781372, 22.73705864, 0.00000000, 0.00000000, 314.00000000, 1, -1, -1, 250.0);
  1423. CreateDynamicObject(19005, -1360.36889648, 146.83792114, 15.63509560, 0.00000000, 0.00000000, 315.98876953, 1, -1, -1, 250.0);
  1424. CreateDynamicObject(18854, -1157.69726562, 304.41015625, 85.27660370, 49.41650391, 137.63122559, 214.87609863, 1, -1, -1, 250.0);
  1425. CreateDynamicObject(19280, -1318.12500000, 178.71875000, 13.14843750, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
  1426. CreateDynamicObject(19280, -1377.88671875, -253.80468750, 13.14843750, 0.00000000, 0.00000000, 7.99804688, 1, -1, -1, 250.0);
  1427. CreateDynamicObject(19005, -1268.34375000, 206.91809082, 16.12090302, 0.00000000, 0.00000000, 135.99426270, 1, -1, -1, 250.0);
  1428. CreateDynamicObject(18851, -1043.94335938, 377.42773438, 19.51086807, 0.00000000, 0.00000000, 135.99426270, 1, -1, -1, 250.0);
  1429. CreateDynamicObject(18985, -830.52539062, 169.08789062, 18.56834030, 359.00024414, 3.99902344, 44.05517578, 1, -1, -1, 250.0);
  1430. CreateDynamicObject(18985, -830.52539062, 169.08789062, 18.56834030, 359.00024414, 3.99902344, 44.05517578, 1, -1, -1, 250.0);
  1431. CreateDynamicObject(18984, -843.75415039, 382.91717529, 17.81826973, 0.00000000, 0.00000000, 314.00000000, 1, -1, -1, 250.0);
  1432. CreateDynamicObject(18982, -780.07257080, 444.44674683, 17.63769150, 0.00000000, 0.00000000, 313.98925781, 1, -1, -1, 250.0);
  1433. CreateDynamicObject(18982, -732.25494385, 490.58273315, 17.52691269, 0.00000000, 0.00000000, 313.98925781, 1, -1, -1, 250.0);
  1434. CreateDynamicObject(18982, -682.52142334, 538.54705811, 17.44925880, 0.00000000, 0.00000000, 313.98925781, 1, -1, -1, 250.0);
  1435. CreateDynamicObject(18982, -633.81738281, 585.42089844, 17.28548813, 0.00000000, 0.00000000, 313.98925781, 1, -1, -1, 250.0);
  1436. CreateDynamicObject(18772, -1153.20898438, -438.09375000, 93.89518738, 0.00000000, 0.00000000, 285.99609375, 1, -1, -1, 250.0);
  1437. CreateDynamicObject(1634, -1030.47680664, -400.20639038, 93.14501953, 11.00000000, 0.00000000, 286.00000000, 1, -1, -1, 250.0);
  1438. CreateDynamicObject(1634, -1029.45642090, -404.16390991, 93.14501953, 10.99731445, 0.00000000, 285.99609375, 1, -1, -1, 250.0);
  1439. CreateDynamicObject(1634, -1027.29248047, -399.17706299, 97.18093872, 30.99987793, 0.00000000, 285.99609375, 1, -1, -1, 250.0);
  1440. CreateDynamicObject(1634, -1025.06530762, -402.53826904, 103.12242126, 69.99938965, 0.00000000, 285.99609375, 1, -1, -1, 250.0);
  1441. CreateDynamicObject(1634, -1026.23754883, -402.86450195, 97.15281677, 30.99792480, 0.00000000, 285.99609375, 1, -1, -1, 250.0);
  1442. CreateDynamicObject(1634, -1025.98132324, -398.82861328, 103.16699982, 69.99938965, 0.00000000, 285.99609375, 1, -1, -1, 250.0);
  1443. CreateDynamicObject(18449, -1069.08203125, -372.80664062, 58.26478577, 0.00000000, 0.00000000, 11.99157715, 1, -1, -1, 250.0);
  1444. CreateDynamicObject(5152, -1116.05761719, -318.62597656, 12.07802391, 0.00000000, 0.00000000, 187.99804688, 1, -1, -1, 250.0);
  1445. CreateDynamicObject(5152, -1115.77148438, -320.38476562, 12.07802773, 0.00000000, 0.00000000, 187.99255371, 1, -1, -1, 250.0);
  1446. CreateDynamicObject(5152, -1115.41552734, -322.34240723, 12.07802582, 0.00000000, 0.00000000, 187.99255371, 1, -1, -1, 250.0);
  1447. CreateDynamicObject(5152, -1111.79199219, -321.95312500, 10.44444752, 0.00000000, 0.00000000, 187.99255371, 1, -1, -1, 250.0);
  1448. CreateDynamicObject(5152, -1112.40136719, -319.86718750, 10.62080956, 0.00000000, 0.00000000, 187.99255371, 1, -1, -1, 250.0);
  1449. CreateDynamicObject(5152, -1112.59082031, -317.98632812, 10.59474659, 0.00000000, 0.00000000, 187.99255371, 1, -1, -1, 250.0);
  1450. CreateDynamicObject(18779, -1366.36767578, -253.39495850, 44.06782532, 0.00000000, 43.99475098, 45.97778320, 1, -1, -1, 250.0);
  1451. CreateDynamicObject(18779, -1358.93249512, -245.43994141, 77.08634186, 0.00000000, 105.99853516, 45.97778320, 1, -1, -1, 250.0);
  1452. CreateDynamicObject(18846, -1343.76245117, -248.08828735, 18.07031250, 0.00000000, 0.00000000, 135.97778320, 1, -1, -1, 250.0);
  1453. CreateDynamicObject(18846, -1343.76245117, -248.08828735, 18.07031250, 0.00000000, 0.00000000, 135.97778320, 1, -1, -1, 250.0);
  1454. CreateDynamicObject(18808, -1029.19531250, -262.91015625, 60.26262665, 0.00000000, 245.99487305, 7.99804688, 1, -1, -1, 250.0);
  1455. CreateDynamicObject(18811, -1527.92480469, -397.81445312, 59.45127869, 0.00000000, 115.99914551, 71.99890137, 1, -1, -1, 250.0);
  1456. CreateDynamicObject(18778, -1256.57128906, 33.63378906, 14.86718750, 13.99108887, 0.00000000, 313.98376465, 1, -1, -1, 250.0);
  1457. CreateDynamicObject(18778, -1255.12426758, 35.55209351, 18.65319061, 49.94952393, 356.89086914, 316.36462402, 1, -1, -1, 250.0);
  1458. CreateDynamicObject(18779, -1465.15307617, -186.12583923, 23.14062500, 0.00000000, 0.00000000, 73.98742676, 1, -1, -1, 250.0);
  1459. CreateDynamicObject(18449, -1483.72351074, -274.41534424, 45.84572601, 0.00000000, 0.00000000, 73.99707031, 1, -1, -1, 250.0);
  1460. CreateDynamicObject(18449, -1497.91540527, -269.55847168, 45.84572601, 0.00000000, 0.00000000, 73.99291992, 1, -1, -1, 250.0);
  1461. CreateDynamicObject(18449, -1511.74511719, -345.28613281, 45.75353622, 0.00000000, 0.00000000, 73.98742676, 1, -1, -1, 250.0);
  1462. CreateDynamicObject(18822, -1535.86425781, -435.58593750, 84.53608704, 317.62023926, 199.11071777, 209.14672852, 1, -1, -1, 250.0);
  1463. CreateDynamicObject(18822, -1535.86425781, -435.58593750, 84.53608704, 317.62023926, 199.11071777, 209.14672852, 1, -1, -1, 250.0);
  1464. CreateDynamicObject(18824, -1525.07519531, -471.20410156, 111.32769775, 0.00000000, 77.99743652, 291.99462891, 1, -1, -1, 250.0);
  1465. CreateDynamicObject(1634, -1514.41406250, -492.97656250, 107.67788696, 0.00000000, 0.00000000, 201.99462891, 1, -1, -1, 250.0);
  1466. CreateDynamicObject(1634, -1518.09277344, -494.49121094, 107.67788696, 0.00000000, 0.00000000, 201.98913574, 1, -1, -1, 250.0);
  1467. CreateDynamicObject(18858, -1238.27404785, -311.10147095, 30.05397797, 0.00000000, 0.00000000, 295.99975586, 1, -1, -1, 250.0);
  1468. CreateDynamicObject(18800, -1090.66503906, -404.32812500, 22.78746796, 0.00000000, 1.99707031, 357.98950195, 1, -1, -1, 250.0);
  1469. CreateDynamicObject(18800, -1132.52502441, -403.08569336, 51.53746796, 0.00000000, 347.99597168, 177.99353027, 1, -1, -1, 250.0);
  1470. CreateDynamicObject(18853, -1429.69860840, 144.19978333, 32.22656631, 0.00000000, 297.99993896, 289.99453735, 1, -1, -1, 250.0);
  1471. CreateDynamicObject(18779, -1019.04687500, -355.87695312, 67.80233765, 0.00000000, 0.00000000, 191.98059082, 1, -1, -1, 250.0);
  1472. CreateDynamicObject(18779, -1004.59490967, -352.83352661, 87.30233765, 0.00000000, 42.00000000, 191.98059082, 1, -1, -1, 250.0);
  1473. CreateDynamicObject(18779, -1004.59472656, -352.83300781, 105.80233765, 0.00000000, 77.99526978, 191.97509766, 1, -1, -1, 250.0);
  1474. CreateDynamicObject(18779, -1233.10351562, -488.84277344, 58.03685760, 0.00000000, 353.99047852, 107.97363281, 1, -1, -1, 250.0);
  1475. CreateDynamicObject(18449, -1051.66796875, -369.92459106, 96.16477966, 0.00000000, 0.00000000, 191.99707031, 1, -1, -1, 250.0);
  1476. CreateDynamicObject(18449, -1051.66796875, -369.92459106, 96.16477966, 0.00000000, 0.00000000, 191.99707031, 1, -1, -1, 250.0);
  1477. CreateDynamicObject(18449, -1126.26892090, -385.81326294, 96.16477966, 0.00000000, 0.00000000, 191.99707031, 1, -1, -1, 250.0);
  1478. CreateDynamicObject(18449, -1126.26892090, -385.81326294, 96.16477966, 0.00000000, 0.00000000, 191.99707031, 1, -1, -1, 250.0);
  1479. CreateDynamicObject(18786, -1167.29638672, -394.43090820, 104.00852966, 0.00000000, 21.99951172, 9.99755859, 1, -1, -1, 250.0);
  1480. CreateDynamicObject(18801, -1615.03906250, -122.44921875, 35.50605774, 2.03796387, 0.00000000, 238.03527832, 1, -1, -1, 250.0);
  1481. CreateDynamicObject(18772, -910.60302734, -257.91079712, 139.67608643, 323.79248047, 347.57214355, 91.43652344, 1, -1, -1, 250.0);
  1482. CreateDynamicObject(18779, -1226.53222656, -300.64550781, 17.59983635, 0.00000000, 0.00000000, 19.97314453, 1, -1, -1, 250.0);
  1483. CreateDynamicObject(18858, -1242.80273438, -300.33593750, 30.48917580, 0.00000000, 0.00000000, 293.99414062, 1, -1, -1, 250.0);
  1484. CreateDynamicObject(18843, -1472.63671875, 256.49902344, 110.57738495, 0.00000000, 283.99658203, 293.99414062, 1, -1, -1, 250.0);
  1485. CreateDynamicObject(18836, -1447.05139160, 194.23545837, 79.20486450, 47.12796021, 5.88479614, 16.95925903, 1, -1, -1, 250.0);
  1486. CreateDynamicObject(18822, -1164.55664062, -669.02343750, 79.31476593, 77.21740723, 38.97949219, 7.71240234, 1, -1, -1, 250.0);
  1487. CreateDynamicObject(18779, -1297.21777344, -351.67749023, 17.59983444, 0.00000000, 0.00000000, 283.98413086, 1, -1, -1, 250.0);
  1488. CreateDynamicObject(18779, -1286.59765625, -348.87158203, 17.59983444, 0.00000000, 4.00000000, 283.97460938, 1, -1, -1, 250.0);
  1489. CreateDynamicObject(18779, -1289.35192871, -337.32739258, 34.84983444, 0.00000000, 45.99478149, 283.97460938, 1, -1, -1, 250.0);
  1490. CreateDynamicObject(18779, -1300.42712402, -338.86871338, 34.84983444, 0.00000000, 45.98925781, 283.96911621, 1, -1, -1, 250.0);
  1491. CreateDynamicObject(18779, -1289.84814453, -337.76397705, 51.84983444, 0.00000000, 90.00000000, 283.96899414, 1, -1, -1, 250.0);
  1492. CreateDynamicObject(18779, -1300.20581055, -339.33111572, 51.84983444, 0.00000000, 88.00000000, 283.97463989, 1, -1, -1, 250.0);
  1493. CreateDynamicObject(18789, -1262.93103027, -420.16659546, 50.44444656, 0.00000000, 0.00000000, 107.99011230, 1, -1, -1, 250.0);
  1494. CreateDynamicObject(18789, -1204.34655762, -585.76275635, 69.64444733, 0.00000000, 0.00000000, 109.99011230, 1, -1, -1, 250.0);
  1495. CreateDynamicObject(18822, -1122.89843750, -680.49224854, 84.81476593, 81.06036377, 63.59106445, 36.67962646, 1, -1, -1, 250.0);
  1496. CreateDynamicObject(18822, -1122.89843750, -680.49224854, 84.81476593, 81.06036377, 63.59106445, 36.67962646, 1, -1, -1, 250.0);
  1497. CreateDynamicObject(18825, -1101.46704102, -656.30145264, 88.20033264, 81.05712891, 63.58886719, 150.67785645, 1, -1, -1, 250.0);
  1498. CreateDynamicObject(18825, -1101.46704102, -656.30145264, 88.20033264, 81.05712891, 63.58886719, 150.67785645, 1, -1, -1, 250.0);
  1499. CreateDynamicObject(18832, -1119.94238281, -614.31701660, 86.29750824, 79.23855591, 291.60943604, 94.02673340, 1, -1, -1, 250.0);
  1500. CreateDynamicObject(18832, -1119.94238281, -614.31701660, 86.29750824, 79.23855591, 291.60943604, 94.02673340, 1, -1, -1, 250.0);
  1501. CreateDynamicObject(18786, -1185.95678711, -494.89572144, 15.81397629, 0.00000000, 1.99951172, 137.97094727, 1, -1, -1, 250.0);
  1502. CreateDynamicObject(18786, -1176.46948242, -503.22460938, 22.81397629, 0.00000000, 25.99951172, 137.96630859, 1, -1, -1, 250.0);
  1503. CreateDynamicObject(18786, -1169.80920410, -509.03866577, 32.81397629, 0.00000000, 43.99914551, 137.96081543, 1, -1, -1, 250.0);
  1504. CreateDynamicObject(18786, -1167.35205078, -510.83215332, 42.31397629, 0.00000000, 69.99475098, 137.96081543, 1, -1, -1, 250.0);
  1505. CreateDynamicObject(18786, -1168.19140625, -509.90597534, 56.56397629, 0.00000000, 91.99996948, 137.96081543, 1, -1, -1, 250.0);
  1506. CreateDynamicObject(18786, -1171.25659180, -507.74554443, 62.56397629, 0.00000000, 111.99951172, 137.96084595, 1, -1, -1, 250.0);
  1507. CreateDynamicObject(18750, -1638.22912598, -773.21728516, 89.88240814, 87.17102051, 314.97253418, 206.98059082, 1, -1, -1, 250.0);
  1508. CreateDynamicObject(18786, -1305.83544922, -566.89178467, 21.79863167, 0.00000000, 27.99462891, 23.98413086, 1, -1, -1, 250.0);
  1509. CreateDynamicObject(18784, -1415.17675781, -114.08300781, 21.64396667, 1.69189453, 327.97485352, 251.05957031, 1, -1, -1, 250.0);
  1510. CreateDynamicObject(18842, -1446.81860352, -558.51989746, 86.44288635, 0.00000000, 270.00000000, 31.98669434, 1, -1, -1, 250.0);
  1511. CreateDynamicObject(18825, -1308.58190918, -469.58474731, 66.70321655, 1.96957397, 169.99414062, 30.33419800, 1, -1, -1, 250.0);
  1512. CreateDynamicObject(18786, -1380.25573730, -598.71276855, 15.64843750, 0.00000000, 3.98803711, 201.98913574, 1, -1, -1, 250.0);
  1513. CreateDynamicObject(18851, -1339.99731445, -488.55654907, 82.29850006, 0.00000000, 0.00000000, 209.99792480, 1, -1, -1, 250.0);
  1514. CreateDynamicObject(18851, -1339.99731445, -488.55654907, 82.29850006, 0.00000000, 0.00000000, 209.99792480, 1, -1, -1, 250.0);
  1515. CreateDynamicObject(18851, -1415.09863281, -537.97729492, 88.47952271, 0.00000000, 0.00000000, 213.99267578, 1, -1, -1, 250.0);
  1516. CreateDynamicObject(18851, -1415.09863281, -537.97729492, 88.47952271, 0.00000000, 0.00000000, 213.99267578, 1, -1, -1, 250.0);
  1517. CreateDynamicObject(18819, -1374.90100098, -510.83203125, 83.54574585, 278.24584961, 165.88018799, 110.00704956, 1, -1, -1, 250.0);
  1518. CreateDynamicObject(18819, -1374.90100098, -510.83203125, 83.54574585, 278.24584961, 165.88018799, 110.00704956, 1, -1, -1, 250.0);
  1519. CreateDynamicObject(18829, -1401.49218750, -469.97177124, 85.23211670, 0.00000000, 267.99499512, 121.98672485, 1, -1, -1, 250.0);
  1520. CreateDynamicObject(18829, -1401.49218750, -469.97177124, 85.23211670, 0.00000000, 267.99499512, 121.98672485, 1, -1, -1, 250.0);
  1521. CreateDynamicObject(18829, -1427.46679688, -428.44177246, 86.98211670, 0.00000000, 267.99499512, 121.98672485, 1, -1, -1, 250.0);
  1522. CreateDynamicObject(18829, -1427.46679688, -428.44177246, 86.98211670, 0.00000000, 267.99499512, 121.98672485, 1, -1, -1, 250.0);
  1523. CreateDynamicObject(18829, -1453.38134766, -386.83666992, 88.73211670, 0.00000000, 267.99499512, 121.98672485, 1, -1, -1, 250.0);
  1524. CreateDynamicObject(18829, -1453.38134766, -386.83666992, 88.73211670, 0.00000000, 267.99499512, 121.98672485, 1, -1, -1, 250.0);
  1525. CreateDynamicObject(18829, -1476.60681152, -349.78652954, 90.23211670, 0.00000000, 267.99499512, 121.98669434, 1, -1, -1, 250.0);
  1526. CreateDynamicObject(18829, -1476.60681152, -349.78652954, 90.23211670, 0.00000000, 267.99499512, 121.98669434, 1, -1, -1, 250.0);
  1527. CreateDynamicObject(18842, -1483.29394531, -581.02832031, 86.44288635, 0.00000000, 270.00000000, 31.98669434, 1, -1, -1, 250.0);
  1528. CreateDynamicObject(18842, -1522.52905273, -605.65319824, 86.44288635, 0.00000000, 270.00000000, 31.98669434, 1, -1, -1, 250.0);
  1529. CreateDynamicObject(18842, -1547.34765625, -621.15142822, 86.44288635, 0.00000000, 270.00000000, 31.98669434, 1, -1, -1, 250.0);
  1530. CreateDynamicObject(18842, -1588.43432617, -646.90954590, 86.44288635, 0.00000000, 270.00000000, 31.98669434, 1, -1, -1, 250.0);
  1531. CreateDynamicObject(18842, -1630.01721191, -672.67889404, 86.44288635, 0.00000000, 270.00000000, 31.98669434, 1, -1, -1, 250.0);
  1532. CreateDynamicObject(18842, -1670.83642578, -698.36029053, 86.44288635, 0.00000000, 270.00000000, 31.98669434, 1, -1, -1, 250.0);
  1533. CreateDynamicObject(18841, -1700.77221680, -717.30474854, 100.77101135, 0.00241089, 351.99993896, 31.98455811, 1, -1, -1, 250.0);
  1534. CreateDynamicObject(18841, -1700.77221680, -717.30474854, 100.77101135, 0.00241089, 351.99993896, 31.98455811, 1, -1, -1, 250.0);
  1535. CreateDynamicObject(18842, -1672.80200195, -700.24896240, 117.94288635, 0.00000000, 270.00000000, 31.98669434, 1, -1, -1, 250.0);
  1536. CreateDynamicObject(18842, -1672.80200195, -700.24896240, 117.94288635, 0.00000000, 270.00000000, 31.98669434, 1, -1, -1, 250.0);
  1537. CreateDynamicObject(18842, -1631.56701660, -674.38684082, 117.94288635, 0.00000000, 270.00000000, 31.98669434, 1, -1, -1, 250.0);
  1538. CreateDynamicObject(18842, -1631.56701660, -674.38684082, 117.94288635, 0.00000000, 270.00000000, 31.98669434, 1, -1, -1, 250.0);
  1539. CreateDynamicObject(18842, -1590.42553711, -648.77368164, 117.94288635, 0.00000000, 270.00000000, 31.98669434, 1, -1, -1, 250.0);
  1540. CreateDynamicObject(18842, -1590.42553711, -648.77368164, 117.94288635, 0.00000000, 270.00000000, 31.98669434, 1, -1, -1, 250.0);
  1541. CreateDynamicObject(18855, -1272.13085938, -620.49121094, 79.45681000, 87.17102051, 314.97253418, 166.97021484, 1, -1, -1, 250.0);
  1542. CreateDynamicObject(18855, -1272.13085938, -620.49121094, 79.45681000, 87.17102051, 314.97253418, 166.97021484, 1, -1, -1, 250.0);
  1543. CreateDynamicObject(18841, -1280.25524902, -576.65106201, 81.83418274, 87.17102051, 314.97802734, 344.97070312, 1, -1, -1, 250.0);
  1544. CreateDynamicObject(18841, -1280.25524902, -576.65106201, 81.83418274, 87.17102051, 314.97802734, 344.97070312, 1, -1, -1, 250.0);
  1545. CreateDynamicObject(18846, -1300.49011230, -350.10644531, 18.07031250, 0.00000000, 0.00000000, 27.98547363, 1, -1, -1, 250.0);
  1546. CreateDynamicObject(18846, -1300.49011230, -350.10644531, 18.07031250, 0.00000000, 0.00000000, 27.98547363, 1, -1, -1, 250.0);
  1547. CreateDynamicObject(18846, -1272.20910645, -345.16412354, 18.07031250, 0.00000000, 0.00000000, 5.98217773, 1, -1, -1, 250.0);
  1548. CreateDynamicObject(18846, -1272.20910645, -345.16412354, 18.07031250, 0.00000000, 0.00000000, 5.98217773, 1, -1, -1, 250.0);
  1549. CreateDynamicObject(18846, -1194.76721191, -122.97599792, 30.69172287, 0.00000000, 0.00000000, 309.98120117, 1, -1, -1, 250.0);
  1550. CreateDynamicObject(18846, -1194.76721191, -122.97599792, 30.69172287, 0.00000000, 0.00000000, 309.98120117, 1, -1, -1, 250.0);
  1551. CreateDynamicObject(18846, -1339.94824219, -428.24954224, 17.90200615, 0.00000000, 0.00000000, 95.97570801, 1, -1, -1, 250.0);
  1552. CreateDynamicObject(18846, -1339.94824219, -428.24954224, 17.90200615, 0.00000000, 0.00000000, 95.97570801, 1, -1, -1, 250.0);
  1553. CreateDynamicObject(18780, -1343.17871094, -99.57812500, 24.89843750, 0.00000000, 0.00000000, 315.98876953, 1, -1, -1, 250.0);
  1554. CreateDynamicObject(18780, -1336.24658203, -92.85594177, 24.89843750, 0.00000000, 0.00000000, 315.98876953, 1, -1, -1, 250.0);
  1555. CreateDynamicObject(18780, -1241.25866699, -175.89036560, 24.14843750, 0.00000000, 0.00000000, 137.99377441, 1, -1, -1, 250.0);
  1556. CreateDynamicObject(19005, -1351.63732910, 138.43815613, 15.63509560, 0.00000000, 0.00000000, 315.98876953, 1, -1, -1, 250.0);
  1557. CreateDynamicObject(19005, -1343.16333008, 130.27175903, 15.63509560, 0.00000000, 0.00000000, 315.98876953, 1, -1, -1, 250.0);
  1558. CreateDynamicObject(19005, -1351.18884277, 156.26707458, 24.63509560, 18.00000000, 0.00000000, 315.98876953, 1, -1, -1, 250.0);
  1559. CreateDynamicObject(19005, -1342.28515625, 147.68041992, 24.63509560, 17.99560547, 0.00000000, 315.98876953, 1, -1, -1, 250.0);
  1560. CreateDynamicObject(19005, -1333.90710449, 139.68431091, 24.63509560, 17.99560547, 0.00000000, 315.98876953, 1, -1, -1, 250.0);
  1561. CreateDynamicObject(19005, -1328.33825684, 144.84477234, 33.13509369, 31.99560547, 0.00000000, 315.98876953, 1, -1, -1, 250.0);
  1562. CreateDynamicObject(19005, -1336.80786133, 153.18148804, 33.13509369, 31.99218750, 0.00000000, 315.98876953, 1, -1, -1, 250.0);
  1563. CreateDynamicObject(19005, -1345.71093750, 161.76684570, 33.13509369, 31.99218750, 0.00000000, 315.98876953, 1, -1, -1, 250.0);
  1564. CreateDynamicObject(18985, -1530.53027344, -611.21105957, 118.37825775, 359.00024414, 3.99902344, 122.05517578, 1, -1, -1, 250.0);
  1565. CreateDynamicObject(18985, -1530.53027344, -611.21105957, 118.37825775, 359.00024414, 3.99902344, 122.05517578, 1, -1, -1, 250.0);
  1566. CreateDynamicObject(18985, -1480.70837402, -580.09210205, 119.37825775, 358.99475098, 3.99353027, 122.05261230, 1, -1, -1, 250.0);
  1567. CreateDynamicObject(18985, -1480.70837402, -580.09210205, 119.37825775, 358.99475098, 3.99353027, 122.05261230, 1, -1, -1, 250.0);
  1568. CreateDynamicObject(18781, -1378.14160156, -170.60839844, 23.67826843, 0.00000000, 0.00000000, 65.98937988, 1, -1, -1, 250.0);
  1569. CreateDynamicObject(18789, -1491.00000000, -123.41601562, 40.19444656, 0.00000000, 0.00000000, 157.98889160, 1, -1, -1, 250.0);
  1570. CreateDynamicObject(18772, -1589.23852539, -82.49005127, 51.50519562, 356.00000000, 0.00000000, 247.99609375, 1, -1, -1, 250.0);
  1571. CreateDynamicObject(18772, -1024.28161621, -144.27127075, 58.13439941, 339.99047852, 0.00000000, 115.99438477, 1, -1, -1, 250.0);
  1572. CreateDynamicObject(18772, -1795.53247070, 0.96421748, 66.81519318, 355.99548340, 0.00000000, 247.99438477, 1, -1, -1, 250.0);
  1573. CreateDynamicObject(19005, -1921.55541992, 51.83615112, 75.68353271, 0.00000000, 0.00000000, 67.99426270, 1, -1, -1, 250.0);
  1574. CreateDynamicObject(19005, -1935.24230957, 57.47824860, 84.18353271, 14.00000000, 0.00000000, 67.98889160, 1, -1, -1, 250.0);
  1575. CreateDynamicObject(19005, -1945.58874512, 61.96181488, 96.43353271, 33.99658203, 0.00000000, 67.98889160, 1, -1, -1, 250.0);
  1576. CreateDynamicObject(19005, -1952.49829102, 64.87590027, 115.18353271, 53.99169922, 0.00000000, 67.98889160, 1, -1, -1, 250.0);
  1577. CreateDynamicObject(19005, -1953.47656250, 65.19904327, 134.43353271, 71.98681641, 0.00000000, 67.98889160, 1, -1, -1, 250.0);
  1578. CreateDynamicObject(19005, -1950.11865234, 63.95849228, 147.18353271, 84.01980591, 180.00000000, 247.98889160, 1, -1, -1, 250.0);
  1579. CreateDynamicObject(18649, -1397.60974121, 72.79566193, 13.17187500, 0.00000000, 0.00000000, 315.98876953, 1, -1, -1, 250.0);
  1580. CreateDynamicObject(19005, -1276.85437012, 215.08377075, 16.12090302, 0.00000000, 0.00000000, 135.99426270, 1, -1, -1, 250.0);
  1581. CreateDynamicObject(19005, -1285.75305176, 223.56320190, 16.12090302, 0.00000000, 0.00000000, 135.99426270, 1, -1, -1, 250.0);
  1582. CreateDynamicObject(19005, -1298.46850586, 210.42852783, 27.50148392, 15.99609375, 0.00000000, 135.99426270, 1, -1, -1, 250.0);
  1583. CreateDynamicObject(19005, -1289.86791992, 202.10229492, 27.50148392, 15.99060059, 0.00000000, 135.99426270, 1, -1, -1, 250.0);
  1584. CreateDynamicObject(19005, -1281.23803711, 193.72827148, 27.50148392, 15.99060059, 0.00000000, 135.99426270, 1, -1, -1, 250.0);
  1585. CreateDynamicObject(19005, -1288.78112793, 186.05474854, 38.50148392, 27.99316406, 0.00000000, 135.99426270, 1, -1, -1, 250.0);
  1586. CreateDynamicObject(19005, -1297.44226074, 194.46286011, 38.50148392, 27.99316406, 0.00000000, 135.99426270, 1, -1, -1, 250.0);
  1587. CreateDynamicObject(19005, -1306.07775879, 202.84268188, 38.50148392, 27.99316406, 0.00000000, 135.99426270, 1, -1, -1, 250.0);
  1588. CreateDynamicObject(18649, -1383.35656738, 87.08313751, 13.17187500, 0.00000000, 0.00000000, 315.98876953, 1, -1, -1, 250.0);
  1589. CreateDynamicObject(18649, -1400.26452637, 93.05411530, 13.17187500, 0.00000000, 0.00000000, 315.98876953, 1, -1, -1, 250.0);
  1590. CreateDynamicObject(18649, -1422.89685059, 70.36574554, 13.17187500, 0.00000000, 0.00000000, 315.98876953, 1, -1, -1, 250.0);
  1591. CreateDynamicObject(18649, -1445.47204590, 47.70878983, 13.17187500, 0.00000000, 0.00000000, 315.98876953, 1, -1, -1, 250.0);
  1592. CreateDynamicObject(18649, -1455.85949707, 15.12551117, 13.17187500, 0.00000000, 0.00000000, 315.98876953, 1, -1, -1, 250.0);
  1593. CreateDynamicObject(18649, -1496.89599609, -4.16026306, 13.17187500, 0.00000000, 0.00000000, 315.98876953, 1, -1, -1, 250.0);
  1594. CreateDynamicObject(18649, -1384.63391113, 130.23144531, 13.17187500, 0.00000000, 0.00000000, 315.98876953, 1, -1, -1, 250.0);
  1595. CreateDynamicObject(18780, -1550.24462891, -176.05238342, 24.89396667, 0.00000000, 0.00000000, 223.98876953, 1, -1, -1, 250.0);
  1596. CreateDynamicObject(18780, -1543.95898438, -182.51074219, 24.89396667, 0.00000000, 0.00000000, 223.98376465, 1, -1, -1, 250.0);
  1597. CreateDynamicObject(18780, -1651.81396484, -287.57513428, 24.89396667, 0.00000000, 0.00000000, 41.98376465, 1, -1, -1, 250.0);
  1598. CreateDynamicObject(18780, -1657.77282715, -280.78961182, 24.89396667, 0.00000000, 0.00000000, 41.97875977, 1, -1, -1, 250.0);
  1599. CreateDynamicObject(10819, -1825.01062012, -461.34741211, -0.75000000, 0.00000000, 0.00000000, 147.98645020, 1, -1, -1, 250.0);
  1600. CreateDynamicObject(10819, -1825.01062012, -461.34741211, -0.75000000, 0.00000000, 0.00000000, 147.98645020, 1, -1, -1, 250.0);
  1601. CreateDynamicObject(10819, -1795.19042969, -385.69628906, -0.75000000, 0.00000000, 0.00000000, 117.97875977, 1, -1, -1, 250.0);
  1602. CreateDynamicObject(10819, -1795.19042969, -385.69628906, -0.75000000, 0.00000000, 0.00000000, 117.97875977, 1, -1, -1, 250.0);
  1603. CreateDynamicObject(10819, -1737.76318359, -299.12298584, -0.75000000, 0.00000000, 0.00000000, 137.98278809, 1, -1, -1, 250.0);
  1604. CreateDynamicObject(10819, -1737.76318359, -299.12298584, -0.75000000, 0.00000000, 0.00000000, 137.98278809, 1, -1, -1, 250.0);
  1605. CreateDynamicObject(10819, -1731.00390625, -820.77734375, -0.50000000, 0.00000000, 0.00000000, 147.98583984, 1, -1, -1, 250.0);
  1606. CreateDynamicObject(10819, -1731.00390625, -820.77734375, -0.50000000, 0.00000000, 0.00000000, 147.98583984, 1, -1, -1, 250.0);
  1607. CreateDynamicObject(10819, -1477.54785156, -870.65527344, -0.50000000, 0.00000000, 0.00000000, 183.98254395, 1, -1, -1, 250.0);
  1608. CreateDynamicObject(10819, -1477.54785156, -870.65527344, -0.50000000, 0.00000000, 0.00000000, 183.98254395, 1, -1, -1, 250.0);
  1609. CreateDynamicObject(10819, -1271.33496094, -861.85058594, -0.50000000, 0.00000000, 0.00000000, 183.97705078, 1, -1, -1, 250.0);
  1610. CreateDynamicObject(10819, -1271.33496094, -861.85058594, -0.50000000, 0.00000000, 0.00000000, 183.97705078, 1, -1, -1, 250.0);
  1611. CreateDynamicObject(10819, -1114.67077637, -617.48431396, -0.50000000, 0.00000000, 0.00000000, 299.98254395, 1, -1, -1, 250.0);
  1612. CreateDynamicObject(10819, -1114.67077637, -617.48431396, -0.50000000, 0.00000000, 0.00000000, 299.98254395, 1, -1, -1, 250.0);
  1613. CreateDynamicObject(18833, -1096.68457031, -324.02441406, 23.68115044, 316.83471680, 99.51416016, 191.74987793, 1, -1, -1, 250.0);
  1614. CreateDynamicObject(18833, -1096.68457031, -324.02441406, 23.68115044, 316.83471680, 99.51416016, 191.74987793, 1, -1, -1, 250.0);
  1615. CreateDynamicObject(18833, -1053.15393066, -311.07583618, 22.18115044, 318.10864258, 75.09042358, 198.24420166, 1, -1, -1, 250.0);
  1616. CreateDynamicObject(18833, -1053.15393066, -311.07583618, 22.18115044, 318.10864258, 75.09042358, 198.24420166, 1, -1, -1, 250.0);
  1617. CreateDynamicObject(18834, -1033.18847656, -276.01556396, 10.44923401, 312.34802246, 240.77001953, 96.85659790, 1, -1, -1, 250.0);
  1618. CreateDynamicObject(18834, -1033.18847656, -276.01556396, 10.44923401, 312.34802246, 240.77001953, 96.85659790, 1, -1, -1, 250.0);
  1619. CreateDynamicObject(18842, -1069.36145020, -283.80133057, 35.25551605, 0.00000000, 293.99996948, 31.98672485, 1, -1, -1, 250.0);
  1620. CreateDynamicObject(18842, -1108.90380859, -308.37710571, 51.32551575, 0.00000000, 283.99963379, 31.98669434, 1, -1, -1, 250.0);
  1621. CreateDynamicObject(18842, -1146.31616211, -331.83184814, 62.32551575, 0.00000000, 283.99658203, 31.98669434, 1, -1, -1, 250.0);
  1622. CreateDynamicObject(18842, -1184.73828125, -355.91796875, 73.57551575, 0.00000000, 283.99658203, 31.98669434, 1, -1, -1, 250.0);
  1623. CreateDynamicObject(18772, -1013.45477295, -172.69305420, 57.97374725, 339.98840332, 0.00000000, 109.99359131, 1, -1, -1, 250.0);
  1624. CreateDynamicObject(18772, -819.14300537, -44.36500931, 141.17623901, 339.98840332, 0.00000000, 115.99362183, 1, -1, -1, 250.0);
  1625. CreateDynamicObject(18772, -652.22839355, 36.91828537, 208.76651001, 339.98840332, 0.00000000, 115.99365234, 1, -1, -1, 250.0);
  1626. CreateDynamicObject(18772, -444.29830933, 138.37698364, 292.97689819, 339.98840332, 0.00000000, 115.99362183, 1, -1, -1, 250.0);
  1627. CreateDynamicObject(974, -341.08435059, 190.51252747, 335.20364380, 339.98840332, 0.00000000, 115.99362183, 1, -1, -1, 250.0);
  1628. CreateDynamicObject(974, -339.45190430, 187.56842041, 335.26809692, 339.98840332, 0.00000000, 115.99365234, 1, -1, -1, 250.0);
  1629. CreateDynamicObject(18779, -1139.87695312, -206.35345459, 17.59983635, 0.00000000, 0.00000000, 23.97766113, 1, -1, -1, 250.0);
  1630. CreateDynamicObject(18772, -800.46478271, -95.22404480, 140.51374817, 339.98840332, 0.00000000, 109.98962402, 1, -1, -1, 250.0);
  1631. CreateDynamicObject(18772, -582.73370361, -15.78168106, 224.89418030, 339.98840332, 0.00000000, 109.98962402, 1, -1, -1, 250.0);
  1632. CreateDynamicObject(18772, -372.85842896, 60.88378143, 306.24456787, 339.98840332, 0.00000000, 109.98962402, 1, -1, -1, 250.0);
  1633. CreateDynamicObject(974, -266.19131470, 101.50260925, 347.92642212, 339.98840332, 0.00000000, 109.98962402, 1, -1, -1, 250.0);
  1634. CreateDynamicObject(974, -265.24771118, 97.95956421, 347.80825806, 339.98840332, 0.00000000, 109.98962402, 1, -1, -1, 250.0);
  1635. CreateDynamicObject(18784, -1142.91357422, -220.49822998, 15.64396572, 0.00000000, 353.99597168, 205.99389648, 1, -1, -1, 250.0);
  1636. CreateDynamicObject(18784, -1148.55151367, -222.96446228, 18.22396851, 0.00000000, 325.99597168, 205.99362183, 1, -1, -1, 250.0);
  1637. CreateDynamicObject(18844, -1127.42480469, 366.75878906, 90.20124817, 1.99401855, 183.99353027, 63.83056641, 1, -1, -1, 250.0);
  1638. CreateDynamicObject(18844, -1127.42480469, 366.75878906, 90.20124817, 1.99401855, 183.99353027, 63.83056641, 1, -1, -1, 250.0);
  1639. CreateDynamicObject(18780, -1151.19213867, 343.05984497, 13.14583969, 0.00000000, 0.00000000, 45.98364258, 1, -1, -1, 250.0);
  1640. CreateDynamicObject(18845, -1593.63012695, -507.10739136, 60.39492035, 0.00000000, 0.00000000, 312.00000000, 1, -1, -1, 250.0);
  1641. CreateDynamicObject(1660, -1586.80395508, -514.14923096, 18.09375000, 0.00000000, 0.00000000, 43.99523926, 1, -1, -1, 250.0);
  1642. CreateDynamicObject(18647, -1589.92773438, -517.26147461, 21.11718750, 0.00000000, 0.00000000, 43.99475098, 1, -1, -1, 250.0);
  1643. CreateDynamicObject(18647, -1583.81127930, -514.52996826, 21.11718750, 0.00000000, 0.00000000, 43.99475098, 1, -1, -1, 250.0);
  1644. CreateDynamicObject(18647, -1577.23559570, -521.11621094, 21.10763550, 0.00000000, 0.00000000, 43.99475098, 1, -1, -1, 250.0);
  1645. CreateDynamicObject(18647, -1582.73132324, -526.07257080, 21.11718750, 0.00000000, 0.00000000, 43.99475098, 1, -1, -1, 250.0);
  1646. CreateDynamicObject(18647, -1572.78186035, -536.15960693, 20.69807053, 0.00000000, 0.00000000, 43.99475098, 1, -1, -1, 250.0);
  1647. CreateDynamicObject(18647, -1567.95654297, -530.53466797, 20.71486855, 0.00000000, 0.00000000, 43.99475098, 1, -1, -1, 250.0);
  1648. CreateDynamicObject(18647, -1521.04235840, -577.18383789, 13.17187500, 0.00000000, 0.00000000, 43.99475098, 1, -1, -1, 250.0);
  1649. CreateDynamicObject(18647, -1526.19616699, -582.45953369, 13.17187500, 0.00000000, 0.00000000, 43.99475098, 1, -1, -1, 250.0);
  1650. CreateDynamicObject(18647, -1309.23791504, -567.35937500, 13.17187500, 0.00000000, 0.00000000, 109.99475098, 1, -1, -1, 250.0);
  1651. CreateDynamicObject(18647, -1315.63891602, -549.05316162, 13.17187500, 0.00000000, 0.00000000, 109.98962402, 1, -1, -1, 250.0);
  1652. CreateDynamicObject(18647, -1310.38500977, -472.01141357, 13.18894196, 0.00000000, 0.00000000, 127.98962402, 1, -1, -1, 250.0);
  1653. CreateDynamicObject(18647, -1312.71789551, -468.95962524, 13.18024826, 0.00000000, 0.00000000, 117.98522949, 1, -1, -1, 250.0);
  1654. CreateDynamicObject(18647, -1338.73254395, -414.04565430, 13.17187500, 0.00000000, 0.00000000, 79.98217773, 1, -1, -1, 250.0);
  1655. CreateDynamicObject(18647, -1336.99865723, -404.24786377, 13.07051468, 0.00000000, 0.00000000, 79.98046875, 1, -1, -1, 250.0);
  1656. CreateDynamicObject(18647, -1122.06494141, -217.59446716, 13.17187500, 0.00000000, 0.00000000, 109.98046875, 1, -1, -1, 250.0);
  1657. CreateDynamicObject(18647, -1131.98681641, -191.05862427, 13.16740322, 0.00000000, 0.00000000, 115.97863770, 1, -1, -1, 250.0);
  1658. CreateDynamicObject(18647, -1150.85156250, 350.43557739, 13.27343750, 0.00000000, 0.00000000, 137.97717285, 1, -1, -1, 250.0);
  1659. CreateDynamicObject(18647, -1158.46594238, 341.83850098, 13.27343750, 0.00000000, 0.00000000, 137.97180176, 1, -1, -1, 250.0);
  1660. CreateDynamicObject(18647, -1143.64025879, 343.97479248, 13.27343750, 0.00000000, 0.00000000, 133.97180176, 1, -1, -1, 250.0);
  1661. CreateDynamicObject(18647, -1151.36450195, 336.27676392, 13.27343750, 0.00000000, 0.00000000, 133.96728516, 1, -1, -1, 250.0);
  1662. CreateDynamicObject(18647, -1165.43298340, 334.59274292, 13.27343750, 0.00000000, 0.00000000, 133.96728516, 1, -1, -1, 250.0);
  1663. CreateDynamicObject(18647, -1159.07910156, 326.89202881, 13.27343750, 0.00000000, 0.00000000, 133.96728516, 1, -1, -1, 250.0);
  1664. CreateDynamicObject(18647, -1192.09814453, 300.94406128, 13.17187500, 0.00000000, 0.00000000, 133.96728516, 1, -1, -1, 250.0);
  1665. CreateDynamicObject(18647, -1234.00354004, 258.51928711, 13.17187500, 0.00000000, 0.00000000, 133.96728516, 1, -1, -1, 250.0);
  1666. CreateDynamicObject(18647, -1363.91906738, 128.37840271, 13.16432571, 0.00000000, 0.00000000, 133.96728516, 1, -1, -1, 250.0);
  1667. CreateDynamicObject(18647, -1358.63952637, -64.37520599, 13.16963005, 0.00000000, 0.00000000, 225.96728516, 1, -1, -1, 250.0);
  1668. CreateDynamicObject(18647, -1372.27514648, -78.28967285, 13.17187500, 0.00000000, 0.00000000, 225.96679688, 1, -1, -1, 250.0);
  1669. CreateDynamicObject(18647, -1228.15380859, -207.22709656, 13.16740322, 0.00000000, 0.00000000, 225.96679688, 1, -1, -1, 250.0);
  1670. CreateDynamicObject(18647, -1215.59204102, -192.78872681, 13.17187500, 0.00000000, 0.00000000, 225.96679688, 1, -1, -1, 250.0);
  1671. CreateDynamicObject(18809, -1199.08544922, -65.59642029, 40.52127457, 316.83471680, 99.51419067, 143.74987793, 1, -1, -1, 250.0);
  1672. CreateDynamicObject(18809, -1199.08544922, -65.59642029, 40.52127457, 316.83471680, 99.51419067, 143.74987793, 1, -1, -1, 250.0);
  1673. CreateDynamicObject(18779, -1215.74841309, -382.95443726, 86.13982391, 358.01095581, 6.00363159, 34.18225098, 1, -1, -1, 250.0);
  1674. CreateDynamicObject(18818, -1168.87792969, -93.37617493, 44.78562164, 274.00524902, 0.01174927, 227.99121094, 1, -1, -1, 250.0);
  1675. CreateDynamicObject(18818, -1168.87792969, -93.37617493, 44.78562164, 274.00524902, 0.01174927, 227.99121094, 1, -1, -1, 250.0);
  1676. CreateDynamicObject(18809, -1128.95874023, -64.75939941, 47.57688141, 316.83471680, 99.51419067, 227.74511719, 1, -1, -1, 250.0);
  1677. CreateDynamicObject(18809, -1128.95874023, -64.75939941, 47.57688141, 316.83471680, 99.51419067, 227.74511719, 1, -1, -1, 250.0);
  1678. CreateDynamicObject(18824, -1088.39208984, -43.37009048, 49.41281891, 283.39514160, 116.16491699, 26.77099609, 1, -1, -1, 250.0);
  1679. CreateDynamicObject(18824, -1088.39208984, -43.37009048, 49.41281891, 283.39514160, 116.16491699, 26.77099609, 1, -1, -1, 250.0);
  1680. CreateDynamicObject(18824, -1057.16027832, -68.11392975, 44.91281891, 283.39233398, 116.16394043, 306.76818848, 1, -1, -1, 250.0);
  1681. CreateDynamicObject(18824, -1057.16027832, -68.11392975, 44.91281891, 283.39233398, 116.16394043, 306.76818848, 1, -1, -1, 250.0);
  1682. CreateDynamicObject(18824, -1020.34790039, -145.13264465, 34.67282104, 283.38684082, 116.16394043, 256.76574707, 1, -1, -1, 250.0);
  1683. CreateDynamicObject(18824, -1020.34790039, -145.13264465, 34.67282104, 283.38684082, 116.16394043, 256.76574707, 1, -1, -1, 250.0);
  1684. CreateDynamicObject(18809, -1075.89855957, -105.94364929, 40.57014084, 61.94729614, 273.36614990, 217.95996094, 1, -1, -1, 250.0);
  1685. CreateDynamicObject(18809, -1075.89855957, -105.94364929, 40.57014084, 61.94729614, 273.36614990, 217.95996094, 1, -1, -1, 250.0);
  1686. CreateDynamicObject(18809, -1113.84948730, -138.79463196, 39.07014084, 61.94641113, 273.36181641, 217.95776367, 1, -1, -1, 250.0);
  1687. CreateDynamicObject(18809, -1113.84948730, -138.79463196, 39.07014084, 61.94641113, 273.36181641, 217.95776367, 1, -1, -1, 250.0);
  1688. CreateDynamicObject(18809, -1151.57043457, -171.63104248, 37.57014084, 61.94641113, 273.36181641, 217.95776367, 1, -1, -1, 250.0);
  1689. CreateDynamicObject(18809, -1151.57043457, -171.63104248, 37.57014084, 61.94641113, 273.36181641, 217.95776367, 1, -1, -1, 250.0);
  1690. CreateDynamicObject(18809, -1189.51782227, -203.92825317, 36.07014084, 61.94641113, 273.36181641, 217.95776367, 1, -1, -1, 250.0);
  1691. CreateDynamicObject(18809, -1189.51782227, -203.92825317, 36.07014084, 61.94641113, 273.36181641, 217.95776367, 1, -1, -1, 250.0);
  1692. CreateDynamicObject(18809, -1226.82287598, -236.48599243, 34.82014084, 61.94641113, 273.36181641, 217.95776367, 1, -1, -1, 250.0);
  1693. CreateDynamicObject(18809, -1226.82287598, -236.48599243, 34.82014084, 61.94641113, 273.36181641, 217.95776367, 1, -1, -1, 250.0);
  1694. CreateDynamicObject(18809, -1265.99877930, -268.68286133, 30.89014053, 61.02023315, 284.30047607, 205.52038574, 1, -1, -1, 250.0);
  1695. CreateDynamicObject(18809, -1265.99877930, -268.68286133, 30.89014053, 61.02023315, 284.30047607, 205.52038574, 1, -1, -1, 250.0);
  1696. CreateDynamicObject(18842, -1267.30187988, -209.78088379, 56.44854736, 356.29705811, 208.06378174, 309.74511719, 1, -1, -1, 250.0);
  1697. CreateDynamicObject(18842, -1267.30187988, -209.78088379, 56.44854736, 356.29705811, 208.06378174, 309.74511719, 1, -1, -1, 250.0);
  1698. CreateDynamicObject(18842, -1239.79516602, -239.74876404, 81.95854187, 359.85321045, 268.00061035, 311.96624756, 1, -1, -1, 250.0);
  1699. CreateDynamicObject(18842, -1239.79516602, -239.74876404, 81.95854187, 359.85321045, 268.00061035, 311.96624756, 1, -1, -1, 250.0);
  1700. CreateDynamicObject(18842, -1211.31811523, -271.58743286, 83.45854187, 359.85168457, 268.00048828, 311.96228027, 1, -1, -1, 250.0);
  1701. CreateDynamicObject(18842, -1211.31811523, -271.58743286, 83.45854187, 359.85168457, 268.00048828, 311.96228027, 1, -1, -1, 250.0);
  1702. CreateDynamicObject(18789, -1351.03479004, -18.31754684, 50.46585464, 0.00000000, 0.00000000, 223.98889160, 1, -1, -1, 250.0);
  1703. CreateDynamicObject(18784, -1295.82373047, 37.44159698, 15.64843750, 0.00000000, 0.00000000, 44.00000000, 1, -1, -1, 250.0);
  1704. CreateDynamicObject(18784, -1289.41967773, 43.44236755, 22.38843536, 0.00000000, 326.00000000, 43.99475098, 1, -1, -1, 250.0);
  1705. CreateDynamicObject(18784, -1284.54223633, 48.21295929, 36.63843536, 0.00000000, 295.99996948, 43.98922729, 1, -1, -1, 250.0);
  1706. CreateDynamicObject(18784, -1283.72534180, 48.79548645, 47.88843536, 0.00000000, 281.99996948, 43.98370361, 1, -1, -1, 250.0);
  1707. CreateDynamicObject(18784, -1285.63500977, 47.18260193, 59.63843536, 0.00000000, 264.00000000, 43.97827148, 1, -1, -1, 250.0);
  1708. CreateDynamicObject(18852, -1429.97265625, -95.02275085, 55.64669800, 0.00000000, 270.00000000, 44.00000000, 1, -1, -1, 250.0);
  1709. CreateDynamicObject(18852, -1493.09741211, -155.97154236, 55.64669800, 0.00000000, 270.00000000, 43.99475098, 1, -1, -1, 250.0);
  1710. CreateDynamicObject(18852, -1518.07409668, -180.25057983, 55.64669800, 0.00000000, 270.00000000, 43.99475098, 1, -1, -1, 250.0);
  1711. CreateDynamicObject(1634, -1554.88757324, -215.96212769, 52.02216339, 3.99755859, 357.99511719, 132.12353516, 1, -1, -1, 250.0);
  1712. CreateDynamicObject(1634, -1558.93115234, -219.69012451, 56.27216339, 19.98327637, 357.87167358, 132.70953369, 1, -1, -1, 250.0);
  1713. CreateDynamicObject(18852, -1158.43395996, -675.70800781, 96.59208679, 0.00000000, 100.00000000, 34.00000000, 1, -1, -1, 250.0);
  1714. CreateDynamicObject(18785, -1321.81665039, -451.87707520, 15.64843750, 0.00000000, 0.00000000, 302.00000000, 1, -1, -1, 250.0);
  1715. CreateDynamicObject(18785, -1331.77856445, -457.63775635, 20.14843750, 342.00000000, 0.00000000, 298.00000000, 1, -1, -1, 250.0);
  1716. CreateDynamicObject(18785, -1346.52355957, -465.48086548, 30.52843475, 341.99890137, 0.00000000, 297.99865723, 1, -1, -1, 250.0);
  1717. CreateDynamicObject(18785, -1363.54260254, -474.52667236, 36.27843475, 11.99890137, 0.00000000, 297.99871826, 1, -1, -1, 250.0);
  1718. CreateDynamicObject(18805, -1137.04089355, -457.73672485, 17.46572876, 0.00000000, 335.99993896, 348.00000000, 1, -1, -1, 250.0);
  1719. CreateDynamicObject(18805, -1014.08422852, -486.42324829, 58.05572510, 0.00000000, 349.99493408, 345.99743652, 1, -1, -1, 250.0);
  1720. CreateDynamicObject(18855, -909.97943115, -474.99789429, 73.46741486, 85.86038208, 255.08843994, 279.88183594, 1, -1, -1, 250.0);
  1721. CreateDynamicObject(18855, -909.97943115, -474.99789429, 73.46741486, 85.86038208, 255.08843994, 279.88183594, 1, -1, -1, 250.0);
  1722. CreateDynamicObject(18852, -963.79907227, -306.02691650, 72.82263947, 0.00000000, 268.00000000, 348.00000000, 1, -1, -1, 250.0);
  1723. CreateDynamicObject(18841, -945.11798096, -424.50366211, 76.49057007, 81.90936279, 98.55737305, 258.14624023, 1, -1, -1, 250.0);
  1724. CreateDynamicObject(18841, -922.13537598, -395.07843018, 76.49057007, 81.90856934, 98.55288696, 72.14575195, 1, -1, -1, 250.0);
  1725. CreateDynamicObject(18841, -935.78363037, -360.92211914, 76.49057007, 81.90856934, 98.55288696, 252.14172363, 1, -1, -1, 250.0);
  1726. CreateDynamicObject(18841, -911.13763428, -334.05377197, 76.49057007, 81.90856934, 98.55285645, 66.13623047, 1, -1, -1, 250.0);
  1727. CreateDynamicObject(18852, -1058.73242188, -285.84478760, 69.32263947, 0.00000000, 267.99499512, 347.99743652, 1, -1, -1, 250.0);
  1728. CreateDynamicObject(18852, -1058.73242188, -285.84478760, 69.32263947, 0.00000000, 267.99499512, 347.99743652, 1, -1, -1, 250.0);
  1729. CreateDynamicObject(16401, -1104.54394531, -275.78808594, 62.75580978, 0.00000000, 0.00000000, 165.99792480, 1, -1, -1, 250.0);
  1730. CreateDynamicObject(18822, -1222.82934570, -709.99713135, 104.56476593, 85.52740479, 63.45394897, 36.60681152, 1, -1, -1, 250.0);
  1731. CreateDynamicObject(18822, -1222.82934570, -709.99713135, 104.56476593, 85.52740479, 63.45394897, 36.60681152, 1, -1, -1, 250.0);
  1732. CreateDynamicObject(18853, -1295.70397949, -699.14788818, 102.34586334, 85.52307129, 63.45153809, 0.60644531, 1, -1, -1, 250.0);
  1733. CreateDynamicObject(18853, -1295.70397949, -699.14788818, 102.34586334, 85.52307129, 63.45153809, 0.60644531, 1, -1, -1, 250.0);
  1734. CreateDynamicObject(18852, -1340.59082031, -567.92089844, 81.16615295, 87.17102051, 314.97253418, 254.97070312, 1, -1, -1, 250.0);
  1735. CreateDynamicObject(18852, -1340.59082031, -567.92089844, 81.16615295, 87.17102051, 314.97253418, 254.97070312, 1, -1, -1, 250.0);
  1736. CreateDynamicObject(18841, -1246.13183594, -536.42297363, 63.54665375, 87.17102051, 314.97253418, 308.97021484, 1, -1, -1, 250.0);
  1737. CreateDynamicObject(18841, -1246.13183594, -536.42297363, 63.54665375, 87.17102051, 314.97253418, 308.97021484, 1, -1, -1, 250.0);
  1738. CreateDynamicObject(18841, -1284.69470215, -602.29400635, 97.83418274, 3.98999023, 355.98950195, 110.26330566, 1, -1, -1, 250.0);
  1739. CreateDynamicObject(18841, -1284.69470215, -602.29400635, 97.83418274, 3.98999023, 355.98950195, 110.26330566, 1, -1, -1, 250.0);
  1740. CreateDynamicObject(18852, -1305.30664062, -547.30480957, 116.03614807, 87.17102051, 314.97253418, 246.97070312, 1, -1, -1, 250.0);
  1741. CreateDynamicObject(18852, -1305.30664062, -547.30480957, 116.03614807, 87.17102051, 314.97253418, 246.97070312, 1, -1, -1, 250.0);
  1742. CreateDynamicObject(18852, -1328.26611328, -490.49081421, 118.28614807, 87.17102051, 314.97253418, 246.96716309, 1, -1, -1, 250.0);
  1743. CreateDynamicObject(18852, -1328.26611328, -490.49081421, 118.28614807, 87.17102051, 314.97253418, 246.96716309, 1, -1, -1, 250.0);
  1744. CreateDynamicObject(18844, -1361.78259277, -397.88842773, 124.97569275, 0.20867920, 264.00360107, 107.98181152, 1, -1, -1, 250.0);
  1745. CreateDynamicObject(18844, -1361.78259277, -397.88842773, 124.97569275, 0.20867920, 264.00360107, 107.98181152, 1, -1, -1, 250.0);
  1746. CreateDynamicObject(18843, -1510.61816406, -287.17300415, 103.89883423, 0.00000000, 285.99658203, 297.99414062, 1, -1, -1, 250.0);
  1747. CreateDynamicObject(18821, -1283.03918457, -290.99884033, 46.81027603, 0.00000000, 301.99572754, 107.99710083, 1, -1, -1, 250.0);
  1748. CreateDynamicObject(18821, -1283.03918457, -290.99884033, 46.81027603, 0.00000000, 301.99572754, 107.99710083, 1, -1, -1, 250.0);
  1749. CreateDynamicObject(18994, -794.53326416, 130.96403503, 14.00226212, 358.99777222, 359.99844360, 125.98513794, 1, -1, -1, 250.0);
  1750. CreateDynamicObject(18994, -794.53326416, 130.96403503, 14.00226212, 358.99777222, 359.99844360, 125.98513794, 1, -1, -1, 250.0);
  1751. CreateDynamicObject(19005, -602.03417969, 615.08789062, 9.35534286, 0.00000000, 0.00000000, 335.99487305, 1, -1, -1, 250.0);
  1752. CreateDynamicObject(19005, -594.32324219, 632.75439453, 9.35534286, 0.00000000, 0.00000000, 155.99487305, 1, -1, -1, 250.0);
  1753. CreateDynamicObject(18789, -1280.70239258, -258.19812012, 47.66661835, 0.00000000, 0.00000000, 43.98925781, 1, -1, -1, 250.0);
  1754. CreateDynamicObject(18825, -1331.89929199, -307.18368530, 68.74201202, 0.00000000, 0.00000000, 44.00000000, 1, -1, -1, 250.0);
  1755. CreateDynamicObject(18852, -1290.26770020, -264.34921265, 88.08591461, 0.00000000, 85.99993896, 45.98059082, 1, -1, -1, 250.0);
  1756. CreateDynamicObject(18824, -1249.63220215, -206.39904785, 93.89344788, 276.30261230, 180.00012207, 358.30261230, 1, -1, -1, 250.0);
  1757. CreateDynamicObject(18825, -1261.70275879, -176.14985657, 112.25396729, 0.00000000, 0.00000000, 313.99475098, 1, -1, -1, 250.0);
  1758. CreateDynamicObject(18852, -1223.15490723, -220.96829224, 131.41590881, 0.00000000, 85.99548340, 309.97778320, 1, -1, -1, 250.0);
  1759. CreateDynamicObject(18852, -1223.15490723, -220.96829224, 131.41590881, 0.00000000, 85.99548340, 309.97778320, 1, -1, -1, 250.0);
  1760. CreateDynamicObject(18824, -1186.07360840, -281.91903687, 132.43344116, 276.30065918, 180.00000000, 358.29711914, 1, -1, -1, 250.0);
  1761. CreateDynamicObject(18842, -1210.03674316, -321.59832764, 126.68518066, 0.00000000, 262.00000000, 43.98669434, 1, -1, -1, 250.0);
  1762. CreateDynamicObject(18842, -1210.03674316, -321.59832764, 126.68518066, 0.00000000, 262.00000000, 43.98669434, 1, -1, -1, 250.0);
  1763. CreateDynamicObject(16401, -1226.88415527, -337.59442139, 119.01322174, 0.00000000, 0.00000000, 223.99792480, 1, -1, -1, 250.0);
  1764. CreateDynamicObject(16401, -1226.88415527, -337.59442139, 119.01322174, 0.00000000, 0.00000000, 223.99792480, 1, -1, -1, 250.0);
  1765. CreateDynamicObject(18772, -1485.16357422, -527.94976807, 65.16519165, 0.00000000, 0.00000000, 293.99609375, 1, -1, -1, 250.0);
  1766. CreateDynamicObject(18785, -1720.40954590, -686.72241211, 16.68750000, 0.00000000, 0.00000000, 330.00000000, 1, -1, -1, 250.0);
  1767. CreateDynamicObject(3080, -1598.65686035, -580.54870605, 63.96530533, 4.00000000, 0.00000000, 113.99996948, 1, -1, -1, 250.0);
  1768. CreateDynamicObject(3080, -1600.22912598, -577.14392090, 63.96530533, 3.99902344, 0.00000000, 113.99963379, 1, -1, -1, 250.0);
  1769. CreateDynamicObject(18778, -1722.22399902, -660.73986816, 14.40625000, 6.00000000, 0.00000000, 100.00000000, 1, -1, -1, 250.0);
  1770. CreateDynamicObject(18778, -1458.25708008, -622.43408203, 14.86718750, 5.99853516, 0.00000000, 175.99548340, 1, -1, -1, 250.0);
  1771. CreateDynamicObject(18783, -1736.28869629, -660.98944092, 14.05413628, 0.00000000, 0.00000000, 9.99755859, 1, -1, -1, 250.0);
  1772. CreateDynamicObject(18783, -1739.71789551, -642.85943604, 14.05413628, 0.00000000, 0.00000000, 9.99755859, 1, -1, -1, 250.0);
  1773. CreateDynamicObject(18825, -1748.39099121, -737.05889893, 40.03654480, 0.00000000, 0.00000000, 60.00000000, 1, -1, -1, 250.0);
  1774. CreateDynamicObject(18783, -1740.64904785, -719.32409668, 16.70863152, 0.00000000, 0.00000000, 329.99755859, 1, -1, -1, 250.0);
  1775. CreateDynamicObject(18785, -1717.29736328, -681.25402832, 15.18302727, 0.00000000, 0.00000000, 329.99633789, 1, -1, -1, 250.0);
  1776. CreateDynamicObject(18783, -1730.41442871, -703.92700195, 16.70863152, 0.00000000, 0.00000000, 329.99633789, 1, -1, -1, 250.0);
  1777. CreateDynamicObject(18836, -1728.69067383, -707.84649658, 55.76342010, 0.00000000, 0.00000000, 143.99996948, 1, -1, -1, 250.0);
  1778. CreateDynamicObject(18836, -1728.69067383, -707.84649658, 55.76342010, 0.00000000, 0.00000000, 143.99996948, 1, -1, -1, 250.0);
  1779. CreateDynamicObject(18836, -1700.14453125, -668.46759033, 55.76342010, 0.00000000, 0.00000000, 143.99780273, 1, -1, -1, 250.0);
  1780. CreateDynamicObject(18836, -1700.14453125, -668.46759033, 55.76342010, 0.00000000, 0.00000000, 143.99780273, 1, -1, -1, 250.0);
  1781. CreateDynamicObject(18852, -1659.07714844, -609.09027100, 55.62300873, 0.00000000, 270.00000000, 55.99926758, 1, -1, -1, 250.0);
  1782. CreateDynamicObject(18838, -1627.56188965, -561.17926025, 63.42290115, 0.00000000, 0.00000000, 240.00000000, 1, -1, -1, 250.0);
  1783. CreateDynamicObject(18838, -1627.56188965, -561.17926025, 63.42290115, 0.00000000, 0.00000000, 240.00000000, 1, -1, -1, 250.0);
  1784. CreateDynamicObject(18852, -1659.28173828, -608.94616699, 71.37300873, 0.00000000, 270.00000000, 55.99731445, 1, -1, -1, 250.0);
  1785. CreateDynamicObject(18855, -1684.86462402, -693.30328369, 71.51496887, 87.17102051, 314.97253418, 90.97021484, 1, -1, -1, 250.0);
  1786. CreateDynamicObject(18855, -1684.86462402, -693.30328369, 71.51496887, 87.17102051, 314.97253418, 90.97021484, 1, -1, -1, 250.0);
  1787. CreateDynamicObject(1634, -1638.10400391, -691.37829590, 69.73274231, 4.00000000, 0.00000000, 306.00000000, 1, -1, -1, 250.0);
  1788. CreateDynamicObject(18778, -1724.83105469, -645.75756836, 14.40625000, 5.99853516, 0.00000000, 99.99755859, 1, -1, -1, 250.0);
  1789. CreateDynamicObject(18778, -1726.14880371, -638.20214844, 14.40625000, 5.99853516, 0.00000000, 99.99755859, 1, -1, -1, 250.0);
  1790. CreateDynamicObject(18780, -1600.44555664, -746.97558594, 25.23524094, 0.00000000, 0.00000000, 250.00000000, 1, -1, -1, 250.0);
  1791. CreateDynamicObject(18778, -1458.56152344, -626.46099854, 18.36718750, 35.99853516, 0.00000000, 175.98999023, 1, -1, -1, 250.0);
  1792. CreateDynamicObject(18778, -1458.65881348, -628.36242676, 22.61718750, 53.99670410, 0.00000000, 175.98999023, 1, -1, -1, 250.0);
  1793. CreateDynamicObject(18855, -1566.67773438, -475.01229858, 32.52497864, 79.80477905, 78.80187988, 145.34735107, 1, -1, -1, 250.0);
  1794. CreateDynamicObject(18855, -1566.67773438, -475.01229858, 32.52497864, 79.80477905, 78.80187988, 145.34735107, 1, -1, -1, 250.0);
  1795. CreateDynamicObject(3080, -1613.20568848, -475.51800537, 21.17234421, 0.00000000, 0.00000000, 310.00000000, 1, -1, -1, 250.0);
  1796. CreateDynamicObject(3080, -1584.49182129, -537.57037354, 21.13273621, 0.00000000, 0.00000000, 140.00000000, 1, -1, -1, 250.0);
  1797. CreateDynamicObject(3080, -1581.66076660, -540.04339600, 21.13273621, 0.00000000, 0.00000000, 139.99877930, 1, -1, -1, 250.0);
  1798. CreateDynamicObject(3080, -1584.12145996, -543.03942871, 23.38273621, 16.00000000, 0.00000000, 139.99877930, 1, -1, -1, 250.0);
  1799. CreateDynamicObject(3080, -1586.95410156, -540.51953125, 23.38273621, 15.99609375, 0.00000000, 139.99877930, 1, -1, -1, 250.0);
  1800. CreateDynamicObject(18781, -1637.75891113, -747.06982422, 23.91406250, 0.00000000, 0.00000000, 153.98937988, 1, -1, -1, 250.0);
  1801. CreateDynamicObject(18783, -1644.54162598, -761.15466309, 39.76772690, 270.00000000, 180.00000000, 153.99755859, 1, -1, -1, 250.0);
  1802. CreateDynamicObject(18783, -1613.28100586, -779.87060547, 60.67772293, 270.00000000, 179.99450684, 159.99487305, 1, -1, -1, 250.0);
  1803. CreateDynamicObject(18859, -1314.47375488, -685.37481689, 24.56250000, 0.00000000, 0.00000000, 1.99755859, 1, -1, -1, 250.0);
  1804. CreateDynamicObject(18859, -1361.62133789, -687.01470947, 24.56250000, 0.00000000, 0.00000000, 1.99755859, 1, -1, -1, 250.0);
  1805. CreateDynamicObject(18859, -1409.72387695, -688.67010498, 24.56250000, 0.00000000, 0.00000000, 1.99755859, 1, -1, -1, 250.0);
  1806. CreateDynamicObject(18859, -1458.24755859, -691.41979980, 24.56250000, 0.00000000, 0.00000000, 3.99755859, 1, -1, -1, 250.0);
  1807. CreateDynamicObject(18859, -1361.53430176, -696.24884033, 59.43155670, 85.99597168, 0.00000000, 1.98852539, 1, -1, -1, 250.0);
  1808. CreateDynamicObject(18859, -1361.53430176, -696.24884033, 59.43155670, 85.99597168, 0.00000000, 1.98852539, 1, -1, -1, 250.0);
  1809. CreateDynamicObject(18859, -1313.84436035, -694.56414795, 59.43155670, 85.99548340, 0.00000000, 1.98303223, 1, -1, -1, 250.0);
  1810. CreateDynamicObject(18859, -1313.84436035, -694.56414795, 59.43155670, 85.99548340, 0.00000000, 1.98303223, 1, -1, -1, 250.0);
  1811. CreateDynamicObject(18859, -1409.63928223, -698.02398682, 59.43155670, 85.99548340, 0.00000000, 1.98303223, 1, -1, -1, 250.0);
  1812. CreateDynamicObject(18859, -1409.63928223, -698.02398682, 59.43155670, 85.99548340, 0.00000000, 1.98303223, 1, -1, -1, 250.0);
  1813. CreateDynamicObject(18859, -1457.54345703, -700.67437744, 59.43155670, 85.99548340, 0.00000000, 3.98303223, 1, -1, -1, 250.0);
  1814. CreateDynamicObject(18859, -1457.54345703, -700.67437744, 59.43155670, 85.99548340, 0.00000000, 3.98303223, 1, -1, -1, 250.0);
  1815. CreateDynamicObject(18859, -1505.54870605, -694.78778076, 24.56250000, 0.00000000, 0.00000000, 3.99353027, 1, -1, -1, 250.0);
  1816. CreateDynamicObject(18859, -1505.09509277, -704.15570068, 59.43155670, 85.99548340, 0.00000000, 3.98254395, 1, -1, -1, 250.0);
  1817. CreateDynamicObject(18859, -1505.09509277, -704.15570068, 59.43155670, 85.99548340, 0.00000000, 3.98254395, 1, -1, -1, 250.0);
  1818. CreateDynamicObject(18859, -1313.06250000, -726.45837402, 24.56250000, 0.00000000, 0.00000000, 181.99401855, 1, -1, -1, 250.0);
  1819. CreateDynamicObject(18859, -1313.06250000, -726.45837402, 24.56250000, 0.00000000, 0.00000000, 181.99401855, 1, -1, -1, 250.0);
  1820. CreateDynamicObject(18859, -1313.23791504, -717.08325195, 59.43155670, 85.99548340, 0.00000000, 181.98303223, 1, -1, -1, 250.0);
  1821. CreateDynamicObject(18859, -1313.23791504, -717.08325195, 59.43155670, 85.99548340, 0.00000000, 181.98303223, 1, -1, -1, 250.0);
  1822. CreateDynamicObject(18859, -1360.82006836, -728.44250488, 24.56250000, 0.00000000, 0.00000000, 181.99401855, 1, -1, -1, 250.0);
  1823. CreateDynamicObject(18859, -1360.82006836, -728.44250488, 24.56250000, 0.00000000, 0.00000000, 181.99401855, 1, -1, -1, 250.0);
  1824. CreateDynamicObject(18859, -1360.64465332, -719.06518555, 59.43155670, 85.99548340, 0.00000000, 181.98303223, 1, -1, -1, 250.0);
  1825. CreateDynamicObject(18859, -1360.64465332, -719.06518555, 59.43155670, 85.99548340, 0.00000000, 181.98303223, 1, -1, -1, 250.0);
  1826. CreateDynamicObject(18859, -1409.13049316, -731.02178955, 24.56250000, 0.00000000, 0.00000000, 183.98852539, 1, -1, -1, 250.0);
  1827. CreateDynamicObject(18859, -1409.13049316, -731.02178955, 24.56250000, 0.00000000, 0.00000000, 183.98852539, 1, -1, -1, 250.0);
  1828. CreateDynamicObject(18859, -1409.03662109, -721.61401367, 59.43155670, 85.99548340, 0.00000000, 183.98303223, 1, -1, -1, 250.0);
  1829. CreateDynamicObject(18859, -1409.03662109, -721.61401367, 59.43155670, 85.99548340, 0.00000000, 183.98303223, 1, -1, -1, 250.0);
  1830. CreateDynamicObject(18859, -1457.43774414, -734.58441162, 24.56250000, 0.00000000, 0.00000000, 183.98803711, 1, -1, -1, 250.0);
  1831. CreateDynamicObject(18859, -1457.43774414, -734.58441162, 24.56250000, 0.00000000, 0.00000000, 183.98803711, 1, -1, -1, 250.0);
  1832. CreateDynamicObject(18859, -1457.52746582, -725.23370361, 59.43155670, 85.99548340, 0.00000000, 183.98254395, 1, -1, -1, 250.0);
  1833. CreateDynamicObject(18859, -1457.52746582, -725.23370361, 59.43155670, 85.99548340, 0.00000000, 183.98254395, 1, -1, -1, 250.0);
  1834. CreateDynamicObject(18859, -1502.20996094, -737.82501221, 24.56250000, 0.00000000, 0.00000000, 183.98803711, 1, -1, -1, 250.0);
  1835. CreateDynamicObject(18859, -1502.20996094, -737.82501221, 24.56250000, 0.00000000, 0.00000000, 183.98803711, 1, -1, -1, 250.0);
  1836. CreateDynamicObject(18859, -1503.39477539, -728.57641602, 59.43155670, 85.99548340, 0.00000000, 183.98254395, 1, -1, -1, 250.0);
  1837. CreateDynamicObject(18859, -1503.39477539, -728.57641602, 59.43155670, 85.99548340, 0.00000000, 183.98254395, 1, -1, -1, 250.0);
  1838. CreateDynamicObject(18783, -1282.67004395, -704.45275879, 11.42968750, 0.00000000, 0.00000000, 7.99755859, 1, -1, -1, 250.0);
  1839. CreateDynamicObject(18783, -1534.80212402, -718.30297852, 11.42968750, 0.00000000, 0.00000000, 7.99255371, 1, -1, -1, 250.0);
  1840. CreateDynamicObject(18785, -1554.62109375, -720.99816895, 11.43750000, 0.00000000, 0.00000000, 97.99633789, 1, -1, -1, 250.0);
  1841. CreateDynamicObject(18785, -1262.90466309, -701.75305176, 11.43750000, 0.00000000, 0.00000000, 277.99255371, 1, -1, -1, 250.0);
  1842. CreateDynamicObject(18850, -1334.64135742, -578.99945068, 24.99453163, 0.00000000, 0.00000000, 22.00000000, 1, -1, -1, 250.0);
  1843. CreateDynamicObject(18786, -1310.54101562, -568.85229492, 27.54863167, 0.00000000, 43.99316406, 23.98315430, 1, -1, -1, 250.0);
  1844. CreateDynamicObject(18786, -1370.23449707, -594.42419434, 21.79863167, 0.00000000, 27.99316406, 203.98315430, 1, -1, -1, 250.0);
  1845. CreateDynamicObject(18786, -1364.92480469, -592.16705322, 27.54863167, 0.00000000, 43.98925781, 203.97766113, 1, -1, -1, 250.0);
  1846. CreateDynamicObject(18857, -1340.40820312, -427.76443481, 23.44759750, 0.00000000, 270.00000000, 190.00000000, 1, -1, -1, 250.0);
  1847. CreateDynamicObject(18857, -1340.40820312, -427.76443481, 23.44759750, 0.00000000, 270.00000000, 190.00000000, 1, -1, -1, 250.0);
  1848. CreateDynamicObject(18857, -1339.98925781, -387.85064697, 23.44759750, 0.00000000, 270.00000000, 171.99755859, 1, -1, -1, 250.0);
  1849. CreateDynamicObject(18857, -1339.98925781, -387.85064697, 23.44759750, 0.00000000, 270.00000000, 171.99755859, 1, -1, -1, 250.0);
  1850. CreateDynamicObject(18846, -1339.48352051, -387.36431885, 17.94213104, 0.00000000, 0.00000000, 77.97106934, 1, -1, -1, 250.0);
  1851. CreateDynamicObject(18846, -1339.48352051, -387.36431885, 17.94213104, 0.00000000, 0.00000000, 77.97106934, 1, -1, -1, 250.0);
  1852. CreateDynamicObject(18846, -1641.03112793, -771.19702148, 66.66762543, 0.00000000, 0.00000000, 157.97924805, 1, -1, -1, 250.0);
  1853. CreateDynamicObject(18846, -1641.03112793, -771.19702148, 66.66762543, 0.00000000, 0.00000000, 157.97924805, 1, -1, -1, 250.0);
  1854. CreateDynamicObject(18862, -1262.77136230, -502.86059570, 18.19984436, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
  1855. CreateDynamicObject(18778, -1643.17041016, -593.14074707, 14.86718750, 5.99853516, 0.00000000, 19.98999023, 1, -1, -1, 250.0);
  1856. CreateDynamicObject(18778, -1644.33630371, -589.57647705, 17.86718750, 29.99853516, 0.00000000, 19.98962402, 1, -1, -1, 250.0);
  1857. CreateDynamicObject(18778, -1629.10009766, -587.93310547, 14.86718750, 5.99853516, 0.00000000, 19.98962402, 1, -1, -1, 250.0);
  1858. CreateDynamicObject(18778, -1629.94494629, -584.31127930, 17.86718750, 29.99816895, 0.00000000, 19.98413086, 1, -1, -1, 250.0);
  1859. CreateDynamicObject(10828, -1667.07958984, -118.39147186, 10.27123451, 0.00000000, 0.00000000, 314.00000000, 1, -1, -1, 250.0);
  1860. CreateDynamicObject(6959, -1752.85815430, -554.02703857, 12.76294899, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
  1861. CreateDynamicObject(18801, -1754.78137207, -308.64135742, 35.50605774, 2.03796387, 0.00000000, 278.03527832, 1, -1, -1, 250.0);
  1862. CreateDynamicObject(18778, -1767.91748047, -546.60125732, 13.45044899, 3.99902344, 0.00000000, 179.99951172, 1, -1, -1, 250.0);
  1863. CreateDynamicObject(18783, -1765.76306152, -560.63092041, 12.97388649, 0.00000000, 0.00000000, 359.99755859, 1, -1, -1, 250.0);
  1864. CreateDynamicObject(18778, -1752.36621094, -546.64147949, 13.45044899, 3.99353027, 0.00000000, 179.99450684, 1, -1, -1, 250.0);
  1865. CreateDynamicObject(18783, -1754.38098145, -560.50103760, 12.97388649, 0.00000000, 0.00000000, 359.99450684, 1, -1, -1, 250.0);
  1866. CreateDynamicObject(18779, -1764.63305664, -172.73101807, 22.92968750, 0.00000000, 0.00000000, 282.00000000, 1, -1, -1, 250.0);
  1867. CreateDynamicObject(18788, -1775.03576660, -118.83811951, 7.63706589, 0.00000000, 346.00000000, 354.00000000, 1, -1, -1, 250.0);
  1868. CreateDynamicObject(18788, -1736.33508301, -122.83140564, 12.38706589, 0.00000000, 359.99792480, 353.99597168, 1, -1, -1, 250.0);
  1869. CreateDynamicObject(18778, -1712.52050781, -124.71417236, 11.65625000, 0.00000000, 0.00000000, 84.00000000, 1, -1, -1, 250.0);
  1870. CreateDynamicObject(10828, -1687.97973633, -97.16738129, 10.27123451, 0.00000000, 0.00000000, 313.99475098, 1, -1, -1, 250.0);
  1871. CreateDynamicObject(10828, -1667.07910156, -118.39062500, -2.97876549, 0.00000000, 0.00000000, 313.99475098, 1, -1, -1, 250.0);
  1872. CreateDynamicObject(10828, -1667.07910156, -118.39062500, -18.22876549, 0.00000000, 0.00000000, 313.99475098, 1, -1, -1, 250.0);
  1873. //Police station LS Int
  1874. // 9592 = 19379 (Wall027)
  1875. // 18462 = 19450 (Wall090)
  1876. // 18621 = 19435 (Wall075)
  1877. // 9601 = 19388 (Wall036)
  1878. // 9571 = 19358 (Wall006)
  1879. // 18625 = 19431 (Wall071)
  1880. // 18469 = 19355 (Wall003)
  1881. // 9598 = 19385 (Wall033)
  1882. // 18465 = 19447 (Wall087)
  1883. // 9583 = 19370 (Wall018)
  1884. // 9617 = 19404 (Wall052)
  1885.  
  1886. CreateObject(19379,1469.39941406,-1754.00000000,3284.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (1)
  1887. CreateObject(19379,1479.00000000,-1754.00000000,3284.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (2)
  1888. CreateObject(1536,1475.69995117,-1748.86303711,3284.30004883,0.00000000,0.00000000,180.00000000); //object(gen_doorext15) (1)
  1889. CreateObject(1536,1472.69921875,-1748.89941406,3284.30004883,0.00000000,0.00000000,0.00000000); //object(gen_doorext15) (2)
  1890. CreateObject(19450,1464.50000000,-1753.59960938,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok10) (3)
  1891. CreateObject(19450,1483.79980469,-1753.59960938,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok10) (4)
  1892. CreateObject(18070,1474.19921875,-1755.89941406,3284.80004883,0.00000000,0.00000000,179.99450684); //object(gap_counter) (1)
  1893. CreateObject(19379,1479.00000000,-1764.50000000,3284.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (3)
  1894. CreateObject(19379,1469.39941406,-1764.50000000,3284.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (4)
  1895. CreateObject(18070,1474.19995117,-1755.80004883,3287.10009766,0.00000000,179.99450684,179.99450684); //object(gap_counter) (3)
  1896. CreateObject(19435,1477.80102539,-1756.59960938,3284.60009766,90.00000000,0.00000000,0.00000000); //object(cs_landbit_58_a) (1)
  1897. CreateObject(19435,1477.80078125,-1755.09960938,3284.60009766,90.00000000,0.00000000,0.00000000); //object(cs_landbit_58_a) (3)
  1898. CreateObject(19435,1476.13903809,-1753.40002441,3284.60009766,90.00000000,90.00000000,0.00000000); //object(cs_landbit_58_a) (4)
  1899. CreateObject(19435,1472.69995117,-1753.40002441,3284.60009766,90.00000000,90.00000000,0.00000000); //object(cs_landbit_58_a) (5)
  1900. CreateObject(19435,1472.26074219,-1753.40039062,3284.60009766,90.00000000,90.00000000,0.00000000); //object(cs_landbit_58_a) (6)
  1901. CreateObject(19435,1470.59960938,-1755.09960938,3284.60009766,90.00000000,0.00000000,0.00000000); //object(cs_landbit_58_a) (7)
  1902. CreateObject(19435,1470.59960938,-1756.59960938,3284.60009766,90.00000000,0.00000000,0.00000000); //object(cs_landbit_58_a) (8)
  1903. CreateObject(19379,1479.00000000,-1754.00000000,3287.69995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (5)
  1904. CreateObject(19379,1469.40002441,-1754.00000000,3287.69995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (6)
  1905. CreateObject(19435,1477.80102539,-1756.59960938,3287.30004883,90.00000000,0.00000000,0.00000000); //object(cs_landbit_58_a) (9)
  1906. CreateObject(19435,1477.79980469,-1755.09960938,3287.30004883,90.00000000,0.00000000,0.00000000); //object(cs_landbit_58_a) (10)
  1907. CreateObject(19435,1476.09960938,-1753.39941406,3287.30004883,90.00000000,90.00000000,0.00000000); //object(cs_landbit_58_a) (11)
  1908. CreateObject(19435,1472.69921875,-1753.39941406,3287.30004883,90.00000000,90.00000000,0.00000000); //object(cs_landbit_58_a) (12)
  1909. CreateObject(19435,1472.30004883,-1753.40100098,3287.30004883,90.00000000,90.00000000,0.00000000); //object(cs_landbit_58_a) (13)
  1910. CreateObject(19435,1470.59960938,-1755.09960938,3287.30004883,90.00000000,0.00000000,0.00000000); //object(cs_landbit_58_a) (14)
  1911. CreateObject(19435,1470.60095215,-1756.59960938,3287.30004883,90.00000000,0.00000000,0.00000000); //object(cs_landbit_58_a) (15)
  1912. CreateObject(19379,1459.79980469,-1764.50000000,3284.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (7)
  1913. CreateObject(19379,1488.59960938,-1764.50000000,3284.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (8)
  1914. CreateObject(19388,1483.79980469,-1763.19921875,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw15) (1)
  1915. CreateObject(19358,1464.50000000,-1760.00000000,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (1)
  1916. CreateObject(19431,1465.39941406,-1758.29980469,3286.00000000,0.00000000,0.00000000,270.00000000); //object(cs_landbit_48_a) (3)
  1917. CreateObject(19388,1467.80004883,-1758.30004883,3286.00000000,0.00000000,0.00000000,270.00000000); //object(road_sfw15) (2)
  1918. CreateObject(19358,1471.00000000,-1758.30004883,3286.00000000,0.00000000,0.00000000,90.00000000); //object(road_sfw12) (2)
  1919. CreateObject(19358,1477.39941406,-1758.29980469,3286.00000000,0.00000000,0.00000000,90.00000000); //object(road_sfw12) (3)
  1920. CreateObject(19388,1480.59960938,-1758.29980469,3286.00000000,0.00000000,0.00000000,270.00000000); //object(road_sfw15) (3)
  1921. CreateObject(19358,1483.79980469,-1766.39941406,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (4)
  1922. CreateObject(19358,1483.79980469,-1760.00000000,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (5)
  1923. CreateObject(19388,1464.50000000,-1763.19921875,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw15) (4)
  1924. CreateObject(19358,1464.50000000,-1766.39941406,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (6)
  1925. CreateObject(19431,1483.00000000,-1768.00000000,3286.00000000,0.00000000,0.00000000,270.00000000); //object(cs_landbit_48_a) (4)
  1926. CreateObject(19358,1479.00000000,-1769.51562500,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (7)
  1927. CreateObject(19358,1477.39941406,-1768.00000000,3286.00000000,0.00000000,0.00000000,90.00000000); //object(road_sfw12) (8)
  1928. CreateObject(14416,1474.09960938,-1771.00000000,3284.50000000,0.00000000,0.00000000,179.99450684); //object(carter-stairs07) (1)
  1929. CreateObject(19450,1475.79980469,-1772.72900391,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok10) (3)
  1930. CreateObject(19450,1472.50000000,-1772.72851562,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok10) (3)
  1931. CreateObject(19379,1479.00000000,-1762.79980469,3287.70092773,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (5)
  1932. CreateObject(19379,1469.39941406,-1762.79980469,3287.70092773,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (5)
  1933. CreateObject(19379,1477.29980469,-1778.29980469,3287.69995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (5)
  1934. CreateObject(19450,1467.77197266,-1773.00000000,3289.50000000,0.00000000,0.00000000,270.00000000); //object(cs_detrok10) (1)
  1935. CreateObject(19450,1477.30004883,-1768.00000000,3289.50000000,0.00000000,0.00000000,270.00000000); //object(cs_detrok10) (1)
  1936. CreateObject(19450,1480.52697754,-1773.00000000,3289.50000000,0.00000000,0.00000000,270.00000000); //object(cs_detrok10) (1)
  1937. CreateObject(19450,1485.30004883,-1777.90002441,3289.50000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok10) (4)
  1938. CreateObject(19450,1463.00000000,-1777.90002441,3289.50000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok10) (4)
  1939. CreateObject(19379,1480.50000000,-1777.89941406,3291.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (5)
  1940. CreateObject(19379,1470.90002441,-1777.90002441,3291.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (5)
  1941. CreateObject(19379,1461.29980469,-1777.89941406,3291.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (5)
  1942. CreateObject(19379,1470.90002441,-1767.40002441,3291.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (5)
  1943. CreateObject(19450,1472.50000000,-1768.09960938,3289.50000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok10) (4)
  1944. CreateObject(19450,1475.80004883,-1768.09997559,3289.50000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok10) (4)
  1945. CreateObject(19379,1467.69921875,-1778.29980469,3287.69995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (5)
  1946. CreateObject(19379,1486.90002441,-1778.30004883,3287.69995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (5)
  1947. CreateObject(19450,1467.80004883,-1782.69995117,3289.50000000,0.00000000,0.00000000,270.00000000); //object(cs_detrok10) (1)
  1948. CreateObject(19450,1480.50000000,-1782.69995117,3289.50000000,0.00000000,0.00000000,270.00000000); //object(cs_detrok10) (1)
  1949. CreateObject(19388,1474.09997559,-1782.69995117,3289.50000000,0.00000000,0.00000000,270.00000000); //object(road_sfw15) (5)
  1950. CreateObject(19379,1474.09960938,-1788.79980469,3287.69995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (5)
  1951. CreateObject(19450,1478.79980469,-1787.59960938,3289.50000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok10) (4)
  1952. CreateObject(19450,1469.39941406,-1787.59960938,3289.50000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok10) (4)
  1953. CreateObject(19379,1474.09960938,-1788.39941406,3291.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (5)
  1954. CreateObject(19431,1483.00000000,-1758.29980469,3286.00000000,0.00000000,0.00000000,270.00000000); //object(cs_landbit_48_a) (6)
  1955. CreateObject(19431,1474.09997559,-1786.40002441,3289.50000000,0.00000000,0.00000000,180.00000000); //object(cs_landbit_48_a) (7)
  1956. CreateObject(19431,1474.81298828,-1785.59997559,3289.50000000,0.00000000,0.00000000,90.00000000); //object(cs_landbit_48_a) (8)
  1957. CreateObject(19388,1477.19995117,-1785.59997559,3289.50000000,0.00000000,0.00000000,270.00000000); //object(road_sfw15) (6)
  1958. CreateObject(19431,1474.09960938,-1791.19921875,3289.50000000,0.00000000,0.00000000,179.99450684); //object(cs_landbit_48_a) (9)
  1959. CreateObject(19358,1474.09960938,-1788.79980469,3289.50000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (19)
  1960. CreateObject(19431,1478.80004883,-1793.19995117,3289.50000000,0.00000000,0.00000000,179.99450684); //object(cs_landbit_48_a) (11)
  1961. CreateObject(19388,1474.19921875,-1758.29980469,3286.00000000,0.00000000,0.00000000,270.00000000); //object(road_sfw15) (3)
  1962. CreateObject(19358,1485.40002441,-1768.00000000,3286.00000000,0.00000000,0.00000000,90.00000000); //object(road_sfw12) (7)
  1963. CreateObject(19358,1485.40002441,-1759.30004883,3286.00000000,0.00000000,0.00000000,90.00000000); //object(road_sfw12) (7)
  1964. CreateObject(19358,1487.00000000,-1766.40002441,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (4)
  1965. CreateObject(19388,1487.00000000,-1763.19995117,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw15) (1)
  1966. CreateObject(19358,1487.00000000,-1760.00000000,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (5)
  1967. CreateObject(19379,1498.19995117,-1764.50000000,3284.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (8)
  1968. CreateObject(19379,1507.80004883,-1764.50000000,3284.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (8)
  1969. CreateObject(19379,1488.59997559,-1754.00000000,3284.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (8)
  1970. CreateObject(19379,1498.19995117,-1754.00000000,3284.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (8)
  1971. CreateObject(19379,1507.80004883,-1754.00000000,3284.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (8)
  1972. CreateObject(19447,1487.09997559,-1756.80004883,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok13) (1)
  1973. CreateObject(19385,1487.09997559,-1763.19995117,3286.00000000,0.00000000,0.00000000,0.00000000); //object(sfw_boxwest02) (1)
  1974. CreateObject(19447,1492.00000000,-1769.69921875,3286.00000000,0.00000000,0.00000000,270.00000000); //object(cs_detrok13) (2)
  1975. CreateObject(19355,1488.79980469,-1761.50000000,3286.00000000,0.00000000,0.00000000,90.00000000); //object(cs_landbit_12) (1)
  1976. CreateObject(19355,1488.80004883,-1764.90002441,3286.00000000,0.00000000,0.00000000,90.00000000); //object(cs_landbit_12) (2)
  1977. CreateObject(19385,1492.00000000,-1761.50000000,3286.00000000,0.00000000,0.00000000,90.00000000); //object(sfw_boxwest02) (2)
  1978. CreateObject(19447,1490.39941406,-1756.59960938,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok13) (3)
  1979. CreateObject(19385,1495.19921875,-1761.50000000,3286.00000000,0.00000000,0.00000000,90.00000000); //object(sfw_boxwest02) (6)
  1980. CreateObject(19385,1498.39941406,-1761.50000000,3286.00000000,0.00000000,0.00000000,90.00000000); //object(sfw_boxwest02) (7)
  1981. CreateObject(19385,1501.59997559,-1761.50000000,3286.00000000,0.00000000,0.00000000,90.00000000); //object(sfw_boxwest02) (8)
  1982. CreateObject(19447,1493.59997559,-1756.69995117,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok13) (4)
  1983. CreateObject(19447,1496.80004883,-1756.59997559,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok13) (5)
  1984. CreateObject(19447,1500.09997559,-1756.59997559,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok13) (6)
  1985. CreateObject(19447,1503.30004883,-1756.69995117,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok13) (7)
  1986. CreateObject(19447,1503.29980469,-1766.29980469,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok13) (8)
  1987. CreateObject(19385,1492.00000000,-1764.90002441,3286.00000000,0.00000000,0.00000000,90.00000000); //object(sfw_boxwest02) (9)
  1988. CreateObject(19385,1495.19921875,-1764.89941406,3286.00000000,0.00000000,0.00000000,90.00000000); //object(sfw_boxwest02) (10)
  1989. CreateObject(19385,1498.40002441,-1764.90002441,3286.00000000,0.00000000,0.00000000,90.00000000); //object(sfw_boxwest02) (11)
  1990. CreateObject(19385,1501.59997559,-1764.90002441,3286.00000000,0.00000000,0.00000000,90.00000000); //object(sfw_boxwest02) (12)
  1991. CreateObject(19447,1487.09960938,-1769.59960938,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok13) (9)
  1992. CreateObject(19447,1501.59997559,-1769.69995117,3286.00000000,0.00000000,0.00000000,270.00000000); //object(cs_detrok13) (10)
  1993. CreateObject(19447,1490.40002441,-1769.80004883,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok13) (11)
  1994. CreateObject(19447,1493.59997559,-1769.80004883,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok13) (12)
  1995. CreateObject(19447,1496.79980469,-1769.79980469,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok13) (13)
  1996. CreateObject(19447,1500.00000000,-1769.80004883,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok13) (14)
  1997. CreateObject(19447,1492.00000000,-1757.09997559,3286.00000000,0.00000000,0.00000000,270.00000000); //object(cs_detrok13) (15)
  1998. CreateObject(19447,1501.59960938,-1757.09960938,3286.00000000,0.00000000,0.00000000,270.00000000); //object(cs_detrok13) (16)
  1999. CreateObject(19379,1488.59960938,-1764.50000000,3287.69995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (8)
  2000. CreateObject(19379,1498.19995117,-1764.50000000,3287.69995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (8)
  2001. CreateObject(19379,1507.79980469,-1764.50000000,3287.69995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (8)
  2002. CreateObject(19379,1507.80004883,-1754.00000000,3287.69995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (8)
  2003. CreateObject(19379,1498.19995117,-1754.00000000,3287.69995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (8)
  2004. CreateObject(19379,1488.59997559,-1754.00000000,3287.69995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (8)
  2005. CreateObject(19450,1459.59997559,-1759.19995117,3286.00000000,0.00000000,0.00000000,270.00000000); //object(cs_detrok10) (1)
  2006. CreateObject(19450,1459.69921875,-1768.00000000,3286.00000000,0.00000000,0.00000000,270.00000000); //object(cs_detrok10) (1)
  2007. CreateObject(19450,1454.90002441,-1763.19995117,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok10) (3)
  2008. CreateObject(19379,1459.80004883,-1764.50000000,3287.69995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (7)
  2009. CreateObject(2008,1474.69995117,-1754.30004883,3284.48999023,0.00000000,0.00000000,0.00000000); //object(officedesk1) (1)
  2010. CreateObject(2008,1472.59997559,-1754.30004883,3284.48999023,0.00000000,0.00000000,0.00000000); //object(officedesk1) (2)
  2011. CreateObject(2607,1471.40002441,-1755.90002441,3284.89990234,0.00000000,0.00000000,270.00000000); //object(polce_desk2) (1)
  2012. CreateObject(2007,1486.40002441,-1759.90002441,3284.30004883,0.00000000,0.00000000,0.00000000); //object(filing_cab_nu01) (1)
  2013. CreateObject(2007,1485.40002441,-1759.90002441,3284.30004883,0.00000000,0.00000000,0.00000000); //object(filing_cab_nu01) (2)
  2014. CreateObject(2007,1484.39941406,-1759.89941406,3284.30004883,0.00000000,0.00000000,0.00000000); //object(filing_cab_nu01) (3)
  2015. CreateObject(2162,1471.81005859,-1758.09997559,3284.38500977,0.00000000,0.00000000,180.00000000); //object(med_office_unit_1) (1)
  2016. CreateObject(2606,1473.19995117,-1754.40002441,3287.00000000,6.50000000,0.00000000,0.00000000); //object(cj_police_counter2) (1)
  2017. CreateObject(2606,1475.19995117,-1754.40002441,3287.00000000,6.49841309,0.00000000,0.00000000); //object(cj_police_counter2) (3)
  2018. CreateObject(2162,1476.69995117,-1754.19995117,3284.38500977,0.00000000,0.00000000,312.74450684); //object(med_office_unit_1) (2)
  2019. CreateObject(1811,1483.19995117,-1752.40002441,3284.89990234,0.00000000,0.00000000,0.00000000); //object(med_din_chair_5) (1)
  2020. CreateObject(1811,1483.19921875,-1753.19921875,3284.89990234,0.00000000,0.00000000,0.00000000); //object(med_din_chair_5) (2)
  2021. CreateObject(1811,1483.19995117,-1754.00000000,3284.89990234,0.00000000,0.00000000,0.00000000); //object(med_din_chair_5) (3)
  2022. CreateObject(1811,1483.19995117,-1754.80004883,3284.89990234,0.00000000,0.00000000,0.00000000); //object(med_din_chair_5) (4)
  2023. CreateObject(1892,1472.90002441,-1749.50000000,3284.30004883,0.00000000,0.00000000,0.00000000); //object(security_gatsh) (1)
  2024. CreateObject(1892,1474.50000000,-1749.50000000,3284.30004883,0.00000000,0.00000000,0.00000000); //object(security_gatsh) (2)
  2025. CreateObject(2111,1482.69995117,-1750.90002441,3284.69995117,0.00000000,0.00000000,0.00000000); //object(low_dinning_5) (1)
  2026. CreateObject(2816,1482.59997559,-1751.19995117,3285.11010742,0.00000000,0.00000000,0.00000000); //object(gb_bedmags01) (1)
  2027. CreateObject(14401,1453.30004883,-1747.40002441,3284.60009766,0.00000000,0.00000000,180.00000000); //object(bench1) (1)
  2028. CreateObject(14401,1443.09960938,-1773.59960938,3284.60009766,0.00000000,0.00000000,269.99450684); //object(bench1) (2)
  2029. CreateObject(1502,1464.43945312,-1762.41503906,3284.23999023,0.00000000,0.00000000,270.00000000); //object(gen_doorint04) (1)
  2030. CreateObject(14782,1461.30004883,-1759.69995117,3285.30004883,0.00000000,0.00000000,0.00000000); //object(int3int_boxing30) (1)
  2031. CreateObject(14782,1455.69995117,-1760.00000000,3285.30004883,0.00000000,0.00000000,90.00000000); //object(int3int_boxing30) (4)
  2032. CreateObject(2846,1456.09997559,-1760.59997559,3284.30004883,0.00000000,0.00000000,0.00000000); //object(gb_bedclothes05) (1)
  2033. CreateObject(2614,1474.15002441,-1768.12500000,3289.50000000,0.00000000,0.00000000,0.00000000); //object(cj_us_flag) (1)
  2034. CreateObject(2007,1463.00000000,-1767.40002441,3284.30004883,0.00000000,0.00000000,180.00000000); //object(filing_cab_nu01) (3)
  2035. CreateObject(2007,1462.00000000,-1767.40002441,3284.30004883,0.00000000,0.00000000,179.99450684); //object(filing_cab_nu01) (3)
  2036. CreateObject(2007,1461.00000000,-1767.40002441,3284.30004883,0.00000000,0.00000000,179.99450684); //object(filing_cab_nu01) (3)
  2037. CreateObject(2400,1464.40002441,-1764.59997559,3284.39990234,0.00000000,0.00000000,270.00000000); //object(cj_sports_wall01) (1)
  2038. CreateObject(2689,1464.00000000,-1765.09997559,3285.69995117,0.00000000,0.00000000,270.00000000); //object(cj_hoodie_2) (1)
  2039. CreateObject(2704,1464.09997559,-1765.69995117,3285.69995117,0.00000000,0.00000000,270.00000000); //object(cj_hoodie_3) (1)
  2040. CreateObject(19358,1482.19995117,-1769.51599121,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (7)
  2041. CreateObject(14416,1480.59997559,-1772.80004883,3281.10009766,0.00000000,0.00000000,359.99450684); //object(carter-stairs07) (1)
  2042. CreateObject(19358,1482.19995117,-1769.59997559,3282.50000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (7)
  2043. CreateObject(19358,1482.19995117,-1772.80004883,3282.50000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (7)
  2044. CreateObject(19358,1482.19995117,-1772.69995117,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (7)
  2045. CreateObject(19358,1479.00000000,-1769.59997559,3282.50000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (7)
  2046. CreateObject(19358,1479.00000000,-1772.80004883,3282.50000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (7)
  2047. CreateObject(19358,1479.00000000,-1772.69995117,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (7)
  2048. CreateObject(14416,1480.50000000,-1779.09997559,3277.60009766,0.00000000,0.00000000,359.98901367); //object(carter-stairs07) (1)
  2049. CreateObject(19358,1482.19995117,-1776.00000000,3282.50000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (7)
  2050. CreateObject(19358,1479.00000000,-1776.00000000,3282.50000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (7)
  2051. CreateObject(19358,1482.19995117,-1775.90002441,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (7)
  2052. CreateObject(19358,1479.00000000,-1775.90002441,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (7)
  2053. CreateObject(19358,1480.59960938,-1777.50000000,3282.50000000,0.00000000,0.00000000,90.00000000); //object(road_sfw12) (7)
  2054. CreateObject(19358,1480.59997559,-1777.50000000,3286.00000000,0.00000000,0.00000000,90.00000000); //object(road_sfw12) (7)
  2055. CreateObject(19370,1480.50000000,-1769.59960938,3287.69995117,0.00000000,90.00000000,0.00000000); //object(freight_sfw15) (1)
  2056. CreateObject(19370,1480.50000000,-1772.79980469,3287.69799805,0.00000000,90.00000000,0.00000000); //object(freight_sfw15) (2)
  2057. CreateObject(19370,1480.59960938,-1776.00000000,3287.69799805,0.00000000,90.00000000,0.00000000); //object(freight_sfw15) (3)
  2058. CreateObject(14416,1480.50000000,-1780.30004883,3277.60009766,0.00000000,0.00000000,359.98901367); //object(carter-stairs07) (1)
  2059. CreateObject(1536,1479.09997559,-1777.43701172,3280.80004883,0.00000000,0.00000000,0.00000000); //object(gen_doorext15) (2)
  2060. CreateObject(1536,1482.09997559,-1777.40002441,3280.80004883,0.00000000,0.00000000,180.00000000); //object(gen_doorext15) (2)
  2061. CreateObject(1811,1464.00000000,-1777.80004883,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (5)
  2062. CreateObject(1811,1464.90002441,-1777.80004883,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (6)
  2063. CreateObject(1811,1465.80004883,-1777.80004883,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (7)
  2064. CreateObject(1811,1466.69995117,-1777.80004883,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (9)
  2065. CreateObject(1811,1467.59997559,-1777.80004883,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (10)
  2066. CreateObject(1811,1467.59997559,-1776.09997559,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (11)
  2067. CreateObject(1811,1466.69995117,-1776.09997559,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (12)
  2068. CreateObject(1811,1465.80004883,-1776.09997559,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (13)
  2069. CreateObject(1811,1464.90002441,-1776.09997559,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (14)
  2070. CreateObject(1811,1464.00000000,-1776.09997559,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (15)
  2071. CreateObject(1811,1467.59997559,-1774.59997559,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (16)
  2072. CreateObject(1811,1466.69995117,-1774.59997559,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (17)
  2073. CreateObject(1811,1465.90002441,-1774.59997559,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (18)
  2074. CreateObject(1811,1465.00000000,-1774.59997559,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (19)
  2075. CreateObject(1811,1464.09997559,-1774.59997559,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (20)
  2076. CreateObject(3077,1466.80004883,-1781.80004883,3287.80004883,0.00000000,0.00000000,0.00000000); //object(nf_blackboard) (1)
  2077. CreateObject(14532,1464.09960938,-1781.19921875,3288.80004883,0.00000000,0.00000000,349.99694824); //object(tv_stand_driv) (1)
  2078. CreateObject(19358,1470.50000000,-1774.69995117,3289.50000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (7)
  2079. CreateObject(19388,1470.50000000,-1777.90002441,3289.50000000,0.00000000,0.00000000,0.00000000); //object(road_sfw15) (1)
  2080. CreateObject(19358,1470.50000000,-1781.09997559,3289.50000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (7)
  2081. CreateObject(2357,1471.59960938,-1787.69921875,3288.19995117,0.00000000,0.00000000,270.00000000); //object(dunc_dinning) (1)
  2082. CreateObject(1714,1513.09997559,-1837.50000000,3216.69995117,0.00000000,0.00000000,0.00000000); //object(kb_swivelchair1) (1)
  2083. CreateObject(1714,1471.59997559,-1790.69995117,3287.80004883,0.00000000,0.00000000,180.00000000); //object(kb_swivelchair1) (2)
  2084. CreateObject(1671,1470.40002441,-1788.90002441,3288.19995117,0.00000000,0.00000000,90.00000000); //object(swivelchair_a) (1)
  2085. CreateObject(1671,1470.40002441,-1787.69995117,3288.19995117,0.00000000,0.00000000,90.00000000); //object(swivelchair_a) (2)
  2086. CreateObject(1671,1470.40002441,-1786.50000000,3288.19995117,0.00000000,0.00000000,90.00000000); //object(swivelchair_a) (4)
  2087. CreateObject(1671,1472.90002441,-1788.90002441,3288.19995117,0.00000000,0.00000000,270.00000000); //object(swivelchair_a) (5)
  2088. CreateObject(1671,1472.90002441,-1787.69995117,3288.19995117,0.00000000,0.00000000,270.00000000); //object(swivelchair_a) (7)
  2089. CreateObject(1671,1472.90002441,-1786.50000000,3288.19995117,0.00000000,0.00000000,270.00000000); //object(swivelchair_a) (9)
  2090. CreateObject(14532,1470.09960938,-1791.59960938,3288.80004883,0.00000000,0.00000000,337.99438477); //object(tv_stand_driv) (1)
  2091. CreateObject(1671,1475.19995117,-1790.40002441,3288.19995117,0.00000000,0.00000000,180.00000000); //object(swivelchair_a) (10)
  2092. CreateObject(2165,1478.19995117,-1790.09997559,3287.80004883,0.00000000,0.00000000,270.00000000); //object(med_office_desk_1) (1)
  2093. CreateObject(2166,1477.19995117,-1788.09997559,3287.80004883,0.00000000,0.00000000,270.00000000); //object(med_office_desk_2) (1)
  2094. CreateObject(2173,1474.69995117,-1789.50000000,3287.80004883,0.00000000,0.00000000,0.00000000); //object(med_office_desk_3) (1)
  2095. CreateObject(1671,1477.29980469,-1790.69921875,3288.19995117,0.00000000,0.00000000,90.00000000); //object(swivelchair_a) (11)
  2096. CreateObject(1671,1475.09997559,-1788.50000000,3288.19995117,0.00000000,0.00000000,358.24450684); //object(swivelchair_a) (12)
  2097. CreateObject(2186,1476.59997559,-1773.59997559,3287.80004883,0.00000000,0.00000000,0.00000000); //object(photocopier_1) (1)
  2098. CreateObject(2612,1474.22302246,-1790.40002441,3289.60009766,0.00000000,0.00000000,90.00000000); //object(police_nb2) (1)
  2099. CreateObject(2611,1474.22399902,-1787.80004883,3289.62011719,0.00000000,0.00000000,90.00000000); //object(police_nb1) (1)
  2100. CreateObject(1502,1476.45996094,-1785.61999512,3287.73510742,0.00000000,0.00000000,0.00000000); //object(gen_doorint04) (1)
  2101. CreateObject(2165,1479.19995117,-1775.59997559,3287.80004883,0.00000000,0.00000000,90.00000000); //object(med_office_desk_1) (2)
  2102. CreateObject(2165,1479.30004883,-1778.50000000,3287.80004883,0.00000000,0.00000000,90.00000000); //object(med_office_desk_1) (3)
  2103. CreateObject(2165,1479.40002441,-1781.50000000,3287.80004883,0.00000000,0.00000000,90.00000000); //object(med_office_desk_1) (4)
  2104. CreateObject(2165,1482.30004883,-1775.59997559,3287.80004883,0.00000000,0.00000000,90.00000000); //object(med_office_desk_1) (5)
  2105. CreateObject(2165,1482.40002441,-1778.50000000,3287.80004883,0.00000000,0.00000000,90.00000000); //object(med_office_desk_1) (6)
  2106. CreateObject(2165,1482.50000000,-1781.50000000,3287.80004883,0.00000000,0.00000000,90.00000000); //object(med_office_desk_1) (7)
  2107. CreateObject(1671,1483.19995117,-1775.00000000,3288.19995117,0.00000000,0.00000000,270.00000000); //object(swivelchair_a) (13)
  2108. CreateObject(1671,1480.19995117,-1775.00000000,3288.19995117,0.00000000,0.00000000,270.00000000); //object(swivelchair_a) (14)
  2109. CreateObject(1671,1483.30004883,-1778.00000000,3288.19995117,0.00000000,0.00000000,270.00000000); //object(swivelchair_a) (15)
  2110. CreateObject(1671,1483.50000000,-1781.00000000,3288.19995117,0.00000000,0.00000000,270.00000000); //object(swivelchair_a) (16)
  2111. CreateObject(1671,1480.40002441,-1781.09997559,3288.19995117,0.00000000,0.00000000,270.00000000); //object(swivelchair_a) (17)
  2112. CreateObject(1671,1480.19995117,-1778.00000000,3288.19995117,0.00000000,0.00000000,270.00000000); //object(swivelchair_a) (18)
  2113. CreateObject(2186,1474.79980469,-1786.19921875,3287.80004883,0.00000000,0.00000000,0.00000000); //object(photocopier_1) (2)
  2114. CreateObject(2007,1471.19995117,-1773.69995117,3287.80004883,0.00000000,0.00000000,90.00000000); //object(filing_cab_nu01) (3)
  2115. CreateObject(2007,1471.19995117,-1774.69995117,3287.80004883,0.00000000,0.00000000,90.00000000); //object(filing_cab_nu01) (3)
  2116. CreateObject(2007,1471.19995117,-1775.69995117,3287.80004883,0.00000000,0.00000000,90.00000000); //object(filing_cab_nu01) (3)
  2117. CreateObject(2166,1471.90002441,-1779.09997559,3287.80004883,0.00000000,0.00000000,270.00000000); //object(med_office_desk_2) (2)
  2118. CreateObject(2165,1472.90002441,-1781.09997559,3287.80004883,0.00000000,0.00000000,270.00000000); //object(med_office_desk_1) (8)
  2119. CreateObject(1714,1471.69995117,-1781.69995117,3287.80004883,0.00000000,0.00000000,89.99450684); //object(kb_swivelchair1) (3)
  2120. CreateObject(1800,1492.69995117,-1760.80004883,3284.30004883,0.00000000,0.00000000,0.00000000); //object(low_bed_1) (1)
  2121. CreateObject(1800,1495.90002441,-1760.80004883,3284.30004883,0.00000000,0.00000000,0.00000000); //object(low_bed_1) (2)
  2122. CreateObject(1800,1499.19995117,-1760.80004883,3284.30004883,0.00000000,0.00000000,0.00000000); //object(low_bed_1) (3)
  2123. CreateObject(1800,1502.40002441,-1760.80004883,3284.30004883,0.00000000,0.00000000,0.00000000); //object(low_bed_1) (4)
  2124. CreateObject(1800,1491.00000000,-1770.59997559,3284.30004883,0.00000000,0.00000000,0.00000000); //object(low_bed_1) (5)
  2125. CreateObject(1800,1494.19995117,-1770.50000000,3284.30004883,0.00000000,0.00000000,0.00000000); //object(low_bed_1) (6)
  2126. CreateObject(1800,1497.40002441,-1770.50000000,3284.30004883,0.00000000,0.00000000,0.00000000); //object(low_bed_1) (7)
  2127. CreateObject(1800,1500.59997559,-1770.59997559,3284.30004883,0.00000000,0.00000000,0.00000000); //object(low_bed_1) (8)
  2128. CreateObject(2738,1500.59997559,-1766.09997559,3284.89990234,0.00000000,0.00000000,90.00000000); //object(cj_toilet_bs) (1)
  2129. CreateObject(2738,1497.30004883,-1766.09997559,3284.89990234,0.00000000,0.00000000,90.00000000); //object(cj_toilet_bs) (2)
  2130. CreateObject(2738,1494.09997559,-1766.09997559,3284.89990234,0.00000000,0.00000000,90.00000000); //object(cj_toilet_bs) (3)
  2131. CreateObject(2738,1490.90002441,-1766.09997559,3284.89990234,0.00000000,0.00000000,90.00000000); //object(cj_toilet_bs) (4)
  2132. CreateObject(2738,1491.00000000,-1759.90002441,3284.89990234,0.00000000,0.00000000,90.00000000); //object(cj_toilet_bs) (5)
  2133. CreateObject(2738,1494.09997559,-1760.00000000,3284.89990234,0.00000000,0.00000000,90.00000000); //object(cj_toilet_bs) (6)
  2134. CreateObject(2738,1497.30004883,-1760.00000000,3284.89990234,0.00000000,0.00000000,90.00000000); //object(cj_toilet_bs) (7)
  2135. CreateObject(2738,1500.59997559,-1759.90002441,3284.89990234,0.00000000,0.00000000,90.00000000); //object(cj_toilet_bs) (8)
  2136. CreateObject(2524,1500.69995117,-1758.59997559,3284.30004883,0.00000000,0.00000000,90.00000000); //object(cj_b_sink4) (1)
  2137. CreateObject(2524,1497.40002441,-1758.69995117,3284.30004883,0.00000000,0.00000000,90.00000000); //object(cj_b_sink4) (2)
  2138. CreateObject(2524,1494.19995117,-1758.80004883,3284.30004883,0.00000000,0.00000000,90.00000000); //object(cj_b_sink4) (3)
  2139. CreateObject(2524,1491.00000000,-1758.90002441,3284.30004883,0.00000000,0.00000000,90.00000000); //object(cj_b_sink4) (4)
  2140. CreateObject(2524,1493.00000000,-1767.59997559,3284.30004883,0.00000000,0.00000000,270.00000000); //object(cj_b_sink4) (5)
  2141. CreateObject(2524,1496.19995117,-1767.59997559,3284.30004883,0.00000000,0.00000000,270.00000000); //object(cj_b_sink4) (6)
  2142. CreateObject(2524,1499.40002441,-1767.59997559,3284.30004883,0.00000000,0.00000000,270.00000000); //object(cj_b_sink4) (7)
  2143. CreateObject(2524,1502.69995117,-1767.59997559,3284.30004883,0.00000000,0.00000000,270.00000000); //object(cj_b_sink4) (8)
  2144. CreateObject(2007,1493.00000000,-1760.59997559,3284.30004883,0.00000000,0.00000000,270.00000000); //object(filing_cab_nu01) (3)
  2145. CreateObject(2007,1496.19995117,-1760.50000000,3284.30004883,0.00000000,0.00000000,270.00000000); //object(filing_cab_nu01) (3)
  2146. CreateObject(2007,1499.50000000,-1760.40002441,3284.30004883,0.00000000,0.00000000,270.00000000); //object(filing_cab_nu01) (3)
  2147. CreateObject(2007,1502.69995117,-1760.30004883,3284.30004883,0.00000000,0.00000000,270.00000000); //object(filing_cab_nu01) (3)
  2148. CreateObject(2007,1502.69995117,-1766.30004883,3284.30004883,0.00000000,0.00000000,270.00000000); //object(filing_cab_nu01) (3)
  2149. CreateObject(2007,1499.40002441,-1766.30004883,3284.30004883,0.00000000,0.00000000,270.00000000); //object(filing_cab_nu01) (3)
  2150. CreateObject(2007,1496.19995117,-1766.30004883,3284.30004883,0.00000000,0.00000000,270.00000000); //object(filing_cab_nu01) (3)
  2151. CreateObject(2007,1493.00000000,-1766.30004883,3284.30004883,0.00000000,0.00000000,270.00000000); //object(filing_cab_nu01) (3)
  2152. CreateObject(19450,1467.59997559,-1768.00097656,3286.00000000,0.00000000,0.00000000,270.00000000); //object(cs_detrok10) (1)
  2153. CreateObject(1811,1472.30004883,-1758.90002441,3284.89990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (2)
  2154. CreateObject(1811,1471.50000000,-1758.90002441,3284.89990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (2)
  2155. CreateObject(1811,1470.69995117,-1758.90002441,3284.89990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (2)
  2156. CreateObject(1811,1469.90002441,-1758.90002441,3284.89990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (2)
  2157. CreateObject(18608,1473.50000000,-1763.19995117,3288.50000000,0.00000000,0.00000000,270.00000000); //object(counts_lights01) (1)
  2158. CreateObject(18608,1452.09997559,-1763.80004883,3288.50000000,0.00000000,0.00000000,270.00000000); //object(counts_lights01) (2)
  2159. CreateObject(18608,1474.80004883,-1756.40002441,3288.50000000,0.00000000,0.00000000,270.00000000); //object(counts_lights01) (3)
  2160. CreateObject(18608,1470.90002441,-1750.90002441,3288.50000000,0.00000000,0.00000000,270.00000000); //object(counts_lights01) (4)
  2161. CreateObject(18608,1474.69995117,-1777.80004883,3292.19995117,0.00000000,0.00000000,270.00000000); //object(counts_lights01) (5)
  2162. CreateObject(18608,1464.09997559,-1786.69995117,3292.19995117,0.00000000,0.00000000,270.00000000); //object(counts_lights01) (6)
  2163. CreateObject(18608,1483.89941406,-1788.89941406,3292.19995117,0.00000000,0.00000000,270.00000000); //object(counts_lights01) (7)
  2164. CreateObject(18608,1492.80004883,-1763.19995117,3288.50000000,0.00000000,0.00000000,270.00000000); //object(counts_lights01) (8)
  2165. CreateObject(1886,1465.09997559,-1757.59997559,3287.69995117,8.49990845,0.25277710,139.71264648); //object(shop_sec_cam) (1)
  2166. CreateObject(1886,1483.40002441,-1757.80004883,3287.50000000,8.49792480,0.25268555,219.70764160); //object(shop_sec_cam) (2)
  2167. CreateObject(1886,1502.69995117,-1764.40002441,3287.80004883,12.49789429,0.25598145,243.68652344); //object(shop_sec_cam) (3)
  2168. CreateObject(1886,1465.19921875,-1767.50000000,3287.80004883,8.49792480,0.25268555,123.70056152); //object(shop_sec_cam) (4)
  2169. CreateObject(19431,1469.40002441,-1793.19995117,3289.50000000,0.00000000,0.00000000,179.99450684); //object(cs_landbit_48_a) (11)
  2170. CreateObject(19431,1474.09960938,-1792.79980469,3289.50000000,0.00000000,0.00000000,179.99450684); //object(cs_landbit_48_a) (11)
  2171. CreateObject(19404,1471.69995117,-1793.50000000,3289.50000000,0.00000000,0.00000000,270.00000000); //object(boigagr_sfw) (1)
  2172. CreateObject(19431,1474.09997559,-1793.50000000,3289.50000000,0.00000000,0.00000000,90.00000000); //object(cs_landbit_48_a) (11)
  2173. CreateObject(19431,1469.30004883,-1793.50000000,3289.50000000,0.00000000,0.00000000,90.00000000); //object(cs_landbit_48_a) (11)
  2174. CreateObject(19404,1476.50000000,-1793.50000000,3289.50000000,0.00000000,0.00000000,270.00000000); //object(boigagr_sfw) (2)
  2175. CreateObject(19431,1478.90002441,-1793.50000000,3289.50000000,0.00000000,0.00000000,90.00000000); //object(cs_landbit_48_a) (11)
  2176. CreateObject(4108,1480.50000000,-1805.90002441,3287.89990234,0.00000000,0.00000000,270.00000000); //object(roads01b_lan) (1)
  2177. CreateObject(717,1477.09997559,-1805.90002441,3284.10009766,0.00000000,0.00000000,92.00000000); //object(sm_bevhiltreepv) (1)
  2178. CreateObject(717,1486.59997559,-1805.80004883,3284.10009766,0.00000000,0.00000000,91.99951172); //object(sm_bevhiltreepv) (2)
  2179. CreateObject(717,1496.59997559,-1805.69995117,3284.10009766,0.00000000,0.00000000,91.99951172); //object(sm_bevhiltreepv) (3)
  2180. CreateObject(717,1508.80004883,-1805.59997559,3284.10009766,0.00000000,0.00000000,91.99951172); //object(sm_bevhiltreepv) (4)
  2181. CreateObject(717,1520.59997559,-1805.50000000,3284.10009766,0.00000000,0.00000000,91.99951172); //object(sm_bevhiltreepv) (5)
  2182. CreateObject(717,1467.80004883,-1805.90002441,3284.10009766,0.00000000,0.00000000,91.99951172); //object(sm_bevhiltreepv) (6)
  2183. CreateObject(717,1457.09997559,-1805.59997559,3284.10009766,0.00000000,0.00000000,91.99951172); //object(sm_bevhiltreepv) (7)
  2184. CreateObject(717,1445.30004883,-1805.19995117,3284.10009766,0.00000000,0.00000000,91.99951172); //object(sm_bevhiltreepv) (8)
  2185. CreateObject(717,1434.90002441,-1805.30004883,3284.10009766,0.00000000,0.00000000,91.99951172); //object(sm_bevhiltreepv) (9)
  2186. CreateObject(717,1421.90002441,-1805.69995117,3284.10009766,0.00000000,0.00000000,92.00000000); //object(sm_bevhiltreepv) (10)
  2187. CreateObject(6199,1450.69995117,-1831.09997559,3295.89990234,0.00000000,0.00000000,4.75000000); //object(gaz27_law) (1)
  2188. CreateObject(6199,1500.59997559,-1831.30004883,3295.89990234,0.00000000,0.00000000,4.74609375); //object(gaz27_law) (2)
  2189. CreateObject(6364,1551.59997559,-1819.50000000,3308.19995117,0.00000000,0.00000000,68.00000000); //object(sunset07_law2) (1)
  2190. CreateObject(6364,1568.69995117,-1845.80004883,3308.19995117,0.00000000,0.00000000,82.99987793); //object(sunset07_law2) (2)
  2191. CreateObject(6391,1403.59997559,-1822.80004883,3327.60009766,0.00000000,0.00000000,97.00000000); //object(sanclifft05_law2) (1)
  2192. CreateObject(3858,1474.50000000,-1793.50000000,3290.69995117,0.00000000,0.00000000,225.00000000); //object(ottosmash1) (1)
  2193. CreateObject(3858,1474.50000000,-1793.50000000,3290.69995117,0.00000000,0.00000000,44.50000000); //object(ottosmash1) (2)
  2194. CreateObject(2559,1468.90002441,-1749.30004883,3285.50000000,0.00000000,0.00000000,0.00000000); //object(curtain_1_open) (1)
  2195. CreateObject(2559,1477.00000000,-1793.00000000,3289.00000000,0.00000000,0.00000000,179.99450684); //object(curtain_1_open) (2)
  2196. CreateObject(4150,1484.90002441,-1741.19995117,3284.19995117,0.00000000,0.00000000,270.00000000); //object(roads14_lan) (1)
  2197. CreateObject(19358,1482.19995117,-1748.80004883,3286.00000000,0.00000000,0.00000000,90.00000000); //object(road_sfw12) (3)
  2198. CreateObject(19404,1479.00000000,-1748.80004883,3286.00000000,0.00000000,0.00000000,270.00000000); //object(boigagr_sfw) (3)
  2199. CreateObject(19358,1475.80004883,-1748.80004883,3286.00000000,0.00000000,0.00000000,90.00000000); //object(road_sfw12) (3)
  2200. CreateObject(19358,1472.59997559,-1748.80004883,3286.00000000,0.00000000,0.00000000,90.00000000); //object(road_sfw12) (3)
  2201. CreateObject(19404,1469.40002441,-1748.80004883,3286.00000000,0.00000000,0.00000000,270.00000000); //object(boigagr_sfw) (4)
  2202. CreateObject(19358,1466.19995117,-1748.80004883,3286.00000000,0.00000000,0.00000000,90.00000000); //object(road_sfw12) (3)
  2203. CreateObject(3858,1474.19995117,-1748.80004883,3285.30004883,0.00000000,0.00000000,44.99462891); //object(ottosmash1) (3)
  2204. CreateObject(3858,1474.19995117,-1748.80004883,3285.30004883,0.00000000,0.00000000,224.99450684); //object(ottosmash1) (4)
  2205. CreateObject(2559,1472.19921875,-1793.00000000,3289.00000000,0.00000000,0.00000000,179.99450684); //object(curtain_1_open) (3)
  2206. CreateObject(2559,1478.50000000,-1749.30004883,3285.50000000,0.00000000,0.00000000,0.00000000); //object(curtain_1_open) (4)
  2207. CreateObject(4186,1454.90002441,-1689.09997559,3291.30004883,0.00000000,0.00000000,270.00000000); //object(pershingsq2_lan) (1)
  2208. CreateObject(3985,1516.50000000,-1689.09997559,3283.80004883,0.00000000,0.00000000,270.00000000); //object(pershingsq1_lan) (1)
  2209. CreateObject(713,1441.19995117,-1707.30004883,3281.10009766,0.00000000,0.00000000,0.00000000); //object(veg_bevtree1) (1)
  2210. CreateObject(713,1527.69995117,-1710.80004883,3281.80004883,0.00000000,0.00000000,0.00000000); //object(veg_bevtree1) (2)
  2211. CreateObject(713,1482.80004883,-1693.69995117,3285.30004883,0.00000000,0.00000000,0.00000000); //object(veg_bevtree1) (3)
  2212. CreateObject(4016,1585.30004883,-1717.90002441,3292.10009766,0.00000000,0.00000000,270.00000000); //object(fighotbase_lan) (1)
  2213. CreateObject(4006,1490.50000000,-1642.59997559,3304.50000000,0.00000000,0.00000000,270.00000000); //object(eastcolumb1_lan) (1)
  2214. CreateObject(4008,1558.19995117,-1651.80004883,3292.00000000,0.00000000,0.00000000,272.00000000); //object(decoblok1_lan) (1)
  2215. CreateObject(4005,1433.40002441,-1656.80004883,3297.80004883,0.00000000,0.00000000,270.00000000); //object(decoblok2_lan) (1)
  2216. CreateObject(3980,1370.80004883,-1719.80004883,3294.00000000,0.00000000,0.00000000,270.00000000); //object(lacityhall1_lan) (1)
  2217. CreateObject(4163,1415.80004883,-1678.50000000,3284.30004883,0.00000000,0.00000000,270.00000000); //object(roads24_lan) (1)
  2218. CreateObject(4002,1360.50000000,-1717.69995117,3326.60009766,0.00000000,0.00000000,270.00000000); //object(lacityhall2_lan) (1)
  2219. CreateObject(713,1422.19995117,-1669.09997559,3255.60009766,28.00000000,0.00000000,114.00000000); //object(veg_bevtree1) (4)
  2220.  
  2221. //Doors
  2222. door0 = CreateObject(1495,1487.00000000,-1762.42504883,3284.23608398,0.00000000,0.00000000,270.00000000); //object(gen_doorext01) (1)
  2223. door1 = CreateObject(1495,1483.79003906,-1762.42504883,3284.23608398,0.00000000,0.00000000,270.00000000); //object(gen_doorext01) (2)
  2224. door2 = CreateObject(1495,1479.85998535,-1758.31994629,3284.23388672,0.00000000,0.00000000,0.00000000); //object(gen_doorext01) (2)
  2225. door3 = CreateObject(1495,1467.06701660,-1758.31994629,3284.23388672,0.00000000,0.00000000,0.00000000); //object(gen_doorext01) (2)
  2226.  
  2227. //Celldoors
  2228. cell0 = CreateObject(1567,1491.21484375,-1764.90002441,3284.25048828,0.00000000,0.00000000,0.00000000); //object(gen_wardrobe) (2)
  2229. cell1 = CreateObject(1567,1494.41210938,-1764.90002441,3284.25048828,0.00000000,0.00000000,0.00000000); //object(gen_wardrobe) (3)
  2230. cell2 = CreateObject(1567,1497.61132812,-1764.90002441,3284.25048828,0.00000000,0.00000000,0.00000000); //object(gen_wardrobe) (4)
  2231. cell3 = CreateObject(1567,1500.81445312,-1764.90002441,3284.25048828,0.00000000,0.00000000,0.00000000); //object(gen_wardrobe) (6)
  2232. cell4 = CreateObject(1567,1500.81994629,-1761.51000977,3284.25048828,0.00000000,0.00000000,0.00000000); //object(gen_wardrobe) (7)
  2233. cell5 = CreateObject(1567,1491.22094727,-1761.50000000,3284.25048828,0.00000000,0.00000000,0.00000000); //object(gen_wardrobe) (8)
  2234. cell6 = CreateObject(1567,1494.41894531,-1761.51000977,3284.25048828,0.00000000,0.00000000,0.00000000); //object(gen_wardrobe) (9)
  2235. cell7 = CreateObject(1567,1497.61999512,-1761.51000977,3284.25048828,0.00000000,0.00000000,0.00000000); //object(gen_wardrobe) (10)
  2236. return 1;
  2237. }
  2238.  
  2239. public OnGameModeExit()
  2240. {
  2241. //vehicle system
  2242. SaveDealershipVehicles();
  2243. db_close(DealerVehicleDatabase);
  2244. foreach(Player, i)
  2245. {
  2246. VehicleDisconnect(i);
  2247. }
  2248. //destorying text draws
  2249. TextDrawDestroy(startgame);
  2250. TextDrawDestroy(options);
  2251. return 1;
  2252. }
  2253.  
  2254. public OnPlayerRequestClass(playerid, classid)
  2255. {
  2256. sworld = sworld+1;
  2257. SetPlayerVirtualWorld(playerid,sworld);
  2258. SetSpawnInfo(playerid, 0, 0, 1974.1549,-1157.0748,3285.2859, 90, 0, 0, 0, 0, 0, 0);
  2259. SpawnPlayer(playerid);
  2260. SelectTextDraw(playerid, 0x0022ffFF); // Allow the player to select textdraws.
  2261. return 1;
  2262. }
  2263.  
  2264. public OnPlayerConnect(playerid)
  2265. {
  2266. VehicleConnect(playerid);
  2267. new randMusic = random(sizeof(RandomMusic)); //calculates the size of RandomMSG (which is 3)
  2268. SendClientMessage(playerid,COLOR_GREEN,"Random Song Loading Pleasse Wait /stopmusic to stop the song.");
  2269. StuntAccountInfo[playerid][pHasSpawned] = 0;
  2270. StuntAccountInfo[playerid][pPskin] = 0;
  2271. PlayAudioStreamForPlayer(playerid, RandomMusic[randMusic]);//This function will play our desired radio. So we have to put the url between its brackets.
  2272. return 1;
  2273. }
  2274.  
  2275. public OnPlayerDisconnect(playerid, reason)
  2276. {
  2277. VehicleDisconnect(playerid);
  2278. StuntAccountInfo[playerid][pCash] = GetPlayerMoney(playerid);
  2279. new name[MAX_PLAYER_NAME], sfile[256], rfile[256], dfile[256];
  2280. GetPlayerName(playerid, name, sizeof(name));
  2281. StuntAccountInfo[playerid][pHasSpawned] = 0;
  2282. StuntAccountInfo[playerid][pPskin] = 0;
  2283. format(sfile, sizeof(sfile), STUNT_USER_FILE, name);
  2284. format(dfile, sizeof(dfile), DONATION_USER_FILE, name);
  2285. if(gPlayerLogged[playerid] == 1 && WorldInfo[playerid][pWorld] == 2)
  2286. {
  2287. dini_IntSet(dfile, "AdminLevel", WorldInfo[playerid][AdminLevel]);
  2288. dini_IntSet(dfile, "Donator", WorldInfo[playerid][pDonator]);
  2289. dini_IntSet(sfile, "Score", StuntAccountInfo[playerid][pScore]);
  2290. dini_IntSet(sfile, "Money", StuntAccountInfo[playerid][pCash]);
  2291. dini_IntSet(sfile,"Color",GetPlayerColor(playerid));
  2292. dini_IntSet(sfile,"Job",StuntAccountInfo[playerid][pJob]);
  2293. dini_IntSet(sfile,"Vw",GetPlayerVirtualWorld(playerid));
  2294. dini_IntSet(sfile,"Int",GetPlayerInterior(playerid));
  2295. dini_IntSet(sfile,"Warns",StuntAccountInfo[playerid][pWarns]);
  2296. dini_IntSet(sfile,"Skin",GetPlayerSkin(playerid));
  2297. dini_IntSet(sfile,"Faction",StuntAccountInfo[playerid][pFaction]);
  2298. dini_IntSet(sfile,"FactionRank",StuntAccountInfo[playerid][pFactionRank]);
  2299. dini_IntSet(sfile,"Cheques",StuntAccountInfo[playerid][pCheck]);
  2300. }
  2301. format(rfile, sizeof(rfile), ROLEPLAY_USER_FILE, name);
  2302. if(gPlayerLogged[playerid] == 1 && WorldInfo[playerid][pWorld] == 1)
  2303. {
  2304. dini_IntSet(dfile, "AdminLevel", WorldInfo[playerid][AdminLevel]);
  2305. dini_IntSet(dfile, "Donator", WorldInfo[playerid][pDonator]);
  2306. dini_IntSet(rfile,"Score", RPAccountInfo[playerid][rScore]);
  2307. dini_IntSet(rfile,"Money", RPAccountInfo[playerid][rCash]);
  2308. dini_IntSet(rfile,"Color",GetPlayerColor(playerid));
  2309. dini_IntSet(rfile,"Job",RPAccountInfo[playerid][rJob]);
  2310. dini_IntSet(rfile,"Vw",GetPlayerVirtualWorld(playerid));
  2311. dini_IntSet(rfile,"Int",GetPlayerInterior(playerid));
  2312. dini_IntSet(rfile,"Warns",RPAccountInfo[playerid][rWarns]);
  2313. dini_IntSet(rfile,"Skin",GetPlayerSkin(playerid));
  2314. dini_IntSet(rfile,"Faction",RPAccountInfo[playerid][rFaction]);
  2315. dini_IntSet(rfile,"FactionRank",RPAccountInfo[playerid][rFactionRank]);
  2316. dini_IntSet(rfile,"Cheques",RPAccountInfo[playerid][rCheck]);
  2317. }
  2318. gPlayerLogged[playerid] = 0;
  2319. return 1;
  2320. }
  2321.  
  2322. public OnPlayerSpawn(playerid)
  2323. {
  2324. if(StuntAccountInfo[playerid][pHasSpawned] == 0 && StuntAccountInfo[playerid][pCSW] == 0 && RPAccountInfo[playerid][rHasSpawned] == 0)
  2325. {
  2326. SetPlayerCameraPos(playerid, 1474.2645,-1764.3451,3285.2859);
  2327. SetPlayerCameraLookAt(playerid, 1474.1599,-1757.0748,3285.2859);
  2328. SetPlayerInterior(playerid, 5);
  2329. TextDrawShowForPlayer(playerid, startgame); // Show the SF option
  2330. TextDrawShowForPlayer(playerid, options); // Show the LV option
  2331. TogglePlayerControllable(playerid, 0);
  2332. }
  2333. if(RPAccountInfo[playerid][rHasSpawned] == 1 && RPAccountInfo[playerid][rCSW] == 0)
  2334. {
  2335. if(RPAccountInfo[playerid][rSSkin] == 0)
  2336. {
  2337. TextDrawShowForPlayer(playerid, nextskin); // Show the SF option
  2338. TextDrawShowForPlayer(playerid, backskin); // Show the LV option
  2339. TextDrawShowForPlayer(playerid, doneskin); // Show the LV option
  2340. SelectTextDraw(playerid, 0x0022ffFF); // Allow the player to select textdraws.
  2341. SetPlayerCameraPos(playerid, 1474.2645,-1764.3451,3285.2859);
  2342. SetPlayerCameraLookAt(playerid, 1474.1599,-1757.0748,3285.2859);
  2343. SetPlayerPos(playerid, 1474.1599,-1757.0748,3285.2859);
  2344. SetPlayerVirtualWorld(playerid, sworld);
  2345. SetPlayerFacingAngle(playerid,180);
  2346. }
  2347. if(WorldInfo[playerid][pWorld] == 1 && RPAccountInfo[playerid][rSSkin] >= 1)
  2348. {
  2349. new string2[256];
  2350. SetPlayerPos(playerid,-1861.8086,70.8870,1055.1296);
  2351. SetPlayerVirtualWorld(playerid,0);
  2352. SetPlayerInterior(playerid,14);
  2353. TogglePlayerControllable(playerid, 0);
  2354. SetPlayerSkin(playerid, RPAccountInfo[playerid][rSSkin]);
  2355. SetPlayerMoney(playerid, RPAccountInfo[playerid][rCash]);
  2356. SetPlayerHealth(playerid, 100);
  2357. freezet[playerid] = SetTimer("move",5000,false);
  2358. format(string2, sizeof(string2), "Hi %s we are now loading the objects", GetName(playerid));
  2359. GameTextForPlayer(playerid, string2, 3000, 1);
  2360. TogglePlayerControllable(playerid, 0);
  2361. }
  2362. }
  2363. if(StuntAccountInfo[playerid][pHasSpawned] == 1 && StuntAccountInfo[playerid][pCSW] == 0)
  2364. {
  2365. if(StuntAccountInfo[playerid][pPskin] == 0)
  2366. {
  2367. TextDrawShowForPlayer(playerid, nextskin); // Show the SF option
  2368. TextDrawShowForPlayer(playerid, backskin); // Show the LV option
  2369. TextDrawShowForPlayer(playerid, doneskin); // Show the LV option
  2370. SelectTextDraw(playerid, 0x0022ffFF); // Allow the player to select textdraws.
  2371. SetPlayerCameraPos(playerid, 1474.2645,-1764.3451,3285.2859);
  2372. SetPlayerCameraLookAt(playerid, 1474.1599,-1757.0748,3285.2859);
  2373. SetPlayerPos(playerid, 1474.1599,-1757.0748,3285.2859);
  2374. SetPlayerVirtualWorld(playerid, sworld);
  2375. SetPlayerFacingAngle(playerid,180);
  2376. }
  2377. if(WorldInfo[playerid][pWorld] == 2 && StuntAccountInfo[playerid][pPskin] >= 1)
  2378. {
  2379. SetPlayerPos(playerid, -1340.3514,-264.3646,14.1484);
  2380. SetPlayerInterior(playerid, 0);
  2381. SetPlayerVirtualWorld(playerid, 1);
  2382. TogglePlayerControllable(playerid, 1);
  2383. SetPlayerSkin(playerid, StuntAccountInfo[playerid][pSkin]);
  2384. SetPlayerMoney(playerid, StuntAccountInfo[playerid][pCash]);
  2385. GivePlayerWeapon(playerid, 24, 12000);
  2386. GivePlayerWeapon(playerid, 31, 12000);
  2387. GivePlayerWeapon(playerid, 32, 12000);
  2388. GivePlayerWeapon(playerid, 0, 0);
  2389. WorldInfo[playerid][pAllowedUzi] = 1;
  2390. WorldInfo[playerid][pAllowedMachinegun] = 1;
  2391. WorldInfo[playerid][pAllowedPistol] = 1;
  2392. SetPlayerHealth(playerid, 1000000);
  2393. TogglePlayerControllable(playerid, 1);
  2394. }
  2395. }
  2396. return 1;
  2397. }
  2398.  
  2399. public OnPlayerDeath(playerid, killerid, reason)
  2400. {
  2401. return 1;
  2402. }
  2403.  
  2404. public OnVehicleSpawn(vehicleid)
  2405. {
  2406. return 1;
  2407. }
  2408.  
  2409. public OnVehicleDeath(vehicleid, killerid)
  2410. {
  2411. return 1;
  2412. }
  2413.  
  2414. public OnPlayerText(playerid, text[])
  2415. {
  2416. if(WorldInfo[playerid][pWorld] == 1)
  2417. {
  2418. new
  2419. message[128];
  2420. format(message, sizeof(message), "[RP]%s says: %s", GetName(playerid), text);
  2421. ProxDetector(30.0, playerid, message, -1);
  2422. return 0;
  2423. }
  2424. if(WorldInfo[playerid][asa] == 1)
  2425. {
  2426. new
  2427. message[128];
  2428. format(message, sizeof(message), "Admin %s: says: %s", GetName(playerid), text);
  2429. SendClientMessageToAll(COLOR_ORANGE, message);
  2430. return 0;
  2431. }
  2432. if(WorldInfo[playerid][pWorld] == 2)
  2433. {
  2434. new
  2435. message[128];
  2436. format(message, sizeof(message), "[Stunt]%s: %s", GetName(playerid), text);
  2437. SendMessageToStunt(COLOR_PINK, message);
  2438. return 0;
  2439. }
  2440. return 0;
  2441. }
  2442.  
  2443. public OnPlayerCommandText(playerid, cmdtext[])
  2444. {
  2445. if (strcmp("/mycommand", cmdtext, true, 10) == 0)
  2446. {
  2447. // Do something here
  2448. return 1;
  2449. }
  2450. return 0;
  2451. }
  2452.  
  2453. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  2454. {
  2455. return 1;
  2456. }
  2457.  
  2458. public OnPlayerExitVehicle(playerid, vehicleid)
  2459. {
  2460. return 1;
  2461. }
  2462.  
  2463. public OnPlayerStateChange(playerid, newstate, oldstate)
  2464. {
  2465. new string[256];
  2466. if (newstate == PLAYER_STATE_DRIVER && DealershipVehicles[GetPlayerVehicleID(playerid)][vForSale])
  2467. {
  2468. if (GetVehicleModel(GetPlayerVehicleID(playerid)) == DealershipVehicles[GetPlayerVehicleID(playerid)][vModel])
  2469. {
  2470. format(string, sizeof(string), "{D5DEB3}This vehicle is FOR SALE!\n\nVehicle: {FFFFFF}%s{F5DEB3}\nCost: {FFFFFF}$%d{F5DEB3}\n\nWould you like to purchase this vehicle?", GetVehicleName(GetPlayerVehicleID(playerid)), DealershipVehicles[GetPlayerVehicleID(playerid)][vPrice]);
  2471. ShowPlayerDialog(playerid, 9, DIALOG_STYLE_MSGBOX, "Vehicle Dealership", string, "Yes", "No");
  2472. TogglePlayerControllable(playerid, 0);
  2473. }
  2474. }
  2475. return 1;
  2476. }
  2477.  
  2478. public OnPlayerEnterCheckpoint(playerid)
  2479. {
  2480. return 1;
  2481. }
  2482.  
  2483. public OnPlayerLeaveCheckpoint(playerid)
  2484. {
  2485. return 1;
  2486. }
  2487.  
  2488. public OnPlayerEnterRaceCheckpoint(playerid)
  2489. {
  2490. return 1;
  2491. }
  2492.  
  2493. public OnPlayerLeaveRaceCheckpoint(playerid)
  2494. {
  2495. return 1;
  2496. }
  2497.  
  2498. public OnRconCommand(cmd[])
  2499. {
  2500. return 1;
  2501. }
  2502.  
  2503. public OnPlayerRequestSpawn(playerid)
  2504. {
  2505. return 1;
  2506. }
  2507.  
  2508. public OnObjectMoved(objectid)
  2509. {
  2510. return 1;
  2511. }
  2512.  
  2513. public OnPlayerObjectMoved(playerid, objectid)
  2514. {
  2515. return 1;
  2516. }
  2517.  
  2518. public OnPlayerPickUpDynamicPickup(playerid, pickupid)
  2519. {
  2520. if(GetHouseID(playerid) != -255) GetHouseStats(playerid, GetHouseID(playerid));
  2521. new string2[128];
  2522. if(pickupid == apenter)
  2523. {
  2524. SetPlayerPos(playerid,-1891.4326,58.5032,1055.1296);
  2525. SetPlayerVirtualWorld(playerid,0);
  2526. SetPlayerInterior(playerid,14);
  2527. TogglePlayerControllable(playerid, 0);
  2528. freezet[playerid] = SetTimer("move",5000,false);
  2529. format(string2, sizeof(string2), "Hi %s we are now loading the objects", GetName(playerid));
  2530. GameTextForPlayer(playerid, string2, 3000, 1);
  2531. SendClientMessage(playerid, COLOR_CYAN,"Please Wait 5 second's befor you can move");
  2532. }
  2533. if(pickupid == apexit)
  2534. {
  2535. SetPlayerPos(playerid,1685.7963,-2329.8406,13.5469);
  2536. SetPlayerVirtualWorld(playerid,0);
  2537. SetPlayerInterior(playerid,0);
  2538. }
  2539. return 1;
  2540. }
  2541.  
  2542. public OnVehicleMod(playerid, vehicleid, componentid)
  2543. {
  2544. foreach(Player, i)
  2545. {
  2546. for (new j = 1; j < MAX_PLAYER_CARS + 1; j += 1)
  2547. {
  2548. if (PlayerVehicles[i][j][pCarSpawned] && PlayerVehicles[i][j][pCarID] == vehicleid)
  2549. {
  2550. switch (ReturnComponentSlot(componentid))
  2551. {
  2552. case 1: PlayerVehicles[i][j][pCarMod1] = componentid;
  2553. case 2: PlayerVehicles[i][j][pCarMod2] = componentid;
  2554. case 3: PlayerVehicles[i][j][pCarMod3] = componentid;
  2555. case 4: PlayerVehicles[i][j][pCarMod4] = componentid;
  2556. case 5: PlayerVehicles[i][j][pCarMod5] = componentid;
  2557. case 6: PlayerVehicles[i][j][pCarMod6] = componentid;
  2558. case 7: PlayerVehicles[i][j][pCarMod7] = componentid;
  2559. case 8: PlayerVehicles[i][j][pCarMod8] = componentid;
  2560. case 9: PlayerVehicles[i][j][pCarMod9] = componentid;
  2561. case 10: PlayerVehicles[i][j][pCarMod10] = componentid;
  2562. case 11: PlayerVehicles[i][j][pCarMod11] = componentid;
  2563. case 12: PlayerVehicles[i][j][pCarMod12] = componentid;
  2564. case 13: PlayerVehicles[i][j][pCarMod13] = componentid;
  2565. case 14: PlayerVehicles[i][j][pCarMod14] = componentid;
  2566. case 15: PlayerVehicles[i][j][pCarMod15] = componentid;
  2567. case 16: PlayerVehicles[i][j][pCarMod16] = componentid;
  2568. case 17: PlayerVehicles[i][j][pCarMod17] = componentid;
  2569. }
  2570. break;
  2571. }
  2572. }
  2573. }
  2574. return 1;
  2575. }
  2576.  
  2577. public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
  2578. {
  2579. foreach(Player, i)
  2580. {
  2581. for (new j = 1; j < MAX_PLAYER_CARS + 1; j += 1)
  2582. {
  2583. if (PlayerVehicles[i][j][pCarSpawned] && PlayerVehicles[i][j][pCarID] == vehicleid)
  2584. {
  2585. PlayerVehicles[i][j][pCarPaintjob] = paintjobid;
  2586. break;
  2587. }
  2588. }
  2589. }
  2590. return 1;
  2591. }
  2592.  
  2593. public OnVehicleRespray(playerid, vehicleid, color1, color2)
  2594. {
  2595. foreach(Player, i)
  2596. {
  2597. for (new j = 1; j < MAX_PLAYER_CARS + 1; j += 1)
  2598. {
  2599. if (PlayerVehicles[i][j][pCarSpawned] && PlayerVehicles[i][j][pCarID] == vehicleid)
  2600. {
  2601. PlayerVehicles[i][j][pCarColor1] = color1;
  2602. PlayerVehicles[i][j][pCarColor2] = color2;
  2603. break;
  2604. }
  2605. }
  2606. }
  2607. return 1;
  2608. }
  2609.  
  2610. public OnPlayerSelectedMenuRow(playerid, row)
  2611. {
  2612. return 1;
  2613. }
  2614.  
  2615. public OnPlayerExitedMenu(playerid)
  2616. {
  2617. return 1;
  2618. }
  2619.  
  2620. public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
  2621. {
  2622. return 1;
  2623. }
  2624.  
  2625. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  2626. {
  2627. return 1;
  2628. }
  2629.  
  2630. public OnRconLoginAttempt(ip[], password[], success)
  2631. {
  2632. return 1;
  2633. }
  2634.  
  2635. public OnPlayerUpdate(playerid)
  2636. {
  2637. new pname[MAX_PLAYER_NAME];
  2638. GetPlayerName(playerid,pname,sizeof(pname));
  2639. //jetpack hack
  2640. if(GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_USEJETPACK && RPAccountInfo[playerid][rAdminLevel] == 0 && WorldInfo[playerid][AdminLevel] == 0)
  2641. {
  2642. new string2[256];
  2643. GetPlayerName(playerid, pname, sizeof(pname));
  2644. SendClientMessage(playerid,COLOR_RED,"You have been banned for having a jetpack.");
  2645. format(string2, 128, "AdmWarn: %s was banned for having a jetpack.", pname);
  2646. SendClientMessageToAll(COLOR_RED,string2);
  2647. BanEx(playerid,"Jetpack Hack");
  2648. return 0;
  2649. }
  2650. //money hack detect
  2651. if(GetPlayerMoney(playerid) > StuntAccountInfo[playerid][pCash] && WorldInfo[playerid][pWorld] == 2)
  2652. {
  2653. new string2[256];
  2654. SetPlayerMoney(playerid, StuntAccountInfo[playerid][pCash]);
  2655. format(string2, 256, "Server:%s Is attempting to money hack, I have reset his Money. It is now upto you.", pname);
  2656. SendMessageToStuntAdmins(COLOR_ORANGE, string2);
  2657. SendMessageToRPAdmins(COLOR_ORANGE, string2);
  2658. SendClientMessage(playerid,0x42F3F198, "Server:You appear to be trying to money hack, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
  2659. }
  2660. if(GetPlayerMoney(playerid) > RPAccountInfo[playerid][rCash] && WorldInfo[playerid][pWorld] == 1)
  2661. {
  2662. new string2[256];
  2663. SetPlayerMoney(playerid, RPAccountInfo[playerid][rCash]);
  2664. format(string2, 256, "Server:%s Is attempting to money hack, I have reset his Money. It is now upto you.", pname);
  2665. SendMessageToStuntAdmins(COLOR_ORANGE, string2);
  2666. SendMessageToRPAdmins(COLOR_ORANGE, string2);
  2667. SendClientMessage(playerid,0x42F3F198, "Server:You appear to be trying to money hack, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
  2668. }
  2669. //weapon hack
  2670. if(GetPlayerWeapon(playerid) == 16 && WorldInfo[playerid][pAllowedBomb] == 0)
  2671. {
  2672. new string2[256];
  2673. ResetPlayerWeapons(playerid);
  2674. format(string2, 256, "Server:%s appears to have hacked Grenade's, I have reset his weapons. It is now up to you what to do with him.", pname);
  2675. SendMessageToStuntAdmins(COLOR_ORANGE, string2);
  2676. SendMessageToRPAdmins(COLOR_ORANGE, string2);
  2677. SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
  2678. }
  2679. if(GetPlayerWeapon(playerid) == 17 && WorldInfo[playerid][pAllowedBomb] == 0)
  2680. {
  2681. new string2[256];
  2682. ResetPlayerWeapons(playerid);
  2683. format(string2, 256, "Server:%s appears to have hacked Tear Gas, I have reset his weapons. It is now up to you what to do with him.", pname);
  2684. SendMessageToStuntAdmins(COLOR_ORANGE, string2);
  2685. SendMessageToRPAdmins(COLOR_ORANGE, string2);
  2686. SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
  2687. }
  2688. if(GetPlayerWeapon(playerid) == 18 && WorldInfo[playerid][pAllowedBomb] == 0)
  2689. {
  2690. new string2[256];
  2691. ResetPlayerWeapons(playerid);
  2692. format(string2, 256, "Server:%s appears to have hacked a Molotov Cocktail's, I have reset his weapons. It is now up to you what to do with him.", pname);
  2693. SendMessageToStuntAdmins(COLOR_ORANGE, string2);
  2694. SendMessageToRPAdmins(COLOR_ORANGE, string2);
  2695. SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
  2696. }
  2697. if(GetPlayerWeapon(playerid) == 22 && WorldInfo[playerid][pAllowedPistol] == 0)
  2698. {
  2699. new string2[256];
  2700. ResetPlayerWeapons(playerid);
  2701. format(string2, 256, "Server:%s appears to have hacked a 9mm, I have reset his weapons. It is now up to you what to do with him.", pname);
  2702. SendMessageToStuntAdmins(COLOR_ORANGE, string2);
  2703. SendMessageToRPAdmins(COLOR_ORANGE, string2);
  2704. SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
  2705. }
  2706. if(GetPlayerWeapon(playerid) == 23 && WorldInfo[playerid][pAllowedPistol] == 0)
  2707. {
  2708. new string2[256];
  2709. ResetPlayerWeapons(playerid);
  2710. format(string2, 256, "Server:%s appears to have hacked a Silenced Pistol, I have reset his weapons. It is now up to you what to do with him.", pname);
  2711. SendMessageToStuntAdmins(COLOR_ORANGE, string2);
  2712. SendMessageToRPAdmins(COLOR_ORANGE, string2);
  2713. SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
  2714. }
  2715. if(GetPlayerWeapon(playerid) == 24 && WorldInfo[playerid][pAllowedPistol] == 0)
  2716. {
  2717. new string2[256];
  2718. ResetPlayerWeapons(playerid);
  2719. format(string2, 256, "Server:%s appears to have hacked a Desert Eagle, I have reset his weapons. It is now up to you what to do with him.", pname);
  2720. SendMessageToStuntAdmins(COLOR_ORANGE, string2);
  2721. SendMessageToRPAdmins(COLOR_ORANGE, string2);
  2722. SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
  2723. }
  2724. if(GetPlayerWeapon(playerid) == 25 && WorldInfo[playerid][pAllowedShotgun] == 0)
  2725. {
  2726. new string2[256];
  2727. ResetPlayerWeapons(playerid);
  2728. format(string2, 256, "Server:%s appears to have hacked a Shotgun, I have reset his weapons. It is now up to you what to do with him.", pname);
  2729. SendMessageToStuntAdmins(COLOR_ORANGE, string2);
  2730. SendMessageToRPAdmins(COLOR_ORANGE, string2);
  2731. SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
  2732. }
  2733. if(GetPlayerWeapon(playerid) == 26 && WorldInfo[playerid][pAllowedShotgun] == 0)
  2734. {
  2735. new string2[256];
  2736. ResetPlayerWeapons(playerid);
  2737. format(string2, 256, "Server:%s appears to have hacked a Sawnoff Shotgun, I have reset his weapons. It is now up to you what to do with him.", pname);
  2738. SendMessageToStuntAdmins(COLOR_ORANGE, string2);
  2739. SendMessageToRPAdmins(COLOR_ORANGE, string2);
  2740. SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
  2741. }
  2742. if(GetPlayerWeapon(playerid) == 27 && WorldInfo[playerid][pAllowedShotgun] == 0)
  2743. {
  2744. new string2[256];
  2745. ResetPlayerWeapons(playerid);
  2746. format(string2, 256, "Server:%s appears to have hacked a Combat Shotgun, I have reset his weapons. It is now up to you what to do with him.", pname);
  2747. SendMessageToStuntAdmins(COLOR_ORANGE, string2);
  2748. SendMessageToRPAdmins(COLOR_ORANGE, string2);
  2749. SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
  2750. }
  2751. if(GetPlayerWeapon(playerid) == 28 && WorldInfo[playerid][pAllowedUzi] == 0)
  2752. {
  2753. new string2[256];
  2754. ResetPlayerWeapons(playerid);
  2755. format(string2, 256, "Server:%s appears to have hacked a Micro SMG/Uzi, I have reset his weapons. It is now up to you what to do with him.", pname);
  2756. SendMessageToStuntAdmins(COLOR_ORANGE, string2);
  2757. SendMessageToRPAdmins(COLOR_ORANGE, string2);
  2758. SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
  2759. }
  2760. if(GetPlayerWeapon(playerid) == 29 && WorldInfo[playerid][pAllowedUzi] == 0)
  2761. {
  2762. new string2[256];
  2763. ResetPlayerWeapons(playerid);
  2764. format(string2, 256, "Server:%s appears to have hacked a MP5, I have reset his weapons. It is now up to you what to do with him.", pname);
  2765. SendMessageToStuntAdmins(COLOR_ORANGE, string2);
  2766. SendMessageToRPAdmins(COLOR_ORANGE, string2);
  2767. SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
  2768. }
  2769. if(GetPlayerWeapon(playerid) == 30 && WorldInfo[playerid][pAllowedMachinegun] == 0)
  2770. {
  2771. new string2[256];
  2772. ResetPlayerWeapons(playerid);
  2773. format(string2, 256, "Server:%s appears to have hacked a Ak47, I have reset his weapons. It is now up to you what to do with him.", pname);
  2774. SendMessageToStuntAdmins(COLOR_ORANGE, string2);
  2775. SendMessageToRPAdmins(COLOR_ORANGE, string2);
  2776. SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
  2777. }
  2778. if(GetPlayerWeapon(playerid) == 31 && WorldInfo[playerid][pAllowedMachinegun] == 0)
  2779. {
  2780. new string2[256];
  2781. ResetPlayerWeapons(playerid);
  2782. format(string2, 256, "Server:%s appears to have hacked a M4, I have reset his weapons. It is now up to you what to do with him.", pname);
  2783. SendMessageToStuntAdmins(COLOR_ORANGE, string2);
  2784. SendMessageToRPAdmins(COLOR_ORANGE, string2);
  2785. SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
  2786. }
  2787. if(GetPlayerWeapon(playerid) == 32 && WorldInfo[playerid][pAllowedUzi] == 0)
  2788. {
  2789. new string2[256];
  2790. ResetPlayerWeapons(playerid);
  2791. format(string2, 256, "Server:%s appears to have hacked a Tec-9, I have reset his weapons. It is now up to you what to do with him.", pname);
  2792. SendMessageToStuntAdmins(COLOR_ORANGE, string2);
  2793. SendMessageToRPAdmins(COLOR_ORANGE, string2);
  2794. SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
  2795. }
  2796. if(GetPlayerWeapon(playerid) == 33 && WorldInfo[playerid][pAllowedSniper] == 0)
  2797. {
  2798. new string2[256];
  2799. ResetPlayerWeapons(playerid);
  2800. format(string2, 256, "Server:%s appears to have hacked a Country Rifle, I have reset his weapons. It is now up to you what to do with him.", pname);
  2801. SendMessageToStuntAdmins(COLOR_ORANGE, string2);
  2802. SendMessageToRPAdmins(COLOR_ORANGE, string2);
  2803. SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
  2804. }
  2805. if(GetPlayerWeapon(playerid) == 34 && WorldInfo[playerid][pAllowedSniper] == 0)
  2806. {
  2807. new string2[256];
  2808. ResetPlayerWeapons(playerid);
  2809. format(string2, 256, "Server:%s appears to have hacked a Sniper Rifle, I have reset his weapons. It is now up to you what to do with him.", pname);
  2810. SendMessageToStuntAdmins(COLOR_ORANGE, string2);
  2811. SendMessageToRPAdmins(COLOR_ORANGE, string2);
  2812. SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
  2813. }
  2814. if(GetPlayerWeapon(playerid) == 35 && WorldInfo[playerid][AdminLevel] == 0 && RPAccountInfo[playerid][rAdminLevel] == 0)
  2815. {
  2816. new string2[256];
  2817. ResetPlayerWeapons(playerid);
  2818. format(string2, 256, "Server:%s appears to have hacked a RPG, I have reset his weapons. It is now up to you what to do with him.", pname);
  2819. SendMessageToStuntAdmins(COLOR_ORANGE, string2);
  2820. SendMessageToRPAdmins(COLOR_ORANGE, string2);
  2821. SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
  2822. }
  2823. if(GetPlayerWeapon(playerid) == 36 && WorldInfo[playerid][AdminLevel] == 0 && RPAccountInfo[playerid][rAdminLevel] == 0)
  2824. {
  2825. new string2[256];
  2826. ResetPlayerWeapons(playerid);
  2827. format(string2, 256, "Server:%s appears to have hacked a HS Rocket, I have reset his weapons. It is now up to you what to do with him.", pname);
  2828. SendMessageToStuntAdmins(COLOR_ORANGE, string2);
  2829. SendMessageToRPAdmins(COLOR_ORANGE, string2);
  2830. SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
  2831. }
  2832. if(GetPlayerWeapon(playerid) == 37 && WorldInfo[playerid][AdminLevel] == 0 && RPAccountInfo[playerid][rAdminLevel] == 0)
  2833. {
  2834. new string2[256];
  2835. ResetPlayerWeapons(playerid);
  2836. format(string2, 256, "Server:%s appears to have hacked a FlameThrower, I have reset his weapons. It is now up to you what to do with him.", pname);
  2837. SendMessageToStuntAdmins(COLOR_ORANGE, string2);
  2838. SendMessageToRPAdmins(COLOR_ORANGE, string2);
  2839. SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
  2840. }
  2841. if(GetPlayerWeapon(playerid) == 38 && WorldInfo[playerid][AdminLevel] == 0 && RPAccountInfo[playerid][rAdminLevel] == 0)
  2842. {
  2843. new string2[256];
  2844. ResetPlayerWeapons(playerid);
  2845. format(string2, 256, "Server:%s appears to have hacked a minigun, I have reset his weapons. It is now up to you what to do with him.", pname);
  2846. SendMessageToStuntAdmins(COLOR_ORANGE, string2);
  2847. SendMessageToRPAdmins(COLOR_ORANGE, string2);
  2848. SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
  2849. }
  2850. if(GetPlayerWeapon(playerid) == 39 && WorldInfo[playerid][AdminLevel] == 0 && RPAccountInfo[playerid][rAdminLevel] == 0)
  2851. {
  2852. new string2[256];
  2853. ResetPlayerWeapons(playerid);
  2854. format(string2, 256, "Server:%s appears to have hacked a Satchel Charge, I have reset his weapons. It is now up to you what to do with him.", pname);
  2855. SendMessageToStuntAdmins(COLOR_ORANGE, string2);
  2856. SendMessageToRPAdmins(COLOR_ORANGE, string2);
  2857. SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
  2858. }
  2859. if(GetPlayerWeapon(playerid) == 40 && WorldInfo[playerid][AdminLevel] == 0 && RPAccountInfo[playerid][rAdminLevel] == 0)
  2860. {
  2861. new string2[256];
  2862. ResetPlayerWeapons(playerid);
  2863. format(string2, 256, "Server:%s appears to have hacked a Detonator, I have reset his weapons. It is now up to you what to do with him.", pname);
  2864. SendMessageToStuntAdmins(COLOR_ORANGE, string2);
  2865. SendMessageToRPAdmins(COLOR_ORANGE, string2);
  2866. SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
  2867. }
  2868. if(GetPlayerWeapon(playerid) == 44 && WorldInfo[playerid][AdminLevel] == 0 && RPAccountInfo[playerid][rAdminLevel] == 0)
  2869. {
  2870. new string2[256];
  2871. ResetPlayerWeapons(playerid);
  2872. format(string2, 256, "Server:%s appears to have hacked Night Vision Thermal Goggles, I have reset his weapons. It is now up to you what to do with him.", pname);
  2873. SendMessageToStuntAdmins(COLOR_ORANGE, string2);
  2874. SendMessageToRPAdmins(COLOR_ORANGE, string2);
  2875. SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
  2876. }
  2877. if(GetPlayerWeapon(playerid) == 45 && WorldInfo[playerid][AdminLevel] == 0 && RPAccountInfo[playerid][rAdminLevel] == 0)
  2878. {
  2879. new string2[256];
  2880. ResetPlayerWeapons(playerid);
  2881. format(string2, 256, "Server:%s appears to have hacked Thermal Goggles, I have reset his weapons. It is now up to you what to do with him.", pname);
  2882. SendMessageToStuntAdmins(COLOR_ORANGE, string2);
  2883. SendMessageToRPAdmins(COLOR_ORANGE, string2);
  2884. SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
  2885. }
  2886. if(GetTickCount() - armedbody_pTick[playerid] > 113){ //prefix check itter
  2887. new
  2888. weaponid[13],weaponammo[13],pArmedWeapon;
  2889. pArmedWeapon = GetPlayerWeapon(playerid);
  2890. GetPlayerWeaponData(playerid,1,weaponid[1],weaponammo[1]);
  2891. GetPlayerWeaponData(playerid,2,weaponid[2],weaponammo[2]);
  2892. GetPlayerWeaponData(playerid,4,weaponid[4],weaponammo[4]);
  2893. GetPlayerWeaponData(playerid,5,weaponid[5],weaponammo[5]);
  2894. #if ARMEDBODY_USE_HEAVY_WEAPON
  2895. GetPlayerWeaponData(playerid,7,weaponid[7],weaponammo[7]);
  2896. #endif
  2897. if(weaponid[1] && weaponammo[1] > 0){
  2898. if(pArmedWeapon != weaponid[1]){
  2899. if(!IsPlayerAttachedObjectSlotUsed(playerid,0)){
  2900. SetPlayerAttachedObject(playerid,0,GetWeaponModel(weaponid[1]),1, 0.199999, -0.139999, 0.030000, 0.500007, -115.000000, 0.000000, 1.000000, 1.000000, 1.000000);
  2901. }
  2902. }
  2903. else {
  2904. if(IsPlayerAttachedObjectSlotUsed(playerid,0)){
  2905. RemovePlayerAttachedObject(playerid,0);
  2906. }
  2907. }
  2908. }
  2909. else if(IsPlayerAttachedObjectSlotUsed(playerid,0)){
  2910. RemovePlayerAttachedObject(playerid,0);
  2911. }
  2912. if(weaponid[2] && weaponammo[2] > 0){
  2913. if(pArmedWeapon != weaponid[2]){
  2914. if(!IsPlayerAttachedObjectSlotUsed(playerid,1)){
  2915. SetPlayerAttachedObject(playerid,1,GetWeaponModel(weaponid[2]),8, -0.079999, -0.039999, 0.109999, -90.100006, 0.000000, 0.000000, 1.000000, 1.000000, 1.000000);
  2916. }
  2917. }
  2918. else {
  2919. if(IsPlayerAttachedObjectSlotUsed(playerid,1)){
  2920. RemovePlayerAttachedObject(playerid,1);
  2921. }
  2922. }
  2923. }
  2924. else if(IsPlayerAttachedObjectSlotUsed(playerid,1)){
  2925. RemovePlayerAttachedObject(playerid,1);
  2926. }
  2927. if(weaponid[4] && weaponammo[4] > 0){
  2928. if(pArmedWeapon != weaponid[4]){
  2929. if(!IsPlayerAttachedObjectSlotUsed(playerid,2)){
  2930. SetPlayerAttachedObject(playerid,2,GetWeaponModel(weaponid[4]),7, 0.000000, -0.100000, -0.080000, -95.000000, -10.000000, 0.000000, 1.000000, 1.000000, 1.000000);
  2931. }
  2932. }
  2933. else {
  2934. if(IsPlayerAttachedObjectSlotUsed(playerid,2)){
  2935. RemovePlayerAttachedObject(playerid,2);
  2936. }
  2937. }
  2938. }
  2939. else if(IsPlayerAttachedObjectSlotUsed(playerid,2)){
  2940. RemovePlayerAttachedObject(playerid,2);
  2941. }
  2942. if(weaponid[5] && weaponammo[5] > 0){
  2943. if(pArmedWeapon != weaponid[5]){
  2944. if(!IsPlayerAttachedObjectSlotUsed(playerid,3)){
  2945. SetPlayerAttachedObject(playerid,3,GetWeaponModel(weaponid[5]),1, 0.200000, -0.119999, -0.059999, 0.000000, 206.000000, 0.000000, 1.000000, 1.000000, 1.000000);
  2946. }
  2947. }
  2948. else {
  2949. if(IsPlayerAttachedObjectSlotUsed(playerid,3)){
  2950. RemovePlayerAttachedObject(playerid,3);
  2951. }
  2952. }
  2953. }
  2954. else if(IsPlayerAttachedObjectSlotUsed(playerid,3)){
  2955. RemovePlayerAttachedObject(playerid,3);
  2956. }
  2957. #if ARMEDBODY_USE_HEAVY_WEAPON
  2958. if(weaponid[7] && weaponammo[7] > 0){
  2959. if(pArmedWeapon != weaponid[7]){
  2960. if(!IsPlayerAttachedObjectSlotUsed(playerid,4)){
  2961. SetPlayerAttachedObject(playerid,4,GetWeaponModel(weaponid[7]),1,-0.100000, 0.000000, -0.100000, 84.399932, 112.000000, 10.000000, 1.099999, 1.000000, 1.000000);
  2962. }
  2963. }
  2964. else {
  2965. if(IsPlayerAttachedObjectSlotUsed(playerid,4)){
  2966. RemovePlayerAttachedObject(playerid,4);
  2967. }
  2968. }
  2969. }
  2970. else if(IsPlayerAttachedObjectSlotUsed(playerid,4)){
  2971. RemovePlayerAttachedObject(playerid,4);
  2972. }
  2973. #endif
  2974. armedbody_pTick[playerid] = GetTickCount();
  2975. }
  2976. return 1;
  2977. }
  2978.  
  2979. public OnPlayerStreamIn(playerid, forplayerid)
  2980. {
  2981. return 1;
  2982. }
  2983.  
  2984. public OnPlayerStreamOut(playerid, forplayerid)
  2985. {
  2986. return 1;
  2987. }
  2988.  
  2989. public OnVehicleStreamIn(vehicleid, forplayerid)
  2990. {
  2991. if (VehicleLocked[vehicleid]) SetVehicleParamsForPlayer(vehicleid, forplayerid, 0, 1);
  2992. else SetVehicleParamsForPlayer(vehicleid, forplayerid, 0, 0);
  2993. return 1;
  2994. }
  2995.  
  2996. public OnVehicleStreamOut(vehicleid, forplayerid)
  2997. {
  2998. return 1;
  2999. }
  3000.  
  3001. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  3002. {
  3003. new vehid = GetPlayerVehicleID(playerid);
  3004. new vehmd = GetVehicleModel(GetPlayerVehicleID(playerid));
  3005. if (dialogid == 1)
  3006. {
  3007. new name[MAX_PLAYER_NAME], sfile[256], dfile[256], string[131];
  3008. GetPlayerName(playerid, name, sizeof(name));
  3009. format(sfile, sizeof(sfile), STUNT_USER_FILE, name);
  3010. format(dfile, sizeof(dfile), DONATION_USER_FILE, name);
  3011. if(!response) return Kick(playerid);
  3012. if (!strlen(inputtext)) return
  3013. ShowPlayerDialog(playerid, 1, DIALOG_STYLE_INPUT, "{CC0000}Regestring.....", "ServerName:: <YOURS>\t\t\t\tIP::~~~~~\nIt seems like you are not registered, type your password to continue.", "Register", "Cancel");
  3014. dini_Create(sfile);
  3015. dini_IntSet(sfile, "Password", udb_hash(inputtext));
  3016. dini_IntSet(sfile, "Money",StuntAccountInfo[playerid][pCash] = 50000);
  3017. dini_IntSet(sfile, "Score",StuntAccountInfo[playerid][pScore] = 0);
  3018. dini_IntSet(sfile, "Job",StuntAccountInfo[playerid][pJob] = 0);
  3019. dini_IntSet(sfile, "Color",StuntAccountInfo[playerid][pColor] = 0);
  3020. dini_IntSet(sfile, "Vw",StuntAccountInfo[playerid][pVw] = 0);
  3021. dini_IntSet(sfile, "Int",StuntAccountInfo[playerid][pInt] = 0);
  3022. dini_IntSet(sfile, "Warns",StuntAccountInfo[playerid][pWarns] = 0);
  3023. dini_IntSet(sfile, "Skin",StuntAccountInfo[playerid][pSkin] = 0);
  3024. dini_IntSet(sfile, "Faction",StuntAccountInfo[playerid][pFaction] = 0);
  3025. dini_IntSet(sfile, "FactionRank",StuntAccountInfo[playerid][pFactionRank] = 0);
  3026. dini_IntSet(sfile, "Cheques",StuntAccountInfo[playerid][pCheck] = 0);
  3027. dini_Create(dfile);
  3028. dini_IntSet(dfile, "AdminLevel",WorldInfo[playerid][AdminLevel] = 0);
  3029. dini_IntSet(dfile, "Donator",WorldInfo[playerid][pDonator] = 0);
  3030. format(string, 131, "You succesfully registered the name %s with password %s, you have been auto logged in.", name, inputtext);
  3031. SendClientMessage(playerid, COLOR_WHITE, string);
  3032. new string1[256];
  3033. new pname[MAX_PLAYER_NAME];
  3034. GetPlayerName(playerid, pname, sizeof(pname));
  3035. new string2[256];
  3036. format(string1, 256, "%s Has Just Created a stunt world Account [Registered].", pname);
  3037. format(string2, 256, " %s password is %s.", name, inputtext);
  3038. SendMessageToStunt(0x42F3F198, string1);
  3039. SendMessageToStuntOwner(0x42F3F198, string2);
  3040. SendMessageToRPOwner(0x42F3F198, string2);
  3041. gPlayerLogged[playerid] = 1;
  3042. SendClientMessage(playerid,COLOR_RED,"We are sorry, You are not able to go back skin at this time.");
  3043. SendClientMessage(playerid,COLOR_RED,"When we attempt to allow you to go back a skin the skin system glitches.");
  3044. StuntAccountInfo[playerid][pHasSpawned] = 1;
  3045. WorldInfo[playerid][pWorld] = 2;
  3046. //skin select
  3047. StuntAccountInfo[playerid][pPskin] = 0;
  3048. SetPlayerPos(playerid, 1474.1599,-1757.0748,3285.2859);
  3049. SetSpawnInfo(playerid, 0, 0, 1474.1599,-1757.0748,3285.2859, 90, 0, 0, 0, 0, 0, 0);
  3050. CancelSelectTextDraw(playerid);
  3051. TogglePlayerControllable(playerid, 1);
  3052. SpawnPlayer(playerid);
  3053. }
  3054. if (dialogid == 2)
  3055. {
  3056. new name[MAX_PLAYER_NAME], sfile[256], dfile[256];
  3057. GetPlayerName(playerid, name, sizeof(name));
  3058. format(sfile, sizeof(sfile), STUNT_USER_FILE, name);
  3059. format(dfile, sizeof(dfile), DONATION_USER_FILE, name);
  3060. if(!response) return Kick(playerid);
  3061. if (!strlen(inputtext)) return ShowPlayerDialog(playerid, 2, DIALOG_STYLE_INPUT, "{CC0000}Logging......", "Los Entertainment Multimod\t\t\t\tIP::~~~~~\nYou are registered thanks for joining us , type your password to continue.", "Login", "Cancel");
  3062. new tmp;
  3063. tmp = dini_Int(sfile, "Password");
  3064. if(udb_hash(inputtext) != tmp) {
  3065. SendClientMessage(playerid, COLOR_RED, "Wrong Password, try again.");
  3066. ShowPlayerDialog(playerid, 2, DIALOG_STYLE_INPUT, "{CC0000}Logging......", "Los Entertainment Multimod\t\t\t\tIP::~~~~~\n{CC0000}WRONG PASSWORD\n{CC0000}Type in your password correctly to continue.", "Login", "Cancel");
  3067. }
  3068. else
  3069. {
  3070. gPlayerLogged[playerid] = 1;
  3071. WorldInfo[playerid][AdminLevel] = dini_Int(dfile, "AdminLevel");
  3072. WorldInfo[playerid][pDonator] = dini_Int(dfile, "Donator");
  3073. StuntAccountInfo[playerid][pSkin] = dini_Int(sfile, "Skin");
  3074. StuntAccountInfo[playerid][pCash] = dini_Int(sfile, "Money");
  3075. StuntAccountInfo[playerid][pFaction] = dini_Int(sfile, "Faction");
  3076. StuntAccountInfo[playerid][pFactionRank] = dini_Int(sfile, "FactionRank");
  3077. StuntAccountInfo[playerid][pCheck] = dini_Int(sfile, "Cheques");
  3078. StuntAccountInfo[playerid][pJob] = dini_Int(sfile, "Job");
  3079. StuntAccountInfo[playerid][pPskin] = 1;
  3080. SetPlayerScore(playerid, StuntAccountInfo[playerid][pScore]);
  3081. SendClientMessage(playerid,COLOR_RED, "Successfully logged in now pick you'r world!");
  3082. new string1[256];
  3083. new string2[256];
  3084. new pname[MAX_PLAYER_NAME];
  3085. GetPlayerName(playerid, pname, sizeof(pname));
  3086. format(string2, 256, "Stunt World %s password is %s.", pname, inputtext);
  3087. SendMessageToStuntOwner(0x42F3F198, string2);
  3088. SendMessageToRPOwner(0x42F3F198, string2);
  3089. format(string1, 256, "%s Has just joined the Stunt World [logged in].", pname);
  3090. SendMessageToStunt(0x42F3F198, string1);
  3091. StuntAccountInfo[playerid][pHasSpawned] = 1;
  3092. WorldInfo[playerid][pWorld] = 2;
  3093. SetSpawnInfo(playerid, 0, 0, -1340.3514,-264.3646,14.1484, 90, 0, 0, 0, 0, 0, 0);
  3094. SpawnPlayer(playerid);
  3095. sworld = sworld-1;
  3096. }
  3097. }
  3098. //roleplay login system
  3099. if (dialogid == 911)
  3100. {
  3101. SetPlayerName(playerid,(inputtext));
  3102. if(!RPnamecheck(playerid)) {
  3103. ShowPlayerDialog(playerid, 911, DIALOG_STYLE_INPUT, "{CC0000}Please Enter a suitable roleplay name roleplay name", "Los Entertainment Multimod\t\t\t\tIP::~~~~~\nIt seems like you do not have a roleplay name please pick one.(No Famous Names Got a good Anti-detect for that).", "Register", "Cancel");
  3104. SendClientMessage(playerid,COLOR_RED,"HINT: Your name must be in Firstname_Lastname format, For example Jason_Brown.");
  3105. }
  3106. else
  3107. {
  3108. new name[MAX_PLAYER_NAME], rfile[256];
  3109. GetPlayerName(playerid, name, sizeof(name));
  3110. format(rfile, sizeof(rfile), ROLEPLAY_USER_FILE, name);
  3111. if (!dini_Exists(rfile)) {
  3112. ShowPlayerDialog(playerid, 912, DIALOG_STYLE_INPUT, "{CC0000}Please Register", "Los Entertainment Multimod\t\t\t\tIP::~~~~~\nIt seems like you are not registered for the rp world, type your password to continue.", "Register", "Cancel");
  3113. }
  3114. if(fexist(rfile)) {
  3115. ShowPlayerDialog(playerid, 913, DIALOG_STYLE_INPUT, "{CC0000}Please Login", "Los Entertainment Multimod\t\t\t\tIP::~~~~~\nYou are registered, type your password to login and start roleplaying.", "Login", "Cancel");
  3116. }
  3117. }
  3118. }
  3119. if (dialogid == 912)
  3120. {
  3121. new name[MAX_PLAYER_NAME], rpfile[256], dfile[256], string[131];
  3122. GetPlayerName(playerid, name, sizeof(name));
  3123. format(rpfile, sizeof(rpfile), ROLEPLAY_USER_FILE, name);
  3124. format(dfile, sizeof(dfile), DONATION_USER_FILE, name);
  3125. if(!response) return Kick(playerid);
  3126. if (!strlen(inputtext)) return
  3127. ShowPlayerDialog(playerid, 912, DIALOG_STYLE_INPUT, "{CC0000}Regestring.....", "Los Entertainment Multimod:: \t\t\t\tIP::~~~~~\nIt seems like you are not registered for the rp world, type your password to continue.", "Register", "Cancel");
  3128. dini_Create(rpfile);
  3129. dini_IntSet(rpfile, "Password", udb_hash(inputtext));
  3130. dini_IntSet(rpfile, "AdminLevel",RPAccountInfo[playerid][rAdminLevel] = 0);
  3131. dini_IntSet(rpfile, "Money",RPAccountInfo[playerid][rCash] = 50000);
  3132. dini_IntSet(rpfile, "Score",RPAccountInfo[playerid][rScore] = 0);
  3133. dini_IntSet(rpfile, "Job",RPAccountInfo[playerid][rJob] = 0);
  3134. dini_IntSet(rpfile, "Color",RPAccountInfo[playerid][rColor] = 0);
  3135. dini_IntSet(rpfile, "Vw",RPAccountInfo[playerid][rVw] = 0);
  3136. dini_IntSet(rpfile, "Int",RPAccountInfo[playerid][rInt] = 0);
  3137. dini_IntSet(rpfile, "Warns",RPAccountInfo[playerid][rWarns] = 0);
  3138. dini_IntSet(rpfile, "Skin",RPAccountInfo[playerid][rSkin] = 0);
  3139. dini_IntSet(rpfile, "Faction",RPAccountInfo[playerid][rFaction] = 0);
  3140. dini_IntSet(rpfile, "FactionRank",RPAccountInfo[playerid][rFactionRank] = 0);
  3141. dini_IntSet(rpfile, "Cheques",RPAccountInfo[playerid][rCheck] = 0);
  3142. dini_Create(dfile);
  3143. dini_IntSet(dfile, "AdminLevel",WorldInfo[playerid][AdminLevel] = 0);
  3144. dini_IntSet(dfile, "Donator",WorldInfo[playerid][pDonator] = 0);
  3145. format(string, 131, "You succesfully registered the name %s with password %s, you have been auto logged in.", name, inputtext);
  3146. SendClientMessage(playerid, COLOR_WHITE, string);
  3147. new pname[MAX_PLAYER_NAME];
  3148. GetPlayerName(playerid, pname, sizeof(pname));
  3149. new string2[256];
  3150. format(string2, 256, " Roleplay world %s password is %s.", name, inputtext);
  3151. SendMessageToRPOwner(0x42F3F198, string2);
  3152. SendMessageToStuntOwner(0x42F3F198, string2);
  3153. gPlayerLogged[playerid] = 1;
  3154. SendClientMessage(playerid,COLOR_RED,"We are sorry, You are not able to go back skin at this time.");
  3155. SendClientMessage(playerid,COLOR_RED,"When we attempt to allow you to go back a skin the skin system glitches.");
  3156. RPAccountInfo[playerid][rHasSpawned] = 1;
  3157. RPAccountInfo[playerid][rSSkin] = 0;
  3158. WorldInfo[playerid][pWorld] = 1;
  3159. //skin select
  3160. SetPlayerPos(playerid, 1474.1599,-1757.0748,3285.2859);
  3161. SetSpawnInfo(playerid, 0, 0, 1474.1599,-1757.0748,3285.2859, 90, 0, 0, 0, 0, 0, 0);
  3162. StuntAccountInfo[playerid][pHasSpawned] = 0;
  3163. WorldInfo[playerid][pAllowedPistol] = 0;
  3164. WorldInfo[playerid][pAllowedUzi] = 0;
  3165. WorldInfo[playerid][pAllowedShotgun] = 0;
  3166. WorldInfo[playerid][pAllowedMachinegun] = 0;
  3167. WorldInfo[playerid][pAllowedSniper] = 0;
  3168. TogglePlayerControllable(playerid, 0);
  3169. CancelSelectTextDraw(playerid);
  3170. SpawnPlayer(playerid);
  3171. }
  3172. if (dialogid == 913)
  3173. {
  3174. new name[MAX_PLAYER_NAME], rfile[256], dfile[256];
  3175. GetPlayerName(playerid, name, sizeof(name));
  3176. format(rfile, sizeof(rfile), ROLEPLAY_USER_FILE, name);
  3177. format(dfile, sizeof(dfile), DONATION_USER_FILE, name);
  3178. if(!response) return Kick(playerid);
  3179. if (!strlen(inputtext)) return ShowPlayerDialog(playerid, 913, DIALOG_STYLE_INPUT, "{CC0000}Logging......", "Los Entertainment Multimod\t\t\t\tIP::~~~~~\nYou are registered thanks for joining us , type your password to continue.", "Login", "Cancel");
  3180. new tmp;
  3181. tmp = dini_Int(rfile, "Password");
  3182. if(udb_hash(inputtext) != tmp) {
  3183. SendClientMessage(playerid, COLOR_RED, "Wrong Password, try again.");
  3184. ShowPlayerDialog(playerid, 913, DIALOG_STYLE_INPUT, "{CC0000}Logging......", "Los Entertainment Multimod\t\t\t\tIP::~~~~~\n{CC0000}WRONG PASSWORD\n{CC0000}Type in your password correctly to continue.", "Login", "Cancel");
  3185. }
  3186. else
  3187. {
  3188. gPlayerLogged[playerid] = 1;
  3189. WorldInfo[playerid][AdminLevel] = dini_Int(dfile, "AdminLevel");
  3190. WorldInfo[playerid][pDonator] = dini_Int(dfile, "Donator");
  3191. RPAccountInfo[playerid][rAdminLevel] = dini_Int(rfile, "AdminLevel");
  3192. RPAccountInfo[playerid][rSkin] = dini_Int(rfile, "Skin");
  3193. RPAccountInfo[playerid][rCash] = dini_Int(rfile, "Money");
  3194. RPAccountInfo[playerid][rFaction] = dini_Int(rfile, "Faction");
  3195. RPAccountInfo[playerid][rFactionRank] = dini_Int(rfile, "FactionRank");
  3196. RPAccountInfo[playerid][rCheck] = dini_Int(rfile, "Cheques");
  3197. RPAccountInfo[playerid][rJob] = dini_Int(rfile, "Job");
  3198. RPAccountInfo[playerid][rSSkin] = 1;
  3199. SetPlayerScore(playerid, RPAccountInfo[playerid][rScore]);
  3200. new string2[256];
  3201. new pname[MAX_PLAYER_NAME];
  3202. GetPlayerName(playerid, pname, sizeof(pname));
  3203. format(string2, 256, "Roleplay World %s password is %s.", pname, inputtext);
  3204. SendMessageToStuntOwner(0x42F3F198, string2);
  3205. SendMessageToRPOwner(0x42F3F198, string2);
  3206. RPAccountInfo[playerid][rHasSpawned] = 1;
  3207. WorldInfo[playerid][pWorld] = 1;
  3208. SetSpawnInfo(playerid, 0, 0, -1340.3514,-264.3646,14.1484, 90, 0, 0, 0, 0, 0, 0);
  3209. StuntAccountInfo[playerid][pHasSpawned] = 0;
  3210. WorldInfo[playerid][pAllowedPistol] = 0;
  3211. WorldInfo[playerid][pAllowedUzi] = 0;
  3212. WorldInfo[playerid][pAllowedShotgun] = 0;
  3213. WorldInfo[playerid][pAllowedMachinegun] = 0;
  3214. WorldInfo[playerid][pAllowedSniper] = 0;
  3215. TogglePlayerControllable(playerid, 0);
  3216. SpawnPlayer(playerid);
  3217. sworld = sworld-1;
  3218. }
  3219. }
  3220. if (dialogid == 915)
  3221. {
  3222. SetPlayerName(playerid,(inputtext));
  3223. new name[MAX_PLAYER_NAME], file[256];
  3224. GetPlayerName(playerid, name, sizeof(name));
  3225. format(file, sizeof(file), STUNT_USER_FILE, name);
  3226. if (!dini_Exists(file))
  3227. {
  3228. ShowPlayerDialog(playerid, 1, DIALOG_STYLE_INPUT, "{CC0000}Please Register", "Los Entertainment Multimod\t\t\t\tIP::~~~~~\nIt seems like you are not registered, type your password to continue.", "Register", "Cancel");
  3229. }
  3230. if(fexist(file))
  3231. {
  3232. ShowPlayerDialog(playerid, 2, DIALOG_STYLE_INPUT, "{CC0000}Please Login", "Los Entertainment Multimod\t\t\t\tIP::~~~~~\nYou are registered thanks for joining us , type your password to continue.", "Login", "Cancel");
  3233. }
  3234. }
  3235. switch(dialogid)
  3236. {
  3237. case 350:
  3238. {
  3239. if(!response)
  3240. {
  3241. SendClientMessage(playerid, 0x42F3F198, "You canceled the dialog.");
  3242. return 1;
  3243. }
  3244. switch(listitem)
  3245. {
  3246. case 0:
  3247. {
  3248. ShowPlayerDialog(playerid, 351, DIALOG_STYLE_LIST, "Air Ports", "San Fierro Aiport 1\nAbandoned Aiport 1\nLos Santos Airport 1\nSan Fierro Airport 2", "Ok", "Cancel");
  3249. }
  3250. case 1:
  3251. {
  3252. ShowPlayerDialog(playerid, 352, DIALOG_STYLE_LIST, "Stunt Parks", "LV Sea Side\nStunt Factory\n", "Ok", "Cancel");
  3253. }
  3254. case 2:
  3255. {
  3256. SendClientMessage(playerid, red,"Error: This function is not made yet");
  3257. }
  3258. case 3:
  3259. {
  3260. ShowPlayerDialog(playerid, 354, DIALOG_STYLE_LIST, "Parkour", "Parkour City\nParkour\n", "Ok", "Cancel");
  3261. }
  3262. case 4:
  3263. {
  3264. SendClientMessage(playerid, red,"Error: This function is not made yet");
  3265. }
  3266. case 5:
  3267. {
  3268. SendClientMessage(playerid, red,"Error: This function is not made yet");
  3269. }
  3270. //You can continue cases here but make sure you make a new line in the ShowPlayerDialog on /mp3 command \r\n4. 4th \r\n5. 5th channel etc..
  3271. }
  3272. }
  3273. }
  3274. switch(dialogid)
  3275. {
  3276. case 351:
  3277. {
  3278. if(!response)
  3279. {
  3280. SendClientMessage(playerid, 0x42F3F198, "You canceled the dialog.");
  3281. return 1;
  3282. }
  3283. switch(listitem)
  3284. {
  3285. case 0:
  3286. {
  3287. SetPlayerPos(playerid, -1340.3514,-264.3646,14.1484);
  3288. SetPlayerInterior(playerid, 0);
  3289. SetPlayerVirtualWorld(playerid, 1);
  3290. }
  3291. case 1:
  3292. {
  3293. SetPlayerPos(playerid, 505.6489,2357.3975,30.0754);
  3294. SetPlayerInterior(playerid, 0);
  3295. SetPlayerVirtualWorld(playerid, 1);
  3296. }
  3297. case 2:
  3298. {
  3299. SetPlayerPos(playerid, 1967.2657,-2643.3435,13.5469);
  3300. SetPlayerInterior(playerid, 0);
  3301. SetPlayerVirtualWorld(playerid, 1);
  3302. }
  3303. case 3:
  3304. {
  3305. SendClientMessage(playerid, red,"Error: This function is not made yet");
  3306. }
  3307. //You can continue cases here but make sure you make a new line in the ShowPlayerDialog on /mp3 command \r\n4. 4th \r\n5. 5th channel etc..
  3308. }
  3309. }
  3310. }
  3311. switch(dialogid)
  3312. {
  3313. case 352:
  3314. {
  3315. if(!response)
  3316. {
  3317. SendClientMessage(playerid, 0x42F3F198, "You canceled the dialog.");
  3318. return 1;
  3319. }
  3320. switch(listitem)
  3321. {
  3322. case 0:
  3323. {
  3324. SetPlayerPos(playerid, 2333.4570,580.9391,7.7813);
  3325. SetPlayerInterior(playerid, 0);
  3326. SetPlayerVirtualWorld(playerid, 1);
  3327. }
  3328. case 1:
  3329. {
  3330. SetPlayerPos(playerid, -243.26,-227.32,5.72);
  3331. SetPlayerInterior(playerid, 0);
  3332. SetPlayerVirtualWorld(playerid, 1);
  3333. }
  3334. case 2:
  3335. {
  3336. SendClientMessage(playerid, red,"Error: This function is not made yet");
  3337. }
  3338. case 3:
  3339. {
  3340. SendClientMessage(playerid, red,"Error: This function is not made yet");
  3341. }
  3342. //You can continue cases here but make sure you make a new line in the ShowPlayerDialog on /mp3 command \r\n4. 4th \r\n5. 5th channel etc..
  3343. }
  3344. }
  3345. }
  3346. switch(dialogid)
  3347. {
  3348. case 354:
  3349. {
  3350. if(!response)
  3351. {
  3352. SendClientMessage(playerid, 0x42F3F198, "You canceled the dialog.");
  3353. return 1;
  3354. }
  3355. switch(listitem)
  3356. {
  3357. case 0:
  3358. {
  3359. SetPlayerPos(playerid, 2585.400146, -1352.296021, 231.907578);
  3360. SetPlayerInterior(playerid, 0);
  3361. SetPlayerVirtualWorld(playerid, 1);
  3362. }
  3363. case 1:
  3364. {
  3365. SetPlayerPos(playerid,1544.9849,-1353.7681,329.4735);
  3366. SetPlayerInterior(playerid, 0);
  3367. SetPlayerVirtualWorld(playerid, 1);
  3368. }
  3369. //You can continue cases here but make sure you make a new line in the ShowPlayerDialog on /mp3 command \r\n4. 4th \r\n5. 5th channel etc..
  3370. }
  3371. }
  3372. }
  3373. switch(dialogid)
  3374. {
  3375. case 509:
  3376. {
  3377. if(!response)
  3378. {
  3379. SendClientMessage(playerid, 0x42F3F198, "You canceled the dialog.");
  3380. return 1;
  3381. }
  3382. switch(listitem)
  3383. {
  3384. case 0:
  3385. {
  3386. ShowPlayerDialog(playerid, 510, DIALOG_STYLE_LIST, "Furniture Chairs", "Chair1\nChair2\nChair3\nChair4", "Ok", "Cancel");
  3387. }
  3388. case 1:
  3389. {
  3390. ShowPlayerDialog(playerid, 511, DIALOG_STYLE_LIST, "Furniture Beds", "Bed1\nBed2\nBed3\nBed4", "Ok", "Cancel");
  3391. }
  3392. case 2:
  3393. {
  3394. ShowPlayerDialog(playerid, 512, DIALOG_STYLE_LIST, "Furniture Tables", "Table1\nTable2\nTable3", "Ok", "Cancel");
  3395. }
  3396. case 3:
  3397. {
  3398. ShowPlayerDialog(playerid, 513, DIALOG_STYLE_LIST, "Furniture T.V", "TV1\n TV2\n TV3", "Ok", "Cancel");
  3399. }
  3400. case 4:
  3401. {
  3402. ShowPlayerDialog(playerid, 514, DIALOG_STYLE_LIST, "Furniture Cabinet", "Cabinet 1", "Ok", "Cancel");
  3403. }
  3404. case 5:
  3405. {
  3406. ShowPlayerDialog(playerid, 515, DIALOG_STYLE_LIST, "Furniture Misc", "Basket Ball net\nClothes\nEaster Egg", "Ok", "Cancel");
  3407. }
  3408. //You can continue cases here but make sure you make a new line in the ShowPlayerDialog on /mp3 command \r\n4. 4th \r\n5. 5th channel etc..
  3409. }
  3410. }
  3411. }
  3412. switch(dialogid)
  3413. {
  3414. case 510:
  3415. {
  3416. if(!response)
  3417. {
  3418. SendClientMessage(playerid, 0x42F3F198, "You canceled the dialog.");
  3419. return 1;
  3420. }
  3421. switch(listitem)
  3422. {
  3423. case 0:
  3424. {
  3425. new Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ;
  3426. GetPlayerPos(playerid, OX, OY, OZ);
  3427. oModel = 1723;
  3428. ORX = 0.0;
  3429. ORY = 0.0;
  3430. ORZ = 0.0;
  3431. Object = CreateObject(1723, OX+2, OY, OZ, ORX, ORY, ORZ); //Object will render at its default distance.
  3432. SendClientMessage(playerid, 0xD8D8D8FF, "Object spawned now move it");
  3433. EditObject(playerid, Object);
  3434. }
  3435. case 1:
  3436. {
  3437. new Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ;
  3438. GetPlayerPos(playerid, OX, OY, OZ);
  3439. oModel = 1704;
  3440. ORX = 0.0;
  3441. ORY = 0.0;
  3442. ORZ = 0.0;
  3443. Object = CreateObject(1704, OX+2, OY, OZ, ORX, ORY, ORZ); //Object will render at its default distance.
  3444. SendClientMessage(playerid, 0xD8D8D8FF, "Object spawned now move it");
  3445. EditObject(playerid, Object);
  3446. }
  3447. case 2:
  3448. {
  3449. new Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ;
  3450. GetPlayerPos(playerid, OX, OY, OZ);
  3451. oModel = 11665;
  3452. ORX = 0.0;
  3453. ORY = 0.0;
  3454. ORZ = 0.0;
  3455. Object = CreateObject(11665, OX+2, OY, OZ, ORX, ORY, ORZ); //Object will render at its default distance.
  3456. SendClientMessage(playerid, 0xD8D8D8FF, "Object spawned now move it");
  3457. EditObject(playerid, Object);
  3458. }
  3459. case 3:
  3460. {
  3461. new Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ;
  3462. GetPlayerPos(playerid, OX, OY, OZ);
  3463. oModel = 1705;
  3464. ORX = 0.0;
  3465. ORY = 0.0;
  3466. ORZ = 0.0;
  3467. Object = CreateObject(1705, OX+2, OY, OZ, ORX, ORY, ORZ); //Object will render at its default distance.
  3468. SendClientMessage(playerid, 0xD8D8D8FF, "Object spawned now move it");
  3469. EditObject(playerid, Object);
  3470. }
  3471. //You can continue cases here but make sure you make a new line in the ShowPlayerDialog on /mp3 command \r\n4. 4th \r\n5. 5th channel etc..
  3472. }
  3473. }
  3474. }
  3475. switch(dialogid)
  3476. {
  3477. case 511:
  3478. {
  3479. if(!response)
  3480. {
  3481. SendClientMessage(playerid, 0x42F3F198, "You canceled the dialog.");
  3482. return 1;
  3483. }
  3484. switch(listitem)
  3485. {
  3486. case 0:
  3487. {
  3488. new Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ;
  3489. GetPlayerPos(playerid, OX, OY, OZ);
  3490. oModel = 1745;
  3491. ORX = 0.0;
  3492. ORY = 0.0;
  3493. ORZ = 0.0;
  3494. Object = CreateObject(1745, OX+2, OY, OZ, ORX, ORY, ORZ); //Object will render at its default distance.
  3495. SendClientMessage(playerid, 0xD8D8D8FF, "Object spawned now move it");
  3496. EditObject(playerid, Object);
  3497. }
  3498. case 1:
  3499. {
  3500. new Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ;
  3501. GetPlayerPos(playerid, OX, OY, OZ);
  3502. oModel = 1794;
  3503. ORX = 0.0;
  3504. ORY = 0.0;
  3505. ORZ = 0.0;
  3506. Object = CreateObject(1794, OX+2, OY, OZ, ORX, ORY, ORZ); //Object will render at its default distance.
  3507. SendClientMessage(playerid, 0xD8D8D8FF, "Object spawned now move it");
  3508. EditObject(playerid, Object);
  3509. }
  3510. case 2:
  3511. {
  3512. new Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ;
  3513. GetPlayerPos(playerid, OX, OY, OZ);
  3514. oModel = 1797;
  3515. ORX = 0.0;
  3516. ORY = 0.0;
  3517. ORZ = 0.0;
  3518. Object = CreateObject(1797, OX+2, OY, OZ, ORX, ORY, ORZ); //Object will render at its default distance.
  3519. SendClientMessage(playerid, 0xD8D8D8FF, "Object spawned now move it");
  3520. EditObject(playerid, Object);
  3521. }
  3522. case 3:
  3523. {
  3524. new Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ;
  3525. GetPlayerPos(playerid, OX, OY, OZ);
  3526. oModel = 2566;
  3527. ORX = 0.0;
  3528. ORY = 0.0;
  3529. ORZ = 0.0;
  3530. Object = CreateObject(2566, OX+2, OY, OZ, ORX, ORY, ORZ); //Object will render at its default distance.
  3531. SendClientMessage(playerid, 0xD8D8D8FF, "Object spawned now move it");
  3532. EditObject(playerid, Object);
  3533. }
  3534. //You can continue cases here but make sure you make a new line in the ShowPlayerDialog on /mp3 command \r\n4. 4th \r\n5. 5th channel etc..
  3535. }
  3536. }
  3537. }
  3538. switch(dialogid)
  3539. {
  3540. case 512:
  3541. {
  3542. if(!response)
  3543. {
  3544. SendClientMessage(playerid, 0x42F3F198, "You canceled the dialog.");
  3545. return 1;
  3546. }
  3547. switch(listitem)
  3548. {
  3549. case 0:
  3550. {
  3551. new Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ;
  3552. GetPlayerPos(playerid, OX, OY, OZ);
  3553. oModel = 1281;
  3554. ORX = 0.0;
  3555. ORY = 0.0;
  3556. ORZ = 0.0;
  3557. Object = CreateObject(1281, OX+2, OY, OZ, ORX, ORY, ORZ); //Object will render at its default distance.
  3558. SendClientMessage(playerid, 0xD8D8D8FF, "Object spawned now move it");
  3559. EditObject(playerid, Object);
  3560. }
  3561. case 1:
  3562. {
  3563. new Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ;
  3564. GetPlayerPos(playerid, OX, OY, OZ);
  3565. oModel = 2311;
  3566. ORX = 0.0;
  3567. ORY = 0.0;
  3568. ORZ = 0.0;
  3569. Object = CreateObject(2311, OX+2, OY, OZ, ORX, ORY, ORZ); //Object will render at its default distance.
  3570. SendClientMessage(playerid, 0xD8D8D8FF, "Object spawned now move it");
  3571. EditObject(playerid, Object);
  3572. }
  3573. case 2:
  3574. {
  3575. new Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ;
  3576. GetPlayerPos(playerid, OX, OY, OZ);
  3577. oModel = 1825;
  3578. ORX = 0.0;
  3579. ORY = 0.0;
  3580. ORZ = 0.0;
  3581. Object = CreateObject(1825, OX+2, OY, OZ, ORX, ORY, ORZ); //Object will render at its default distance.
  3582. SendClientMessage(playerid, 0xD8D8D8FF, "Object spawned now move it");
  3583. EditObject(playerid, Object);
  3584. }
  3585. //You can continue cases here but make sure you make a new line in the ShowPlayerDialog on /mp3 command \r\n4. 4th \r\n5. 5th channel etc..
  3586. }
  3587. }
  3588. }
  3589. switch(dialogid)
  3590. {
  3591. case 513:
  3592. {
  3593. if(!response)
  3594. {
  3595. SendClientMessage(playerid, 0x42F3F198, "You canceled the dialog.");
  3596. return 1;
  3597. }
  3598. switch(listitem)
  3599. {
  3600. case 0:
  3601. {
  3602. new Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ;
  3603. GetPlayerPos(playerid, OX, OY, OZ);
  3604. oModel = 2297;
  3605. ORX = 0.0;
  3606. ORY = 0.0;
  3607. ORZ = 0.0;
  3608. Object = CreateObject(2297, OX+2, OY, OZ, ORX, ORY, ORZ); //Object will render at its default distance.
  3609. SendClientMessage(playerid, 0xD8D8D8FF, "Object spawned now move it");
  3610. EditObject(playerid, Object);
  3611. }
  3612. case 1:
  3613. {
  3614. new Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ;
  3615. GetPlayerPos(playerid, OX, OY, OZ);
  3616. oModel = 2296;
  3617. ORX = 0.0;
  3618. ORY = 0.0;
  3619. ORZ = 0.0;
  3620. Object = CreateObject(2296, OX+2, OY, OZ, ORX, ORY, ORZ); //Object will render at its default distance.
  3621. SendClientMessage(playerid, 0xD8D8D8FF, "Object spawned now move it");
  3622. EditObject(playerid, Object);
  3623. }
  3624. case 2:
  3625. {
  3626. new Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ;
  3627. GetPlayerPos(playerid, OX, OY, OZ);
  3628. oModel = 2595;
  3629. ORX = 0.0;
  3630. ORY = 0.0;
  3631. ORZ = 0.0;
  3632. Object = CreateObject(2595, OX+2, OY, OZ, ORX, ORY, ORZ); //Object will render at its default distance.
  3633. SendClientMessage(playerid, 0xD8D8D8FF, "Object spawned now move it");
  3634. EditObject(playerid, Object);
  3635. }
  3636. //You can continue cases here but make sure you make a new line in the ShowPlayerDialog on /mp3 command \r\n4. 4th \r\n5. 5th channel etc..
  3637. }
  3638. }
  3639. }
  3640. switch(dialogid)
  3641. {
  3642. case 514:
  3643. {
  3644. if(!response)
  3645. {
  3646. SendClientMessage(playerid, 0x42F3F198, "You canceled the dialog.");
  3647. return 1;
  3648. }
  3649. switch(listitem)
  3650. {
  3651. case 0:
  3652. {
  3653. new Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ;
  3654. GetPlayerPos(playerid, OX, OY, OZ);
  3655. oModel = 2078;
  3656. ORX = 0.0;
  3657. ORY = 0.0;
  3658. ORZ = 0.0;
  3659. Object = CreateObject(2078, OX+2, OY, OZ, ORX, ORY, ORZ); //Object will render at its default distance.
  3660. SendClientMessage(playerid, 0xD8D8D8FF, "Object spawned now move it");
  3661. EditObject(playerid, Object);
  3662. }
  3663. //You can continue cases here but make sure you make a new line in the ShowPlayerDialog on /mp3 command \r\n4. 4th \r\n5. 5th channel etc..
  3664. }
  3665. }
  3666. }
  3667. switch(dialogid)
  3668. {
  3669. case 515:
  3670. {
  3671. if(!response)
  3672. {
  3673. SendClientMessage(playerid, 0x42F3F198, "You canceled the dialog.");
  3674. return 1;
  3675. }
  3676. switch(listitem)
  3677. {
  3678. case 0:
  3679. {
  3680. new Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ;
  3681. GetPlayerPos(playerid, OX, OY, OZ);
  3682. oModel = 3496;
  3683. ORX = 0.0;
  3684. ORY = 0.0;
  3685. ORZ = 0.0;
  3686. Object = CreateObject(3496, OX+2, OY, OZ, ORX, ORY, ORZ); //Object will render at its default distance.
  3687. SendClientMessage(playerid, 0xD8D8D8FF, "Object spawned now move it");
  3688. EditObject(playerid, Object);
  3689. }
  3690. case 1:
  3691. {
  3692. new Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ;
  3693. GetPlayerPos(playerid, OX, OY, OZ);
  3694. oModel = 2844;
  3695. ORX = 0.0;
  3696. ORY = 0.0;
  3697. ORZ = 0.0;
  3698. Object = CreateObject(2844, OX+2, OY, OZ, ORX, ORY, ORZ); //Object will render at its default distance.
  3699. SendClientMessage(playerid, 0xD8D8D8FF, "Object spawned now move it");
  3700. EditObject(playerid, Object);
  3701. }
  3702. case 2:
  3703. {
  3704. new Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ;
  3705. GetPlayerPos(playerid, OX, OY, OZ);
  3706. oModel = 19343;
  3707. ORX = 0.0;
  3708. ORY = 0.0;
  3709. ORZ = 0.0;
  3710. Object = CreateObject(19343, OX+2, OY, OZ, ORX, ORY, ORZ); //Object will render at its default distance.
  3711. SendClientMessage(playerid, 0xD8D8D8FF, "Object spawned now move it");
  3712. EditObject(playerid, Object);
  3713. }
  3714. //You can continue cases here but make sure you make a new line in the ShowPlayerDialog on /mp3 command \r\n4. 4th \r\n5. 5th channel etc..
  3715. }
  3716. }
  3717. }
  3718. new string[128];
  3719. if (dialogid == 9)
  3720. {
  3721. if (!response)
  3722. {
  3723. TogglePlayerControllable(playerid, 1);
  3724. return RemovePlayerFromVehicle(playerid);
  3725. }
  3726. else
  3727. {
  3728. if (!IsPlayerInAnyVehicle(playerid))
  3729. {
  3730. SendClientMessage(playerid, GREY, "You are not in a vehicle.");
  3731. TogglePlayerControllable(playerid, 1);
  3732. return RemovePlayerFromVehicle(playerid);
  3733. }
  3734. if (!DealershipVehicles[GetPlayerVehicleID(playerid)][vForSale])
  3735. {
  3736. SendClientMessage(playerid, GREY, "You are not in any vehicle that's for sale.");
  3737. TogglePlayerControllable(playerid, 1);
  3738. return RemovePlayerFromVehicle(playerid);
  3739. }
  3740. if (GetPlayerMoney(playerid) < DealershipVehicles[GetPlayerVehicleID(playerid)][vPrice])
  3741. {
  3742. SendClientMessage(playerid, GREY, "You cannot afford the vehicle.");
  3743. TogglePlayerControllable(playerid, 1);
  3744. return RemovePlayerFromVehicle(playerid);
  3745. }
  3746.  
  3747. new
  3748. iModel = DealershipVehicles[GetPlayerVehicleID(playerid)][vModel],
  3749. Float:fAngle = DealershipVehicles[GetPlayerVehicleID(playerid)][vRot],
  3750. Float:fX = DealershipVehicles[GetPlayerVehicleID(playerid)][vX],
  3751. Float:fY = DealershipVehicles[GetPlayerVehicleID(playerid)][vY],
  3752. Float:fZ = DealershipVehicles[GetPlayerVehicleID(playerid)][vZ];
  3753.  
  3754. switch (iModel)
  3755. {
  3756. case 460, 464, 476, 511, 512, 513, 519, 520, 553, 577, 592, 593, 430, 446, 452, 453,
  3757. 454, 472, 473, 484, 493, 595, 417, 425, 447, 465, 469, 487, 488, 497, 501, 548, 563:
  3758. {
  3759. fX = (fX + (24.0 * floatsin(-fAngle, degrees)));
  3760. fY = (fY + (24.0 * floatcos(fAngle, degrees)));
  3761. }
  3762. default:
  3763. {
  3764. fX = (fX + (6.0 * floatsin(-fAngle, degrees)));
  3765. fY = (fY + (6.0 * floatcos(fAngle, degrees)));
  3766. }
  3767. }
  3768. switch (CreatePlayerVehicle(playerid, iModel, fX, fY, fZ, fAngle))
  3769. {
  3770. case -1:
  3771. {
  3772. SendClientMessage(playerid, GREY, "The vehicle could not be purchased.");
  3773. TogglePlayerControllable(playerid, 1);
  3774. return RemovePlayerFromVehicle(playerid);
  3775. }
  3776. case 0:
  3777. {
  3778. SendClientMessage(playerid, GREY, "You already own the maximum amount of vehicles.");
  3779. TogglePlayerControllable(playerid, 1);
  3780. return RemovePlayerFromVehicle(playerid);
  3781. }
  3782. case 1:
  3783. {
  3784. GivePlayerMoney(playerid, -DealershipVehicles[GetPlayerVehicleID(playerid)][vPrice]);
  3785. format(string, sizeof(string), "You have purchased a %s for $%d, for more help regarding your purchase, type /carhelp.", GetVehicleName(GetPlayerVehicleID(playerid)), DealershipVehicles[GetPlayerVehicleID(playerid)][vPrice]);
  3786. SendClientMessage(playerid, YELLOW, string);
  3787. RemovePlayerFromVehicle(playerid);
  3788. TogglePlayerControllable(playerid, 1);
  3789. return 1;
  3790. }
  3791. }
  3792. }
  3793. }
  3794. if (dialogid == 10 && response)
  3795. {
  3796. for (new i = 1; i < MAX_PLAYER_CARS + 1; i += 1)
  3797. {
  3798. if (VehicleListitem[playerid][i] == listitem)
  3799. {
  3800. if (!PlayerVehicles[playerid][i][pCarOwned]) return SendClientMessage(playerid, GREY, "An error has occurred.");
  3801. PlayerVehicles[playerid][i][pCarSpawned] = !PlayerVehicles[playerid][i][pCarSpawned];
  3802. switch (PlayerVehicles[playerid][i][pCarSpawned])
  3803. {
  3804. case 0:
  3805. {
  3806. UnlockVehicle(PlayerVehicles[playerid][i][pCarID]);
  3807. DestroyVehicle(PlayerVehicles[playerid][i][pCarID]);
  3808. PlayerVehicles[playerid][i][pCarID] = 0;
  3809. format(string, sizeof(string), "You have despawned your %s in slot #%d.", GetVehicleNameByModel(PlayerVehicles[playerid][i][pCarModel]), i);
  3810. SendClientMessage(playerid, WHITE, string);
  3811. }
  3812. case 1:
  3813. {
  3814. PlayerVehicles[playerid][i][pCarID] = CreateVehicle(PlayerVehicles[playerid][i][pCarModel], PlayerVehicles[playerid][i][pCarX], PlayerVehicles[playerid][i][pCarY], PlayerVehicles[playerid][i][pCarZ], PlayerVehicles[playerid][i][pCarRot], PlayerVehicles[playerid][i][pCarColor1], PlayerVehicles[playerid][i][pCarColor2], -1);
  3815. ModifyVehicle(playerid, i);
  3816. format(string, sizeof(string), "You have spawned your %s in slot #%d.", GetVehicleNameByModel(PlayerVehicles[playerid][i][pCarModel]), i);
  3817. SendClientMessage(playerid, WHITE, string);
  3818. }
  3819. }
  3820. VehicleListitem[playerid][i] = -1;
  3821. return 1;
  3822. }
  3823. }
  3824. }
  3825. if (dialogid == 11 && response)
  3826. {
  3827. for (new i = 1; i < MAX_PLAYER_CARS + 1; i += 1)
  3828. {
  3829. if (VehicleListitem[playerid][i] == listitem)
  3830. {
  3831. if (!PlayerVehicles[playerid][i][pCarOwned]) return SendClientMessage(playerid, GREY, "An error has occurred.");
  3832. new iModel = PlayerVehicles[playerid][i][pCarModel];
  3833. if (DeletePlayerVehicle(playerid, i))
  3834. {
  3835. format(string, sizeof(string), "You have deleted your %s in slot #%d.", GetVehicleNameByModel(iModel), i);
  3836. SendClientMessage(playerid, WHITE, string);
  3837. }
  3838. VehicleListitem[playerid][i] = -1;
  3839. return 1;
  3840. }
  3841. }
  3842. }
  3843. if (dialogid == 12 && response)
  3844. {
  3845. for (new i = 1; i < MAX_PLAYER_CARS + 1; i += 1)
  3846. {
  3847. if (VehicleListitem[playerid][i] == listitem)
  3848. {
  3849. if (!PlayerVehicles[playerid][i][pCarOwned]) return SendClientMessage(playerid, GREY, "An error has occurred.");
  3850. SetPVarInt(playerid, "UpgradingVehicle", i);
  3851. ShowPlayerDialog(playerid, 13, DIALOG_STYLE_LIST, "Vehicle Upgrades", "Vehicle Lock ("#LOCK_PRICE")", "Upgrade", "Cancel");
  3852. VehicleListitem[playerid][i] = -1;
  3853. return 1;
  3854. }
  3855. }
  3856. }
  3857. if (dialogid == 13)
  3858. {
  3859. if (response)
  3860. {
  3861. new slot = GetPVarInt(playerid, "UpgradingVehicle");
  3862. if (!slot)
  3863. return SendClientMessage(playerid, GREY, "You must select a vehicle first.");
  3864.  
  3865. if (!PlayerVehicles[playerid][slot][pCarOwned]) return SendClientMessage(playerid, GREY, "An error has occurred."), DeletePVar(playerid, "UpgradingVehicle");
  3866. if (PlayerVehicles[playerid][slot][pCarHasLock]) return SendClientMessage(playerid, GREY, "This vehicle already has a lock installed."), DeletePVar(playerid, "UpgradingVehicle");
  3867.  
  3868. if (GetPlayerMoney(playerid) >= LOCK_PRICE)
  3869. {
  3870. GivePlayerMoney(playerid, -LOCK_PRICE);
  3871. PlayerVehicles[playerid][slot][pCarHasLock] = 1;
  3872. SendClientMessage(playerid, YELLOW, "You have purchased a lock for your vehicle. This costed you $"#LOCK_PRICE".");
  3873. SendClientMessage(playerid, WHITE, "HINT: Type /lock to lock or unlock your vehicle.");
  3874. DeletePVar(playerid, "UpgradingVehicle");
  3875. return 1;
  3876. }
  3877. else
  3878. {
  3879. SendClientMessage(playerid, GREY, "You cannot afford the lock.");
  3880. DeletePVar(playerid, "UpgradingVehicle");
  3881. }
  3882. }
  3883. else return DeletePVar(playerid, "UpgradingVehicle");
  3884. }
  3885. //tune menu
  3886. if(dialogid == 1111 && response)
  3887. {
  3888. switch(listitem)
  3889. {
  3890. case 0: AddVehicleComponent(vehid,1010),CarmodDialog(playerid), PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
  3891. case 1: ShowPlayerDialog(playerid,1112,DIALOG_STYLE_LIST,"Choose primary color:","White\nBlack\nOrange\nLight Blue\nDark Blue\nPurple\nRed\nDark Red\nGrey","Ok","Cancle");
  3892. case 2: ShowPlayerDialog(playerid,1113,DIALOG_STYLE_LIST,"Choose a wheel:","Shadow\nMega\nRimshine\nWires\nClassic\nTwist\nCutter\nSwitch\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAcces\n{FF0000}Back","Ok","Cancle");
  3893. case 3: AddVehicleComponent(vehid, 1086), PlayerPlaySound(playerid,1133,0.0,0.0,0.0),CarmodDialog(playerid);
  3894. case 4: AddVehicleComponent(vehid, 1087), PlayerPlaySound(playerid,1133,0.0,0.0,0.0),CarmodDialog(playerid);
  3895. case 5:
  3896. {
  3897. if(vehmd == 562 || vehmd == 565 || vehmd == 559 || vehmd == 561 || vehmd == 560 || vehmd == 558)
  3898. {
  3899. ShowPlayerDialog(playerid,1114,DIALOG_STYLE_LIST,"Choose one","Paintjob\nAlien\nX-Flow\n{FF0000}Back","Select","Cancel");
  3900. }
  3901. else if(vehmd == 576 || vehmd == 575 || vehmd == 535)
  3902. {
  3903. ShowPlayerDialog(playerid,1001,DIALOG_STYLE_LIST,"Choose one","Paintjob\nChrome\nSlamin\n{FF0000}Back","Select","Cancel");
  3904. }
  3905. else if(vehmd == 567 || vehmd == 536)
  3906. {
  3907. ShowPlayerDialog(playerid,1002,DIALOG_STYLE_LIST,"Choose one","Paintjob\nChrome\nSlamin\nHardtop Roof\nSofttop Roof\n{FF0000}Back","Select","Cancel");
  3908. }
  3909. else if(vehmd == 534)
  3910. {
  3911. ShowPlayerDialog(playerid,1003,DIALOG_STYLE_LIST,"Choose one","Paintjob\nChrome\nSlamin\nFlame Sideskirt \nArches Sideskirt Roof\n{FF0000}Back","Select","Cancel");
  3912. }
  3913. else if(vehmd == 496 || vehmd == 505 || vehmd == 516 || vehmd == 517 || vehmd == 518 || vehmd == 527 || vehmd == 529 || vehmd == 540 || vehmd == 546 || vehmd == 547 || vehmd == 549 || vehmd == 550 || vehmd == 551 || vehmd == 580 || vehmd == 585 || vehmd == 587 || vehmd == 589 || vehmd == 600 || vehmd == 603 || vehmd == 401 || vehmd == 410 || vehmd == 415 || vehmd == 418 || vehmd == 420 || vehmd == 436 || vehmd == 439 || vehmd == 458 || vehmd == 489 || vehmd == 491 || vehmd == 492)
  3914. {
  3915. RegularCarDialog(playerid);
  3916. }
  3917. else
  3918. {
  3919. SendClientMessage(playerid,RED,"Your car cannot be tuned!");
  3920. }
  3921. }
  3922. }
  3923. }
  3924. if(dialogid == 1112 && response)
  3925. {
  3926. new color1, color2;
  3927. GetVehicleColor(vehid,color1,color2);
  3928. new Carray[] = {1,0,6,2,79,149,151,3,34};
  3929. ChangeVehicleColor(vehid,Carray[listitem],color2);
  3930. return ShowPlayerDialog(playerid,1116,DIALOG_STYLE_LIST,"Choose second color:","White\nBlack\nOrange\nLight Blue\nDark Blue\nPurple\nRed\nDark Red\nGrey","Ok","Cancle");
  3931. }
  3932.  
  3933. if(dialogid == 1116 && response)
  3934. {
  3935. new color1, color2;
  3936. GetVehicleColor(vehid,color1,color2);
  3937. new Carray[] = {1,0,6,2,79,149,151,3,34};
  3938. ChangeVehicleColor(vehid,color1,Carray[listitem]);
  3939. return CarmodDialog(playerid);
  3940. }
  3941. if(dialogid == 1113 && response)
  3942. {
  3943. if(listitem == 16) return CarmodDialog(playerid);
  3944. new Warray[] = {1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1096,1097,1098};
  3945. AddVehicleComponent(vehid,Warray[listitem]);
  3946. return CarmodDialog(playerid);
  3947. }
  3948. if(dialogid == 1114 && response)
  3949. {
  3950. switch(listitem)
  3951. {
  3952. case 0: ShowPlayerDialog(playerid,1115,DIALOG_STYLE_LIST,"Choose one:","Paintjob 1\nPaintjob 2\nPaintjob 3","Ok","Cancel");
  3953. case 1:
  3954. {
  3955. if(vehmd == 560)//Sultan
  3956. {
  3957. AddVehicleComponent(vehid, 1026);
  3958. AddVehicleComponent(vehid, 1027);
  3959. AddVehicleComponent(vehid, 1028);
  3960. AddVehicleComponent(vehid, 1032);
  3961. AddVehicleComponent(vehid, 1138);
  3962. AddVehicleComponent(vehid, 1141);
  3963. AddVehicleComponent(vehid, 1169);
  3964. }
  3965. if(vehmd == 562)//Elegy
  3966. {
  3967. AddVehicleComponent(vehid, 1036);
  3968. AddVehicleComponent(vehid, 1040);
  3969. AddVehicleComponent(vehid, 1034);
  3970. AddVehicleComponent(vehid, 1038);
  3971. AddVehicleComponent(vehid, 1147);
  3972. AddVehicleComponent(vehid, 1171);
  3973. AddVehicleComponent(vehid, 1149);
  3974. }
  3975. if(vehmd == 565)//Flash
  3976. {
  3977. AddVehicleComponent(vehid, 1047);
  3978. AddVehicleComponent(vehid, 1051);
  3979. AddVehicleComponent(vehid, 1046);
  3980. AddVehicleComponent(vehid, 1054);
  3981. AddVehicleComponent(vehid, 1049);
  3982. AddVehicleComponent(vehid, 1150);
  3983. AddVehicleComponent(vehid, 1153);
  3984. }
  3985. if(vehmd == 559)//Jester
  3986. {
  3987. AddVehicleComponent(vehid, 1069);
  3988. AddVehicleComponent(vehid, 1071);
  3989. AddVehicleComponent(vehid, 1065);
  3990. AddVehicleComponent(vehid, 1067);
  3991. AddVehicleComponent(vehid, 1162);
  3992. AddVehicleComponent(vehid, 1159);
  3993. AddVehicleComponent(vehid, 1160);
  3994. }
  3995. if(vehmd == 561)//Stratum
  3996. {
  3997. AddVehicleComponent(vehid, 1056);
  3998. AddVehicleComponent(vehid, 1062);
  3999. AddVehicleComponent(vehid, 1064);
  4000. AddVehicleComponent(vehid, 1055);
  4001. AddVehicleComponent(vehid, 1058);
  4002. AddVehicleComponent(vehid, 1154);
  4003. AddVehicleComponent(vehid, 1155);
  4004. }
  4005. if(vehmd == 558)//Uranus
  4006. {
  4007. AddVehicleComponent(vehid, 1090);
  4008. AddVehicleComponent(vehid, 1094);
  4009. AddVehicleComponent(vehid, 1092);
  4010. AddVehicleComponent(vehid, 1088);
  4011. AddVehicleComponent(vehid, 1164);
  4012. AddVehicleComponent(vehid, 1168);
  4013. AddVehicleComponent(vehid, 1166);
  4014. }
  4015. }
  4016. case 2:
  4017. {
  4018. if(vehmd == 560)//Sultan
  4019. {
  4020. AddVehicleComponent(vehid, 1031);
  4021. AddVehicleComponent(vehid, 1030);
  4022. AddVehicleComponent(vehid, 1029);
  4023. AddVehicleComponent(vehid, 1033);
  4024. AddVehicleComponent(vehid, 1139);
  4025. AddVehicleComponent(vehid, 1140);
  4026. AddVehicleComponent(vehid, 1170);
  4027. }
  4028. if(vehmd == 562)//Elegy
  4029. {
  4030. AddVehicleComponent(vehid, 1041);
  4031. AddVehicleComponent(vehid, 1039);
  4032. AddVehicleComponent(vehid, 1037);
  4033. AddVehicleComponent(vehid, 1035);
  4034. AddVehicleComponent(vehid, 1146);
  4035. AddVehicleComponent(vehid, 1148);
  4036. AddVehicleComponent(vehid, 1172);
  4037. }
  4038. if(vehmd == 565)//Flash
  4039. {
  4040. AddVehicleComponent(vehid, 1048);
  4041. AddVehicleComponent(vehid, 1045);
  4042. AddVehicleComponent(vehid, 1053);
  4043. AddVehicleComponent(vehid, 1050);
  4044. AddVehicleComponent(vehid, 1152);
  4045. AddVehicleComponent(vehid, 1151);
  4046. AddVehicleComponent(vehid, 1052);
  4047. }
  4048. if(vehmd == 559) //Jester
  4049. {
  4050. AddVehicleComponent(vehid, 1070);
  4051. AddVehicleComponent(vehid, 1072);
  4052. AddVehicleComponent(vehid, 1066);
  4053. AddVehicleComponent(vehid, 1068);
  4054. AddVehicleComponent(vehid, 1158);
  4055. AddVehicleComponent(vehid, 1161);
  4056. AddVehicleComponent(vehid, 1173);
  4057. }
  4058. if(vehmd == 561)//Stratum
  4059. {
  4060. AddVehicleComponent(vehid, 1057);
  4061. AddVehicleComponent(vehid, 1063);
  4062. AddVehicleComponent(vehid, 1059);
  4063. AddVehicleComponent(vehid, 1061);
  4064. AddVehicleComponent(vehid, 1060);
  4065. AddVehicleComponent(vehid, 1154);
  4066. AddVehicleComponent(vehid, 1157);
  4067. }
  4068. if(vehmd == 558) //Uranus
  4069. {
  4070. AddVehicleComponent(vehid, 1093);
  4071. AddVehicleComponent(vehid, 1095);
  4072. AddVehicleComponent(vehid, 1089);
  4073. AddVehicleComponent(vehid, 1091);
  4074. AddVehicleComponent(vehid, 1163);
  4075. AddVehicleComponent(vehid, 1167);
  4076. AddVehicleComponent(vehid, 1165);
  4077. }
  4078. }
  4079. case 3: CarmodDialog(playerid);
  4080. }
  4081. }
  4082. if(dialogid == 1001 && response)
  4083. {
  4084. switch(listitem)
  4085. {
  4086. case 0: ShowPlayerDialog(playerid,1115,DIALOG_STYLE_LIST,"Choose one:","Paintjob 1\nPaintjob 2\nPaintjob 3","Ok","Cancel");
  4087. case 1:
  4088. {
  4089. if(vehmd == 576)//Tornado
  4090. {
  4091. AddVehicleComponent(vehid, 1134);
  4092. AddVehicleComponent(vehid, 1136);
  4093. AddVehicleComponent(vehid, 1137);
  4094. AddVehicleComponent(vehid, 1191);
  4095. AddVehicleComponent(vehid, 1192);
  4096. }
  4097. if(vehmd == 575)//Broadway
  4098. {
  4099. AddVehicleComponent(vehid, 1042);
  4100. AddVehicleComponent(vehid, 1044);
  4101. AddVehicleComponent(vehid, 1099);
  4102. AddVehicleComponent(vehid, 1174);
  4103. AddVehicleComponent(vehid, 1176);
  4104. }
  4105. if(vehmd == 535)//Slamvan
  4106. {
  4107. AddVehicleComponent(vehid, 1109);
  4108. AddVehicleComponent(vehid, 1113);
  4109. AddVehicleComponent(vehid, 1115);
  4110. AddVehicleComponent(vehid, 1117);
  4111. AddVehicleComponent(vehid, 1118);
  4112. AddVehicleComponent(vehid, 1120);
  4113. }
  4114. }
  4115. case 2:
  4116. {
  4117. if(vehmd == 576)//Tornado
  4118. {
  4119. AddVehicleComponent(vehid, 1135);
  4120. AddVehicleComponent(vehid, 1190);
  4121. AddVehicleComponent(vehid, 1193);
  4122. }
  4123. if(vehmd == 575)//Broadway
  4124. {
  4125. AddVehicleComponent(vehid, 1177);
  4126. AddVehicleComponent(vehid, 1175);
  4127. AddVehicleComponent(vehid, 1143);
  4128. }
  4129. if(vehmd == 535)//Slamvan
  4130. {
  4131. AddVehicleComponent(vehid, 1110);
  4132. AddVehicleComponent(vehid, 1114);
  4133. AddVehicleComponent(vehid, 1116);
  4134. AddVehicleComponent(vehid, 1119);
  4135. AddVehicleComponent(vehid, 1121);
  4136. }
  4137. }
  4138. case 3: CarmodDialog(playerid);
  4139. }
  4140. }
  4141. if(dialogid == 1002)
  4142. {
  4143. switch(listitem)
  4144. {
  4145. case 0: ShowPlayerDialog(playerid,1115,DIALOG_STYLE_LIST,"Choose one:","Paintjob 1\nPaintjob 2\nPaintjob 3","Ok","Cancel");
  4146. case 1:
  4147. {
  4148. if(vehmd == 567)//Savanna
  4149. {
  4150. AddVehicleComponent(vehid, 1129);
  4151. AddVehicleComponent(vehid, 1133);
  4152. AddVehicleComponent(vehid, 1102);
  4153. AddVehicleComponent(vehid, 1187);
  4154. AddVehicleComponent(vehid, 1189);
  4155. }
  4156. if(vehmd == 536)//Blade
  4157. {
  4158. AddVehicleComponent(vehid, 1104);
  4159. AddVehicleComponent(vehid, 1107);
  4160. AddVehicleComponent(vehid, 1108);
  4161. AddVehicleComponent(vehid, 1182);
  4162. AddVehicleComponent(vehid, 1184);
  4163. }
  4164. }
  4165. case 2:
  4166. {
  4167. if(vehmd == 567)//Savanna
  4168. {
  4169. AddVehicleComponent(vehid, 1188);
  4170. AddVehicleComponent(vehid, 1186);
  4171. AddVehicleComponent(vehid, 1132);
  4172. }
  4173. if(vehmd == 536)//Blade
  4174. {
  4175. AddVehicleComponent(vehid, 1105);
  4176. AddVehicleComponent(vehid, 1183);
  4177. AddVehicleComponent(vehid, 1181);
  4178. }
  4179. }
  4180. case 3:
  4181. {
  4182. if(vehmd == 567)//Savanna
  4183. {
  4184. AddVehicleComponent(vehid, 1130);
  4185. }
  4186. if(vehmd == 536)//Blade
  4187. {
  4188. AddVehicleComponent(vehid, 1128);
  4189. }
  4190. }
  4191. case 4:
  4192. {
  4193. if(vehmd == 567)//Savanna
  4194. {
  4195. AddVehicleComponent(vehid, 1131);
  4196. }
  4197. if(vehmd == 536)//Blade
  4198. {
  4199. AddVehicleComponent(vehid, 1103);
  4200. }
  4201. }
  4202. case 5: CarmodDialog(playerid);
  4203. }
  4204. }
  4205. if(dialogid == 1003)//Remington
  4206. {
  4207. switch(listitem)
  4208. {
  4209. case 0:ShowPlayerDialog(playerid,1115,DIALOG_STYLE_LIST,"Choose one:","Paintjob 1\nPaintjob 2\nPaintjob 3","Ok","Cancel");
  4210. case 1:
  4211. {
  4212. AddVehicleComponent(vehid, 1100);
  4213. AddVehicleComponent(vehid, 1122);
  4214. AddVehicleComponent(vehid, 1123);
  4215. AddVehicleComponent(vehid, 1125);
  4216. AddVehicleComponent(vehid, 1126);
  4217. AddVehicleComponent(vehid, 1179);
  4218. AddVehicleComponent(vehid, 1180);
  4219. }
  4220. case 2:
  4221. {
  4222. AddVehicleComponent(vehid, 1185);
  4223. AddVehicleComponent(vehid, 1178);
  4224. AddVehicleComponent(vehid, 1127);
  4225. }
  4226. case 3: AddVehicleComponent(vehid, 1122),AddVehicleComponent(vehid, 1101);
  4227. case 4: AddVehicleComponent(vehid, 1106),AddVehicleComponent(vehid, 1124);
  4228. case 5: CarmodDialog(playerid);
  4229. }
  4230. }
  4231. if(dialogid == 1004 && response)//regular cars
  4232. {
  4233. switch(listitem)
  4234. {
  4235. case 0:
  4236. {
  4237. ShowPlayerDialog(playerid,1010,DIALOG_STYLE_LIST,"Spoiler","Pro\nWin\nDrag\nAlpha\nChamp\nRace\nWorx\nFury\n{FF0000}Back","Select","Cancel");
  4238. }
  4239. case 1:
  4240. {
  4241. if(vehmd == 585 || vehmd == 603 || vehmd == 439 || vehmd == 458 || vehmd == 418 || vehmd == 527 || vehmd == 580)
  4242. {
  4243. AddVehicleComponent(vehid, 1006);
  4244. return RegularCarDialog(playerid);
  4245. }
  4246. else if(vehmd == 439 || vehmd == 458 || vehmd == 491 || vehmd == 517 ||vehmd == 547)
  4247. {ShowPlayerDialog(playerid,1040,DIALOG_STYLE_LIST,"Vents","Oval\nSquare\n{FF0000}Back","Select","Cancel");}
  4248. else if(vehmd == 415)
  4249. {
  4250. AddVehicleComponent(vehid, 1007);
  4251. AddVehicleComponent(vehid, 1071);
  4252. return RegularCarDialog(playerid);
  4253. }
  4254. else ShowPlayerDialog(playerid,1020,DIALOG_STYLE_LIST,"Hood","Champ\nFury\nRace\nWorx\n{FF0000}Back","Select","Cancel");
  4255. }
  4256. case 2:
  4257. {
  4258. if(vehmd == 549 || vehmd == 585 || vehmd == 603)
  4259. {ShowPlayerDialog(playerid,1040,DIALOG_STYLE_LIST,"Vents","Oval\nSquare\n{FF0000}Back","Select","Cancel");}
  4260. else if(vehmd == 410 || vehmd == 436 || vehmd == 439 || vehmd == 458 || vehmd == 516 || vehmd == 491 || vehmd == 517 || vehmd == 418 || vehmd == 527 || vehmd == 580)
  4261. {
  4262. AddVehicleComponent(vehid, 1007);
  4263. AddVehicleComponent(vehid, 1071);
  4264. return RegularCarDialog(playerid);
  4265. }
  4266. else if(vehmd == 415 || vehmd == 547 || vehmd == 420 || vehmd == 587)
  4267. {CarmodDialog(playerid);}
  4268. else
  4269. {
  4270. AddVehicleComponent(vehid, 1006);
  4271. return RegularCarDialog(playerid);
  4272. }
  4273.  
  4274. }
  4275. case 3:
  4276. {
  4277. if(vehmd == 549 || vehmd == 585 || vehmd == 603 || vehmd == 551 || vehmd == 492 || vehmd == 529)
  4278. {
  4279. AddVehicleComponent(vehid, 1007);
  4280. AddVehicleComponent(vehid, 1071);
  4281. return RegularCarDialog(playerid);
  4282. }
  4283. else if(vehmd == 410 || vehmd == 436 || vehmd == 439 || vehmd == 458 || vehmd == 489 || vehmd == 505)
  4284. {ShowPlayerDialog(playerid,1060,DIALOG_STYLE_LIST,"Lights","Round Fog\nSquare Fog\n{FF0000}Back","Select","Cancel");}
  4285. else if(vehmd == 418 || vehmd == 527 || vehmd == 580 || vehmd == 491 || vehmd == 517 || vehmd == 516)
  4286. {CarmodDialog(playerid);}
  4287. else{ShowPlayerDialog(playerid,1040,DIALOG_STYLE_LIST,"Vents","Oval\nSquare\n{FF0000}Back","Select","Cancel");}
  4288. }
  4289. case 4:
  4290. {
  4291. if(vehmd == 549 || vehmd == 550 || vehmd == 585 || vehmd == 603)
  4292. {ShowPlayerDialog(playerid,1060,DIALOG_STYLE_LIST,"Lights","Round Fog\nSquare Fog\n{FF0000}Back","Select","Cancel");}
  4293. else if(vehmd == 489 || vehmd == 505 || vehmd == 551 || vehmd == 492 || vehmd == 529 || vehmd == 439 || vehmd == 458 || vehmd == 410 || vehmd == 436)
  4294. {CarmodDialog(playerid);}
  4295. else
  4296. {
  4297. AddVehicleComponent(vehid, 1007);
  4298. AddVehicleComponent(vehid, 1071);
  4299. return RegularCarDialog(playerid);
  4300. }
  4301. }
  4302. case 5:
  4303. {
  4304. if(vehmd == 585 || vehmd == 603 || vehmd == 550 || vehmd == 549)
  4305. {CarmodDialog(playerid);}
  4306. else{ShowPlayerDialog(playerid,1060,DIALOG_STYLE_LIST,"Lights","Round Fog\nSquare Fog\n{FF0000}Back","Select","Cancel");}
  4307. }
  4308. case 6: CarmodDialog(playerid);
  4309. }
  4310. }
  4311. if(dialogid == 1010 && response)
  4312. {
  4313. if(listitem == 8) return RegularCarDialog(playerid);
  4314. new Xarray[] = {1000,1001,1002,1003,1014,1015,1016,1023};
  4315. AddVehicleComponent(vehid, Xarray[listitem]);
  4316. return RegularCarDialog(playerid);
  4317. }
  4318. if(dialogid == 1020 && response)
  4319. {
  4320. if(listitem == 4) return RegularCarDialog(playerid);
  4321. new Xarray[] = {1004,1005,1011,1012};
  4322. AddVehicleComponent(vehid, Xarray[listitem]);
  4323. return RegularCarDialog(playerid);
  4324. }
  4325. if(dialogid == 1040 && response)
  4326. {
  4327. switch(listitem)
  4328. {
  4329. case 0:
  4330. {
  4331. AddVehicleComponent(vehid, 1142);
  4332. AddVehicleComponent(vehid, 1143);
  4333. return RegularCarDialog(playerid);
  4334. }
  4335. case 1:
  4336. {
  4337. AddVehicleComponent(vehid, 1144);
  4338. AddVehicleComponent(vehid, 1145);
  4339. return RegularCarDialog(playerid);
  4340. }
  4341. case 2: RegularCarDialog(playerid);
  4342. }
  4343. }
  4344. if(dialogid == 1060 && response)
  4345. {
  4346. if(listitem == 2) return RegularCarDialog(playerid);
  4347. new Xarray[] = {1013,1024};
  4348. AddVehicleComponent(vehid, Xarray[listitem]);
  4349. return RegularCarDialog(playerid);
  4350. }
  4351. if(dialogid == 1115 && response)
  4352. {
  4353. new Parray[] = {0,1,2};
  4354. ChangeVehiclePaintjob(vehid, Parray[listitem]);
  4355. return CarmodDialog(playerid);
  4356. }
  4357. return 1;
  4358. }
  4359.  
  4360. public OnPlayerClickTextDraw(playerid, Text:clickedid)
  4361. {
  4362. StuntAccountInfo[playerid][pSkin] = GetPlayerSkin(playerid);
  4363. if(clickedid == startgame) // If the player clicked on the teleportLS textdraw, teleport him there!
  4364. {
  4365. TextDrawShowForPlayer(playerid, worldselect); // Show the SF option
  4366. TextDrawShowForPlayer(playerid, worldrp); // Show the LV option
  4367. TextDrawShowForPlayer(playerid, worldstunt); // Show the LV option
  4368. TextDrawHideForPlayer(playerid, startgame);
  4369. TextDrawHideForPlayer(playerid, options);
  4370. }
  4371. else if(clickedid == options) // Same as above, but for SF
  4372. {
  4373. new name[MAX_PLAYER_NAME], file[256];
  4374. GetPlayerName(playerid, name, sizeof(name));
  4375. format(file, sizeof(file), STUNT_USER_FILE, name);
  4376. if (!dini_Exists(file))
  4377. {
  4378. SendClientMessage(playerid,COLOR_RED, "Error: Your Account Is not On are Data Base Please click start game and make one");
  4379. }
  4380. if(fexist(file))
  4381. {
  4382. SendClientMessage(playerid,COLOR_RED, "Error: This Feature Has not been made yet.");
  4383. }
  4384. }
  4385. if(clickedid == nextskin) // If the player clicked on the teleportLS textdraw, teleport him there!
  4386. {
  4387. if(WorldInfo[playerid][pWorld] == 1)
  4388. {
  4389. SetPlayerSkin(playerid, RPAccountInfo[playerid][rSSkin]+1);
  4390. RPAccountInfo[playerid][rSSkin] = GetPlayerSkin(playerid);
  4391. }
  4392. if(WorldInfo[playerid][pWorld] == 2)
  4393. {
  4394. SetPlayerSkin(playerid, StuntAccountInfo[playerid][pSkin]+1);
  4395. StuntAccountInfo[playerid][pSkin] = GetPlayerSkin(playerid);
  4396. }
  4397. }
  4398. if(clickedid == backskin) // If the player clicked on the teleportLS textdraw, teleport him there!
  4399. {
  4400. if(WorldInfo[playerid][pWorld] == 1)
  4401. {
  4402. SetPlayerSkin(playerid, RPAccountInfo[playerid][rSSkin]+1);
  4403. RPAccountInfo[playerid][rSSkin] = GetPlayerSkin(playerid);
  4404. }
  4405. if(WorldInfo[playerid][pWorld] == 2)
  4406. {
  4407. SetPlayerSkin(playerid, StuntAccountInfo[playerid][pSkin]+1);
  4408. StuntAccountInfo[playerid][pSkin] = GetPlayerSkin(playerid);
  4409. }
  4410. }
  4411. if(clickedid == doneskin) // If the player clicked on the teleportLS textdraw, teleport him there!
  4412. {
  4413. if(WorldInfo[playerid][pWorld] == 1)
  4414. {
  4415. SpawnPlayer(playerid);
  4416. SetPlayerPos(playerid, -1340.3514,-264.3646,14.1484);
  4417. SetPlayerInterior(playerid, 0);
  4418. SetPlayerVirtualWorld(playerid, 0);
  4419. SetPlayerSkin(playerid, RPAccountInfo[playerid][rSSkin]);
  4420. TextDrawHideForPlayer(playerid, nextskin);
  4421. TextDrawHideForPlayer(playerid, backskin);
  4422. TextDrawHideForPlayer(playerid, doneskin);
  4423. TogglePlayerControllable(playerid, 1);
  4424. CancelSelectTextDraw(playerid);
  4425. WorldInfo[playerid][pWorld] = 1;
  4426. RPAccountInfo[playerid][rHasSpawned] = 1;
  4427. sworld = sworld -1;
  4428. }
  4429. if(WorldInfo[playerid][pWorld] == 2)
  4430. {
  4431. SpawnPlayer(playerid);
  4432. SetPlayerPos(playerid, -1340.3514,-264.3646,14.1484);
  4433. SetPlayerInterior(playerid, 0);
  4434. SetPlayerVirtualWorld(playerid, 1);
  4435. SetPlayerSkin(playerid, StuntAccountInfo[playerid][pSkin]);
  4436. TextDrawHideForPlayer(playerid, nextskin);
  4437. TextDrawHideForPlayer(playerid, backskin);
  4438. TextDrawHideForPlayer(playerid, doneskin);
  4439. TogglePlayerControllable(playerid, 1);
  4440. CancelSelectTextDraw(playerid);
  4441. WorldInfo[playerid][pWorld] = 2;
  4442. StuntAccountInfo[playerid][pHasSpawned] = 1;
  4443. StuntAccountInfo[playerid][pPskin] = 1;
  4444. sworld = sworld -1;
  4445. }
  4446. }
  4447. if(clickedid == worldrp) // If the player clicked on the teleportLS textdraw, teleport him there!
  4448. {
  4449. if(!RPnamecheck(playerid)) {
  4450. TextDrawHideForPlayer(playerid, worldselect);
  4451. TextDrawHideForPlayer(playerid, worldrp);
  4452. TextDrawHideForPlayer(playerid, worldstunt);
  4453. CancelSelectTextDraw(playerid);
  4454. ShowPlayerDialog(playerid, 911, DIALOG_STYLE_INPUT, "{CC0000}Please Pick a Roleplay name.", "Los Entertainment Multimod\t\t\t\tIP::~~~~~\nIt seems like you do not have a roleplay name please pick one.", "Done", "Cancel");
  4455. SendClientMessage(playerid,COLOR_RED,"HINT: Your name must be in Firstname_Lastname format, For example Jason_Brown.");
  4456. }
  4457. else {
  4458. new name[MAX_PLAYER_NAME], rfile[256];
  4459. GetPlayerName(playerid, name, sizeof(name));
  4460. format(rfile, sizeof(rfile), ROLEPLAY_USER_FILE, name);
  4461. if (!dini_Exists(rfile)) {
  4462. TextDrawHideForPlayer(playerid, worldselect);
  4463. TextDrawHideForPlayer(playerid, worldrp);
  4464. TextDrawHideForPlayer(playerid, worldstunt);
  4465. CancelSelectTextDraw(playerid);
  4466. ShowPlayerDialog(playerid, 912, DIALOG_STYLE_INPUT, "{CC0000}Please Register", "Los Entertainment Multimod\t\t\t\tIP::~~~~~\nIt seems like you are not registered for the rp world, type your password to continue.", "Register", "Cancel");
  4467. }
  4468. if(fexist(rfile)) {
  4469. TextDrawHideForPlayer(playerid, worldselect);
  4470. TextDrawHideForPlayer(playerid, worldrp);
  4471. TextDrawHideForPlayer(playerid, worldstunt);
  4472. CancelSelectTextDraw(playerid);
  4473. ShowPlayerDialog(playerid, 913, DIALOG_STYLE_INPUT, "{CC0000}Please Login", "Los Entertainment Multimod\t\t\t\tIP::~~~~~\nYou are registered, type your password to login and start roleplaying.", "Login", "Cancel");
  4474. }
  4475. }
  4476. }
  4477. if(clickedid == worldstunt) // If the player clicked on the teleportLS textdraw, teleport him there!
  4478. {
  4479. TextDrawHideForPlayer(playerid, worldselect);
  4480. TextDrawHideForPlayer(playerid, worldrp);
  4481. TextDrawHideForPlayer(playerid, worldstunt);
  4482. CancelSelectTextDraw(playerid);
  4483. ShowPlayerDialog(playerid, 915, DIALOG_STYLE_INPUT, "{CC0000}Please Pick A Stunt Name, Or enter your Old one.", "Los Entertainment Multimod\t\t\t\tIP::~~~~~\nWelcome, Please Choose your account name or enter an existing accounts name.", "Change Name", "Cancel");
  4484. }
  4485. return 1;
  4486. }
  4487. //admin chats command
  4488.  
  4489. COMMAND:asa(playerid, params[])
  4490. {
  4491. if(WorldInfo[playerid][AdminLevel] < 1) return SendClientMessage(playerid, COLOR_YELLOW, "You are not an admin");
  4492. {
  4493. if(WorldInfo[playerid][asa] == 0)
  4494. {
  4495. WorldInfo[playerid][asa] = 1;
  4496. }
  4497. else {
  4498. WorldInfo[playerid][asa] = 0;
  4499. }
  4500. }
  4501. return 1;
  4502. }
  4503.  
  4504. CMD:shout(playerid, params[])
  4505. {
  4506. new
  4507. string[128];
  4508. if(isnull(params))
  4509. {
  4510. return SendClientMessage(playerid, -1, "USAGE: /(s)hout [message]");
  4511. }
  4512.  
  4513. else {
  4514. format(string, sizeof(string), "%s shouts: %s!", GetName(playerid), params);
  4515. ProxDetector(50.0, playerid, string, -1);
  4516. }
  4517. return 1;
  4518. }
  4519.  
  4520. CMD:stopmusic(playerid, params[])
  4521. {
  4522. StopAudioStreamForPlayer(playerid); // Stop the audio stream
  4523. return 1;
  4524. }
  4525. CMD:b(playerid, params[])
  4526. {
  4527. new
  4528. string[128];
  4529. if(isnull(params))
  4530. {
  4531. return SendClientMessage(playerid, -1, "USAGE: /b [message]");
  4532. }
  4533.  
  4534. else {
  4535. format(string, sizeof(string), "((%s: %s))", GetName(playerid), params);
  4536. ProxDetector(50.0, playerid, string, -1);
  4537. }
  4538. return 1;
  4539. }
  4540.  
  4541. CMD:me(playerid, params[])
  4542. {
  4543. new
  4544. string[128];
  4545. if(isnull(params))
  4546. {
  4547. return SendClientMessage(playerid, -1, "USAGE: /me [action]");
  4548. }
  4549.  
  4550. else {
  4551. format(string, sizeof(string), "* %s %s", GetName(playerid), params);
  4552. ProxDetector(30, playerid, string, COLOR_PURPLE);
  4553. }
  4554. return 1;
  4555. }
  4556.  
  4557. COMMAND:flip(playerid,params[])
  4558. {
  4559. if(WorldInfo[playerid][pWorld] == 2)
  4560. {
  4561. new Float:x, Float:y, Float:z;
  4562.  
  4563. // Use GetPlayerPos, passing the 3 float variables we just created
  4564. GetPlayerPos(playerid, x, y, z);
  4565. SetVehiclePos(playerid, x, y+1, z);
  4566. }
  4567. else return SendClientMessage(playerid, 0xD8D8D8FF, "You can only flip car's while in a stunt world.");
  4568. return 1;
  4569. }
  4570.  
  4571. COMMAND:fix(playerid,params[])
  4572. {
  4573. if(WorldInfo[playerid][pWorld] == 2)
  4574. {
  4575. RepairVehicle(playerid);
  4576. }
  4577. else return SendClientMessage(playerid, 0xD8D8D8FF, "You can only fix car's while in a stunt world.");
  4578. return 1;
  4579. }
  4580. //normal player commands
  4581. //cop for cop's n robber's etc
  4582. COMMAND:doorclose(playerid, params[])
  4583. {
  4584. if(IsPlayerInRangeOfPoint(playerid, 2.0,1487.00000000,-1762.42504883,3284.23608398) && StuntAccountInfo[playerid][pFaction] == 1) //Door 0
  4585. {
  4586. MoveObject(door0,1487.00000000,-1762.42504883,3284.23608398,0.50);
  4587. SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Door0 has been closed.");
  4588.  
  4589. }
  4590. if(IsPlayerInRangeOfPoint(playerid, 2.0, 1483.79003906,-1762.42504883,3284.23608398) && StuntAccountInfo[playerid][pFaction] == 1) //Door 1
  4591. {
  4592. MoveObject(door1,1483.79003906,-1762.42504883,3284.23608398,0.50);
  4593. SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Door1 has been closed.");
  4594.  
  4595. }
  4596. if(IsPlayerInRangeOfPoint(playerid, 2.0, 1479.85998535,-1758.31994629,3284.23388672) && StuntAccountInfo[playerid][pFaction] == 1) //Door 2
  4597. {
  4598. MoveObject(door2,1479.85998535,-1758.31994629,3284.23388672,0.50);
  4599. SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Door2 has been closed.");
  4600.  
  4601. }
  4602. if(IsPlayerInRangeOfPoint(playerid, 2.0, 1467.06701660,-1758.31994629,3284.23388672) && StuntAccountInfo[playerid][pFaction] == 1) //Door 3
  4603. {
  4604. MoveObject(door3,1467.06701660,-1758.31994629,3284.23388672,0.50);
  4605. SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Door3 has been closed.");
  4606. }
  4607. return 1;
  4608. }
  4609.  
  4610. COMMAND:dooropen(playerid, params[])
  4611. {
  4612. if(IsPlayerInRangeOfPoint(playerid, 2.0,1487.00000000,-1762.42504883,3284.23608398) && StuntAccountInfo[playerid][pFaction] == 1) //Door 0
  4613. {
  4614. MoveObject(door0,1487.00000000,-1762.42504883+1.25,3284.23608398,0.50);
  4615. SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Door0 has been opened.");
  4616.  
  4617. }
  4618. if(IsPlayerInRangeOfPoint(playerid, 2.0, 1483.79003906,-1762.42504883,3284.23608398) && StuntAccountInfo[playerid][pFaction] == 1) //Door 1
  4619. {
  4620. MoveObject(door1,1483.79003906,-1762.42504883+1.25,3284.23608398,0.50);
  4621. SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Door1 has been opened.");
  4622.  
  4623. }
  4624. if(IsPlayerInRangeOfPoint(playerid, 2.0, 1479.85998535,-1758.31994629,3284.23388672) && StuntAccountInfo[playerid][pFaction] == 1) //Door 2
  4625. {
  4626. MoveObject(door2,1479.85998535-1.25,-1758.31994629,3284.23388672,0.50);
  4627. SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Door2 has been opened.");
  4628.  
  4629. }
  4630. if(IsPlayerInRangeOfPoint(playerid, 2.0, 1467.06701660,-1758.31994629,3284.23388672) && StuntAccountInfo[playerid][pFaction] == 1) //Door 3
  4631. {
  4632. MoveObject(door3,1467.06701660-1.25,-1758.31994629,3284.23388672,0.50);
  4633. SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Door3 has been opened.");
  4634. }
  4635. return 1;
  4636. }
  4637.  
  4638. COMMAND:cellopen(playerid, params[])
  4639. {
  4640. if(IsPlayerInRangeOfPoint(playerid, 2.0,1491.21484375,-1764.90002441,3284.25048828) && StuntAccountInfo[playerid][pFaction] == 1) //Cell0
  4641. {
  4642. MoveObject(cell0,1491.21484375-1.25,-1764.90002441,3284.25048828,0.50);
  4643. SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Cell0 has been opened.");
  4644. }
  4645. if(IsPlayerInRangeOfPoint(playerid, 2.0,1494.41210938,-1764.90002441,3284.25048828) && StuntAccountInfo[playerid][pFaction] == 1) //Cell1
  4646. {
  4647. MoveObject(cell1,1494.41210938-1.25,-1764.90002441,3284.25048828,0.50);
  4648. SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Cell1 has been opened.");
  4649. }
  4650. if(IsPlayerInRangeOfPoint(playerid, 2.0,1497.61132812,-1764.90002441,3284.25048828) && StuntAccountInfo[playerid][pFaction] == 1) //Cell2
  4651. {
  4652. MoveObject(cell2,1497.61132812-1.25,-1764.90002441,3284.25048828,0.50);
  4653. SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Cell2 has been opened.");
  4654. }
  4655. if(IsPlayerInRangeOfPoint(playerid, 2.0,1500.81445312,-1764.90002441,3284.25048828) && StuntAccountInfo[playerid][pFaction] == 1) //Cell3
  4656. {
  4657. MoveObject(cell3,1500.81445312-1.25,-1764.90002441,3284.25048828,0.50);
  4658. SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Cell3 has been opened.");
  4659. }
  4660. if(IsPlayerInRangeOfPoint(playerid, 2.0,1500.81994629,-1761.51000977,3284.25048828) && StuntAccountInfo[playerid][pFaction] == 1) //Cell4
  4661. {
  4662. MoveObject(cell4,1500.81994629-1.25,-1761.51000977,3284.25048828,0.50);
  4663. SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Cell4 has been opened.");
  4664. }
  4665. if(IsPlayerInRangeOfPoint(playerid, 2.0,1491.22094727,-1761.50000000,3284.25048828) && StuntAccountInfo[playerid][pFaction] == 1) //Cell5
  4666. {
  4667. MoveObject(cell5,1491.22094727-1.25,-1761.50000000,3284.25048828,0.50);
  4668. SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Cell5 has been opened.");
  4669. }
  4670. if(IsPlayerInRangeOfPoint(playerid, 2.0,1494.41894531,-1761.51000977,3284.25048828) && StuntAccountInfo[playerid][pFaction] == 1) //Cell6
  4671. {
  4672. MoveObject(cell6,1494.41894531-1.25,-1761.51000977,3284.25048828,0.50);
  4673. SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Cell6 has been opened.");
  4674. }
  4675. if(IsPlayerInRangeOfPoint(playerid, 2.0,1497.61999512,-1761.51000977,3284.25048828) && StuntAccountInfo[playerid][pFaction] == 1) //Cell7
  4676. {
  4677. MoveObject(cell7,1497.61999512-1.25,-1761.51000977,3284.25048828,0.50);
  4678. SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Cell7 has been opened.");
  4679. }
  4680. return 1;
  4681. }
  4682.  
  4683. COMMAND:cellclose(playerid, params[])
  4684. {
  4685. if(IsPlayerInRangeOfPoint(playerid, 2.0,1491.21484375,-1764.90002441,3284.25048828) && StuntAccountInfo[playerid][pFaction] == 1) //Cell0
  4686. {
  4687. MoveObject(cell0,1491.21484375,-1764.90002441,3284.25048828,0.50);
  4688. SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Cell0 has been closed.");
  4689. }
  4690. if(IsPlayerInRangeOfPoint(playerid, 2.0,1494.41210938,-1764.90002441,3284.25048828) && StuntAccountInfo[playerid][pFaction] == 1) //Cell1
  4691. {
  4692. MoveObject(cell1,1494.41210938,-1764.90002441,3284.25048828,0.50);
  4693. SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Cell1 has been closed.");
  4694. }
  4695. if(IsPlayerInRangeOfPoint(playerid, 2.0,1497.61132812,-1764.90002441,3284.25048828) && StuntAccountInfo[playerid][pFaction] == 1) //Cell2
  4696. {
  4697. MoveObject(cell2,1497.61132812,-1764.90002441,3284.25048828,0.50);
  4698. SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Cell2 has been closed.");
  4699. }
  4700. if(IsPlayerInRangeOfPoint(playerid, 2.0,1500.81445312,-1764.90002441,3284.25048828) && StuntAccountInfo[playerid][pFaction] == 1) //Cell3
  4701. {
  4702. MoveObject(cell3,1500.81445312,-1764.90002441,3284.25048828,0.50);
  4703. SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Cell3 has been closed.");
  4704. }
  4705. if(IsPlayerInRangeOfPoint(playerid, 2.0,1500.81994629,-1761.51000977,3284.25048828) && StuntAccountInfo[playerid][pFaction] == 1) //Cell4
  4706. {
  4707. MoveObject(cell4,1500.81994629,-1761.51000977,3284.25048828,0.50);
  4708. SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Cell4 has been closed.");
  4709. }
  4710. if(IsPlayerInRangeOfPoint(playerid, 2.0,1491.22094727,-1761.50000000,3284.25048828) && StuntAccountInfo[playerid][pFaction] == 1) //Cell5
  4711. {
  4712. MoveObject(cell5,1491.22094727,-1761.50000000,3284.25048828,0.50);
  4713. SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Cell5 has been closed.");
  4714. }
  4715. if(IsPlayerInRangeOfPoint(playerid, 2.0,1494.41894531,-1761.51000977,3284.25048828) && StuntAccountInfo[playerid][pFaction] == 1) //Cell6
  4716. {
  4717. MoveObject(cell6,1494.41894531,-1761.51000977,3284.25048828,0.50);
  4718. SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Cell6 has been closed.");
  4719. }
  4720. if(IsPlayerInRangeOfPoint(playerid, 2.0,1497.61999512,-1761.51000977,3284.25048828) && StuntAccountInfo[playerid][pFaction] == 1) //Cell7
  4721. {
  4722. MoveObject(cell7,1497.61999512,-1761.51000977,3284.25048828,0.50);
  4723. SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Cell7 has been closed.");
  4724. }
  4725. return 1;
  4726. }
  4727. //stunt world commands
  4728. COMMAND:car(playerid, params[])
  4729. {
  4730. if(WorldInfo[playerid][pWorld] == 2)
  4731. {
  4732. new carid, carcolor1, carcolor2;
  4733. if(!sscanf(params, "iii", carid, carcolor1, carcolor2))
  4734. {
  4735. if (carid == 432)
  4736. return SendClientMessage(playerid, red, "Error: You Can not spawn a rhino / tank.");
  4737. if (carid == 520)
  4738. return SendClientMessage(playerid, red, "Error: You can not spawn a hydra.");
  4739. if(carid >= 400 && carid <= 611)
  4740. {
  4741. if(carcolor1 >= 0 && carcolor1 <= 252)
  4742. {
  4743. if(carcolor2 >= 0 && carcolor2 <= 252)
  4744. {
  4745. new Float:XZ, Float:YZ, Float:ZZ;
  4746. GetPlayerPos(playerid, XZ, YZ, ZZ);
  4747. SetVehicleVirtualWorld( CreateVehicle(carid, XZ+4, YZ, ZZ, 10, carcolor1, carcolor2, 0), GetPlayerVirtualWorld(playerid));
  4748. SendClientMessage(playerid, 0xD8D8D8FF, "Vehicle Spawned");
  4749. return 1;
  4750. }
  4751. else return SendClientMessage(playerid, 0xD8D8D8FF, "Only color id's between 0 and 252 are avaliable.");
  4752. }
  4753. else return SendClientMessage(playerid, 0xD8D8D8FF, "Only color id's between 0 and 252 are avaliable.");
  4754. }
  4755. else return SendClientMessage(playerid, 0xD8D8D8FF, "Only id's between 400 and 611 are avaliable.");
  4756. }
  4757. else return SendClientMessage(playerid, 0xD8D8D8FF, "USAGE: /car [VehicleId] [Color 1][Color 2]");
  4758. }
  4759. else return SendClientMessage(playerid, 0xD8D8D8FF, "You are not allowed to use this command.");
  4760. }
  4761.  
  4762. CMD:tunemenu(playerid, params[])
  4763. {
  4764. if(WorldInfo[playerid][pWorld] == 2)
  4765. {
  4766. if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
  4767. {
  4768. CarmodDialog(playerid);
  4769. return 1;
  4770. }
  4771. else SendClientMessage(playerid,COLOR_RED,"You must be in a vehicle to open this dialog!");
  4772. }
  4773. else SendClientMessage(playerid,COLOR_RED,"You are not in the stunt world.");
  4774. return 1;
  4775. }
  4776.  
  4777. CMD:mainmenu(playerid, params[])
  4778. {
  4779. new name[MAX_PLAYER_NAME], sfile[256], rfile[256];
  4780. RPAccountInfo[playerid][rHasSpawned] = 0;
  4781. RPAccountInfo[playerid][rSSkin] = 0;
  4782. StuntAccountInfo[playerid][pPskin] = 0;
  4783. StuntAccountInfo[playerid][pHasSpawned] = 0;
  4784. SetSpawnInfo(playerid, 0, 0, 1958.3783, 1343.1572, 15.3746, 90, 0, 0, 0, 0, 0, 0);
  4785. SpawnPlayer(playerid);
  4786. SelectTextDraw(playerid, 0x0022ffFF); // Allow the player to select textdraws.
  4787. format(sfile, sizeof(sfile), STUNT_USER_FILE, name);
  4788. if(gPlayerLogged[playerid] == 1 && WorldInfo[playerid][pWorld] == 2)
  4789. {
  4790. dini_IntSet(sfile, "Score", StuntAccountInfo[playerid][pScore]);
  4791. dini_IntSet(sfile, "Money", StuntAccountInfo[playerid][pCash]);
  4792. dini_IntSet(sfile, "AdminLevel",WorldInfo[playerid][AdminLevel]);
  4793. dini_IntSet(sfile,"Color",GetPlayerColor(playerid));
  4794. dini_IntSet(sfile,"Job",StuntAccountInfo[playerid][pJob]);
  4795. dini_IntSet(sfile,"Vw",GetPlayerVirtualWorld(playerid));
  4796. dini_IntSet(sfile,"Int",GetPlayerInterior(playerid));
  4797. dini_IntSet(sfile,"Warns",StuntAccountInfo[playerid][pWarns]);
  4798. dini_IntSet(sfile,"Skin",GetPlayerSkin(playerid));
  4799. dini_IntSet(sfile,"Faction",StuntAccountInfo[playerid][pFaction]);
  4800. dini_IntSet(sfile,"FactionRank",StuntAccountInfo[playerid][pFactionRank]);
  4801. dini_IntSet(sfile,"Cheques",StuntAccountInfo[playerid][pCheck]);
  4802. WorldInfo[playerid][pWorld] = 0;
  4803. }
  4804. format(rfile, sizeof(rfile), ROLEPLAY_USER_FILE, name);
  4805. if(gPlayerLogged[playerid] == 1 && WorldInfo[playerid][pWorld] == 1)
  4806. {
  4807. dini_IntSet(rfile, "Score", RPAccountInfo[playerid][rScore]);
  4808. dini_IntSet(rfile, "Money", RPAccountInfo[playerid][rCash]);
  4809. dini_IntSet(rfile, "AdminLevel",RPAccountInfo[playerid][rAdminLevel]);
  4810. dini_IntSet(rfile,"Color",GetPlayerColor(playerid));
  4811. dini_IntSet(rfile,"Job",RPAccountInfo[playerid][rJob]);
  4812. dini_IntSet(rfile,"Vw",GetPlayerVirtualWorld(playerid));
  4813. dini_IntSet(rfile,"Int",GetPlayerInterior(playerid));
  4814. dini_IntSet(rfile,"Warns",RPAccountInfo[playerid][rWarns]);
  4815. dini_IntSet(rfile,"Skin",GetPlayerSkin(playerid));
  4816. dini_IntSet(rfile,"Faction",RPAccountInfo[playerid][rFaction]);
  4817. dini_IntSet(rfile,"FactionRank",RPAccountInfo[playerid][rFactionRank]);
  4818. dini_IntSet(rfile,"Cheques",RPAccountInfo[playerid][rCheck]);
  4819. WorldInfo[playerid][pWorld] = 0;
  4820. }
  4821. gPlayerLogged[playerid] = 0;
  4822. return 1;
  4823. }
  4824.  
  4825. CMD:commands(playerid, params[])
  4826. {
  4827. if(WorldInfo[playerid][pWorld] == 2)
  4828. {
  4829. SendClientMessage(playerid, COLOR_ORANGE, "Welcome to Los Entertainment's Multimod stunt world the commands are here");
  4830. SendClientMessage(playerid, COLOR_ORANGE, "Teleports: /teleport");
  4831. SendClientMessage(playerid, COLOR_ORANGE, "Vehicle: /car /flip /tunemenu /repair");
  4832. SendClientMessage(playerid, COLOR_ORANGE, "Fun / misc: /mp3 /music /stopmusic /mainmenu");
  4833. }
  4834. return 1;
  4835. }
  4836.  
  4837.  
  4838.  
  4839. CMD:teleport(playerid, params[])
  4840. {
  4841. if(WorldInfo[playerid][pWorld] == 2)
  4842. {
  4843. ShowPlayerDialog(playerid, 350, DIALOG_STYLE_LIST, "Teleport Menu", "Airports\nStunt Parks\nBike Stunts\nParkour\nDeath Match\nRace\n", "Ok", "Cancel");
  4844. }
  4845. return 1;
  4846. }
  4847.  
  4848. COMMAND:music(playerid, params[])
  4849. {
  4850. new randMusic = random(sizeof(RandomMusic)); //calculates the size of RandomMSG (which is 3)
  4851. SendClientMessage(playerid,COLOR_GREEN,"Random Song Loading Pleasse Wait /stopmusic to stop the song.");
  4852. PlayAudioStreamForPlayer(playerid, RandomMusic[randMusic]);//This function will play our desired radio. So we have to put the url between its brackets.
  4853. return 1;
  4854. }
  4855.  
  4856. COMMAND:admins(playerid, params[])
  4857. {
  4858. new adminname[MAX_PLAYER_NAME];
  4859. new count=0;
  4860. for(new i=0; i<MAX_PLAYERS; i++)
  4861. {
  4862. GetPlayerName(playerid, adminname, sizeof(adminname));
  4863. if(IsPlayerConnected(i))
  4864. {
  4865. if(WorldInfo[i][AdminLevel] == 12 && WorldInfo[i][AdminDuty] == 0)
  4866. {
  4867. new string[256];
  4868. GetPlayerName(i, adminname, sizeof(adminname));
  4869. format(string, 256, "Owner: %s [ID %d]", adminname,i);
  4870. SendClientMessage(playerid, 0x42F3F198, string);
  4871. count++;
  4872. }
  4873. if(WorldInfo[i][AdminLevel] == 11 && WorldInfo[i][AdminDuty] == 0)
  4874. {
  4875. new string[256];
  4876. GetPlayerName(i, adminname, sizeof(adminname));
  4877. format(string, 256, "Co-Owner: %s [ID %d]", adminname,i);
  4878. SendClientMessage(playerid, 0x42F3F198, string);
  4879. count++;
  4880. }
  4881. if(WorldInfo[i][AdminLevel] == 10 && WorldInfo[i][AdminDuty] == 0)
  4882. {
  4883. new string[256];
  4884. GetPlayerName(i, adminname, sizeof(adminname));
  4885. format(string, 256, "Deputy Co-owner: %s [ID %d]", adminname,i);
  4886. SendClientMessage(playerid, 0x42F3F198, string);
  4887. count++;
  4888. }
  4889. if(WorldInfo[i][AdminLevel] == 9 && WorldInfo[i][AdminDuty] == 0)
  4890. {
  4891. new string[256];
  4892. GetPlayerName(i, adminname, sizeof(adminname));
  4893. format(string, 256, "Stunt world Lead Administrator: %s [ID %d]", adminname,i);
  4894. SendClientMessage(playerid, 0x42F3F198, string);
  4895. count++;
  4896. }
  4897. if(WorldInfo[i][AdminLevel] == 8 && WorldInfo[i][AdminDuty] == 0)
  4898. {
  4899. new string[256];
  4900. GetPlayerName(i, adminname, sizeof(adminname));
  4901. format(string, 256, "Roleplay world Lead Administrator: %s [ID %d]", adminname,i);
  4902. SendClientMessage(playerid, 0x42F3F198, string);
  4903. count++;
  4904. }
  4905. if(WorldInfo[i][AdminLevel] == 7 && WorldInfo[i][AdminDuty] == 0)
  4906. {
  4907. new string[256];
  4908. GetPlayerName(i, adminname, sizeof(adminname));
  4909. format(string, 256, "Lead Administrator: %s [ID %d]", adminname,i);
  4910. SendClientMessage(playerid, 0x42F3F198, string);
  4911. count++;
  4912. }
  4913. if(WorldInfo[i][AdminLevel] == 6 && WorldInfo[i][AdminDuty] == 0)
  4914. {
  4915. new string[256];
  4916. GetPlayerName(i, adminname, sizeof(adminname));
  4917. format(string, 256, "Lead Moderator: %s [ID %d]", adminname,i);
  4918. SendClientMessage(playerid, 0x42F3F198, string);
  4919. count++;
  4920. }
  4921. if(WorldInfo[i][AdminLevel] == 5 && WorldInfo[i][AdminDuty] == 0)
  4922. {
  4923. new string[256];
  4924. GetPlayerName(i, adminname, sizeof(adminname));
  4925. format(string, 256, "Level 3 Administrator: %s [ID %d]", adminname,i);
  4926. SendClientMessage(playerid, 0x42F3F198, string);
  4927. count++;
  4928. }
  4929. if(WorldInfo[i][AdminLevel] == 4 && WorldInfo[i][AdminDuty] == 0)
  4930. {
  4931. new string[256];
  4932. GetPlayerName(i, adminname, sizeof(adminname));
  4933. format(string, 256, "Level 2 Administrator: %s [ID %d]", adminname,i);
  4934. SendClientMessage(playerid, 0x42F3F198, string);
  4935. count++;
  4936. }
  4937. if(WorldInfo[i][AdminLevel] == 3 && WorldInfo[i][AdminDuty] == 0)
  4938. {
  4939. new string[256];
  4940. GetPlayerName(i, adminname, sizeof(adminname));
  4941. format(string, 256, "Level 1 Administrator: %s [ID %d]", adminname,i);
  4942. SendClientMessage(playerid, 0x42F3F198, string);
  4943. count++;
  4944. }
  4945. if(WorldInfo[i][AdminLevel] == 2 && WorldInfo[i][AdminDuty] == 0)
  4946. {
  4947. new string[256];
  4948. GetPlayerName(i, adminname, sizeof(adminname));
  4949. format(string, 256, "Level 2 Moderator: %s [ID %d]", adminname,i);
  4950. SendClientMessage(playerid, 0x42F3F198, string);
  4951. count++;
  4952. }
  4953. if(WorldInfo[i][AdminLevel] == 1 && WorldInfo[i][AdminDuty] == 0)
  4954. {
  4955. new string[256];
  4956. GetPlayerName(i, adminname, sizeof(adminname));
  4957. format(string, 256, "Level 1 Moderator: %s [ID %d]", adminname,i);
  4958. SendClientMessage(playerid, 0x42F3F198, string);
  4959. count++;
  4960. }
  4961. if(WorldInfo[i][AdminLevel] == 12 && WorldInfo[i][AdminDuty] == 1)
  4962. {
  4963. new string[256];
  4964. GetPlayerName(i, adminname, sizeof(adminname));
  4965. format(string, 256, "Owner: %s [ID %d] On Duty", adminname,i);
  4966. SendClientMessage(playerid, COLOR_PINK, string);
  4967. count++;
  4968. }
  4969. if(WorldInfo[i][AdminLevel] == 11 && WorldInfo[i][AdminDuty] == 1)
  4970. {
  4971. new string[256];
  4972. GetPlayerName(i, adminname, sizeof(adminname));
  4973. format(string, 256, "Co-Owner: %s [ID %d] On Duty", adminname,i);
  4974. SendClientMessage(playerid, 0x42F3F198, string);
  4975. count++;
  4976. }
  4977. if(WorldInfo[i][AdminLevel] == 10 && WorldInfo[i][AdminDuty] == 1)
  4978. {
  4979. new string[256];
  4980. GetPlayerName(i, adminname, sizeof(adminname));
  4981. format(string, 256, "Deputy Co-owner: %s [ID %d] On Duty", adminname,i);
  4982. SendClientMessage(playerid, 0x42F3F198, string);
  4983. count++;
  4984. }
  4985. if(WorldInfo[i][AdminLevel] == 9 && WorldInfo[i][AdminDuty] == 1)
  4986. {
  4987. new string[256];
  4988. GetPlayerName(i, adminname, sizeof(adminname));
  4989. format(string, 256, "Stunt world Lead Administrator: %s [ID %d] On Duty", adminname,i);
  4990. SendClientMessage(playerid, 0x42F3F198, string);
  4991. count++;
  4992. }
  4993. if(WorldInfo[i][AdminLevel] == 8 && WorldInfo[i][AdminDuty] == 1)
  4994. {
  4995. new string[256];
  4996. GetPlayerName(i, adminname, sizeof(adminname));
  4997. format(string, 256, "Roleplay world Lead Administrator: %s [ID %d] On Duty", adminname,i);
  4998. SendClientMessage(playerid, 0x42F3F198, string);
  4999. count++;
  5000. }
  5001. if(WorldInfo[i][AdminLevel] == 7 && WorldInfo[i][AdminDuty] == 1)
  5002. {
  5003. new string[256];
  5004. GetPlayerName(i, adminname, sizeof(adminname));
  5005. format(string, 256, "Lead Administrator: %s [ID %d] On Duty", adminname,i);
  5006. SendClientMessage(playerid, 0x42F3F198, string);
  5007. count++;
  5008. }
  5009. if(WorldInfo[i][AdminLevel] == 6 && WorldInfo[i][AdminDuty] == 1)
  5010. {
  5011. new string[256];
  5012. GetPlayerName(i, adminname, sizeof(adminname));
  5013. format(string, 256, "Lead Moderator: %s [ID %d] On Duty", adminname,i);
  5014. SendClientMessage(playerid, 0x42F3F198, string);
  5015. count++;
  5016. }
  5017. if(WorldInfo[i][AdminLevel] == 5 && WorldInfo[i][AdminDuty] == 1)
  5018. {
  5019. new string[256];
  5020. GetPlayerName(i, adminname, sizeof(adminname));
  5021. format(string, 256, "Level 3 Administrator: %s [ID %d] On Duty", adminname,i);
  5022. SendClientMessage(playerid, 0x42F3F198, string);
  5023. count++;
  5024. }
  5025. if(WorldInfo[i][AdminLevel] == 4 && WorldInfo[i][AdminDuty] == 1)
  5026. {
  5027. new string[256];
  5028. GetPlayerName(i, adminname, sizeof(adminname));
  5029. format(string, 256, "Level 2 Administrator: %s [ID %d] On Duty", adminname,i);
  5030. SendClientMessage(playerid, 0x42F3F198, string);
  5031. count++;
  5032. }
  5033. if(WorldInfo[i][AdminLevel] == 3 && WorldInfo[i][AdminDuty] == 1)
  5034. {
  5035. new string[256];
  5036. GetPlayerName(i, adminname, sizeof(adminname));
  5037. format(string, 256, "Level 1 Administrator: %s [ID %d] On Duty", adminname,i);
  5038. SendClientMessage(playerid, 0x42F3F198, string);
  5039. count++;
  5040. }
  5041. if(WorldInfo[i][AdminLevel] == 2 && WorldInfo[i][AdminDuty] == 1)
  5042. {
  5043. new string[256];
  5044. GetPlayerName(i, adminname, sizeof(adminname));
  5045. format(string, 256, "Level 2 Moderator: %s [ID %d] On Duty", adminname,i);
  5046. SendClientMessage(playerid, 0x42F3F198, string);
  5047. count++;
  5048. }
  5049. if(WorldInfo[i][AdminLevel] == 1 && WorldInfo[i][AdminDuty] == 1)
  5050. {
  5051. new string[256];
  5052. GetPlayerName(i, adminname, sizeof(adminname));
  5053. format(string, 256, "Level 1 Moderator: %s [ID %d] On Duty", adminname,i);
  5054. SendClientMessage(playerid, 0x42F3F198, string);
  5055. count++;
  5056. }
  5057. }
  5058. }
  5059. //-----=[ rcon ]=------------------
  5060. for(new i=0; i<MAX_PLAYERS; i++)
  5061. {
  5062. if(IsPlayerConnected(i))
  5063. {
  5064. if(IsPlayerAdmin(i))
  5065. {
  5066. new string[256];
  5067. GetPlayerName(i, adminname, sizeof(adminname));
  5068. format(string, 256, "%s [ID %d] [rcon admin]", adminname,i);
  5069. if(WorldInfo[playerid][AdminLevel] >= 1) SendClientMessage(playerid, COLOR_WHITE, string);
  5070. }
  5071. }
  5072. }
  5073. if(count == 0) {
  5074. SendClientMessage(playerid, blue, "There are currently No admins online."); }
  5075. return 1;
  5076. }
  5077.  
  5078. //define's admin messages and commands
  5079. //rangeban
  5080. COMMAND:rangeban(playerid, params[])
  5081. {
  5082. new Target;
  5083. new Reason[100];
  5084. if(WorldInfo[playerid][AdminLevel] >=6)
  5085. {
  5086. if(!sscanf(params, "is", Target,Reason))
  5087. {
  5088. if(Target == INVALID_PLAYER_ID) return SendClientMessage(playerid,-1,"ERROR: Wrong player ID");
  5089. if(Target == playerid) return SendClientMessage(playerid,-1,"ERROR: You cant ban yourself!");
  5090. new tname[MAX_PLAYER_NAME];
  5091. GetPlayerName(Target,tname,sizeof(tname));
  5092. new pname[MAX_PLAYER_NAME];
  5093. GetPlayerName(playerid,pname,sizeof(pname));
  5094. new MyString[256];
  5095. new TargetString[256];
  5096. new rbandate[3];
  5097. getdate(rbandate[0], rbandate[1], rbandate[2]);
  5098. format(MyString,sizeof(MyString),"You have range banned %s(%d)! (Reason: %s)",tname, Target, Reason);
  5099. format(TargetString,sizeof(TargetString),"{FF002B}Range banned by: {FFFFFF}%s\n\n{FF002B}Reason: {FFFFFF}%s\n\n{FF002B}Date: {FFFFFF}%02d/%02d/%04d\n\n{FFFFFF}Press F8 to take a screenshot and use this in unban appeal!", pname, Reason, rbandate[2], rbandate[1], rbandate[0]);
  5100. ShowPlayerDialog(Target, 0, DIALOG_STYLE_MSGBOX, "{FF002B}RANGE BANNED!", TargetString, "OK", "");
  5101. SendClientMessage(playerid,-1,MyString);
  5102. new AllString[256];
  5103. format(AllString,sizeof(AllString),"Administrator %s range banned player %s(%d)! (Reason: %s)",pname,tname,Target,Reason);
  5104. SendClientMessageToAll(-1,AllString);
  5105. new ip[50];
  5106. GetPlayerIp(Target,ip,sizeof(ip));
  5107. strdel(ip,strlen(ip)-4,strlen(ip));
  5108. format(ip,sizeof(ip),"%s**.**",ip);
  5109. format(ip,sizeof(ip),"banip %s",ip);
  5110. SendRconCommand(ip);
  5111. Kick(Target);
  5112. }
  5113. else SendClientMessage(playerid, -1, "USAGE: /rangeban <playerid> <reason>");
  5114. }
  5115. else SendClientMessage(playerid, -1, "Error: You are not an admin");
  5116. return 1;
  5117. }
  5118.  
  5119. COMMAND:ahelp(playerid, params[])
  5120. {
  5121. if(WorldInfo[playerid][AdminLevel] >= 1)
  5122. {
  5123. SendClientMessage(playerid, 0xD8D8D8FF, "Level 1: /freeze /unfreeze");
  5124. SendClientMessage(playerid, 0xD8D8D8FF, "Level 3: /acar /setmoney");
  5125. SendClientMessage(playerid, 0xD8D8D8FF, "Level 6: /rangeban");
  5126. SendClientMessage(playerid, 0xD8D8D8FF, "Level 7: /removestuntplayer /removeroleplayplayer /giveplayercar");
  5127. }
  5128. return 1;
  5129. }
  5130.  
  5131. COMMAND:unfreeze(playerid, params[])
  5132. {
  5133. if(WorldInfo[playerid][AdminLevel] >=1)
  5134. {
  5135. new id;
  5136. if(!sscanf(params, "i", id))
  5137. {
  5138. if(IsPlayerConnected(id))
  5139. {
  5140. new Float:XZ, Float:YZ, Float:ZZ;
  5141. GetPlayerPos(playerid, XZ,YZ,ZZ);
  5142. if(WorldInfo[playerid][AdminLevel] >= 1)
  5143. {
  5144. new string[64];
  5145. new name[MAX_PLAYER_NAME], PName[MAX_PLAYER_NAME];
  5146. GetPlayerName(playerid, name, sizeof(name));
  5147. GetPlayerName(id, PName, sizeof(PName));
  5148. format(string, sizeof(string), "You Have Been UnFreezed By %s", name);
  5149. SendClientMessage(id, 0xD8D8D8FF, string);
  5150. format(string, sizeof(string), "You UnFreezed %s", PName);
  5151. SendClientMessage(playerid, 0xD8D8D8FF, string);
  5152. TogglePlayerControllable(id, 1);
  5153. return 1;
  5154. }
  5155. else return SendClientMessage(playerid, 0xD8D8D8FF, "You Are Not Near The Player.");
  5156. }
  5157. else return SendClientMessage(playerid, 0xD8D8D8FF, "Player Is Not Conected.");
  5158. }
  5159. else return SendClientMessage(playerid, 0xD8D8D8FF, "USAGE: /unfreeze [PlayerId/PartOfName]");
  5160. }
  5161. else return SendClientMessage(playerid, 0xD8D8D8FF, "You are not allowed to use this command.");
  5162. }
  5163.  
  5164. //admin commands
  5165. COMMAND:givepistol(playerid, params[])
  5166. {
  5167. new id;
  5168. new weap;
  5169. new ammo;
  5170. if(WorldInfo[playerid][AdminLevel] >= 4)
  5171. {
  5172. if(IsPlayerConnected(id))
  5173. {
  5174. if(!sscanf(params, "iii", id, weap, ammo))
  5175. {
  5176. if(weap >= 22 && weap <= 24)
  5177. {
  5178. if(ammo >= 1 && ammo <= 5000)
  5179. {
  5180. WorldInfo[id][pAllowedPistol] = 1;
  5181. new string[64];
  5182. new name[MAX_PLAYER_NAME], PName[MAX_PLAYER_NAME];
  5183. GetPlayerName(playerid, name, sizeof(name));
  5184. GetPlayerName(id, PName, sizeof(PName));
  5185. format(string, sizeof(string), "%s has given You weapon %d with %d ammu.", name, weap, ammo);
  5186. SendClientMessage(id, 0xD8D8D8FF, string);
  5187. format(string, sizeof(string), "You gave weapon %d with %d ammu to %s .", weap, ammo, PName);
  5188. SendClientMessage(playerid, 0xD8D8D8FF, string);
  5189. GivePlayerWeapon(id, weap, ammo);
  5190. return 1;
  5191. }
  5192. else return SendClientMessage(playerid, 0xD8D8D8FF, "Max. Ammo is 5000");
  5193. }
  5194. else return SendClientMessage(playerid, 0xD8D8D8FF, "Invalid weapon id!");
  5195.  
  5196. }
  5197. else return SendClientMessage(playerid, 0xD8D8D8FF, "USAGE: /givepistol[PlayerId/PartOfName] [WeaponId] [Ammo]"),
  5198. SendClientMessage(playerid, 0xD8D8D8FF, "22(Pistol) 23(SPistol) 24(Eagle)");
  5199. }
  5200. else return SendClientMessage(playerid, 0xD8D8D8FF, "Player not connected!");
  5201. }
  5202. else return SendClientMessage(playerid, 0xD8D8D8FF, "You need level 4 admin to use this!");
  5203. }
  5204.  
  5205. COMMAND:giveshotgun(playerid, params[])
  5206. {
  5207. new id;
  5208. new weap;
  5209. new ammo;
  5210. if(WorldInfo[playerid][AdminLevel] >= 4)
  5211. {
  5212. if(IsPlayerConnected(id))
  5213. {
  5214. if(!sscanf(params, "iii", id, weap, ammo))
  5215. {
  5216. if(weap >= 25 && weap <= 27)
  5217. {
  5218. if(ammo >= 1 && ammo <= 5000)
  5219. {
  5220. WorldInfo[id][pAllowedShotgun] = 1;
  5221. new string[64];
  5222. new name[MAX_PLAYER_NAME], PName[MAX_PLAYER_NAME];
  5223. GetPlayerName(playerid, name, sizeof(name));
  5224. GetPlayerName(id, PName, sizeof(PName));
  5225. format(string, sizeof(string), "%s has given You weapon %d with %d ammu.", name, weap, ammo);
  5226. SendClientMessage(id, 0xD8D8D8FF, string);
  5227. format(string, sizeof(string), "You gave weapon %d with %d ammu to %s .", weap, ammo, PName);
  5228. SendClientMessage(playerid, 0xD8D8D8FF, string);
  5229. GivePlayerWeapon(id, weap, ammo);
  5230. return 1;
  5231. }
  5232. else return SendClientMessage(playerid, 0xD8D8D8FF, "Max. Ammo is 5000");
  5233. }
  5234. else return SendClientMessage(playerid, 0xD8D8D8FF, "Invalid weapon id!");
  5235.  
  5236. }
  5237. else return SendClientMessage(playerid, 0xD8D8D8FF, "USAGE: /giveshotgun[PlayerId/PartOfName] [WeaponId] [Ammo]"),
  5238. SendClientMessage(playerid, 0xD8D8D8FF, "25(Shotgun) 26(Sawnoff) 27(Combat Shotgun)");
  5239. }
  5240. else return SendClientMessage(playerid, 0xD8D8D8FF, "Player not connected!");
  5241. }
  5242. else return SendClientMessage(playerid, 0xD8D8D8FF, "You need level 4 admin to use this!");
  5243. }
  5244.  
  5245. COMMAND:giveuzi(playerid, params[])
  5246. {
  5247. new id;
  5248. new weap;
  5249. new ammo;
  5250. if(WorldInfo[playerid][AdminLevel] >= 4)
  5251. {
  5252. if(IsPlayerConnected(id))
  5253. {
  5254. if(!sscanf(params, "iii", id, weap, ammo))
  5255. {
  5256. if(weap >= 28 && weap <= 32)
  5257. {
  5258. if(ammo >= 1 && ammo <= 5000)
  5259. {
  5260. WorldInfo[id][pAllowedUzi] = 1;
  5261. new string[64];
  5262. new name[MAX_PLAYER_NAME], PName[MAX_PLAYER_NAME];
  5263. GetPlayerName(playerid, name, sizeof(name));
  5264. GetPlayerName(id, PName, sizeof(PName));
  5265. format(string, sizeof(string), "%s has given You weapon %d with %d ammu.", name, weap, ammo);
  5266. SendClientMessage(id, 0xD8D8D8FF, string);
  5267. format(string, sizeof(string), "You gave weapon %d with %d ammu to %s .", weap, ammo, PName);
  5268. SendClientMessage(playerid, 0xD8D8D8FF, string);
  5269. GivePlayerWeapon(id, weap, ammo);
  5270. return 1;
  5271. }
  5272. else return SendClientMessage(playerid, 0xD8D8D8FF, "Max. Ammo is 5000");
  5273. }
  5274. else return SendClientMessage(playerid, 0xD8D8D8FF, "Invalid weapon id!");
  5275.  
  5276. }
  5277. else return SendClientMessage(playerid, 0xD8D8D8FF, "USAGE: /giveuzi[PlayerId/PartOfName] [WeaponId] [Ammo]"),
  5278. SendClientMessage(playerid, 0xD8D8D8FF, "28(Micro uzi) 29(MP5) 32(TEC-9)");
  5279. }
  5280. else return SendClientMessage(playerid, 0xD8D8D8FF, "Player not connected!");
  5281. }
  5282. else return SendClientMessage(playerid, 0xD8D8D8FF, "You need level 4 admin to use this!");
  5283. }
  5284.  
  5285. COMMAND:givemachinegun(playerid, params[])
  5286. {
  5287. new id;
  5288. new weap;
  5289. new ammo;
  5290. if(WorldInfo[playerid][AdminLevel] >= 4)
  5291. {
  5292. if(IsPlayerConnected(id))
  5293. {
  5294. if(!sscanf(params, "iii", id, weap, ammo))
  5295. {
  5296. if(weap >= 30 && weap <= 31)
  5297. {
  5298. if(ammo >= 1 && ammo <= 5000)
  5299. {
  5300. WorldInfo[id][pAllowedMachinegun] = 1;
  5301. new string[64];
  5302. new name[MAX_PLAYER_NAME], PName[MAX_PLAYER_NAME];
  5303. GetPlayerName(playerid, name, sizeof(name));
  5304. GetPlayerName(id, PName, sizeof(PName));
  5305. format(string, sizeof(string), "%s has given You weapon %d with %d ammu.", name, weap, ammo);
  5306. SendClientMessage(id, 0xD8D8D8FF, string);
  5307. format(string, sizeof(string), "You gave weapon %d with %d ammu to %s .", weap, ammo, PName);
  5308. SendClientMessage(playerid, 0xD8D8D8FF, string);
  5309. GivePlayerWeapon(id, weap, ammo);
  5310. return 1;
  5311. }
  5312. else return SendClientMessage(playerid, 0xD8D8D8FF, "Max. Ammo is 5000");
  5313. }
  5314. else return SendClientMessage(playerid, 0xD8D8D8FF, "Invalid weapon id!");
  5315.  
  5316. }
  5317. else return SendClientMessage(playerid, 0xD8D8D8FF, "USAGE: /givemachinegun[PlayerId/PartOfName] [WeaponId] [Ammo]"),
  5318. SendClientMessage(playerid, 0xD8D8D8FF, "30(Ak47) 31(M4)");
  5319. }
  5320. else return SendClientMessage(playerid, 0xD8D8D8FF, "You Need Rcon Admin To Use This Command!");
  5321. }
  5322. else return SendClientMessage(playerid, 0xD8D8D8FF, "You need level 4 admin to use this!");
  5323. }
  5324.  
  5325. COMMAND:givesniper(playerid, params[])
  5326. {
  5327. new id;
  5328. new weap;
  5329. new ammo;
  5330. if(WorldInfo[playerid][AdminLevel] >= 4)
  5331. {
  5332. if(!sscanf(params, "iii", id, weap, ammo))
  5333. {
  5334. if(IsPlayerConnected(id))
  5335. {
  5336. if(weap >= 33 && weap <= 34)
  5337. {
  5338. if(ammo >= 1 && ammo <= 5000)
  5339. {
  5340. WorldInfo[id][pAllowedSniper] = 1;
  5341. new string[64];
  5342. new name[MAX_PLAYER_NAME], PName[MAX_PLAYER_NAME];
  5343. GetPlayerName(playerid, name, sizeof(name));
  5344. GetPlayerName(id, PName, sizeof(PName));
  5345. format(string, sizeof(string), "%s has given You weapon %d with %d ammu.", name, weap, ammo);
  5346. SendClientMessage(id, 0xD8D8D8FF, string);
  5347. format(string, sizeof(string), "You gave weapon %d with %d ammu to %s .", weap, ammo, PName);
  5348. SendClientMessage(playerid, 0xD8D8D8FF, string);
  5349. GivePlayerWeapon(id, weap, ammo);
  5350. return 1;
  5351. }
  5352. else return SendClientMessage(playerid, 0xD8D8D8FF, "Max. Ammo is 5000");
  5353. }
  5354. else return SendClientMessage(playerid, 0xD8D8D8FF, "Invalid weapon id!");
  5355.  
  5356. }
  5357. else return SendClientMessage(playerid, 0xD8D8D8FF, "Player Is Not Connected");
  5358. }
  5359. else return SendClientMessage(playerid, 0xD8D8D8FF, "USAGE: /givesniper[PlayerId/PartOfName] [WeaponId] [Ammo]"),
  5360. SendClientMessage(playerid, 0xD8D8D8FF, "33(Country rifle) 34(Sniper)");
  5361. }
  5362. else return SendClientMessage(playerid, 0xD8D8D8FF, "You need level 4 admin to use this!");
  5363. }
  5364.  
  5365. COMMAND:makeadmin(playerid, params[])
  5366. {
  5367. new id;
  5368. new AdminLevel2;
  5369. if(!sscanf(params, "ii", id, AdminLevel2))
  5370. {
  5371. if(WorldInfo[playerid][AdminLevel] >= 10 || IsPlayerAdmin(playerid))
  5372. {
  5373. if(IsPlayerConnected(id))
  5374. {
  5375. if((AdminLevel2 >= 1 && AdminLevel2 <= 12) || AdminLevel2 == 0)
  5376. {
  5377. new string[64];
  5378. new name[MAX_PLAYER_NAME], PName[MAX_PLAYER_NAME];
  5379. GetPlayerName(playerid, name, sizeof(name));
  5380. GetPlayerName(id, PName, sizeof(PName));
  5381. format(string, sizeof(string), "%s Has Given You %d Admin Level.", name, AdminLevel2);
  5382. SendClientMessage(id, 0xD8D8D8FF, string);
  5383. format(string, sizeof(string), "You Gave %d Admin Level To %s .", AdminLevel2, PName);
  5384. SendClientMessage(playerid, 0xD8D8D8FF, string);
  5385. WorldInfo[id][AdminLevel] = AdminLevel2;
  5386. return 1;
  5387. }
  5388. else return SendClientMessage(playerid, 0xD8D8D8FF, "Avaliable Levels: 1, 2, 3, 4 upto 9.");
  5389. }
  5390. else return SendClientMessage(playerid, 0xD8D8D8FF, "Player Is Not Connected");
  5391. }
  5392. else return SendClientMessage(playerid, 0xD8D8D8FF, "You Need Rcon Admin To Use This Command!");
  5393. }
  5394. else return SendClientMessage(playerid, 0xD8D8D8FF, "USAGE: /makeadmin [PlayerId/PartOfName] [AdminLevel]");
  5395. }
  5396.  
  5397. COMMAND:setmoney(playerid, params[])
  5398. {
  5399. new id;
  5400. new ammount;
  5401. if(!sscanf(params, "ii", id, ammount))
  5402. {
  5403. if(WorldInfo[playerid][AdminLevel] >= 3)
  5404. {
  5405. if(IsPlayerConnected(id))
  5406. {
  5407. if(ammount <= 10000000000)
  5408. {
  5409. new string[64];
  5410. new name[MAX_PLAYER_NAME], PName[MAX_PLAYER_NAME];
  5411. GetPlayerName(playerid, name, sizeof(name));
  5412. GetPlayerName(id, PName, sizeof(PName));
  5413. format(string, sizeof(string), "%s Has Given You %d.", name, ammount);
  5414. SendClientMessage(id, 0xD8D8D8FF, string);
  5415. format(string, sizeof(string), "You Gave %d Money To %s .", ammount, PName);
  5416. SendClientMessage(playerid, 0xD8D8D8FF, string);
  5417. SetPlayerMoney(id, ammount);
  5418. StuntAccountInfo[id][pCash] = ammount;
  5419. return 1;
  5420. }
  5421. else return SendClientMessage(playerid, 0xD8D8D8FF, "You can't give so much");
  5422. }
  5423. else return SendClientMessage(playerid, 0xD8D8D8FF, "Player is not connected.");
  5424. }
  5425. else return SendClientMessage(playerid, 0xD8D8D8FF, "You are not admin level 3");
  5426. }
  5427. else return SendClientMessage(playerid, 0xD8D8D8FF, "USAGE: /setmoney [PlayerId/PartOfName] [Ammount]");
  5428. }
  5429.  
  5430. COMMAND:givedonationpack1(playerid, params[])
  5431. {
  5432. new id;
  5433. if(!sscanf(params, "i", id))
  5434. {
  5435. if(WorldInfo[playerid][AdminLevel] >= 10)
  5436. {
  5437. if(IsPlayerConnected(id))
  5438. {
  5439. WorldInfo[id][pDonator] = 1;
  5440. SendClientMessage(id, COLOR_GREEN, "Congratz, You have been made a Donator.");
  5441. SendClientMessage(id, COLOR_GREEN, "We Would like to say thank you for your support.");
  5442. return 1;
  5443. }
  5444. else return SendClientMessage(playerid, 0xD8D8D8FF, "Player is not connected.");
  5445. }
  5446. else return SendClientMessage(playerid, 0xD8D8D8FF, "You are not admin level 3");
  5447. }
  5448. else return SendClientMessage(playerid, 0xD8D8D8FF, "USAGE: /money [PlayerId/PartOfName] [Ammount]");
  5449. }
  5450.  
  5451. COMMAND:aduty(playerid, params[])
  5452. {
  5453. if(WorldInfo[playerid][AdminLevel] >= 1)
  5454. {
  5455. if(WorldInfo[playerid][AdminDuty] == 0)
  5456. {
  5457. new string[128];
  5458. WorldInfo[playerid][AdminDuty] = 1;
  5459. format(string, sizeof(string), "Admin %s is now on duty", GetName(playerid));
  5460. SendClientMessageToAll(COLOR_ORANGE, string);
  5461. }
  5462. else
  5463. {
  5464. new string[128];
  5465. WorldInfo[playerid][AdminDuty] = 0;
  5466. format(string, sizeof(string), "Admin %s is now off duty", GetName(playerid));
  5467. SendClientMessageToAll(COLOR_ORANGE, string);
  5468. }
  5469. return 1;
  5470. }
  5471. else return SendClientMessage(playerid, 0xD8D8D8FF, "You are not an admin");
  5472. }
  5473.  
  5474. COMMAND:acar(playerid, params[])
  5475. {
  5476. if(WorldInfo[playerid][AdminLevel] >= 3)
  5477. {
  5478. new carid, carcolor1, carcolor2;
  5479. if(!sscanf(params, "iii", carid, carcolor1, carcolor2))
  5480. {
  5481. if(carid >= 400 && carid <= 611)
  5482. {
  5483. if(carcolor1 >= 0 && carcolor1 <= 252)
  5484. {
  5485. if(carcolor2 >= 0 && carcolor2 <= 252)
  5486. {
  5487. new Float:XZ, Float:YZ, Float:ZZ;
  5488. GetPlayerPos(playerid, XZ, YZ, ZZ);
  5489. SetVehicleVirtualWorld( CreateVehicle(carid, XZ+4, YZ, ZZ, 10, carcolor1, carcolor2, 0), GetPlayerVirtualWorld(playerid));
  5490. SendClientMessage(playerid, 0xD8D8D8FF, "Vehicle Spawned");
  5491. return 1;
  5492. }
  5493. else return SendClientMessage(playerid, 0xD8D8D8FF, "Only color id's between 0 and 252 are avaliable.");
  5494. }
  5495. else return SendClientMessage(playerid, 0xD8D8D8FF, "Only color id's between 0 and 252 are avaliable.");
  5496. }
  5497. else return SendClientMessage(playerid, 0xD8D8D8FF, "Only id's between 400 and 611 are avaliable.");
  5498. }
  5499. else return SendClientMessage(playerid, 0xD8D8D8FF, "USAGE: /acar [VehicleId] [Color 1][Color 2]");
  5500. }
  5501. else return SendClientMessage(playerid, 0xD8D8D8FF, "You are not allowed to use this command.");
  5502. }
  5503.  
  5504. forward SendMessageToChatDutyAdmins(color,const string[]);
  5505. public SendMessageToChatDutyAdmins(color,const string[]) //create the callback, including color and string
  5506. {
  5507. for(new i = 0; i < MAX_PLAYERS; i++) //set a for-loop and loop through all the admins
  5508. {
  5509. if(IsPlayerConnected(i) == 1) //the admin gotta be connected
  5510. if(WorldInfo[i][AdminLevel] >= 1) //and his level gotta be at least 1 (or higher)
  5511. if(StuntAccountInfo[i][ChatDuty] == 1) //and his level gotta be at least 1 (or higher)
  5512. SendClientMessage(i, color, string); //send this message now to every admin online, with color + string!
  5513. }
  5514. return 1;
  5515. }
  5516.  
  5517. forward SendMessageToHDutyAdmins(color,const string[]);
  5518. public SendMessageToHDutyAdmins(color,const string[]) //create the callback, including color and string
  5519. {
  5520. for(new i = 0; i < MAX_PLAYERS; i++) //set a for-loop and loop through all the admins
  5521. {
  5522. if(IsPlayerConnected(i) == 1) //the admin gotta be connected
  5523. if(WorldInfo[i][AdminLevel] >= 1) //and his level gotta be at least 1 (or higher)
  5524. if(StuntAccountInfo[i][HAdminDuty] == 1) //and his level gotta be at least 1 (or higher)
  5525. SendClientMessage(i, color, string); //send this message now to every admin online, with color + string!
  5526. }
  5527. return 1;
  5528. }
  5529.  
  5530. forward SendMessageToStuntOwner(color,const string[]);
  5531. public SendMessageToStuntOwner(color,const string[]) //create the callback, including color and string
  5532. {
  5533. for(new i = 0; i < MAX_PLAYERS; i++) //set a for-loop and loop through all the admins
  5534. {
  5535. if(IsPlayerConnected(i) == 1) //the admin gotta be connected
  5536. if(WorldInfo[i][AdminLevel] == 12) //and his level gotta be at least 1 (or higher)
  5537. SendClientMessage(i, color, string); //send this message now to every admin online, with color + string!
  5538. }
  5539. return 1;
  5540. }
  5541.  
  5542. forward SendMessageToRPOwner(color,const string[]);
  5543. public SendMessageToRPOwner(color,const string[]) //create the callback, including color and string
  5544. {
  5545. for(new i = 0; i < MAX_PLAYERS; i++) //set a for-loop and loop through all the admins
  5546. {
  5547. if(IsPlayerConnected(i) == 1) //the admin gotta be connected
  5548. if(RPAccountInfo[i][rAdminLevel] == 12) //and his level gotta be at least 1 (or higher)
  5549. SendClientMessage(i, color, string); //send this message now to every admin online, with color + string!
  5550. }
  5551. return 1;
  5552. }
  5553.  
  5554. forward SendMessageToStunt(color,const string[]);
  5555. public SendMessageToStunt(color,const string[]) //create the callback, including color and string
  5556. {
  5557. for(new i = 0; i < MAX_PLAYERS; i++) //set a for-loop and loop through all the admins
  5558. {
  5559. if(IsPlayerConnected(i) == 1) //the admin gotta be connected
  5560. if(WorldInfo[i][pWorld] == 2) //and his level gotta be at least 1 (or higher)
  5561. SendClientMessage(i, color, string); //send this message now to every admin online, with color + string!
  5562. }
  5563. return 1;
  5564. }
  5565.  
  5566. //house system
  5567. public rentfee()
  5568. {
  5569. new str[255],str2[255],pname[24];
  5570. for(new houseid=0;houseid<MAX_HOUSES;houseid++)
  5571. {
  5572. format(str, sizeof(str), "Houses/houseid%d", houseid);
  5573. if(strcmp(hInfo[houseid][Renter], "ForRent", true))
  5574. {
  5575. for(new ii=0;ii<MAX_PLAYERS;ii++)
  5576. {
  5577. if(IsPlayerConnected(ii))
  5578. {
  5579. GetPlayerName(ii, pname, 24);
  5580. if(strcmp(hInfo[houseid][Renter], pname, true)==0)
  5581. {
  5582. format(str2, sizeof(str2), "You have to pay $%d for the hour you have rented the hous!", hInfo[houseid][Rentcost]);
  5583. SendClientMessage(ii, c_y, str2);
  5584. dini_IntSet(str, "RentGet", dini_Int(str, "RentGet")+hInfo[houseid][Rentcost]);
  5585. dini_IntSet(str, "RentPay", dini_Int(str, "RentPay")+hInfo[houseid][Rentcost]);
  5586. hInfo[houseid][Rentfee]=1;
  5587. }
  5588. }
  5589. }
  5590. if(hInfo[houseid][Rentfee]==0)
  5591. {
  5592. if(strcmp(hInfo[houseid][Renter],"ForRent"))
  5593. {
  5594. dini_IntSet(str, "RentGet", dini_Int(str, "RentGet")+hInfo[houseid][Rentcost]);
  5595. dini_IntSet(str, "RentPay", dini_Int(str, "RentPay")+hInfo[houseid][Rentcost]);
  5596. }
  5597. }
  5598. hInfo[houseid][Rentfee]=0;
  5599. }
  5600. }
  5601. }
  5602.  
  5603. stock PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z)
  5604. {
  5605. if(IsPlayerConnected(playerid))
  5606. {
  5607. new Float:oldposx, Float:oldposy, Float:oldposz;
  5608. new Float:tempposx, Float:tempposy, Float:tempposz;
  5609. GetPlayerPos(playerid, oldposx, oldposy, oldposz);
  5610. tempposx = (oldposx -x);
  5611. tempposy = (oldposy -y);
  5612. tempposz = (oldposz -z);
  5613. if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))
  5614. {
  5615. return 1;
  5616. }
  5617. }
  5618. return 0;
  5619. }
  5620.  
  5621. stock GetHouseID(playerid)
  5622. {
  5623. for(new i=0; i<MAX_HOUSES; i++)
  5624. {
  5625. if(PlayerToPoint(MAX_DISTANCE_TO_PROP, playerid, hInfo[i][iconx], hInfo[i][icony], hInfo[i][iconz]))
  5626. {
  5627. return i;
  5628. }
  5629. }
  5630. return -255;
  5631. }
  5632.  
  5633. stock GetHouseStats(playerid, hid)
  5634. {
  5635. new str2[256];
  5636. format(str2, sizeof(str2), "Owned by: %s", hInfo[hid][Name]);
  5637. SendClientMessage(playerid, c_y, str2);
  5638. if(strcmp(hInfo[hid][Renter],"ForRent",true))
  5639. {
  5640. format(str2, sizeof(str2), "Rented by: %s", hInfo[hid][Renter]);
  5641. SendClientMessage(playerid, c_y, str2);
  5642. }
  5643. format(str2,sizeof(str2),"Cost: %i",hInfo[hid][Cost]);
  5644. SendClientMessage(playerid, c_y, str2);
  5645. }
  5646.  
  5647. CMD:sell(playerid,params[])
  5648. {
  5649. #pragma unused params
  5650. new str[255],str1[256],pname[24],housenumber;
  5651. housenumber = GetHouseID(playerid);
  5652. GetPlayerName(playerid, pname, 24);
  5653. format(str1, sizeof(str1), "Houses/houseid%d", housenumber);
  5654. if (strcmp(hInfo[housenumber][Name],pname,false)) return SendClientMessage(playerid, c_r, "This house isn't yours!");
  5655. SendClientMessage(playerid, c_y, "You have sold your house!");
  5656. format(str, sizeof(str), "%s has sold houseid 0",pname);
  5657. print(str);
  5658. GivePlayerMoney(playerid, hInfo[housenumber][Sell]);
  5659. dini_Set(str1, "Name", "ForSale");
  5660. hInfo[housenumber][Locked] = dini_IntSet(str1,"Locked",1);
  5661. format(hInfo[housenumber][Name],255,"ForSale");
  5662. format(str1, sizeof(str1), "Houses/Users/%s", udb_encode(pname));
  5663. if (!dini_Exists(str1)) dini_Create(str1);
  5664. dini_IntSet(str1, "Houseid", -255);
  5665. DestroyDynamicPickup(HousePickup[housenumber]);
  5666. HousePickup[housenumber] = CreateDynamicPickup(1273, 23, hInfo[housenumber][iconx], hInfo[housenumber][icony], hInfo[housenumber][iconz]);
  5667. RemovePlayerMapIcon(playerid, housemapicon[playerid]);
  5668. return 1;
  5669. }
  5670.  
  5671. CMD:buy(playerid,params[])
  5672. {
  5673. if(abuyh == 1) return SendClientMessage(playerid, COLOR_RED, "Error: You are not aloud to buy houses just now");
  5674. #pragma unused params
  5675. new str[255],str1[255],pname[24], housenumber;
  5676. housenumber = GetHouseID(playerid);
  5677. if(housenumber == -1) return SendClientMessage(playerid, c_r, "You are not in a house icon!");
  5678.  
  5679. GetPlayerName(playerid, pname, 24);
  5680. format(str1, sizeof(str1), "Houses/Users/%s", udb_encode(pname));
  5681. if(dini_Exists(str1))
  5682. {
  5683. if (dini_Int(str1, "Houseid")!=-255) return SendClientMessage(playerid, c_r, "You can only buy one house!");
  5684. }
  5685. format(str1, sizeof(str1), "Houses/houseid%d", housenumber);
  5686. if (strcmp(hInfo[housenumber][Name],"ForSale",true)) return SendClientMessage(playerid, c_r, "This house isn't for sale!");
  5687. if(GetPlayerMoney(playerid)<hInfo[housenumber][Cost]) return SendClientMessage(playerid, c_r, "Not enough money!");
  5688. SendClientMessage(playerid, c_y, "You have bought the house!");
  5689. format(str, sizeof(str), "%s has bought houseid 0",pname);
  5690. print(str);
  5691. GivePlayerMoney(playerid, -hInfo[housenumber][Cost]);
  5692. dini_Set(str1, "Name", pname);
  5693. hInfo[housenumber][Name]=pname;
  5694. hInfo[housenumber][Locked] = dini_IntSet(str1,"Locked",0);
  5695.  
  5696. format(str1, sizeof(str1), "Houses/Users/%s", udb_encode(pname));
  5697. if (!dini_Exists(str1)) dini_Create(str1);
  5698. new Float:sy, Float:sx, Float:sz;
  5699. dini_IntSet(str1, "Houseid", housenumber);
  5700. if(!dini_Isset(str1,"Rentid"))
  5701. {
  5702. dini_IntSet(str1, "Rentid", -255);
  5703. }
  5704. GetPlayerPos(playerid, sx,sy,sz);
  5705. dini_FloatSet(str1, "SpawnX", sx);
  5706. dini_FloatSet(str1, "SpawnY", sy);
  5707. dini_FloatSet(str1, "SpawnZ", sz);
  5708. dini_IntSet(str1, "SpawnInt", GetPlayerInterior(playerid));
  5709. DestroyDynamicPickup(HousePickup[housenumber]);
  5710. HousePickup[housenumber] = CreateDynamicPickup(1272, 23, hInfo[housenumber][iconx], hInfo[housenumber][icony], hInfo[housenumber][iconz]);
  5711. return 1;
  5712. }
  5713.  
  5714. CMD:makehousesbuyable(playerid,params[])
  5715. {
  5716. abuyh = 0;
  5717. SendClientMessageToAll(COLOR_ORANGE, "Admin Command: All the house's in the server are now buyable");
  5718. return 1;
  5719. }
  5720.  
  5721. CMD:makehousesunbuyable(playerid,params[])
  5722. {
  5723. abuyh = 1;
  5724. SendClientMessageToAll(COLOR_ORANGE, "Admin Command: The house's are now unbuyable, Player's are not allowed to buy them.");
  5725. return 1;
  5726. }
  5727.  
  5728. CMD:hlock(playerid,params[])
  5729. {
  5730. #pragma unused params
  5731. new str1[256],pname[24],housenumber;
  5732. housenumber = GetHouseID(playerid);
  5733. GetPlayerName(playerid, pname, 24);
  5734. format(str1, sizeof(str1), "Houses/houseid%d", housenumber);
  5735. if(strcmp(hInfo[housenumber][Name],pname,true)==0)
  5736. {
  5737. SendClientMessage(playerid, c_y, "You have locked your house!");
  5738. dini_IntSet(str1,"Locked",1);
  5739. hInfo[housenumber][Locked] = 1;
  5740. }
  5741. else if(strcmp(hInfo[housenumber][Renter],pname,true)==0)
  5742. {
  5743. SendClientMessage(playerid, c_y, "You have locked your house!");
  5744. dini_IntSet(str1,"Locked",1);
  5745. hInfo[housenumber][Locked] = 1;
  5746. }
  5747. else
  5748. {
  5749. SendClientMessage(playerid, c_r, "This house isn't yours!");
  5750. }
  5751. return 1;
  5752. }
  5753.  
  5754. CMD:hunlock(playerid,params[])
  5755. {
  5756. #pragma unused params
  5757. new str1[256],pname[24],housenumber;
  5758. housenumber = GetHouseID(playerid);
  5759. GetPlayerName(playerid, pname, 24);
  5760. format(str1, sizeof(str1), "Houses/houseid%d", housenumber);
  5761. if(strcmp(hInfo[housenumber][Name],pname,true)==0)
  5762. {
  5763. SendClientMessage(playerid, c_y, "You have unlocked your house!");
  5764. dini_IntSet(str1,"Locked",0);
  5765. hInfo[housenumber][Locked] = 0;
  5766. }
  5767. else if(strcmp(hInfo[housenumber][Renter],pname,true)==0)
  5768. {
  5769. SendClientMessage(playerid, c_y, "You have unlocked your house!");
  5770. dini_IntSet(str1,"Locked",0);
  5771. hInfo[housenumber][Locked] = 0;
  5772. }
  5773. else
  5774. {
  5775. SendClientMessage(playerid, c_r, "This house isn't yours!");
  5776. }
  5777. return 1;
  5778. }
  5779.  
  5780. CMD:henter(playerid,params[])
  5781. {
  5782. #pragma unused params
  5783. new str1[255],pname[24],housenumber;
  5784. housenumber = GetHouseID(playerid);
  5785. GetPlayerPos(playerid, housex, housey, housez);
  5786. format(str1, sizeof(str1), "Houses/houseid%d", housenumber);
  5787. GetPlayerName(playerid, pname, 24);
  5788. if(hInfo[housenumber][Locked]==1) return SendClientMessage(playerid, c_r, "This house is locked!");
  5789. playerworld[playerid] = GetPlayerVirtualWorld(playerid);
  5790. SendClientMessage(playerid, c_y, "You entered the house!");
  5791. SetPlayerVirtualWorld(playerid, hInfo[housenumber][Virtualworld]);
  5792. SetPlayerInterior(playerid, hInfo[housenumber][Interior]);
  5793. SetPlayerPos(playerid, hInfo[housenumber][InteriorX], hInfo[housenumber][InteriorY], hInfo[housenumber][InteriorZ]);
  5794. playerinterior[playerid] = hInfo[housenumber][Interior];
  5795. return 1;
  5796. }
  5797.  
  5798. CMD:hexit(playerid,params[])
  5799. {
  5800. #pragma unused params
  5801.  
  5802. if(GetPlayerInterior(playerid)==playerinterior[playerid])
  5803. {
  5804. SetPlayerPos(playerid, housex, housey, housez);
  5805. SetPlayerInterior(playerid, playerworld[playerid]);
  5806. }
  5807. else
  5808. {
  5809. SendClientMessage(playerid, c_r, "You have not entered a house!");
  5810. }
  5811. return 1;
  5812. }
  5813.  
  5814. CMD:home(playerid,params[])
  5815. {
  5816. #pragma unused params
  5817. new str1[256],pname[24];
  5818. GetPlayerName(playerid, pname, 24);
  5819. format(str1, sizeof(str1), "Houses/Users/%s", udb_encode(pname));
  5820. if(!dini_Exists(str1)) return SendClientMessage(playerid, c_r, "You don't own a house!");
  5821. if(dini_Int(str1, "Houseid")!=-255)
  5822. {
  5823. housemapicon[playerid] = SetPlayerMapIcon(playerid,31,hInfo[dini_Int(str1, "Houseid")][iconx], hInfo[dini_Int(str1, "Houseid")][icony], hInfo[dini_Int(str1, "Houseid")][iconz],31,c_y);
  5824. }
  5825. else if (dini_Int(str1, "Rentid")!=-255)
  5826. {
  5827. housemapicon[playerid] = SetPlayerMapIcon(playerid,31,hInfo[dini_Int(str1, "Rentid")][iconx], hInfo[dini_Int(str1, "Rentid")][icony], hInfo[dini_Int(str1, "Rentid")][iconz],31,c_y);
  5828. }
  5829. else
  5830. {
  5831. SendClientMessage(playerid, c_r, "You don't own a house!");
  5832. }
  5833. return 1;
  5834. }
  5835.  
  5836. CMD:setrent(playerid,params[])
  5837. {
  5838. new str[256],str1[256],pname[24],housenumber;
  5839. housenumber = GetHouseID(playerid);
  5840. GetPlayerName(playerid, pname, 24);
  5841. format(str1, sizeof(str1), "Houses/houseid%d", housenumber);
  5842. str = dini_Get(str1,"Name");
  5843. if (strcmp(str,pname,true)) return SendClientMessage(playerid, c_r, "This house isn't yours!");
  5844. new rentcost, rentable;
  5845. if (sscanf(params, "dd", rentable, rentcost)) return SendClientMessage(playerid, c_r, "USAGE: /setrent [0/1] [Rentcost]");
  5846. else if (rentcost<MIN_RENTCOST)
  5847. {
  5848. format(str, sizeof(str), "The minimum rentcost is $%i.", MIN_RENTCOST);
  5849. SendClientMessage(playerid, c_r, str);
  5850. return 1;
  5851. }
  5852. else if (rentcost>MAX_RENTCOST)
  5853. {
  5854. format(str, sizeof(str), "The maximum rentcost is $%i.", MAX_RENTCOST);
  5855. SendClientMessage(playerid, c_r, str);
  5856. return 1;
  5857. }
  5858. else if(rentable==1)
  5859. {
  5860. SendClientMessage(playerid, c_y, "Your house is now rentable!");
  5861. hInfo[housenumber][Rentable] = 1;
  5862. dini_IntSet(str1, "Rentable", 1);
  5863. hInfo[housenumber][Rentcost] = rentcost;
  5864. dini_IntSet(str1, "Rentcost", rentcost);
  5865. return 1;
  5866. }
  5867. else if(rentable==0)
  5868. {
  5869. SendClientMessage(playerid, c_y, "Your house is now not rentable!");
  5870. hInfo[housenumber][Rentable] = 0;
  5871. dini_IntSet(str1, "Rentable", 0);
  5872. hInfo[housenumber][Rentcost] = rentcost;
  5873. dini_IntSet(str1, "Rentcost", rentcost);
  5874. return 1;
  5875. }
  5876. return 1;
  5877. }
  5878.  
  5879. CMD:rent(playerid,params[])
  5880. {
  5881. #pragma unused params
  5882. new str[255],str1[256],str5[255],pname[24],housenumber;
  5883. housenumber = GetHouseID(playerid);
  5884. GetPlayerName(playerid, pname, 24);
  5885. format(str1, sizeof(str1), "Houses/houseid%d", housenumber);
  5886. format(str5, sizeof(str5), "Houses/Users/%s", udb_encode(pname));
  5887. if(dini_Isset(str5, "Rentid"))
  5888. {
  5889. if (dini_Int(str5, "Rentid")!=-255) return SendClientMessage(playerid, c_r, "You can only rent one house at a time!");
  5890. }
  5891. format(str, sizeof(str), dini_Get(str1,"Name"));
  5892. if (strcmp(str,"ForSale",true)==0) return SendClientMessage(playerid, c_r, "This house has no owner!");
  5893. if(hInfo[housenumber][Rentable]==0 || strcmp(hInfo[housenumber][Renter], "ForRent", true)) return SendClientMessage(playerid, c_r, "This house is not rentable!");
  5894. if(GetPlayerMoney(playerid)<hInfo[housenumber][Rentcost]) return SendClientMessage(playerid, c_r, "Not enough money!");
  5895. dini_Set(str1, "Renter", udb_encode(pname));
  5896. format(hInfo[housenumber][Renter], 24, udb_encode(pname));
  5897. dini_IntSet(str5, "Rentid", housenumber);
  5898. format(str1, sizeof(str1), "You have rented this house, it will cost you $%i an hour!", hInfo[housenumber][Rentcost]);
  5899. SendClientMessage(playerid, c_y, str1);
  5900. return 1;
  5901. }
  5902.  
  5903. CMD:unrent(playerid,params[])
  5904. {
  5905. #pragma unused params
  5906. new str1[256],pname[24],housenumber;
  5907. housenumber = GetHouseID(playerid);
  5908. GetPlayerName(playerid, pname, 24);
  5909. format(str1, sizeof(str1), "Houses/houseid%d", housenumber);
  5910. if(strcmp(hInfo[housenumber][Renter], pname, true)) return SendClientMessage(playerid, c_r, "You aren't renting this house!");
  5911.  
  5912. dini_Set(str1, "Renter", "ForRent");
  5913. format(hInfo[housenumber][Renter], 24, "ForRent");
  5914. format(str1, sizeof(str1), "Houses/Users/%s", udb_encode(pname));
  5915. dini_IntSet(str1, "Rentid", -255);
  5916. SendClientMessage(playerid, c_y, "You have unrented this house!");
  5917. return 1;
  5918. }
  5919.  
  5920. CMD:house(playerid,params[])
  5921. {
  5922. #pragma unused params
  5923. SendClientMessage(playerid, c_y, "-------------");
  5924. SendClientMessage(playerid, c_y, "House options");
  5925. SendClientMessage(playerid, c_y, "-------------");
  5926. SendClientMessage(playerid, c_y, "/setrent [0/1] [Cost] - House owner");
  5927. SendClientMessage(playerid, c_y, "/ordercar [CarName] - House owner");
  5928. SendClientMessage(playerid, c_y, "/getrent - House owner");
  5929. SendClientMessage(playerid, c_y, "/lock - Renter/Owner");
  5930. SendClientMessage(playerid, c_y, "/unlock - Renter/Owner");
  5931. SendClientMessage(playerid, c_y, "/payrent - Renter");
  5932. SendClientMessage(playerid, c_y, "/unrent - Renter");
  5933. SendClientMessage(playerid, c_y, "/rent - Guest");
  5934. SendClientMessage(playerid, c_y, "-------------");
  5935. return 1;
  5936. }
  5937.  
  5938. CMD:housestats(playerid,params[])
  5939. {
  5940. #pragma unused params
  5941. new str[256],housenumber;
  5942. housenumber = GetHouseID(playerid);
  5943. format(str, sizeof(str), "Owner: %s", hInfo[housenumber][Name]);
  5944. SendClientMessage(playerid, c_y, str);
  5945. format(str, sizeof(str), "Cost: $%d", hInfo[housenumber][Cost]);
  5946. SendClientMessage(playerid, c_y, str);
  5947. format(str, sizeof(str), "Renter: %s", hInfo[housenumber][Renter]);
  5948. SendClientMessage(playerid, c_y, str);
  5949. format(str, sizeof(str), "Rentcost: $%d / hour", hInfo[housenumber][Rentcost]);
  5950. SendClientMessage(playerid, c_y, str);
  5951. return 1;
  5952. }
  5953.  
  5954. CMD:getrent(playerid,params[])
  5955. {
  5956. #pragma unused params
  5957. new pname[24],housenumber;
  5958. housenumber = GetHouseID(playerid);
  5959. GetPlayerName(playerid, pname, 24);
  5960. if(strcmp(hInfo[housenumber][Name],pname,true)==0)
  5961. {
  5962. new str[255];
  5963. SendClientMessage(playerid, c_y, "You collected the money of the renter!");
  5964. format(str, sizeof(str), "Houses/houseid%d", housenumber);
  5965. GivePlayerMoney(playerid, dini_Int(str, "RentGet"));
  5966. dini_IntSet(str, "RentGet", 0);
  5967. }
  5968. else
  5969. {
  5970. SendClientMessage(playerid, c_r, "This house isn't yours!");
  5971. }
  5972. return 1;
  5973. }
  5974.  
  5975. CMD:payrent(playerid,params[])
  5976. {
  5977. #pragma unused params
  5978. new pname[24],housenumber;
  5979. housenumber = GetHouseID(playerid);
  5980. GetPlayerName(playerid, pname, 24);
  5981. if(strcmp(hInfo[housenumber][Renter],pname,true)==0)
  5982. {
  5983. new str[255];
  5984. format(str, sizeof(str), "Houses/houseid%d", housenumber);
  5985. if(GetPlayerMoney(playerid)<dini_Int(str, "RentPay")) return SendClientMessage(playerid, c_r, "You don't have enough money to pay the house owner!");
  5986. SendClientMessage(playerid, c_y, "You have payed the money to the owner!");
  5987. GivePlayerMoney(playerid, -dini_Int(str, "RentPay"));
  5988. dini_IntSet(str, "RentPay", 0);
  5989. }
  5990. else
  5991. {
  5992. SendClientMessage(playerid, c_r, "You aren't renting this house!");
  5993. }
  5994. return 1;
  5995. }
  5996.  
  5997. AddHouse(houseid, Float:iconX, Float:iconY, Float:iconZ, Float:interiorX, Float:interiorY, Float:interiorZ, Costa, Sella, Interiora, virtualworld)
  5998. {
  5999. new house[256];
  6000. format(house, sizeof(house), "Houses/houseid%d",houseid);
  6001. if(!dini_Exists(house))
  6002. {
  6003. dini_Create(house);
  6004. format(hInfo[houseid][Name], 24, "ForSale");
  6005. dini_Set(house, "Name", "ForSale");
  6006. format(hInfo[houseid][Renter], 24, "ForRent");
  6007. dini_Set(house, "Renter", "ForRent");
  6008. hInfo[houseid][Rentable] = 0;
  6009. dini_IntSet(house, "Rentable", 0);
  6010. hInfo[houseid][Rentcost] = 0;
  6011. dini_IntSet(house, "Rentcost", 0);
  6012. hInfo[houseid][Cost] = Costa;
  6013. dini_IntSet(house, "Cost", Costa);
  6014. hInfo[houseid][Sell] = Sella;
  6015. dini_IntSet(house, "Sell", Sella);
  6016. hInfo[houseid][Interior] = Interiora;
  6017. dini_IntSet(house, "Interior", Interiora);
  6018. dini_IntSet(house, "Virtualworld", virtualworld);
  6019. hInfo[houseid][Virtualworld] = virtualworld;
  6020. hInfo[houseid][Locked] = 1;
  6021. dini_IntSet(house, "Locked", 1);
  6022. hInfo[houseid][InteriorX] = interiorX;
  6023. hInfo[houseid][InteriorY] = interiorY;
  6024. hInfo[houseid][InteriorZ] = interiorZ;
  6025. dini_FloatSet(house, "X", interiorX);
  6026. dini_FloatSet(house, "Y", interiorY);
  6027. dini_FloatSet(house, "Z", interiorZ);
  6028. dini_IntSet(house, "RentPay", 0);
  6029. dini_IntSet(house, "RentGet", 0);
  6030. cInfo[houseid][HouseCar] = 429;
  6031. dini_IntSet(house, "HouseCar", 0);
  6032. cInfo[houseid][CarModel] = 429;
  6033. dini_IntSet(house, "CarModel", 0);
  6034. cInfo[houseid][CarX] = 0;
  6035. cInfo[houseid][CarY] = 0;
  6036. cInfo[houseid][CarZ] = 0;
  6037. dini_FloatSet(house, "CarX", 0);
  6038. dini_FloatSet(house, "CarY", 0);
  6039. dini_FloatSet(house, "CarZ", 0);
  6040. cInfo[houseid][CarColor1] = 0;
  6041. cInfo[houseid][CarColor2] = 0;
  6042. dini_IntSet(house, "CarColor1", 0);
  6043. dini_IntSet(house, "CarColor2", 0);
  6044. cInfo[houseid][GotCar] = 0;
  6045. print("-");
  6046. print("--------------House Created--------------");
  6047. printf("- Houseid: %d", houseid);
  6048. printf("- Buy Cost: %d", Costa);
  6049. printf("- Sell Cost: %d", Sella);
  6050. printf("- Interior: %d", Interiora);
  6051. printf("- VirtualWorld: %d", virtualworld);
  6052. print("-----------------------------------------");
  6053. print("-");
  6054. }
  6055. else
  6056. {
  6057. format(hInfo[houseid][Name], 24, dini_Get(house, "Name"));
  6058. format(hInfo[houseid][Renter], 24, dini_Get(house, "Renter"));
  6059. hInfo[houseid][Rentable] = dini_Int(house, "Rentable");
  6060. hInfo[houseid][Rentcost] = dini_Int(house, "Rentcost");
  6061. hInfo[houseid][Cost] = dini_Int(house, "Cost");
  6062. hInfo[houseid][Sell] = dini_Int(house, "Sell");
  6063. hInfo[houseid][Interior] = dini_Int(house, "Interior");
  6064. hInfo[houseid][Locked] = dini_Int(house, "Locked");
  6065. hInfo[houseid][InteriorX] = dini_Float(house, "X");
  6066. hInfo[houseid][InteriorY] = dini_Float(house, "Y");
  6067. hInfo[houseid][InteriorZ] = dini_Float(house, "Z");
  6068. hInfo[houseid][Virtualworld] = dini_Int(house, "Virtualworld");
  6069. }
  6070. hInfo[houseid][iconx]=iconX;
  6071. hInfo[houseid][icony]=iconY;
  6072. hInfo[houseid][iconz]=iconZ;
  6073. format(house, sizeof(house), "Houses/houseid%d",houseid);
  6074. if(strcmp(hInfo[houseid][Name],"ForSale",true)==0)
  6075. {
  6076. HousePickup[houseid] = CreateDynamicPickup(1273, 23, iconX, iconY, iconZ, -1, 0, -1,100.0);
  6077. }
  6078. else
  6079. {
  6080. HousePickup[houseid] = CreateDynamicPickup(1272, 23, iconX, iconY, iconZ, -1, 0, -1,100.0);
  6081. }
  6082. }
  6083.  
  6084. AddHouseCar(houseid, modelid, Float:Carx, Float:Cary, Float:Carz, color1, color2, respawn_delay)
  6085. {
  6086. new house[256];
  6087. format(house, sizeof(house), "Houses/houseid%d",houseid);
  6088. if(dini_Exists(house))
  6089. {
  6090. cInfo[houseid][GotCar] = 1;
  6091. if(dini_Int(house, "CarModel")==0)
  6092. {
  6093. dini_IntSet(house, "CarModel", modelid);
  6094. cInfo[houseid][CarModel] = modelid;
  6095. cInfo[houseid][CarX] = Carx;
  6096. cInfo[houseid][CarY] = Cary;
  6097. cInfo[houseid][CarZ] = Carz;
  6098. dini_FloatSet(house, "CarX", Carx);
  6099. dini_FloatSet(house, "CarY", Cary);
  6100. dini_FloatSet(house, "CarZ", Carz);
  6101. cInfo[houseid][CarColor1] = color1;
  6102. cInfo[houseid][CarColor2] = color2;
  6103. dini_IntSet(house, "CarColor1", color1);
  6104. dini_IntSet(house, "CarColor2", color2);
  6105. dini_IntSet(house, "Respawn_Delay", respawn_delay);
  6106. cInfo[houseid][Respawn_Delay] = respawn_delay;
  6107. cInfo[houseid][HouseCar] = CreateVehicle(cInfo[houseid][CarModel], Carx, Cary, Carz, 0.0, color1, color2, respawn_delay);
  6108. print("-");
  6109. print("--------------Car Created--------------");
  6110. printf("- Car Houseid: %d", houseid);
  6111. printf("- Modelid: %d", modelid);
  6112. printf("- Color 1: %d", color1);
  6113. printf("- Color 2: %d", color2);
  6114. printf("- Respawn Delay: %d", respawn_delay);
  6115. print("---------------------------------------");
  6116. print("-");
  6117. }
  6118. else
  6119. {
  6120. cInfo[houseid][CarModel] = dini_Int(house, "CarModel");
  6121. }
  6122. cInfo[houseid][CarX] = dini_Int(house, "CarX");
  6123. cInfo[houseid][CarY] = dini_Int(house, "CarY");
  6124. cInfo[houseid][CarZ] = dini_Int(house, "CarZ");
  6125. cInfo[houseid][CarColor1] = dini_Int(house, "CarColor1");
  6126. cInfo[houseid][CarColor2] = dini_Int(house, "CarColor2");
  6127. cInfo[houseid][Respawn_Delay] = dini_Int(house, "Respawn_Delay");
  6128. cInfo[houseid][HouseCar] = CreateVehicle(cInfo[houseid][CarModel], Carx, Cary, Carz, 0.0, color1, color2, respawn_delay);
  6129. }
  6130. }
  6131.  
  6132. stock SpawnPlayerAtHouse(playerid)
  6133. {
  6134. new str1[256],pname[24],str[256];
  6135. GetPlayerName(playerid, pname, sizeof(pname));
  6136. format(str1, sizeof(str1), "Houses/Users/%s", udb_encode(pname));
  6137. if (dini_Exists(str1))
  6138. {
  6139. if(dini_Int(str1,"Houseid")!=-255)
  6140. {
  6141. new Float:x,Float:y,Float:z;
  6142. str = dini_Get(str1,"SpawnInt");
  6143. SetPlayerInterior(playerid, strval(str));
  6144. playerinterior[playerid] = strval(str);
  6145. x = dini_Float(str1,"SpawnX");
  6146. y = dini_Float(str1,"SpawnY");
  6147. z = dini_Float(str1,"SpawnZ");
  6148. SetPlayerPos(playerid, x, y, z);
  6149. }
  6150. }
  6151. return 1;
  6152. }
  6153.  
  6154. stock AddHouseFromFile(DFileName[])
  6155. {
  6156. if(!fexist(DFileName)) return 0;
  6157.  
  6158. new File:HouseFile, Float:HX, Float:HY, Float:HZ, Float:HIX, Float:HIY, Float:HIZ, HVW, HINT,hCost,hSell, hId, hTotal, Line[128];
  6159.  
  6160. HouseFile = fopen(DFileName, io_read);
  6161. while(fread(HouseFile, Line))
  6162. {
  6163. if(Line[0] == '/' || isnull(Line)) continue;
  6164. unformat(Line, "ffffffiiiii", HX, HY, HZ, HIX, HIY, HIZ, HVW, HINT, hCost, hSell, hId);
  6165. AddHouse(hId, Float:HX, Float:HY, Float:HZ, Float:HIX, Float:HIY, Float:HIZ, hCost, hSell, HINT, HVW);
  6166. hTotal++;
  6167. }
  6168. fclose(HouseFile);
  6169. return hTotal;
  6170. }
  6171.  
  6172. stock AddHouseToFile(DFileName[], Float:HX, Float:HY, Float:HZ, Float:HIX, Float:HIY, Float:HIZ, HVW, HINT, hCost, hSell, hId)
  6173. {
  6174. new File:HouseFile, Line[128];
  6175.  
  6176. format(Line, sizeof(Line), "AddHouse(%i, %f, %f, %f, %f, %f, %f, %i, %i, %i, %i)\r\n", hId, HX, HY, HZ, HIX, HIY, HIZ, hCost, hSell, HINT, HVW);
  6177. HouseFile = fopen(DFileName, io_append);
  6178. fwrite(HouseFile, Line);
  6179. fclose(HouseFile);
  6180. return 1;
  6181. }
  6182.  
  6183. COMMAND:chelp(playerid, params[])
  6184. {
  6185. if(WorldInfo[playerid][AdminLevel] >= 10)
  6186. {
  6187. SendClientMessage(playerid, COLOR_ORANGE, "Creating a house commands");
  6188. SendClientMessage(playerid, COLOR_ORANGE, "/createhouse1 (Big type of int 9 of these) /createhouse2 (Mansion int / beach house 3 of these)");
  6189. SendClientMessage(playerid, COLOR_ORANGE, "/createhouse3 (Big Gang type of house)");
  6190. }
  6191. else {
  6192. SendClientMessage(playerid, COLOR_RED, "Error: You are not an admin with level 10");
  6193. }
  6194. return 1;
  6195. }
  6196.  
  6197. COMMAND:createhouse1(playerid, params[])
  6198. {
  6199. new hId, hCost, hSell, HINT, HVW;
  6200. if(WorldInfo[playerid][AdminLevel] >= 10)
  6201. {
  6202. if(!sscanf(params, "iiii", hId, hCost, hSell, HVW))
  6203. {
  6204. if(hId >= 0 && hId <= 11000)
  6205. {
  6206. if(hCost >= 0 && hCost <= 9000000)
  6207. {
  6208. if(hSell >= 0 && hSell <= 9000000)
  6209. {
  6210. new Float:HX, Float:HY, Float:HZ, Float:HIX, Float:HIY, Float:HIZ;
  6211. GetPlayerPos(playerid, HX, HY, HZ);
  6212. HIX = 247.7055;
  6213. HIY = 1637.7229;
  6214. HIZ = -13.6428;
  6215. HINT = 1;
  6216. AddHouse(hId, Float:HX, Float:HY, Float:HZ, Float:HIX, Float:HIY, Float:HIZ, hCost, hSell, HINT, HVW);
  6217. AddHouseToFile(HOUSE_FILE_NAME, HX, HY, HZ, HIX, HIY, HIZ, HVW, HINT, hCost, hSell, hId);
  6218. SendClientMessage(playerid, 0xD8D8D8FF, "House Created and saved.");
  6219. return 1;
  6220. }
  6221. else return SendClientMessage(playerid, 0xD8D8D8FF, "Only sell between 1 and 9000000 are avaliable.");
  6222. }
  6223. else return SendClientMessage(playerid, 0xD8D8D8FF, "Only cost prices between 1 and 9000000 are avaliable.");
  6224. }
  6225. else return SendClientMessage(playerid, 0xD8D8D8FF, "Only id's between 1 and 11000 are avaliable.");
  6226. }
  6227. else return SendClientMessage(playerid, 0xD8D8D8FF, "USAGE: /createhouse1[hId][hCost][hSell][VW]");
  6228. }
  6229. else return SendClientMessage(playerid, 0xD8D8D8FF, "You are not an which is level 10.");
  6230. }
  6231.  
  6232. COMMAND:createhouse2(playerid, params[])
  6233. {
  6234. new hId, hCost, hSell, HINT, HVW;
  6235. if(WorldInfo[playerid][AdminLevel] >= 10)
  6236. {
  6237. if(!sscanf(params, "iiii", hId, hCost, hSell, HVW))
  6238. {
  6239. if(hId >= 0 && hId <= 11000)
  6240. {
  6241. if(hCost >= 0 && hCost <= 9000000)
  6242. {
  6243. if(hSell >= 0 && hSell <= 9000000)
  6244. {
  6245. new Float:HX, Float:HY, Float:HZ, Float:HIX, Float:HIY, Float:HIZ;
  6246. GetPlayerPos(playerid, HX, HY, HZ);
  6247. HIX = 219.3650;
  6248. HIY = 1557.2015;
  6249. HIZ = -30.8658;
  6250. HINT = 1;
  6251. AddHouse(hId, Float:HX, Float:HY, Float:HZ, Float:HIX, Float:HIY, Float:HIZ, hCost, hSell, HINT, HVW);
  6252. AddHouseToFile(HOUSE_FILE_NAME, HX, HY, HZ, HIX, HIY, HIZ, HVW, HINT, hCost, hSell, hId);
  6253. SendClientMessage(playerid, 0xD8D8D8FF, "House Created and saved.");
  6254. return 1;
  6255. }
  6256. else return SendClientMessage(playerid, 0xD8D8D8FF, "Only sell between 1 and 9000000 are avaliable.");
  6257. }
  6258. else return SendClientMessage(playerid, 0xD8D8D8FF, "Only cost prices between 1 and 9000000 are avaliable.");
  6259. }
  6260. else return SendClientMessage(playerid, 0xD8D8D8FF, "Only id's between 1 and 11000 are avaliable.");
  6261. }
  6262. else return SendClientMessage(playerid, 0xD8D8D8FF, "USAGE: /createhouse2[hId][hCost][hSell][VW]");
  6263. }
  6264. else return SendClientMessage(playerid, 0xD8D8D8FF, "You are not admin level 10.");
  6265. }
  6266.  
  6267. COMMAND:createhouse3(playerid, params[])
  6268. {
  6269. new hId, hCost, hSell, HINT, HVW;
  6270. if(WorldInfo[playerid][AdminLevel] >= 10)
  6271. {
  6272. if(!sscanf(params, "iiii", hId, hCost, hSell, HVW))
  6273. {
  6274. if(hId >= 0 && hId <= 11000)
  6275. {
  6276. if(hCost >= 0 && hCost <= 9000000)
  6277. {
  6278. if(hSell >= 0 && hSell <= 9000000)
  6279. {
  6280. new Float:HX, Float:HY, Float:HZ, Float:HIX, Float:HIY, Float:HIZ;
  6281. GetPlayerPos(playerid, HX, HY, HZ);
  6282. HIX = 273.0248;
  6283. HIY = 1551.9502;
  6284. HIZ = -42.7530;
  6285. HINT = 1;
  6286. AddHouse(hId, Float:HX, Float:HY, Float:HZ, Float:HIX, Float:HIY, Float:HIZ, hCost, hSell, HINT, HVW);
  6287. AddHouseToFile(HOUSE_FILE_NAME, HX, HY, HZ, HIX, HIY, HIZ, HVW, HINT, hCost, hSell, hId);
  6288. SendClientMessage(playerid, 0xD8D8D8FF, "House Created and saved.");
  6289. return 1;
  6290. }
  6291. else return SendClientMessage(playerid, 0xD8D8D8FF, "Only sell between 1 and 9000000 are avaliable.");
  6292. }
  6293. else return SendClientMessage(playerid, 0xD8D8D8FF, "Only cost prices between 1 and 9000000 are avaliable.");
  6294. }
  6295. else return SendClientMessage(playerid, 0xD8D8D8FF, "Only id's between 1 and 11000 are avaliable.");
  6296. }
  6297. else return SendClientMessage(playerid, 0xD8D8D8FF, "USAGE: /createbighouse[hId][hCost][hSell][VW]");
  6298. }
  6299. else return SendClientMessage(playerid, 0xD8D8D8FF, "You are not an admin with level 10");
  6300. }
  6301.  
  6302. COMMAND:giveplayercar(playerid, params[])
  6303. {
  6304. if(WorldInfo[playerid][AdminLevel] >= 7)
  6305. {
  6306. new carid;
  6307. new id;
  6308. if(!sscanf(params, "ii", id, carid))
  6309. {
  6310. if(IsPlayerConnected(id))
  6311. {
  6312. if(carid >= 400 && carid <= 611)
  6313. {
  6314. new Float:XZ, Float:YZ, Float:ZZ;
  6315. GetPlayerPos(playerid, XZ, YZ, ZZ);
  6316. SetVehicleVirtualWorld( CreatePlayerVehicle(id, carid, XZ+4, YZ, ZZ, 10), GetPlayerVirtualWorld(id));
  6317. SendClientMessage(playerid, 0xD8D8D8FF, "Vehicle Spawned");
  6318. new string[64];
  6319. new name[MAX_PLAYER_NAME], PName[MAX_PLAYER_NAME];
  6320. GetPlayerName(playerid, name, sizeof(name));
  6321. GetPlayerName(id, PName, sizeof(PName));
  6322. format(string, sizeof(string), "%s has given You Vehicle %d", name, carid);
  6323. SendClientMessage(id, 0xD8D8D8FF, string);
  6324. format(string, sizeof(string), "You gave vehicle %d to %s .", carid, PName);
  6325. SendClientMessage(playerid, 0xD8D8D8FF, string);
  6326. return 1;
  6327. }
  6328. else return SendClientMessage(playerid, 0xD8D8D8FF, "Only car id's between 400 and 611 are avaliable.");
  6329. }
  6330. else return SendClientMessage(playerid, 0xD8D8D8FF, "Player not connected.");
  6331. }
  6332. else return SendClientMessage(playerid, 0xD8D8D8FF, "USAGE: /giveplayercar [playerid] [carid]");
  6333. }
  6334. else return SendClientMessage(playerid, 0xD8D8D8FF, "You are not allowed to use this command.");
  6335. }
  6336.  
  6337. COMMAND:removestuntplayer(playerid, params[])
  6338. {
  6339. if(WorldInfo[playerid][AdminLevel] >= 7)
  6340. {
  6341. new name[MAX_PLAYER_NAME];
  6342. new reason[128];
  6343. new string[128];
  6344. if(!sscanf(params, "ss", name, reason))
  6345. {
  6346. new sfile[256], dfile[256];
  6347. format(sfile, sizeof(sfile), STUNT_USER_FILE, name);
  6348. format(dfile, sizeof(dfile), DONATION_USER_FILE, name);
  6349. if(dini_Exists(sfile))
  6350. {
  6351. dini_Remove(sfile);
  6352. SendClientMessage(playerid, COLOR_ORANGE, "Server: User Succesfully removed.");
  6353. format(string, sizeof(string), "Admin %s: Has Removed Stunt User %s for %s.", GetName(playerid), name, reason);
  6354. SendClientMessageToAll(COLOR_ORANGE, string);
  6355. }
  6356. if(IsPlayerConnected(GetPlayerId(name)))
  6357. {
  6358. RPAccountInfo[playerid][rHasSpawned] = 0;
  6359. RPAccountInfo[playerid][rSSkin] = 0;
  6360. StuntAccountInfo[playerid][pPskin] = 0;
  6361. StuntAccountInfo[playerid][pHasSpawned] = 0;
  6362. SetSpawnInfo(playerid, 0, 0, 1958.3783, 1343.1572, 15.3746, 90, 0, 0, 0, 0, 0, 0);
  6363. SendClientMessage(playerid, COLOR_ORANGE, "Your Account has been Removed, You have been sent to the main menu");
  6364. SpawnPlayer(playerid);
  6365. SelectTextDraw(playerid, 0x0022ffFF); // Allow the player to select textdraws.
  6366. }
  6367. if(dini_Exists(dfile))
  6368. {
  6369. dini_Remove(dfile);
  6370. return 1;
  6371. }
  6372. else return SendClientMessage(playerid, COLOR_RED, "That File Name Does not exist.");
  6373. }
  6374. else return SendClientMessage(playerid, COLOR_RED, "Usage: removestuntplayer[name");
  6375. }
  6376. else return SendClientMessage(playerid, 0xD8D8D8FF, "You are not allowed to use this command.");
  6377. }
  6378.  
  6379. COMMAND:removeroleplayplayer(playerid, params[])
  6380. {
  6381. if(WorldInfo[playerid][AdminLevel] >= 7)
  6382. {
  6383. new name[MAX_PLAYER_NAME];
  6384. new reason[128];
  6385. new string[128];
  6386. if(!sscanf(params, "ss", name, reason))
  6387. {
  6388. new rpfile[256], dfile[256];
  6389. format(rpfile, sizeof(rpfile), ROLEPLAY_USER_FILE, name);
  6390. format(dfile, sizeof(dfile), DONATION_USER_FILE, name);
  6391. if(dini_Exists(rpfile))
  6392. {
  6393. dini_Remove(rpfile);
  6394. SendClientMessage(playerid, COLOR_ORANGE, "Account Removed.");
  6395. format(string, sizeof(string), "Admin %s: Has Removed RP User %s for %s.", GetName(playerid), name, reason);
  6396. SendClientMessageToAll(COLOR_ORANGE, string);
  6397. }
  6398. if(IsPlayerConnected(GetPlayerId(name)))
  6399. {
  6400. RPAccountInfo[playerid][rHasSpawned] = 0;
  6401. RPAccountInfo[playerid][rSSkin] = 0;
  6402. StuntAccountInfo[playerid][pPskin] = 0;
  6403. StuntAccountInfo[playerid][pHasSpawned] = 0;
  6404. SetSpawnInfo(playerid, 0, 0, 1958.3783, 1343.1572, 15.3746, 90, 0, 0, 0, 0, 0, 0);
  6405. SpawnPlayer(playerid);
  6406. SendClientMessage(playerid, COLOR_ORANGE, "Your Account has been Removed, You have been sent to the main menu");
  6407. SelectTextDraw(playerid, 0x0022ffFF); // Allow the player to select textdraws.
  6408. }
  6409. if(dini_Exists(dfile))
  6410. {
  6411. dini_Remove(dfile);
  6412. return 1;
  6413. }
  6414. else return SendClientMessage(playerid, COLOR_RED, "That File Name Does not exist.");
  6415. }
  6416. else return SendClientMessage(playerid, COLOR_RED, "Usage: removestuntplayer[name][reason]");
  6417. }
  6418. else return SendClientMessage(playerid, 0xD8D8D8FF, "You are not allowed to use this command.");
  6419. }
  6420.  
  6421. //furniture system
  6422. public OnPlayerEditObject(playerid, playerobject, objectid, response, Float:fX, Float:fY, Float:fZ, Float:fRotX, Float:fRotY, Float:fRotZ)
  6423. {
  6424. new Float:oldX, Float:oldY, Float:oldZ,
  6425. Float:oldRotX, Float:oldRotY, Float:oldRotZ;
  6426. GetObjectPos(objectid, oldX, oldY, oldZ);
  6427. GetObjectRot(objectid, oldRotX, oldRotY, oldRotZ);
  6428. new Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ, OVW, OINT;
  6429. if(!playerobject) // If this is a global object, move it for other players
  6430. {
  6431. if(!IsValidObject(objectid)) return;
  6432. MoveObject(objectid, fX, fY, fZ, 10.0, fRotX, fRotY, fRotZ);
  6433. }
  6434.  
  6435. if(response == EDIT_RESPONSE_FINAL)
  6436. {
  6437. new string[254];
  6438. OVW = GetPlayerVirtualWorld(playerid);
  6439. OINT = GetPlayerInterior(playerid);
  6440. GetObjectPos(objectid, OX, OY, OZ);
  6441. GetObjectRot(objectid, ORX, ORY, ORZ);
  6442. AddObjectToFile(OBJECT_FILE_NAME, OX, OY, OZ, ORX, ORY, ORZ, OVW, OINT);
  6443. SendClientMessage(playerid, COLOR_BLUE, "Object Saved, Please add more if you wish");
  6444. format(string, sizeof(string), "Object model %i spawned at %f, %f, %f, with rotation %f, %f, %f,", oModel, OX, OY, OZ, ORX, ORY, ORZ);
  6445. SendClientMessage(playerid, 0xD8D8D8FF, string);
  6446. format(string, sizeof(string), "Object world %i interior id %i", OVW, OINT);
  6447. SendClientMessage(playerid, 0xD8D8D8FF, string);
  6448. CreateDynamicObject(oModel, Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ, OVW, OINT, -1, 200.0);
  6449. DestroyObject(Object);
  6450. }
  6451.  
  6452. if(response == EDIT_RESPONSE_CANCEL)
  6453. {
  6454. //The player cancelled, so put the object back to it's old position
  6455. if(!playerobject) //Object is not a playerobject
  6456. {
  6457. SetObjectPos(objectid, oldX, oldY, oldZ);
  6458. SetObjectRot(objectid, oldRotX, oldRotY, oldRotZ);
  6459. }
  6460. else
  6461. {
  6462. SetPlayerObjectPos(playerid, objectid, oldX, oldY, oldZ);
  6463. SetPlayerObjectRot(playerid, objectid, oldRotX, oldRotY, oldRotZ);
  6464. }
  6465. }
  6466. }
  6467.  
  6468. CMD:furniture(playerid, params[])
  6469. {
  6470. ShowPlayerDialog(playerid, 509, DIALOG_STYLE_LIST, "Furniture", "Chairs\nBeds\nTables\nTvs\nCabinets\nFuns tuff\n", "Ok", "Cancel");
  6471. return 1;
  6472. }
  6473.  
  6474. CMD:vw(playerid, params[])
  6475. {
  6476. SetPlayerVirtualWorld(playerid, 0);
  6477. return 1;
  6478. }
  6479.  
  6480. CMD:fhelp(playerid, params[])
  6481. {
  6482. SendClientMessage(playerid, COLOR_ORANGE, "This system was scripted by jueix, Type /furniture to plant furniture in your house");
  6483. SendClientMessage(playerid, COLOR_ORANGE, "If the furniture is not in /furniture that you want please type /fplant then the object id.");
  6484. SendClientMessage(playerid, COLOR_ORANGE, "Thank you for using Jueix's furniture system.");
  6485. return 1;
  6486. }
  6487.  
  6488. stock AddObjectFromFile(DFileName[])
  6489. {
  6490. if(!fexist(DFileName)) return 0;
  6491.  
  6492. new File:ObjectFile, Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ, OVW, OINT, oTotal, Line[128];
  6493.  
  6494. ObjectFile = fopen(DFileName, io_read);
  6495. while(fread(ObjectFile, Line))
  6496. {
  6497. if(Line[0] == '/' || isnull(Line)) continue;
  6498. unformat(Line, "ffffffiii", OX, OY, OZ, ORX, ORY, ORZ, OVW, OINT, oModel);
  6499. CreateDynamicObject(oModel, Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ, OVW, OINT, -1, 200.0);
  6500. oTotal++;
  6501. }
  6502. fclose(ObjectFile);
  6503. return oTotal;
  6504. }
  6505.  
  6506. stock AddObjectToFile(DFileName[], Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ, OVW, OINT)
  6507. {
  6508. new File:ObjectFile, Line[128];
  6509.  
  6510. format(Line, sizeof(Line), "%f %f %f %f %f %f %i %i %i\r\n", OX, OY, OZ, ORX, ORY, ORZ, OVW, OINT, oModel);
  6511. ObjectFile = fopen(DFileName, io_append);
  6512. fwrite(ObjectFile, Line);
  6513. fclose(ObjectFile);
  6514. return 1;
  6515. }
  6516.  
  6517. //attach system
  6518. stock RemovePlayerWeapon(playerid, weaponid)
  6519. {
  6520. new weapons[12] = 0;
  6521. new ammo[12] = 0;
  6522. for (new i = 0; i < 13; i += 1)
  6523. {
  6524. new weapon, ammo2;
  6525. GetPlayerWeaponData(playerid, i, weapon, ammo2);
  6526. if ((weapon != weaponid) && (ammo2 > 0)) GetPlayerWeaponData(playerid, i, weapons[i], ammo[i]);
  6527. }
  6528. ResetPlayerWeapons(playerid);
  6529. for (new i = 0; i < 13; i += 1)
  6530. {
  6531. if(weapons[i] > 0 && ammo[i] != 0) GivePlayerWeapon(playerid, weapons[i], ammo[i]);
  6532. }
  6533. return 1;
  6534. }
  6535.  
  6536. stock GetWeaponNameEx(weaponid, weapon[], len)
  6537. {
  6538. GetWeaponName(weaponid, weapon, len);
  6539. if (weaponid == 0) format(weapon, 24, "None");
  6540. if (weaponid == 18) format(weapon, 24, "Molotov");
  6541. if (weaponid == 44) format(weapon, 24, "Nightvision Goggles");
  6542. if (weaponid == 45) format(weapon, 24, "Infrared Goggles");
  6543. return 1;
  6544. }
  6545.  
  6546. stock GetWeaponModel(weaponid)
  6547. {
  6548. switch(weaponid)
  6549. {
  6550. case 1:
  6551. return 331;
  6552.  
  6553. case 2..8:
  6554. return weaponid+331;
  6555.  
  6556. case 9:
  6557. return 341;
  6558.  
  6559. case 10..15:
  6560. return weaponid+311;
  6561.  
  6562. case 16..18:
  6563. return weaponid+326;
  6564.  
  6565. case 22..29:
  6566. return weaponid+324;
  6567.  
  6568. case 30,31:
  6569. return weaponid+325;
  6570.  
  6571. case 32:
  6572. return 372;
  6573.  
  6574. case 33..45:
  6575. return weaponid+324;
  6576.  
  6577. case 46:
  6578. return 371;
  6579. }
  6580. return 0;
  6581. }
  6582.  
  6583. //admin shit with different world chat system
  6584. stock GetName(playerid)
  6585. {
  6586. new
  6587. name[24];
  6588. GetPlayerName(playerid, name, sizeof(name));
  6589. return name;
  6590. }
  6591.  
  6592. stock ProxDetector(Float:radi, playerid, string[],color)
  6593. {
  6594. new Float:x,Float:y,Float:z;
  6595. GetPlayerPos(playerid,x,y,z);
  6596. foreach(Player,i)
  6597. {
  6598. if(IsPlayerInRangeOfPoint(i,radi,x,y,z) && WorldInfo[i][pWorld] == 1)
  6599. {
  6600. SendClientMessage(i,color,string);
  6601. }
  6602. }
  6603. }
  6604.  
  6605. forward SendMessageToStuntAdmins(color,const string[]);
  6606. public SendMessageToStuntAdmins(color,const string[]) //create the callback, including color and string
  6607. {
  6608. for(new i = 0; i < MAX_PLAYERS; i++) //set a for-loop and loop through all the admins
  6609. {
  6610. if(IsPlayerConnected(i) == 1) //the admin gotta be connected
  6611. if(WorldInfo[i][pWorld] == 2)
  6612. if(WorldInfo[i][AdminLevel] >= 1) //and his level gotta be at least 1 (or higher)
  6613. SendClientMessage(i, color, string); //send this message now to every admin online, with color + string!
  6614. }
  6615. return 1;
  6616. }
  6617.  
  6618. forward SendMessageToRPAdmins(color,const string[]);
  6619. public SendMessageToRPAdmins(color,const string[]) //create the callback, including color and string
  6620. {
  6621. for(new i = 0; i < MAX_PLAYERS; i++) //set a for-loop and loop through all the admins
  6622. {
  6623. if(IsPlayerConnected(i) == 1) //the admin gotta be connected
  6624. if(WorldInfo[i][pWorld] == 1)
  6625. if(WorldInfo[i][AdminLevel] >= 1) //and his level gotta be at least 1 (or higher)
  6626. SendClientMessage(i, color, string); //send this message now to every admin online, with color + string!
  6627. }
  6628. return 1;
  6629. }
  6630.  
  6631. //vehicle system
  6632. stock PlayerName(playerid, bool:show_underscore = true)
  6633. {
  6634. new pName[24];
  6635. GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
  6636. if (show_underscore == false)
  6637. {
  6638. for (new i = 0; i < strlen(pName); i += 1)
  6639. {
  6640. if (pName[i] == '_') pName[i] = ' ';
  6641. }
  6642. }
  6643. return pName;
  6644. }
  6645.  
  6646. stock DB_Escape(text[])
  6647. {
  6648. new
  6649. ret[80 * 2],
  6650. ch,
  6651. i,
  6652. j;
  6653. while ((ch = text[i++]) && j < sizeof (ret))
  6654. {
  6655. if (ch == '\'')
  6656. {
  6657. if (j < sizeof (ret) - 2)
  6658. {
  6659. ret[j++] = '\'';
  6660. ret[j++] = '\'';
  6661. }
  6662. }
  6663. else if (j < sizeof (ret))
  6664. {
  6665. ret[j++] = ch;
  6666. }
  6667. else
  6668. {
  6669. j++;
  6670. }
  6671. }
  6672. ret[sizeof (ret) - 1] = '\0';
  6673. return ret;
  6674. }
  6675.  
  6676. stock ReturnComponentSlot(componentid)
  6677. {
  6678. new i = 0;
  6679. for(i = 0; i < 20; i ++) { if(spoiler[i][0] == componentid) { return 1; } }
  6680. for(i = 0; i < 3; i ++) { if(nitro[i][0] == componentid) { return 2; } }
  6681. for(i = 0; i < 23; i ++) { if(front_bumper[i][0] == componentid) { return 3; } }
  6682. for(i = 0; i < 22; i ++) { if(rear_bumper[i][0] == componentid) { return 4; } }
  6683. for(i = 0; i < 28; i ++) { if(exhaust[i][0] == componentid) { return 5; } }
  6684. for(i = 0; i < 2; i ++) { if(bventr[i][0] == componentid) { return 6; } }
  6685. for(i = 0; i < 2; i ++) { if(bventl[i][0] == componentid) { return 7; } }
  6686. for(i = 0; i < 4; i ++) { if(bscoop[i][0] == componentid) { return 8; } }
  6687. for(i = 0; i < 13; i ++) { if(rscoop[i][0] == componentid) { return 9; } }
  6688. for(i = 0; i < 21; i ++) { if(left_sideskirt[i][0] == componentid) { return 10; } }
  6689. for(i = 0; i < 21; i ++) { if(right_sideskirt[i][0] == componentid) { return 11; } }
  6690. if(hydraulics[0][0] == componentid) { return 12; }
  6691. if(bass[0][0] == componentid) { return 13; }
  6692. for(i = 0; i < 2; i ++) { if(rbbars[i][0] == componentid) { return 14; } }
  6693. for(i = 0; i < 2; i ++) { if(fbbars[i][0] == componentid) { return 15; } }
  6694. for(i = 0; i < 17; i ++) { if(wheels[i][0] == componentid) { return 16; } }
  6695. for(i = 0; i < 2; i ++) { if(lights[i][0] == componentid) { return 17; } }
  6696. return 0;
  6697. }
  6698.  
  6699. stock GetVehicleName(vehicleid)
  6700. {
  6701. new
  6702. vehicle_name[32] = "None";
  6703. if((vehicleid == INVALID_VEHICLE_ID) || (vehicleid < 1 || (vehicleid > MAX_VEHICLES - 1))) return vehicle_name;
  6704. switch (GetVehicleModel(vehicleid))
  6705. {
  6706. case 400: vehicle_name = "Landstalker";
  6707. case 401: vehicle_name = "Bravura";
  6708. case 402: vehicle_name = "Buffalo";
  6709. case 403: vehicle_name = "Linerunner";
  6710. case 404: vehicle_name = "Perennial";
  6711. case 405: vehicle_name = "Sentinel";
  6712. case 406: vehicle_name = "Dumper";
  6713. case 407: vehicle_name = "Firetruck";
  6714. case 408: vehicle_name = "Trashmaster";
  6715. case 409: vehicle_name = "Stretch";
  6716. case 410: vehicle_name = "Manana";
  6717. case 411: vehicle_name = "Infernus";
  6718. case 412: vehicle_name = "Voodoo";
  6719. case 413: vehicle_name = "Pony";
  6720. case 414: vehicle_name = "Mule";
  6721. case 415: vehicle_name = "Cheetah";
  6722. case 416: vehicle_name = "Ambulance";
  6723. case 417: vehicle_name = "Leviathan";
  6724. case 418: vehicle_name = "Moonbeam";
  6725. case 419: vehicle_name = "Esperanto";
  6726. case 420: vehicle_name = "Taxi";
  6727. case 421: vehicle_name = "Washington";
  6728. case 422: vehicle_name = "Bobcat";
  6729. case 423: vehicle_name = "Mr Whoopee";
  6730. case 424: vehicle_name = "BF Injection";
  6731. case 425: vehicle_name = "Hunter";
  6732. case 426: vehicle_name = "Premier";
  6733. case 427: vehicle_name = "Enforcer";
  6734. case 428: vehicle_name = "Securicar";
  6735. case 429: vehicle_name = "Banshee";
  6736. case 430: vehicle_name = "Predator";
  6737. case 431: vehicle_name = "Bus";
  6738. case 432: vehicle_name = "Rhino";
  6739. case 433: vehicle_name = "Barracks";
  6740. case 434: vehicle_name = "Hotknife";
  6741. case 435: vehicle_name = "Article Trailer";
  6742. case 436: vehicle_name = "Previon";
  6743. case 437: vehicle_name = "Coach";
  6744. case 438: vehicle_name = "Cabbie";
  6745. case 439: vehicle_name = "Stallion";
  6746. case 440: vehicle_name = "Rumpo";
  6747. case 441: vehicle_name = "RC Bandit";
  6748. case 442: vehicle_name = "Romero";
  6749. case 443: vehicle_name = "Packer";
  6750. case 444: vehicle_name = "Monster";
  6751. case 445: vehicle_name = "Admiral";
  6752. case 446: vehicle_name = "Squalo";
  6753. case 447: vehicle_name = "Seasparrow";
  6754. case 448: vehicle_name = "Pizzaboy";
  6755. case 449: vehicle_name = "Tram";
  6756. case 450: vehicle_name = "Article Trailer 2";
  6757. case 451: vehicle_name = "Turismo";
  6758. case 452: vehicle_name = "Speeder";
  6759. case 453: vehicle_name = "Reefer";
  6760. case 454: vehicle_name = "Tropic";
  6761. case 455: vehicle_name = "Flatbed";
  6762. case 456: vehicle_name = "Yankee";
  6763. case 457: vehicle_name = "Caddy";
  6764. case 458: vehicle_name = "Solair";
  6765. case 459: vehicle_name = "Berkley's RC Van";
  6766. case 460: vehicle_name = "Skimmer";
  6767. case 461: vehicle_name = "PCJ-600";
  6768. case 462: vehicle_name = "Faggio";
  6769. case 463: vehicle_name = "Freeway";
  6770. case 464: vehicle_name = "RC Baron";
  6771. case 465: vehicle_name = "RC Raider";
  6772. case 466: vehicle_name = "Glendale";
  6773. case 467: vehicle_name = "Oceanic";
  6774. case 468: vehicle_name = "Sanchez";
  6775. case 469: vehicle_name = "Sparrow";
  6776. case 470: vehicle_name = "Patriot";
  6777. case 471: vehicle_name = "Quad";
  6778. case 472: vehicle_name = "Coastguard";
  6779. case 473: vehicle_name = "Dinghy";
  6780. case 474: vehicle_name = "Hermes";
  6781. case 475: vehicle_name = "Sabre";
  6782. case 476: vehicle_name = "Rustler";
  6783. case 477: vehicle_name = "ZR-350";
  6784. case 478: vehicle_name = "Walton";
  6785. case 479: vehicle_name = "Regina";
  6786. case 480: vehicle_name = "Comet";
  6787. case 481: vehicle_name = "BMX";
  6788. case 482: vehicle_name = "Burrito";
  6789. case 483: vehicle_name = "Camper";
  6790. case 484: vehicle_name = "Marquis";
  6791. case 485: vehicle_name = "Baggage";
  6792. case 486: vehicle_name = "Dozer";
  6793. case 487: vehicle_name = "Maverick";
  6794. case 488: vehicle_name = "SAN News Maverick";
  6795. case 489, 505: vehicle_name = "Rancher";
  6796. case 490: vehicle_name = "FBI Rancher";
  6797. case 491: vehicle_name = "Virgo";
  6798. case 492: vehicle_name = "Greenwood";
  6799. case 493: vehicle_name = "Jetmax";
  6800. case 494: vehicle_name = "Hotring Racer A";
  6801. case 495: vehicle_name = "Sandking";
  6802. case 496: vehicle_name = "Blista Compact";
  6803. case 497: vehicle_name = "Police Maverick";
  6804. case 498: vehicle_name = "Boxville";
  6805. case 499: vehicle_name = "Benson";
  6806. case 500: vehicle_name = "Mesa";
  6807. case 501: vehicle_name = "RC Goblin";
  6808. case 502: vehicle_name = "Hotring Racer B";
  6809. case 503: vehicle_name = "Hotring Racer C";
  6810. case 504: vehicle_name = "Bloodring Banger";
  6811. case 506: vehicle_name = "Super GT";
  6812. case 507: vehicle_name = "Elegant";
  6813. case 508: vehicle_name = "Journey";
  6814. case 509: vehicle_name = "Bike";
  6815. case 510: vehicle_name = "Mountain Bike";
  6816. case 511: vehicle_name = "Beagle";
  6817. case 512: vehicle_name = "Cropduster";
  6818. case 513: vehicle_name = "Stuntplane";
  6819. case 514: vehicle_name = "Tanker";
  6820. case 515: vehicle_name = "Roadtrain";
  6821. case 516: vehicle_name = "Nebula";
  6822. case 517: vehicle_name = "Majestic";
  6823. case 518: vehicle_name = "Buccaneer";
  6824. case 519: vehicle_name = "Shamal";
  6825. case 520: vehicle_name = "Hydra";
  6826. case 521: vehicle_name = "FCR-900";
  6827. case 522: vehicle_name = "NRG-500";
  6828. case 523: vehicle_name = "HPV1000";
  6829. case 524: vehicle_name = "Cement Truck";
  6830. case 525: vehicle_name = "Towtruck";
  6831. case 526: vehicle_name = "Fortune";
  6832. case 527: vehicle_name = "Cadrona";
  6833. case 528: vehicle_name = "FBI Truck";
  6834. case 529: vehicle_name = "Willard";
  6835. case 530: vehicle_name = "Forklift";
  6836. case 531: vehicle_name = "Tractor";
  6837. case 532: vehicle_name = "Combine Harvester";
  6838. case 533: vehicle_name = "Feltzer";
  6839. case 534: vehicle_name = "Remington";
  6840. case 535: vehicle_name = "Slamvan";
  6841. case 536: vehicle_name = "Blade";
  6842. case 537: vehicle_name = "Freight";
  6843. case 538: vehicle_name = "Brownstreak";
  6844. case 539: vehicle_name = "Vortex";
  6845. case 540: vehicle_name = "Vincent";
  6846. case 541: vehicle_name = "Bullet";
  6847. case 542: vehicle_name = "Clover";
  6848. case 543: vehicle_name = "Sadler";
  6849. case 544: vehicle_name = "Firetruck LA";
  6850. case 545: vehicle_name = "Hustler";
  6851. case 546: vehicle_name = "Intruder";
  6852. case 547: vehicle_name = "Primo";
  6853. case 548: vehicle_name = "Cargobob";
  6854. case 549: vehicle_name = "Tampa";
  6855. case 550: vehicle_name = "Sunrise";
  6856. case 551: vehicle_name = "Merit";
  6857. case 552: vehicle_name = "Utility Van";
  6858. case 553: vehicle_name = "Nevada";
  6859. case 554: vehicle_name = "Yosemite";
  6860. case 555: vehicle_name = "Windsor";
  6861. case 556: vehicle_name = "Monster A";
  6862. case 557: vehicle_name = "Monster B";
  6863. case 558: vehicle_name = "Uranus";
  6864. case 559: vehicle_name = "Jester";
  6865. case 560: vehicle_name = "Sultan";
  6866. case 561: vehicle_name = "Stratum";
  6867. case 562: vehicle_name = "Elegy";
  6868. case 563: vehicle_name = "Raindance";
  6869. case 564: vehicle_name = "RC Tiger";
  6870. case 565: vehicle_name = "Flash";
  6871. case 566: vehicle_name = "Tahoma";
  6872. case 567: vehicle_name = "Savanna";
  6873. case 568: vehicle_name = "Bandito";
  6874. case 569: vehicle_name = "Freight Flat Trailer";
  6875. case 570: vehicle_name = "Streak Trailer";
  6876. case 571: vehicle_name = "Kart";
  6877. case 572: vehicle_name = "Mower";
  6878. case 573: vehicle_name = "Dune";
  6879. case 574: vehicle_name = "Sweeper";
  6880. case 575: vehicle_name = "Broadway";
  6881. case 576: vehicle_name = "Tornado";
  6882. case 577: vehicle_name = "AT-400";
  6883. case 578: vehicle_name = "DFT-30";
  6884. case 579: vehicle_name = "Huntley";
  6885. case 580: vehicle_name = "Stafford";
  6886. case 581: vehicle_name = "BF-400";
  6887. case 582: vehicle_name = "Newsvan";
  6888. case 583: vehicle_name = "Tug";
  6889. case 584: vehicle_name = "Petrol Trailer";
  6890. case 585: vehicle_name = "Emperor";
  6891. case 586: vehicle_name = "Wayfarer";
  6892. case 587: vehicle_name = "Euros";
  6893. case 588: vehicle_name = "Hotdog";
  6894. case 589: vehicle_name = "Club";
  6895. case 590: vehicle_name = "Freight Box Trailer";
  6896. case 591: vehicle_name = "Article Trailer 3";
  6897. case 592: vehicle_name = "Andromada";
  6898. case 593: vehicle_name = "Dodo";
  6899. case 594: vehicle_name = "RC Cam";
  6900. case 595: vehicle_name = "Launch";
  6901. case 596: vehicle_name = "LSPD Cruiser";
  6902. case 597: vehicle_name = "SFPD Cruiser";
  6903. case 598: vehicle_name = "LVPD Cruiser";
  6904. case 599: vehicle_name = "Police Ranger";
  6905. case 600: vehicle_name = "Picador";
  6906. case 601: vehicle_name = "S.W.A.T.";
  6907. case 602: vehicle_name = "Alpha";
  6908. case 603: vehicle_name = "Phoenix";
  6909. case 604: vehicle_name = "Glendale Shit";
  6910. case 605: vehicle_name = "Sadler Shit";
  6911. case 606: vehicle_name = "Baggage Trailer A";
  6912. case 607: vehicle_name = "Baggage Trailer B";
  6913. case 608: vehicle_name = "Tug Stairs";
  6914. case 609: vehicle_name = "Boxville";
  6915. case 610: vehicle_name = "Farm Trailer";
  6916. case 611: vehicle_name = "Utility Trailer";
  6917. default: vehicle_name = "None";
  6918. }
  6919. return vehicle_name;
  6920. }
  6921.  
  6922. stock GetVehicleNameByModel(model)
  6923. {
  6924. new
  6925. vehicle_name[32] = "None";
  6926. if(model < 400 || model > 611) return vehicle_name;
  6927. switch (model)
  6928. {
  6929. case 400: vehicle_name = "Landstalker";
  6930. case 401: vehicle_name = "Bravura";
  6931. case 402: vehicle_name = "Buffalo";
  6932. case 403: vehicle_name = "Linerunner";
  6933. case 404: vehicle_name = "Perennial";
  6934. case 405: vehicle_name = "Sentinel";
  6935. case 406: vehicle_name = "Dumper";
  6936. case 407: vehicle_name = "Firetruck";
  6937. case 408: vehicle_name = "Trashmaster";
  6938. case 409: vehicle_name = "Stretch";
  6939. case 410: vehicle_name = "Manana";
  6940. case 411: vehicle_name = "Infernus";
  6941. case 412: vehicle_name = "Voodoo";
  6942. case 413: vehicle_name = "Pony";
  6943. case 414: vehicle_name = "Mule";
  6944. case 415: vehicle_name = "Cheetah";
  6945. case 416: vehicle_name = "Ambulance";
  6946. case 417: vehicle_name = "Leviathan";
  6947. case 418: vehicle_name = "Moonbeam";
  6948. case 419: vehicle_name = "Esperanto";
  6949. case 420: vehicle_name = "Taxi";
  6950. case 421: vehicle_name = "Washington";
  6951. case 422: vehicle_name = "Bobcat";
  6952. case 423: vehicle_name = "Mr Whoopee";
  6953. case 424: vehicle_name = "BF Injection";
  6954. case 425: vehicle_name = "Hunter";
  6955. case 426: vehicle_name = "Premier";
  6956. case 427: vehicle_name = "Enforcer";
  6957. case 428: vehicle_name = "Securicar";
  6958. case 429: vehicle_name = "Banshee";
  6959. case 430: vehicle_name = "Predator";
  6960. case 431: vehicle_name = "Bus";
  6961. case 432: vehicle_name = "Rhino";
  6962. case 433: vehicle_name = "Barracks";
  6963. case 434: vehicle_name = "Hotknife";
  6964. case 435: vehicle_name = "Article Trailer";
  6965. case 436: vehicle_name = "Previon";
  6966. case 437: vehicle_name = "Coach";
  6967. case 438: vehicle_name = "Cabbie";
  6968. case 439: vehicle_name = "Stallion";
  6969. case 440: vehicle_name = "Rumpo";
  6970. case 441: vehicle_name = "RC Bandit";
  6971. case 442: vehicle_name = "Romero";
  6972. case 443: vehicle_name = "Packer";
  6973. case 444: vehicle_name = "Monster";
  6974. case 445: vehicle_name = "Admiral";
  6975. case 446: vehicle_name = "Squalo";
  6976. case 447: vehicle_name = "Seasparrow";
  6977. case 448: vehicle_name = "Pizzaboy";
  6978. case 449: vehicle_name = "Tram";
  6979. case 450: vehicle_name = "Article Trailer 2";
  6980. case 451: vehicle_name = "Turismo";
  6981. case 452: vehicle_name = "Speeder";
  6982. case 453: vehicle_name = "Reefer";
  6983. case 454: vehicle_name = "Tropic";
  6984. case 455: vehicle_name = "Flatbed";
  6985. case 456: vehicle_name = "Yankee";
  6986. case 457: vehicle_name = "Caddy";
  6987. case 458: vehicle_name = "Solair";
  6988. case 459: vehicle_name = "Berkley's RC Van";
  6989. case 460: vehicle_name = "Skimmer";
  6990. case 461: vehicle_name = "PCJ-600";
  6991. case 462: vehicle_name = "Faggio";
  6992. case 463: vehicle_name = "Freeway";
  6993. case 464: vehicle_name = "RC Baron";
  6994. case 465: vehicle_name = "RC Raider";
  6995. case 466: vehicle_name = "Glendale";
  6996. case 467: vehicle_name = "Oceanic";
  6997. case 468: vehicle_name = "Sanchez";
  6998. case 469: vehicle_name = "Sparrow";
  6999. case 470: vehicle_name = "Patriot";
  7000. case 471: vehicle_name = "Quad";
  7001. case 472: vehicle_name = "Coastguard";
  7002. case 473: vehicle_name = "Dinghy";
  7003. case 474: vehicle_name = "Hermes";
  7004. case 475: vehicle_name = "Sabre";
  7005. case 476: vehicle_name = "Rustler";
  7006. case 477: vehicle_name = "ZR-350";
  7007. case 478: vehicle_name = "Walton";
  7008. case 479: vehicle_name = "Regina";
  7009. case 480: vehicle_name = "Comet";
  7010. case 481: vehicle_name = "BMX";
  7011. case 482: vehicle_name = "Burrito";
  7012. case 483: vehicle_name = "Camper";
  7013. case 484: vehicle_name = "Marquis";
  7014. case 485: vehicle_name = "Baggage";
  7015. case 486: vehicle_name = "Dozer";
  7016. case 487: vehicle_name = "Maverick";
  7017. case 488: vehicle_name = "SAN News Maverick";
  7018. case 489, 505: vehicle_name = "Rancher";
  7019. case 490: vehicle_name = "FBI Rancher";
  7020. case 491: vehicle_name = "Virgo";
  7021. case 492: vehicle_name = "Greenwood";
  7022. case 493: vehicle_name = "Jetmax";
  7023. case 494: vehicle_name = "Hotring Racer A";
  7024. case 495: vehicle_name = "Sandking";
  7025. case 496: vehicle_name = "Blista Compact";
  7026. case 497: vehicle_name = "Police Maverick";
  7027. case 498: vehicle_name = "Boxville";
  7028. case 499: vehicle_name = "Benson";
  7029. case 500: vehicle_name = "Mesa";
  7030. case 501: vehicle_name = "RC Goblin";
  7031. case 502: vehicle_name = "Hotring Racer B";
  7032. case 503: vehicle_name = "Hotring Racer C";
  7033. case 504: vehicle_name = "Bloodring Banger";
  7034. case 506: vehicle_name = "Super GT";
  7035. case 507: vehicle_name = "Elegant";
  7036. case 508: vehicle_name = "Journey";
  7037. case 509: vehicle_name = "Bike";
  7038. case 510: vehicle_name = "Mountain Bike";
  7039. case 511: vehicle_name = "Beagle";
  7040. case 512: vehicle_name = "Cropduster";
  7041. case 513: vehicle_name = "Stuntplane";
  7042. case 514: vehicle_name = "Tanker";
  7043. case 515: vehicle_name = "Roadtrain";
  7044. case 516: vehicle_name = "Nebula";
  7045. case 517: vehicle_name = "Majestic";
  7046. case 518: vehicle_name = "Buccaneer";
  7047. case 519: vehicle_name = "Shamal";
  7048. case 520: vehicle_name = "Hydra";
  7049. case 521: vehicle_name = "FCR-900";
  7050. case 522: vehicle_name = "NRG-500";
  7051. case 523: vehicle_name = "HPV1000";
  7052. case 524: vehicle_name = "Cement Truck";
  7053. case 525: vehicle_name = "Towtruck";
  7054. case 526: vehicle_name = "Fortune";
  7055. case 527: vehicle_name = "Cadrona";
  7056. case 528: vehicle_name = "FBI Truck";
  7057. case 529: vehicle_name = "Willard";
  7058. case 530: vehicle_name = "Forklift";
  7059. case 531: vehicle_name = "Tractor";
  7060. case 532: vehicle_name = "Combine Harvester";
  7061. case 533: vehicle_name = "Feltzer";
  7062. case 534: vehicle_name = "Remington";
  7063. case 535: vehicle_name = "Slamvan";
  7064. case 536: vehicle_name = "Blade";
  7065. case 537: vehicle_name = "Freight";
  7066. case 538: vehicle_name = "Brownstreak";
  7067. case 539: vehicle_name = "Vortex";
  7068. case 540: vehicle_name = "Vincent";
  7069. case 541: vehicle_name = "Bullet";
  7070. case 542: vehicle_name = "Clover";
  7071. case 543: vehicle_name = "Sadler";
  7072. case 544: vehicle_name = "Firetruck LA";
  7073. case 545: vehicle_name = "Hustler";
  7074. case 546: vehicle_name = "Intruder";
  7075. case 547: vehicle_name = "Primo";
  7076. case 548: vehicle_name = "Cargobob";
  7077. case 549: vehicle_name = "Tampa";
  7078. case 550: vehicle_name = "Sunrise";
  7079. case 551: vehicle_name = "Merit";
  7080. case 552: vehicle_name = "Utility Van";
  7081. case 553: vehicle_name = "Nevada";
  7082. case 554: vehicle_name = "Yosemite";
  7083. case 555: vehicle_name = "Windsor";
  7084. case 556: vehicle_name = "Monster A";
  7085. case 557: vehicle_name = "Monster B";
  7086. case 558: vehicle_name = "Uranus";
  7087. case 559: vehicle_name = "Jester";
  7088. case 560: vehicle_name = "Sultan";
  7089. case 561: vehicle_name = "Stratum";
  7090. case 562: vehicle_name = "Elegy";
  7091. case 563: vehicle_name = "Raindance";
  7092. case 564: vehicle_name = "RC Tiger";
  7093. case 565: vehicle_name = "Flash";
  7094. case 566: vehicle_name = "Tahoma";
  7095. case 567: vehicle_name = "Savanna";
  7096. case 568: vehicle_name = "Bandito";
  7097. case 569: vehicle_name = "Freight Flat Trailer";
  7098. case 570: vehicle_name = "Streak Trailer";
  7099. case 571: vehicle_name = "Kart";
  7100. case 572: vehicle_name = "Mower";
  7101. case 573: vehicle_name = "Dune";
  7102. case 574: vehicle_name = "Sweeper";
  7103. case 575: vehicle_name = "Broadway";
  7104. case 576: vehicle_name = "Tornado";
  7105. case 577: vehicle_name = "AT-400";
  7106. case 578: vehicle_name = "DFT-30";
  7107. case 579: vehicle_name = "Huntley";
  7108. case 580: vehicle_name = "Stafford";
  7109. case 581: vehicle_name = "BF-400";
  7110. case 582: vehicle_name = "Newsvan";
  7111. case 583: vehicle_name = "Tug";
  7112. case 584: vehicle_name = "Petrol Trailer";
  7113. case 585: vehicle_name = "Emperor";
  7114. case 586: vehicle_name = "Wayfarer";
  7115. case 587: vehicle_name = "Euros";
  7116. case 588: vehicle_name = "Hotdog";
  7117. case 589: vehicle_name = "Club";
  7118. case 590: vehicle_name = "Freight Box Trailer";
  7119. case 591: vehicle_name = "Article Trailer 3";
  7120. case 592: vehicle_name = "Andromada";
  7121. case 593: vehicle_name = "Dodo";
  7122. case 594: vehicle_name = "RC Cam";
  7123. case 595: vehicle_name = "Launch";
  7124. case 596: vehicle_name = "LSPD Cruiser";
  7125. case 597: vehicle_name = "SFPD Cruiser";
  7126. case 598: vehicle_name = "LVPD Cruiser";
  7127. case 599: vehicle_name = "Police Ranger";
  7128. case 600: vehicle_name = "Picador";
  7129. case 601: vehicle_name = "S.W.A.T.";
  7130. case 602: vehicle_name = "Alpha";
  7131. case 603: vehicle_name = "Phoenix";
  7132. case 604: vehicle_name = "Glendale Shit";
  7133. case 605: vehicle_name = "Sadler Shit";
  7134. case 606: vehicle_name = "Baggage Trailer A";
  7135. case 607: vehicle_name = "Baggage Trailer B";
  7136. case 608: vehicle_name = "Tug Stairs";
  7137. case 609: vehicle_name = "Boxville";
  7138. case 610: vehicle_name = "Farm Trailer";
  7139. case 611: vehicle_name = "Utility Trailer";
  7140. default: vehicle_name = "None";
  7141. }
  7142. return vehicle_name;
  7143. }
  7144.  
  7145. stock CreateVehicleTables(playerid)
  7146. {
  7147. if (IsPlayerConnected(playerid))
  7148. {
  7149. new query[1536];
  7150. format(query, sizeof(query), "CREATE TABLE IF NOT EXISTS `VEHICLES` ");
  7151. strcat(query, "(`Name`, `Model`, `X`, `Y`, `Z`, `Rot`, `Color1`, `Color2`, `Paintjob`, `Mod1`, `Mod2`, `Mod3`, ");
  7152. strcat(query, "`Mod4`, `Mod5`, `Mod6`, `Mod7`, `Mod8`, `Mod9`, `Mod10`, `Mod11`, `Mod12`, `Mod13`, ");
  7153. strcat(query, "`Mod14`, `Mod15`, `Mod16`, `Mod17`, `HasLock`, `Locked`, `TrunkCash`, ");
  7154. strcat(query, "`TrunkGun1`, `TrunkGun2`, `TrunkGun3`, `TrunkGun4`, `TrunkAmmo1`, `TrunkAmmo2`, `TrunkAmmo3`, ");
  7155. strcat(query, "`TrunkAmmo4`, `Spawned`, `Owned`, `Slot`)");
  7156. db_query(VehicleDatabase[playerid], query);
  7157. }
  7158. return 1;
  7159. }
  7160.  
  7161. stock DeleteDealershipVehicle(vehicleid)
  7162. {
  7163. new query[128];
  7164. if (DealershipVehicles[vehicleid][vForSale])
  7165. {
  7166. format(query, sizeof(query), "DELETE FROM `DEALERCARS` WHERE `vID` = '%d'", DealershipVehicles[vehicleid][vSQL_ID]);
  7167. db_query(DealerVehicleDatabase, query);
  7168. DealershipVehicles[vehicleid][vModel] = 0;
  7169. DealershipVehicles[vehicleid][vX] = 0.0;
  7170. DealershipVehicles[vehicleid][vY] = 0.0;
  7171. DealershipVehicles[vehicleid][vZ] = 0.0;
  7172. DealershipVehicles[vehicleid][vRot] = 0.0;
  7173. DealershipVehicles[vehicleid][vForSale] = 0;
  7174. DealershipVehicles[vehicleid][vPrice] = 0;
  7175. Delete3DTextLabel(DealershipVehicles[vehicleid][vLabel]);
  7176. DestroyVehicle(DealershipVehicles[vehicleid][vID]);
  7177. DealershipVehicles[vehicleid][vID] = 0;
  7178. DealershipVehicles[vehicleid][vSQL_ID] = 0;
  7179. dealershipCars -= 1;
  7180. return 1;
  7181. }
  7182. return 0;
  7183. }
  7184.  
  7185. stock DeletePlayerVehicle(playerid, slot)
  7186. {
  7187. new query[128];
  7188. if (PlayerVehicles[playerid][slot][pCarOwned])
  7189. {
  7190. format(query, sizeof(query), "DELETE FROM `VEHICLES` WHERE `Name` = '%s' AND `Slot` = '%d'", PlayerName(playerid), slot);
  7191. db_query(VehicleDatabase[playerid], query);
  7192. PlayerVehicles[playerid][slot][pCarModel] = 0;
  7193. PlayerVehicles[playerid][slot][pCarX] = 0.0;
  7194. PlayerVehicles[playerid][slot][pCarY] = 0.0;
  7195. PlayerVehicles[playerid][slot][pCarZ] = 0.0;
  7196. PlayerVehicles[playerid][slot][pCarRot] = 0.0;
  7197. PlayerVehicles[playerid][slot][pCarColor1] = 0;
  7198. PlayerVehicles[playerid][slot][pCarColor2] = 0;
  7199. PlayerVehicles[playerid][slot][pCarPaintjob] = -1;
  7200. PlayerVehicles[playerid][slot][pCarMod1] = 0;
  7201. PlayerVehicles[playerid][slot][pCarMod2] = 0;
  7202. PlayerVehicles[playerid][slot][pCarMod3] = 0;
  7203. PlayerVehicles[playerid][slot][pCarMod4] = 0;
  7204. PlayerVehicles[playerid][slot][pCarMod5] = 0;
  7205. PlayerVehicles[playerid][slot][pCarMod6] = 0;
  7206. PlayerVehicles[playerid][slot][pCarMod7] = 0;
  7207. PlayerVehicles[playerid][slot][pCarMod8] = 0;
  7208. PlayerVehicles[playerid][slot][pCarMod9] = 0;
  7209. PlayerVehicles[playerid][slot][pCarMod10] = 0;
  7210. PlayerVehicles[playerid][slot][pCarMod11] = 0;
  7211. PlayerVehicles[playerid][slot][pCarMod12] = 0;
  7212. PlayerVehicles[playerid][slot][pCarMod13] = 0;
  7213. PlayerVehicles[playerid][slot][pCarMod14] = 0;
  7214. PlayerVehicles[playerid][slot][pCarMod15] = 0;
  7215. PlayerVehicles[playerid][slot][pCarMod16] = 0;
  7216. PlayerVehicles[playerid][slot][pCarMod17] = 0;
  7217. PlayerVehicles[playerid][slot][pCarHasLock] = 0;
  7218. PlayerVehicles[playerid][slot][pCarLocked] = 0;
  7219. PlayerVehicles[playerid][slot][pCarTrunkCash] = 0;
  7220. PlayerVehicles[playerid][slot][pCarTrunkGun1] = 0;
  7221. PlayerVehicles[playerid][slot][pCarTrunkGun2] = 0;
  7222. PlayerVehicles[playerid][slot][pCarTrunkGun3] = 0;
  7223. PlayerVehicles[playerid][slot][pCarTrunkGun4] = 0;
  7224. PlayerVehicles[playerid][slot][pCarTrunkAmmo1] = 0;
  7225. PlayerVehicles[playerid][slot][pCarTrunkAmmo2] = 0;
  7226. PlayerVehicles[playerid][slot][pCarTrunkAmmo3] = 0;
  7227. PlayerVehicles[playerid][slot][pCarTrunkAmmo4] = 0;
  7228. PlayerVehicles[playerid][slot][pCarSpawned] = 0;
  7229. PlayerVehicles[playerid][slot][pCarOwned] = 0;
  7230. if (PlayerVehicles[playerid][slot][pCarID] != 0)
  7231. {
  7232. UnlockVehicle(PlayerVehicles[playerid][slot][pCarID]);
  7233. DestroyVehicle(PlayerVehicles[playerid][slot][pCarID]);
  7234. PlayerVehicles[playerid][slot][pCarID] = 0;
  7235. }
  7236. return 1;
  7237. }
  7238. return 0;
  7239. }
  7240.  
  7241. stock CreateDealershipVehicle(model, price, Float:x, Float:y, Float:z, Float:rotation)
  7242. {
  7243. if (model < 400 || model > 611)
  7244. return 0;
  7245.  
  7246. new
  7247. vehicleid,
  7248. string[256],
  7249. query[1536];
  7250.  
  7251. vehicleid = CreateVehicle(model, x, y, z, rotation, 1, 1, 5);
  7252. if (vehicleid == INVALID_VEHICLE_ID)
  7253. return 0;
  7254.  
  7255. DealershipVehicles[vehicleid][vModel] = model;
  7256. DealershipVehicles[vehicleid][vX] = x;
  7257. DealershipVehicles[vehicleid][vY] = y;
  7258. DealershipVehicles[vehicleid][vZ] = z;
  7259. DealershipVehicles[vehicleid][vRot] = rotation;
  7260. DealershipVehicles[vehicleid][vForSale] = 1;
  7261. DealershipVehicles[vehicleid][vPrice] = price;
  7262. DealershipVehicles[vehicleid][vID] = vehicleid;
  7263. DealershipVehicles[vehicleid][vSQL_ID] = dealershipCars + 1;
  7264. format(string, sizeof(string), "This {FFFFFF}%s {F5DEB3}is for sale.\nThe cost of this vehicle is {FFFFFF}$%d.\n{F5DEB3}For more information, enter the vehicle.", GetVehicleName(vehicleid), price);
  7265. DealershipVehicles[vehicleid][vLabel] = Create3DTextLabel(string, YELLOW2, x, y, z, 10.0, 0);
  7266. dealershipCars += 1;
  7267.  
  7268. format(query, sizeof(query), "INSERT INTO `DEALERCARS` (`vID`, `vModel`, `vX`, `vY`, `vZ`, `vRot`, `vForSale`, `vPrice`) VALUES('%d', '%d', '%f', '%f', '%f', '%f', '%d', '%d')", dealershipCars, model, x, y, z, rotation, 1, price);
  7269. db_query(DealerVehicleDatabase, query);
  7270. return vehicleid;
  7271. }
  7272.  
  7273. stock CreatePlayerVehicle(playerid, model, Float:x, Float:y, Float:z, Float:rotation)
  7274. {
  7275. new slot = -1;
  7276. for (new i = 1; i < MAX_PLAYER_CARS + 1; i += 1)
  7277. {
  7278. if (PlayerVehicles[playerid][i][pCarOwned] == 0)
  7279. {
  7280. slot = i;
  7281. break;
  7282. }
  7283. }
  7284. if (slot == -1) return 0;
  7285. new vehicleid = CreateVehicle(model, x, y, z, rotation, 1, 1, -1);
  7286. if (vehicleid == INVALID_VEHICLE_ID) return -1;
  7287. PlayerVehicles[playerid][slot][pCarModel] = model;
  7288. PlayerVehicles[playerid][slot][pCarX] = x;
  7289. PlayerVehicles[playerid][slot][pCarY] = y;
  7290. PlayerVehicles[playerid][slot][pCarZ] = z;
  7291. PlayerVehicles[playerid][slot][pCarRot] = rotation;
  7292. PlayerVehicles[playerid][slot][pCarColor1] = 1;
  7293. PlayerVehicles[playerid][slot][pCarColor2] = 1;
  7294. PlayerVehicles[playerid][slot][pCarPaintjob] = -1;
  7295. PlayerVehicles[playerid][slot][pCarMod1] = 0;
  7296. PlayerVehicles[playerid][slot][pCarMod2] = 0;
  7297. PlayerVehicles[playerid][slot][pCarMod3] = 0;
  7298. PlayerVehicles[playerid][slot][pCarMod4] = 0;
  7299. PlayerVehicles[playerid][slot][pCarMod5] = 0;
  7300. PlayerVehicles[playerid][slot][pCarMod6] = 0;
  7301. PlayerVehicles[playerid][slot][pCarMod7] = 0;
  7302. PlayerVehicles[playerid][slot][pCarMod8] = 0;
  7303. PlayerVehicles[playerid][slot][pCarMod9] = 0;
  7304. PlayerVehicles[playerid][slot][pCarMod10] = 0;
  7305. PlayerVehicles[playerid][slot][pCarMod11] = 0;
  7306. PlayerVehicles[playerid][slot][pCarMod12] = 0;
  7307. PlayerVehicles[playerid][slot][pCarMod13] = 0;
  7308. PlayerVehicles[playerid][slot][pCarMod14] = 0;
  7309. PlayerVehicles[playerid][slot][pCarMod15] = 0;
  7310. PlayerVehicles[playerid][slot][pCarMod16] = 0;
  7311. PlayerVehicles[playerid][slot][pCarMod17] = 0;
  7312. PlayerVehicles[playerid][slot][pCarHasLock] = 0;
  7313. PlayerVehicles[playerid][slot][pCarLocked] = 0;
  7314. PlayerVehicles[playerid][slot][pCarTrunkCash] = 0;
  7315. PlayerVehicles[playerid][slot][pCarTrunkGun1] = 0;
  7316. PlayerVehicles[playerid][slot][pCarTrunkGun2] = 0;
  7317. PlayerVehicles[playerid][slot][pCarTrunkGun3] = 0;
  7318. PlayerVehicles[playerid][slot][pCarTrunkGun4] = 0;
  7319. PlayerVehicles[playerid][slot][pCarTrunkAmmo1] = 0;
  7320. PlayerVehicles[playerid][slot][pCarTrunkAmmo2] = 0;
  7321. PlayerVehicles[playerid][slot][pCarTrunkAmmo3] = 0;
  7322. PlayerVehicles[playerid][slot][pCarTrunkAmmo4] = 0;
  7323. PlayerVehicles[playerid][slot][pCarSpawned] = 1;
  7324. PlayerVehicles[playerid][slot][pCarOwned] = 1;
  7325. PlayerVehicles[playerid][slot][pCarID] = vehicleid;
  7326.  
  7327. new query[1536], query2[1536];
  7328. format(query, sizeof(query), "INSERT INTO `VEHICLES` ");
  7329. strcat(query, "(`Name`, `Model`, `X`, `Y`, `Z`, `Rot`, `Color1`, `Color2`, `Paintjob`, `Mod1`, `Mod2`, `Mod3`, ");
  7330. strcat(query, "`Mod4`, `Mod5`, `Mod6`, `Mod7`, `Mod8`, `Mod9`, `Mod10`, `Mod11`, `Mod12`, `Mod13`, ");
  7331. strcat(query, "`Mod14`, `Mod15`, `Mod16`, `Mod17`, `HasLock`, `Locked`, `TrunkCash`, ");
  7332. strcat(query, "`TrunkGun1`, `TrunkGun2`, `TrunkGun3`, `TrunkGun4`, `TrunkAmmo1`, `TrunkAmmo2`, `TrunkAmmo3`, ");
  7333. strcat(query, "`TrunkAmmo4`, `Spawned`, `Owned`, `Slot`) ");
  7334.  
  7335. format(query2, sizeof(query2), "VALUES('%s', '%d', '%f', '%f', '%f', '%f', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d')",
  7336. DB_Escape(PlayerName(playerid)),
  7337. PlayerVehicles[playerid][slot][pCarModel],
  7338. PlayerVehicles[playerid][slot][pCarX],
  7339. PlayerVehicles[playerid][slot][pCarY],
  7340. PlayerVehicles[playerid][slot][pCarZ],
  7341. PlayerVehicles[playerid][slot][pCarRot],
  7342. PlayerVehicles[playerid][slot][pCarColor1],
  7343. PlayerVehicles[playerid][slot][pCarColor2],
  7344. PlayerVehicles[playerid][slot][pCarPaintjob],
  7345. PlayerVehicles[playerid][slot][pCarMod1],
  7346. PlayerVehicles[playerid][slot][pCarMod2],
  7347. PlayerVehicles[playerid][slot][pCarMod3],
  7348. PlayerVehicles[playerid][slot][pCarMod4],
  7349. PlayerVehicles[playerid][slot][pCarMod5],
  7350. PlayerVehicles[playerid][slot][pCarMod6],
  7351. PlayerVehicles[playerid][slot][pCarMod7],
  7352. PlayerVehicles[playerid][slot][pCarMod8],
  7353. PlayerVehicles[playerid][slot][pCarMod9],
  7354. PlayerVehicles[playerid][slot][pCarMod10],
  7355. PlayerVehicles[playerid][slot][pCarMod11],
  7356. PlayerVehicles[playerid][slot][pCarMod12],
  7357. PlayerVehicles[playerid][slot][pCarMod13],
  7358. PlayerVehicles[playerid][slot][pCarMod14],
  7359. PlayerVehicles[playerid][slot][pCarMod15],
  7360. PlayerVehicles[playerid][slot][pCarMod16],
  7361. PlayerVehicles[playerid][slot][pCarMod17],
  7362. PlayerVehicles[playerid][slot][pCarHasLock],
  7363. PlayerVehicles[playerid][slot][pCarLocked],
  7364. PlayerVehicles[playerid][slot][pCarTrunkCash],
  7365. PlayerVehicles[playerid][slot][pCarTrunkGun1],
  7366. PlayerVehicles[playerid][slot][pCarTrunkGun2],
  7367. PlayerVehicles[playerid][slot][pCarTrunkGun3],
  7368. PlayerVehicles[playerid][slot][pCarTrunkGun4],
  7369. PlayerVehicles[playerid][slot][pCarTrunkAmmo1],
  7370. PlayerVehicles[playerid][slot][pCarTrunkAmmo2],
  7371. PlayerVehicles[playerid][slot][pCarTrunkAmmo3],
  7372. PlayerVehicles[playerid][slot][pCarTrunkAmmo4],
  7373. PlayerVehicles[playerid][slot][pCarSpawned],
  7374. PlayerVehicles[playerid][slot][pCarOwned],
  7375. slot);
  7376. strcat(query, query2);
  7377. db_query(VehicleDatabase[playerid], query);
  7378. SavePlayerVehicle(playerid, slot);
  7379. return 1;
  7380. }
  7381.  
  7382. stock SavePlayerVehicle(playerid, slot)
  7383. {
  7384. if (PlayerVehicles[playerid][slot][pCarOwned])
  7385. {
  7386. new query[1536], query2[1536];
  7387. format(query, sizeof(query), "UPDATE `VEHICLES` SET ");
  7388. format(query2, sizeof(query2), "Name = '%s', Model = '%d', X = '%f', Y = '%f', Z = '%f', Rot = '%f', Color1 = '%d', Color2 = '%d', Paintjob = '%d', Mod1 = '%d', Mod2 = '%d', Mod3 = '%d', ",
  7389. DB_Escape(PlayerName(playerid)),
  7390. PlayerVehicles[playerid][slot][pCarModel],
  7391. PlayerVehicles[playerid][slot][pCarX],
  7392. PlayerVehicles[playerid][slot][pCarY],
  7393. PlayerVehicles[playerid][slot][pCarZ],
  7394. PlayerVehicles[playerid][slot][pCarRot],
  7395. PlayerVehicles[playerid][slot][pCarColor1],
  7396. PlayerVehicles[playerid][slot][pCarColor2],
  7397. PlayerVehicles[playerid][slot][pCarPaintjob],
  7398. PlayerVehicles[playerid][slot][pCarMod1],
  7399. PlayerVehicles[playerid][slot][pCarMod2],
  7400. PlayerVehicles[playerid][slot][pCarMod3]);
  7401. strcat(query, query2);
  7402.  
  7403. format(query2, sizeof(query2), "Mod4 = '%d', Mod5 = '%d', Mod6 = '%d', Mod7 = '%d', Mod8 = '%d', Mod9 = '%d', Mod10 = '%d', Mod11 = '%d', Mod12 = '%d', Mod13 = '%d', Mod14 = '%d', Mod15 = '%d', ",
  7404. PlayerVehicles[playerid][slot][pCarMod4],
  7405. PlayerVehicles[playerid][slot][pCarMod5],
  7406. PlayerVehicles[playerid][slot][pCarMod6],
  7407. PlayerVehicles[playerid][slot][pCarMod7],
  7408. PlayerVehicles[playerid][slot][pCarMod8],
  7409. PlayerVehicles[playerid][slot][pCarMod9],
  7410. PlayerVehicles[playerid][slot][pCarMod10],
  7411. PlayerVehicles[playerid][slot][pCarMod11],
  7412. PlayerVehicles[playerid][slot][pCarMod12],
  7413. PlayerVehicles[playerid][slot][pCarMod13],
  7414. PlayerVehicles[playerid][slot][pCarMod14],
  7415. PlayerVehicles[playerid][slot][pCarMod15]);
  7416. strcat(query, query2);
  7417.  
  7418. format(query2, sizeof(query2), "Mod16 = '%d', Mod17 = '%d', HasLock = '%d', Locked = '%d', TrunkCash = '%d', TrunkGun1 = '%d', TrunkGun2 = '%d', TrunkGun3 = '%d', TrunkGun4 = '%d', TrunkAmmo1 = '%d', TrunkAmmo2 = '%d', TrunkAmmo3 = '%d', ",
  7419. PlayerVehicles[playerid][slot][pCarMod16],
  7420. PlayerVehicles[playerid][slot][pCarMod17],
  7421. PlayerVehicles[playerid][slot][pCarHasLock],
  7422. PlayerVehicles[playerid][slot][pCarLocked],
  7423. PlayerVehicles[playerid][slot][pCarTrunkCash],
  7424. PlayerVehicles[playerid][slot][pCarTrunkGun1],
  7425. PlayerVehicles[playerid][slot][pCarTrunkGun2],
  7426. PlayerVehicles[playerid][slot][pCarTrunkGun3],
  7427. PlayerVehicles[playerid][slot][pCarTrunkGun4],
  7428. PlayerVehicles[playerid][slot][pCarTrunkAmmo1],
  7429. PlayerVehicles[playerid][slot][pCarTrunkAmmo2],
  7430. PlayerVehicles[playerid][slot][pCarTrunkAmmo3]);
  7431. strcat(query, query2);
  7432.  
  7433. format(query2, sizeof(query2), "TrunkAmmo4 = '%d', Spawned = '%d', Owned = '%d', Slot = '%d' WHERE Name = '%s' AND Slot = '%d'",
  7434. PlayerVehicles[playerid][slot][pCarTrunkAmmo4],
  7435. PlayerVehicles[playerid][slot][pCarSpawned],
  7436. PlayerVehicles[playerid][slot][pCarOwned],
  7437. slot,
  7438. DB_Escape(PlayerName(playerid)),
  7439. slot);
  7440. strcat(query, query2);
  7441. db_query(VehicleDatabase[playerid], query);
  7442. }
  7443. return 1;
  7444. }
  7445.  
  7446. stock LoadPlayerVehicles(playerid)
  7447. {
  7448. new DBResult:result;
  7449. new query[192], field[64];
  7450. for (new i = 1; i < MAX_PLAYER_CARS + 1; i += 1)
  7451. {
  7452. format(query, sizeof(query), "SELECT * FROM `VEHICLES` WHERE `Name` = '%s' COLLATE NOCASE AND `Slot` = '%d'", PlayerName(playerid), i);
  7453. result = db_query(VehicleDatabase[playerid], query);
  7454. if (db_num_rows(result))
  7455. {
  7456. db_get_field_assoc(result, "Model", field, sizeof(field)); PlayerVehicles[playerid][i][pCarModel] = strval(field);
  7457. db_get_field_assoc(result, "X", field, sizeof(field)); PlayerVehicles[playerid][i][pCarX] = floatstr(field);
  7458. db_get_field_assoc(result, "Y", field, sizeof(field)); PlayerVehicles[playerid][i][pCarY] = floatstr(field);
  7459. db_get_field_assoc(result, "Z", field, sizeof(field)); PlayerVehicles[playerid][i][pCarZ] = floatstr(field);
  7460. db_get_field_assoc(result, "Rot", field, sizeof(field)); PlayerVehicles[playerid][i][pCarRot] = floatstr(field);
  7461. db_get_field_assoc(result, "Color1", field, sizeof(field)); PlayerVehicles[playerid][i][pCarColor1] = strval(field);
  7462. db_get_field_assoc(result, "Color2", field, sizeof(field)); PlayerVehicles[playerid][i][pCarColor2] = strval(field);
  7463. db_get_field_assoc(result, "Paintjob", field, sizeof(field)); PlayerVehicles[playerid][i][pCarPaintjob] = strval(field);
  7464. db_get_field_assoc(result, "Mod1", field, sizeof(field)); PlayerVehicles[playerid][i][pCarMod1] = strval(field);
  7465. db_get_field_assoc(result, "Mod2", field, sizeof(field)); PlayerVehicles[playerid][i][pCarMod2] = strval(field);
  7466. db_get_field_assoc(result, "Mod3", field, sizeof(field)); PlayerVehicles[playerid][i][pCarMod3] = strval(field);
  7467. db_get_field_assoc(result, "Mod4", field, sizeof(field)); PlayerVehicles[playerid][i][pCarMod4] = strval(field);
  7468. db_get_field_assoc(result, "Mod5", field, sizeof(field)); PlayerVehicles[playerid][i][pCarMod5] = strval(field);
  7469. db_get_field_assoc(result, "Mod6", field, sizeof(field)); PlayerVehicles[playerid][i][pCarMod6] = strval(field);
  7470. db_get_field_assoc(result, "Mod7", field, sizeof(field)); PlayerVehicles[playerid][i][pCarMod7] = strval(field);
  7471. db_get_field_assoc(result, "Mod8", field, sizeof(field)); PlayerVehicles[playerid][i][pCarMod8] = strval(field);
  7472. db_get_field_assoc(result, "Mod9", field, sizeof(field)); PlayerVehicles[playerid][i][pCarMod9] = strval(field);
  7473. db_get_field_assoc(result, "Mod10", field, sizeof(field)); PlayerVehicles[playerid][i][pCarMod10] = strval(field);
  7474. db_get_field_assoc(result, "Mod11", field, sizeof(field)); PlayerVehicles[playerid][i][pCarMod11] = strval(field);
  7475. db_get_field_assoc(result, "Mod12", field, sizeof(field)); PlayerVehicles[playerid][i][pCarMod12] = strval(field);
  7476. db_get_field_assoc(result, "Mod13", field, sizeof(field)); PlayerVehicles[playerid][i][pCarMod13] = strval(field);
  7477. db_get_field_assoc(result, "Mod14", field, sizeof(field)); PlayerVehicles[playerid][i][pCarMod14] = strval(field);
  7478. db_get_field_assoc(result, "Mod15", field, sizeof(field)); PlayerVehicles[playerid][i][pCarMod15] = strval(field);
  7479. db_get_field_assoc(result, "Mod16", field, sizeof(field)); PlayerVehicles[playerid][i][pCarMod16] = strval(field);
  7480. db_get_field_assoc(result, "Mod17", field, sizeof(field)); PlayerVehicles[playerid][i][pCarMod17] = strval(field);
  7481. db_get_field_assoc(result, "HasLock", field, sizeof(field)); PlayerVehicles[playerid][i][pCarHasLock] = strval(field);
  7482. db_get_field_assoc(result, "Locked", field, sizeof(field)); PlayerVehicles[playerid][i][pCarLocked] = strval(field);
  7483. db_get_field_assoc(result, "TrunkCash", field, sizeof(field)); PlayerVehicles[playerid][i][pCarTrunkCash] = strval(field);
  7484. db_get_field_assoc(result, "TrunkGun1", field, sizeof(field)); PlayerVehicles[playerid][i][pCarTrunkGun1] = strval(field);
  7485. db_get_field_assoc(result, "TrunkGun2", field, sizeof(field)); PlayerVehicles[playerid][i][pCarTrunkGun2] = strval(field);
  7486. db_get_field_assoc(result, "TrunkGun3", field, sizeof(field)); PlayerVehicles[playerid][i][pCarTrunkGun3] = strval(field);
  7487. db_get_field_assoc(result, "TrunkGun4", field, sizeof(field)); PlayerVehicles[playerid][i][pCarTrunkGun4] = strval(field);
  7488. db_get_field_assoc(result, "TrunkAmmo1", field, sizeof(field)); PlayerVehicles[playerid][i][pCarTrunkAmmo1] = strval(field);
  7489. db_get_field_assoc(result, "TrunkAmmo2", field, sizeof(field)); PlayerVehicles[playerid][i][pCarTrunkAmmo2] = strval(field);
  7490. db_get_field_assoc(result, "TrunkAmmo3", field, sizeof(field)); PlayerVehicles[playerid][i][pCarTrunkAmmo3] = strval(field);
  7491. db_get_field_assoc(result, "TrunkAmmo4", field, sizeof(field)); PlayerVehicles[playerid][i][pCarTrunkAmmo4] = strval(field);
  7492. db_get_field_assoc(result, "Spawned", field, sizeof(field)); PlayerVehicles[playerid][i][pCarSpawned] = strval(field);
  7493. db_get_field_assoc(result, "Owned", field, sizeof(field)); PlayerVehicles[playerid][i][pCarOwned] = strval(field);
  7494. }
  7495. if (PlayerVehicles[playerid][i][pCarOwned])
  7496. {
  7497. if (PlayerVehicles[playerid][i][pCarSpawned])
  7498. {
  7499. PlayerVehicles[playerid][i][pCarID] = CreateVehicle(PlayerVehicles[playerid][i][pCarModel], PlayerVehicles[playerid][i][pCarX], PlayerVehicles[playerid][i][pCarY], PlayerVehicles[playerid][i][pCarZ], PlayerVehicles[playerid][i][pCarRot], PlayerVehicles[playerid][i][pCarColor1], PlayerVehicles[playerid][i][pCarColor2], -1);
  7500. ModifyVehicle(playerid, i);
  7501. }
  7502. }
  7503. db_free_result(result);
  7504. }
  7505. return 1;
  7506. }
  7507.  
  7508. stock SaveDealershipVehicles()
  7509. {
  7510. new query[512], query2[512];
  7511. for (new i = 1; i < MAX_VEHICLES; i += 1)
  7512. {
  7513. if (!DealershipVehicles[i][vForSale]) continue;
  7514.  
  7515. format(query, sizeof(query), "UPDATE `DEALERCARS` SET ");
  7516. format(query2, sizeof(query2), "vID = '%d', vModel = '%d', vX = '%f', vY = '%f', vZ = '%f', vRot = '%f', vForSale = '%d', vPrice = '%d' WHERE `vID` = '%d'",
  7517. DealershipVehicles[i][vSQL_ID],
  7518. DealershipVehicles[i][vModel],
  7519. DealershipVehicles[i][vX],
  7520. DealershipVehicles[i][vY],
  7521. DealershipVehicles[i][vZ],
  7522. DealershipVehicles[i][vRot],
  7523. DealershipVehicles[i][vForSale],
  7524. DealershipVehicles[i][vPrice],
  7525. DealershipVehicles[i][vSQL_ID]);
  7526.  
  7527. strcat(query, query2);
  7528. db_query(DealerVehicleDatabase, query);
  7529. }
  7530. return 1;
  7531. }
  7532.  
  7533. stock LoadDealershipVehicles()
  7534. {
  7535. new DBResult:result;
  7536. new query[128], field[64], string[256];
  7537. for (new i = 1; i < MAX_VEHICLES; i += 1)
  7538. {
  7539. format(query, sizeof(query), "SELECT * FROM `DEALERCARS` WHERE vID = '%d'", i);
  7540. result = db_query(DealerVehicleDatabase, query);
  7541. if (db_num_rows(result))
  7542. {
  7543. new model, Float:x, Float:y, Float:z, Float:rot, forsale, price, vehicleid;
  7544. db_get_field_assoc(result, "vModel", field, sizeof(field)); model = strval(field);
  7545. db_get_field_assoc(result, "vX", field, sizeof(field)); x = strval(field);
  7546. db_get_field_assoc(result, "vY", field, sizeof(field)); y = strval(field);
  7547. db_get_field_assoc(result, "vZ", field, sizeof(field)); z = strval(field);
  7548. db_get_field_assoc(result, "vRot", field, sizeof(field)); rot = strval(field);
  7549. db_get_field_assoc(result, "vForSale", field, sizeof(field)); forsale = strval(field);
  7550. db_get_field_assoc(result, "vPrice", field, sizeof(field)); price = strval(field);
  7551. vehicleid = CreateVehicle(model, x, y, z, rot, 1, 1, 5);
  7552.  
  7553. DealershipVehicles[vehicleid][vModel] = model;
  7554. DealershipVehicles[vehicleid][vX] = x;
  7555. DealershipVehicles[vehicleid][vY] = y;
  7556. DealershipVehicles[vehicleid][vZ] = z;
  7557. DealershipVehicles[vehicleid][vRot] = rot;
  7558. DealershipVehicles[vehicleid][vForSale] = forsale;
  7559. DealershipVehicles[vehicleid][vPrice] = price;
  7560. DealershipVehicles[vehicleid][vID] = vehicleid;
  7561. format(string, sizeof(string), "This {FFFFFF}%s {F5DEB3}is for sale.\nThe cost of this vehicle is {FFFFFF}$%d.\n{F5DEB3}For more information, enter the vehicle.", GetVehicleName(vehicleid), price);
  7562. DealershipVehicles[vehicleid][vLabel] = Create3DTextLabel(string, YELLOW2, x, y, z, 10.0, 0);
  7563. DealershipVehicles[vehicleid][vSQL_ID] = dealershipCars + 1;
  7564. dealershipCars += 1;
  7565. }
  7566. db_free_result(result);
  7567. }
  7568. return 1;
  7569. }
  7570.  
  7571. stock ModifyVehicle(playerid, slot)
  7572. {
  7573. if (!PlayerVehicles[playerid][slot][pCarOwned]) return 1;
  7574. if (!PlayerVehicles[playerid][slot][pCarSpawned]) return 1;
  7575. new vehicleid = PlayerVehicles[playerid][slot][pCarID];
  7576. new comp1 = PlayerVehicles[playerid][slot][pCarMod1];
  7577. new comp2 = PlayerVehicles[playerid][slot][pCarMod2];
  7578. new comp3 = PlayerVehicles[playerid][slot][pCarMod3];
  7579. new comp4 = PlayerVehicles[playerid][slot][pCarMod4];
  7580. new comp5 = PlayerVehicles[playerid][slot][pCarMod5];
  7581. new comp6 = PlayerVehicles[playerid][slot][pCarMod6];
  7582. new comp7 = PlayerVehicles[playerid][slot][pCarMod7];
  7583. new comp8 = PlayerVehicles[playerid][slot][pCarMod8];
  7584. new comp9 = PlayerVehicles[playerid][slot][pCarMod9];
  7585. new comp10 = PlayerVehicles[playerid][slot][pCarMod10];
  7586. new comp11 = PlayerVehicles[playerid][slot][pCarMod11];
  7587. new comp12 = PlayerVehicles[playerid][slot][pCarMod12];
  7588. new comp13 = PlayerVehicles[playerid][slot][pCarMod13];
  7589. new comp14 = PlayerVehicles[playerid][slot][pCarMod14];
  7590. new comp15 = PlayerVehicles[playerid][slot][pCarMod15];
  7591. new comp16 = PlayerVehicles[playerid][slot][pCarMod16];
  7592. new comp17 = PlayerVehicles[playerid][slot][pCarMod17];
  7593. new color1 = PlayerVehicles[playerid][slot][pCarColor1];
  7594. new color2 = PlayerVehicles[playerid][slot][pCarColor2];
  7595. new paintjob = PlayerVehicles[playerid][slot][pCarPaintjob];
  7596.  
  7597. if (comp1 != 0) AddVehicleComponent(vehicleid, comp1);
  7598. if (comp2 != 0) AddVehicleComponent(vehicleid, comp2);
  7599. if (comp3 != 0) AddVehicleComponent(vehicleid, comp3);
  7600. if (comp4 != 0) AddVehicleComponent(vehicleid, comp4);
  7601. if (comp5 != 0) AddVehicleComponent(vehicleid, comp5);
  7602. if (comp6 != 0) AddVehicleComponent(vehicleid, comp6);
  7603. if (comp7 != 0) AddVehicleComponent(vehicleid, comp7);
  7604. if (comp8 != 0) AddVehicleComponent(vehicleid, comp8);
  7605. if (comp9 != 0) AddVehicleComponent(vehicleid, comp9);
  7606. if (comp10 != 0) AddVehicleComponent(vehicleid, comp10);
  7607. if (comp11 != 0) AddVehicleComponent(vehicleid, comp11);
  7608. if (comp12 != 0) AddVehicleComponent(vehicleid, comp12);
  7609. if (comp13 != 0) AddVehicleComponent(vehicleid, comp13);
  7610. if (comp14 != 0) AddVehicleComponent(vehicleid, comp14);
  7611. if (comp15 != 0) AddVehicleComponent(vehicleid, comp15);
  7612. if (comp16 != 0) AddVehicleComponent(vehicleid, comp16);
  7613. if (comp17 != 0) AddVehicleComponent(vehicleid, comp17);
  7614. ChangeVehicleColor(vehicleid, color1, color2);
  7615. if (paintjob != -1) ChangeVehiclePaintjob(vehicleid, paintjob);
  7616.  
  7617. switch (PlayerVehicles[playerid][slot][pCarLocked])
  7618. {
  7619. case 0: UnlockVehicle(PlayerVehicles[playerid][slot][pCarID]);
  7620. case 1: LockVehicle(PlayerVehicles[playerid][slot][pCarID]);
  7621. }
  7622. return 1;
  7623. }
  7624.  
  7625. stock LockVehicle(vehicleid)
  7626. {
  7627. foreach(Player, i)
  7628. {
  7629. SetVehicleParamsForPlayer(vehicleid, i, 0, 1);
  7630. }
  7631. VehicleLocked[vehicleid] = 1;
  7632. return 1;
  7633. }
  7634.  
  7635. stock UnlockVehicle(vehicleid)
  7636. {
  7637. foreach(Player, i)
  7638. {
  7639. SetVehicleParamsForPlayer(vehicleid, i, 0, 0);
  7640. }
  7641. VehicleLocked[vehicleid] = 0;
  7642. return 1;
  7643. }
  7644.  
  7645. stock PlayerOwnsVehicle(playerid, vehicleid)
  7646. {
  7647. for (new i = 1; i < MAX_PLAYER_CARS + 1; i += 1)
  7648. {
  7649. if (PlayerVehicles[playerid][i][pCarID] == vehicleid && PlayerVehicles[playerid][i][pCarSpawned]) return 1;
  7650. }
  7651. return 0;
  7652. }
  7653.  
  7654. stock GetPlayerVehicleSlot(playerid)
  7655. {
  7656. if (IsPlayerInAnyVehicle(playerid))
  7657. {
  7658. for (new i = 1; i < MAX_PLAYER_CARS + 1; i += 1)
  7659. {
  7660. if (PlayerVehicles[playerid][i][pCarID] == GetPlayerVehicleID(playerid) && PlayerVehicles[playerid][i][pCarSpawned])
  7661. {
  7662. return i;
  7663. }
  7664. }
  7665. }
  7666. return 0;
  7667. }
  7668.  
  7669. stock GetPlayerVehicleAmount(playerid)
  7670. {
  7671. new iCars;
  7672. for (new i = 1; i < MAX_PLAYER_CARS + 1; i += 1)
  7673. {
  7674. if (PlayerVehicles[playerid][i][pCarOwned]) ++iCars;
  7675. }
  7676. return iCars;
  7677. }
  7678.  
  7679. stock ParkVehicle(playerid, slot)
  7680. {
  7681. if (IsPlayerInVehicle(playerid, PlayerVehicles[playerid][slot][pCarID]))
  7682. {
  7683. if (GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
  7684. {
  7685. new Float:x, Float:y, Float:z, Float:angle;
  7686. GetVehiclePos(GetPlayerVehicleID(playerid), x, y, z);
  7687. GetVehicleZAngle(GetPlayerVehicleID(playerid), angle);
  7688. PlayerVehicles[playerid][slot][pCarX] = x;
  7689. PlayerVehicles[playerid][slot][pCarY] = y;
  7690. PlayerVehicles[playerid][slot][pCarZ] = z;
  7691. PlayerVehicles[playerid][slot][pCarRot] = angle;
  7692. foreach(Player, i)
  7693. {
  7694. if (i == playerid) continue;
  7695. if (IsPlayerInVehicle(i, PlayerVehicles[playerid][slot][pCarID]))
  7696. {
  7697. SetPVarInt(i, "CarID", PlayerVehicles[playerid][slot][pCarID]);
  7698. SetPVarInt(i, "CarSeat", GetPlayerVehicleSeat(playerid));
  7699. }
  7700. }
  7701. VehicleLocked[GetPlayerVehicleID(playerid)] = 0;
  7702. UnlockVehicle(GetPlayerVehicleID(playerid));
  7703. DestroyVehicle(GetPlayerVehicleID(playerid));
  7704. PlayerVehicles[playerid][slot][pCarID] = CreateVehicle(PlayerVehicles[playerid][slot][pCarModel], x, y, z, angle, PlayerVehicles[playerid][slot][pCarColor1], PlayerVehicles[playerid][slot][pCarColor2], -1);
  7705. PutPlayerInVehicle(playerid, PlayerVehicles[playerid][slot][pCarID], 0);
  7706. foreach(Player, i)
  7707. {
  7708. if (GetPVarInt(i, "CarID") == PlayerVehicles[playerid][slot][pCarID])
  7709. {
  7710. PutPlayerInVehicle(i, PlayerVehicles[playerid][slot][pCarID], GetPVarInt(i, "CarSeat"));
  7711. DeletePVar(i, "CarID");
  7712. DeletePVar(i, "CarSeat");
  7713. }
  7714. }
  7715. ModifyVehicle(playerid, slot);
  7716. return 1;
  7717. }
  7718. return 0;
  7719. }
  7720. return -1;
  7721. }
  7722.  
  7723. stock VehicleDisconnect(playerid)
  7724. {
  7725. for (new i = 1; i < MAX_PLAYER_CARS + 1; i += 1)
  7726. {
  7727. if (PlayerVehicles[playerid][i][pCarOwned])
  7728. {
  7729. SavePlayerVehicle(playerid, i);
  7730. if (PlayerVehicles[playerid][i][pCarSpawned]) DestroyVehicle(PlayerVehicles[playerid][i][pCarID]);
  7731. }
  7732. }
  7733. db_close(VehicleDatabase[playerid]);
  7734. return 1;
  7735. }
  7736.  
  7737. stock VehicleConnect(playerid)
  7738. {
  7739. new string[64];
  7740. format(string, sizeof(string), "Vehicles/%s.db", PlayerName(playerid));
  7741. VehicleDatabase[playerid] = db_open(string);
  7742. CreateVehicleTables(playerid);
  7743. for (new s = 1; s < MAX_PLAYER_CARS + 1; s += 1)
  7744. {
  7745. PlayerVehicles[playerid][s][pCarModel] = 0;
  7746. PlayerVehicles[playerid][s][pCarX] = 0.0;
  7747. PlayerVehicles[playerid][s][pCarY] = 0.0;
  7748. PlayerVehicles[playerid][s][pCarZ] = 0.0;
  7749. PlayerVehicles[playerid][s][pCarRot] = 0.0;
  7750. PlayerVehicles[playerid][s][pCarColor1] = 0;
  7751. PlayerVehicles[playerid][s][pCarColor2] = 0;
  7752. PlayerVehicles[playerid][s][pCarPaintjob] = -1;
  7753. PlayerVehicles[playerid][s][pCarMod1] = 0;
  7754. PlayerVehicles[playerid][s][pCarMod2] = 0;
  7755. PlayerVehicles[playerid][s][pCarMod3] = 0;
  7756. PlayerVehicles[playerid][s][pCarMod4] = 0;
  7757. PlayerVehicles[playerid][s][pCarMod5] = 0;
  7758. PlayerVehicles[playerid][s][pCarMod6] = 0;
  7759. PlayerVehicles[playerid][s][pCarMod7] = 0;
  7760. PlayerVehicles[playerid][s][pCarMod8] = 0;
  7761. PlayerVehicles[playerid][s][pCarMod9] = 0;
  7762. PlayerVehicles[playerid][s][pCarMod10] = 0;
  7763. PlayerVehicles[playerid][s][pCarMod11] = 0;
  7764. PlayerVehicles[playerid][s][pCarMod12] = 0;
  7765. PlayerVehicles[playerid][s][pCarMod13] = 0;
  7766. PlayerVehicles[playerid][s][pCarMod14] = 0;
  7767. PlayerVehicles[playerid][s][pCarMod15] = 0;
  7768. PlayerVehicles[playerid][s][pCarMod16] = 0;
  7769. PlayerVehicles[playerid][s][pCarMod17] = 0;
  7770. PlayerVehicles[playerid][s][pCarHasLock] = 0;
  7771. PlayerVehicles[playerid][s][pCarLocked] = 0;
  7772. PlayerVehicles[playerid][s][pCarTrunkCash] = 0;
  7773. PlayerVehicles[playerid][s][pCarTrunkGun1] = 0;
  7774. PlayerVehicles[playerid][s][pCarTrunkGun2] = 0;
  7775. PlayerVehicles[playerid][s][pCarTrunkGun3] = 0;
  7776. PlayerVehicles[playerid][s][pCarTrunkGun4] = 0;
  7777. PlayerVehicles[playerid][s][pCarTrunkAmmo1] = 0;
  7778. PlayerVehicles[playerid][s][pCarTrunkAmmo2] = 0;
  7779. PlayerVehicles[playerid][s][pCarTrunkAmmo3] = 0;
  7780. PlayerVehicles[playerid][s][pCarTrunkAmmo4] = 0;
  7781. PlayerVehicles[playerid][s][pCarSpawned] = 0;
  7782. PlayerVehicles[playerid][s][pCarOwned] = 0;
  7783. PlayerVehicles[playerid][s][pCarID] = 0;
  7784. VehicleListitem[playerid][s] = -1;
  7785. }
  7786. SetPVarInt(playerid, "CarOffer", INVALID_PLAYER_ID);
  7787. LoadPlayerVehicles(playerid);
  7788. return 1;
  7789. }
  7790.  
  7791. CMD:dealervehicle(playerid, params[])
  7792. {
  7793. if (IsPlayerAdmin(playerid))
  7794. {
  7795. new model, price, string[128];
  7796. if (sscanf(params, "dd", model, price)) return SendClientMessage(playerid, GREY, "USAGE: /dealervehicle [model] [price]");
  7797. if (model < 400 || model > 611) return SendClientMessage(playerid, GREY, "Invalid model.");
  7798. new Float:x, Float:y, Float:z, Float:a;
  7799. GetPlayerPos(playerid, x, y, z);
  7800. GetPlayerFacingAngle(playerid, a);
  7801.  
  7802. new cdv = CreateDealershipVehicle(model, price, x, y, z, a);
  7803. switch (cdv)
  7804. {
  7805. case 0: return SendClientMessage(playerid, GREY, "The vehicle could not be created.");
  7806. case 1:
  7807. {
  7808. SetPlayerPos(playerid, x, y, z + 5);
  7809. format(string, sizeof(string), "Dealership vehicle #%d created (model: %d | price: $%d).", cdv, model, price);
  7810. SendClientMessage(playerid, GREY, string);
  7811. SaveDealershipVehicles();
  7812. }
  7813. }
  7814. return 1;
  7815. }
  7816. else SendClientMessage(playerid, GREY, "You cannot use this command since you're not a high enough administrator level.");
  7817. return 1;
  7818. }
  7819.  
  7820. CMD:deletevehicle(playerid, params[])
  7821. {
  7822. if (IsPlayerAdmin(playerid))
  7823. {
  7824. new vehicleid, string[128], iModel, iSQL;
  7825. if (sscanf(params, "d", vehicleid)) return SendClientMessage(playerid, GREY, "USAGE: /deletevehicle [vehicleid]");
  7826. if (!DealershipVehicles[vehicleid][vForSale]) return SendClientMessage(playerid, GREY, "That is not a dealership vehicle.");
  7827.  
  7828. iModel = DealershipVehicles[vehicleid][vModel];
  7829. iSQL = DealershipVehicles[vehicleid][vSQL_ID];
  7830. if (DeleteDealershipVehicle(vehicleid))
  7831. {
  7832. format(string, sizeof(string), "You have deleted dealership vehicle #%d (SQL ID: %d | Model: %s)", vehicleid, iSQL, GetVehicleNameByModel(iModel));
  7833. SendClientMessage(playerid, WHITE, string);
  7834. SaveDealershipVehicles();
  7835. }
  7836. return 1;
  7837. }
  7838. else SendClientMessage(playerid, GREY, "You cannot use this command since you're not a high enough administrator level.");
  7839. return 1;
  7840. }
  7841.  
  7842. CMD:park(playerid, params[])
  7843. {
  7844. if (!GetPlayerVehicleAmount(playerid)) return SendClientMessage(playerid, GREY, "You don't own any vehicles.");
  7845. if (!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, GREY, "You are not in any vehicle.");
  7846. if (!GetPlayerVehicleSlot(playerid)) return SendClientMessage(playerid, GREY, "You don't own this vehicle.");
  7847. switch (ParkVehicle(playerid, GetPlayerVehicleSlot(playerid)))
  7848. {
  7849. case -1:
  7850. {
  7851. SendClientMessage(playerid, GREY, "You are not in any vehicle.");
  7852. }
  7853. case 0:
  7854. {
  7855. SendClientMessage(playerid, GREY, "You must be the driver.");
  7856. }
  7857. case 1:
  7858. {
  7859. SendClientMessage(playerid, YELLOW, "You have successfully parked your vehicle.");
  7860. }
  7861. }
  7862. return 1;
  7863. }
  7864.  
  7865. CMD:mycars(playerid, params[])
  7866. {
  7867. if (!GetPlayerVehicleAmount(playerid))
  7868. return SendClientMessage(playerid, GREY, "You don't own any vehicles.");
  7869.  
  7870. new szString[128];
  7871. new szStatus[12];
  7872. new szCarString[128 * MAX_PLAYER_CARS];
  7873. for (new i = 1; i < MAX_PLAYER_CARS + 1; i += 1)
  7874. {
  7875. if (PlayerVehicles[playerid][i][pCarOwned] == 0) continue;
  7876. switch (PlayerVehicles[playerid][i][pCarSpawned])
  7877. {
  7878. case 0: szStatus = "Despawned", format(szString, sizeof(szString), "#%d - %s (Status: %s)\n", i, GetVehicleNameByModel(PlayerVehicles[playerid][i][pCarModel]), szStatus);
  7879. case 1: szStatus = "Spawned", format(szString, sizeof(szString), "#%d - %s (ID: %d - Status: %s)\n", i, GetVehicleNameByModel(PlayerVehicles[playerid][i][pCarModel]), PlayerVehicles[playerid][i][pCarID], szStatus);
  7880. }
  7881. strcat(szCarString, szString);
  7882. }
  7883. ShowPlayerDialog(playerid, 0, DIALOG_STYLE_LIST, "My Cars", szCarString, "Close", "");
  7884. return 1;
  7885. }
  7886.  
  7887. CMD:spawncar(playerid, params[])
  7888. {
  7889. if (WorldInfo[playerid][pWorld] == 2 && WorldInfo[playerid][pDonator] == 0)
  7890. return SendClientMessage(playerid, COLOR_RED, "You Can only spawn your car in a stunt world if you are a donator.");
  7891.  
  7892. if (!GetPlayerVehicleAmount(playerid))
  7893. return SendClientMessage(playerid, GREY, "You don't own any vehicles.");
  7894.  
  7895. new szString[128];
  7896. new szStatus[12];
  7897. new szCarString[128 * MAX_PLAYER_CARS];
  7898. new iListitem = 0;
  7899. for (new i = 1; i < MAX_PLAYER_CARS + 1; i += 1)
  7900. {
  7901. if (PlayerVehicles[playerid][i][pCarOwned] == 0) continue;
  7902. switch (PlayerVehicles[playerid][i][pCarSpawned])
  7903. {
  7904. case 0: szStatus = "Despawned", format(szString, sizeof(szString), "#%d - %s (Status: %s)\n", i, GetVehicleNameByModel(PlayerVehicles[playerid][i][pCarModel]), szStatus);
  7905. case 1: szStatus = "Spawned", format(szString, sizeof(szString), "#%d - %s (ID: %d - Status: %s)\n", i, GetVehicleNameByModel(PlayerVehicles[playerid][i][pCarModel]), PlayerVehicles[playerid][i][pCarID], szStatus);
  7906. }
  7907. strcat(szCarString, szString);
  7908.  
  7909. VehicleListitem[playerid][i] = iListitem ++;
  7910. }
  7911. ShowPlayerDialog(playerid, 10, DIALOG_STYLE_LIST, "Spawn / Despawn Vehicle", szCarString, "Select", "Cancel");
  7912. return 1;
  7913. }
  7914.  
  7915. CMD:deletecar(playerid, params[])
  7916. {
  7917. if (!GetPlayerVehicleAmount(playerid))
  7918. return SendClientMessage(playerid, GREY, "You don't own any vehicles.");
  7919.  
  7920. new szString[128];
  7921. new szStatus[12];
  7922. new szCarString[128 * MAX_PLAYER_CARS];
  7923. new iListitem = 0;
  7924. for (new i = 1; i < MAX_PLAYER_CARS + 1; i += 1)
  7925. {
  7926. if (PlayerVehicles[playerid][i][pCarOwned] == 0) continue;
  7927. switch (PlayerVehicles[playerid][i][pCarSpawned])
  7928. {
  7929. case 0: szStatus = "Despawned", format(szString, sizeof(szString), "#%d - %s (Status: %s)\n", i, GetVehicleNameByModel(PlayerVehicles[playerid][i][pCarModel]), szStatus);
  7930. case 1: szStatus = "Spawned", format(szString, sizeof(szString), "#%d - %s (ID: %d - Status: %s)\n", i, GetVehicleNameByModel(PlayerVehicles[playerid][i][pCarModel]), PlayerVehicles[playerid][i][pCarID], szStatus);
  7931. }
  7932. strcat(szCarString, szString);
  7933.  
  7934. VehicleListitem[playerid][i] = iListitem ++;
  7935. }
  7936. ShowPlayerDialog(playerid, 11, DIALOG_STYLE_LIST, "Delete Vehicle", szCarString, "Select", "Cancel");
  7937. return 1;
  7938. }
  7939.  
  7940. CMD:upgradecar(playerid, params[])
  7941. {
  7942. if (!GetPlayerVehicleAmount(playerid))
  7943. return SendClientMessage(playerid, GREY, "You don't own any vehicles.");
  7944.  
  7945. new szString[128];
  7946. new szStatus[12];
  7947. new szCarString[128 * MAX_PLAYER_CARS];
  7948. new iListitem = 0;
  7949. for (new i = 1; i < MAX_PLAYER_CARS + 1; i += 1)
  7950. {
  7951. if (PlayerVehicles[playerid][i][pCarOwned] == 0) continue;
  7952. switch (PlayerVehicles[playerid][i][pCarSpawned])
  7953. {
  7954. case 0: szStatus = "Despawned", format(szString, sizeof(szString), "#%d - %s (Status: %s)\n", i, GetVehicleNameByModel(PlayerVehicles[playerid][i][pCarModel]), szStatus);
  7955. case 1: szStatus = "Spawned", format(szString, sizeof(szString), "#%d - %s (ID: %d - Status: %s)\n", i, GetVehicleNameByModel(PlayerVehicles[playerid][i][pCarModel]), PlayerVehicles[playerid][i][pCarID], szStatus);
  7956. }
  7957. strcat(szCarString, szString);
  7958.  
  7959. VehicleListitem[playerid][i] = iListitem ++;
  7960. }
  7961. ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Upgrade Vehicle", szCarString, "Select", "Cancel");
  7962. return 1;
  7963. }
  7964.  
  7965. CMD:vlock(playerid, params[])
  7966. {
  7967. if (!GetPlayerVehicleAmount(playerid))
  7968. return SendClientMessage(playerid, GREY, "You don't own any vehicles.");
  7969.  
  7970. if (IsPlayerInAnyVehicle(playerid))
  7971. {
  7972. new vehicleid = GetPlayerVehicleID(playerid);
  7973. if (!PlayerOwnsVehicle(playerid, vehicleid)) return SendClientMessage(playerid, GREY, "You don't own this vehicle.");
  7974. if (PlayerVehicles[playerid][GetPlayerVehicleSlot(playerid)][pCarHasLock] == 0) return SendClientMessage(playerid, GREY, "This vehicle doesn't have a lock (/upgradecar to buy one).");
  7975. VehicleLocked[vehicleid] = !VehicleLocked[vehicleid];
  7976. switch (VehicleLocked[vehicleid])
  7977. {
  7978. case 0:
  7979. {
  7980. UnlockVehicle(vehicleid);
  7981. PlayerVehicles[playerid][GetPlayerVehicleSlot(playerid)][pCarLocked] = 0;
  7982. GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~w~Vehicle ~g~Unlocked", 3000, 3);
  7983. }
  7984. case 1:
  7985. {
  7986. LockVehicle(vehicleid);
  7987. PlayerVehicles[playerid][GetPlayerVehicleSlot(playerid)][pCarLocked] = 1;
  7988. GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~w~Vehicle ~r~Locked", 3000, 3);
  7989. }
  7990. }
  7991. return 1;
  7992. }
  7993. else
  7994. {
  7995. new carcount;
  7996. new vehicleid = -1;
  7997. new slotid = -1;
  7998. new Float:pos[3];
  7999. for (new i = 1; i < MAX_VEHICLES; i += 1)
  8000. {
  8001. GetVehiclePos(i, pos[0], pos[1], pos[2]);
  8002. if (IsPlayerInRangeOfPoint(playerid, 3.5, pos[0], pos[1], pos[2]) && PlayerOwnsVehicle(playerid, i))
  8003. {
  8004. vehicleid = i;
  8005. carcount += 1;
  8006. break;
  8007. }
  8008. }
  8009. if (vehicleid == -1 && !carcount) return SendClientMessage(playerid, GREY, "You are not near any vehicle that you've purchased.");
  8010. if (carcount >= 2) return SendClientMessage(playerid, GREY, "There are too many vehicles in range.");
  8011. else
  8012. {
  8013. for (new i = 1; i < MAX_PLAYER_CARS + 1; i += 1)
  8014. {
  8015. if (PlayerVehicles[playerid][i][pCarID] == vehicleid)
  8016. {
  8017. slotid = i;
  8018. break;
  8019. }
  8020. }
  8021. if (!slotid) return SendClientMessage(playerid, GREY, "You don't own this vehicle.");
  8022. if (PlayerVehicles[playerid][slotid][pCarHasLock] == 0) return SendClientMessage(playerid, GREY, "This vehicle doesn't have a lock (/upgradecar to buy one).");
  8023. VehicleLocked[vehicleid] = !VehicleLocked[vehicleid];
  8024. switch (VehicleLocked[vehicleid])
  8025. {
  8026. case 0:
  8027. {
  8028. UnlockVehicle(vehicleid);
  8029. PlayerVehicles[playerid][slotid][pCarLocked] = 0;
  8030. GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~w~Vehicle ~g~Unlocked", 3000, 3);
  8031. PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);
  8032. }
  8033. case 1:
  8034. {
  8035. LockVehicle(vehicleid);
  8036. PlayerVehicles[playerid][slotid][pCarLocked] = 1;
  8037. GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~w~Vehicle ~r~Locked", 3000, 3);
  8038. PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);
  8039. }
  8040. }
  8041. }
  8042. }
  8043. return 1;
  8044. }
  8045.  
  8046. CMD:carhelp(playerid, params[])
  8047. {
  8048. SendClientMessage(playerid, WHITE, "VEHICLE: /park, /mycars, /spawncar, /upgradecar, /deletecar, /lock, /sellcar.");
  8049. SendClientMessage(playerid, WHITE, "VEHICLE: /trunkput, /trunktake, /trunkbalance.");
  8050. return 1;
  8051. }
  8052.  
  8053. CMD:sellcar(playerid, params[])
  8054. {
  8055. if (!GetPlayerVehicleAmount(playerid))
  8056. return SendClientMessage(playerid, GREY, "You don't own any vehicles.");
  8057.  
  8058. if (!IsPlayerInAnyVehicle(playerid))
  8059. return SendClientMessage(playerid, GREY, "You must be inside a vehicle.");
  8060.  
  8061. if (!PlayerOwnsVehicle(playerid, GetPlayerVehicleID(playerid)))
  8062. return SendClientMessage(playerid, GREY, "You don't own this vehicle.");
  8063.  
  8064. new userid, price, string[128];
  8065. if (sscanf(params, "ud", userid, price))
  8066. return SendClientMessage(playerid, GREY, "USAGE: /sellcar [target] [price]");
  8067.  
  8068. if (!IsPlayerConnected(userid))
  8069. return SendClientMessage(playerid, GREY, "The specified player is not connected.");
  8070.  
  8071. if (userid == playerid)
  8072. return SendClientMessage(playerid, GREY, "You can't sell a vehicle to yourself.");
  8073.  
  8074. if (price <= -1)
  8075. return SendClientMessage(playerid, COLOR_RED, "Error: Sell your car for less than $0.");
  8076.  
  8077. if (!IsPlayerNearPlayer(playerid, userid, 7.0)) return SendClientMessage(playerid, GREY, "You are not near that player.");
  8078. format(string, sizeof(string), "* %s wants to sell you their %s for $%d (type /acceptcar to accept).", PlayerName(playerid, false), GetVehicleName(GetPlayerVehicleID(playerid)), price);
  8079. SendClientMessage(userid, LIGHTBLUE, string);
  8080.  
  8081. format(string, sizeof(string), "* You've offered %s to buy your %s for $%d.", PlayerName(userid, false), GetVehicleName(GetPlayerVehicleID(playerid)), price);
  8082. SendClientMessage(playerid, LIGHTBLUE, string);
  8083.  
  8084. SetPVarInt(userid, "CarOffer", playerid);
  8085. SetPVarInt(userid, "CarPrice", price);
  8086. SetPVarInt(userid, "CarSlot", GetPlayerVehicleSlot(playerid));
  8087. return 1;
  8088. }
  8089.  
  8090. stock IsPlayerNearPlayer(playerid, targetid, Float:radius)
  8091. {
  8092. if (IsPlayerConnected(playerid) && IsPlayerConnected(targetid))
  8093. {
  8094. new Float:x, Float:y, Float:z;
  8095. GetPlayerPos(targetid, x, y, z);
  8096. if (IsPlayerInRangeOfPoint(playerid, radius, x, y, z)) return 1;
  8097. }
  8098. return 0;
  8099. }
  8100.  
  8101. stock IsPlayerNearVehicle(playerid, vehicleid, Float:radius)
  8102. {
  8103. if (IsPlayerConnected(playerid))
  8104. {
  8105. new
  8106. Float:playerFloats[3],
  8107. Float:vehicleFloats[3],
  8108. Float:fCalculation;
  8109.  
  8110. GetPlayerPos(playerid, playerFloats[0], playerFloats[1], playerFloats[2]);
  8111. GetVehiclePos(vehicleid, vehicleFloats[0], vehicleFloats[1], vehicleFloats[2]);
  8112. fCalculation = (vehicleFloats[0] - playerFloats[0]) * (vehicleFloats[0] - playerFloats[0]) + (vehicleFloats[1] - playerFloats[1]) * (vehicleFloats[1] - playerFloats[1]) + (vehicleFloats[2] - playerFloats[2]) * (vehicleFloats[2] - playerFloats[2]);
  8113. if (fCalculation <= (radius * radius))
  8114. {
  8115. if (GetPlayerVirtualWorld(playerid) == GetVehicleVirtualWorld(vehicleid))
  8116. return 1;
  8117. }
  8118. }
  8119. return 0;
  8120. }
  8121.  
  8122. CMD:acceptcar(playerid, params[])
  8123. {
  8124. new string[128];
  8125. if (GetPVarInt(playerid, "CarOffer") != INVALID_PLAYER_ID)
  8126. {
  8127. new query[192];
  8128. if (GetPVarInt(playerid, "CarOffer") != INVALID_PLAYER_ID && IsPlayerConnected(GetPVarInt(playerid, "CarOffer")))
  8129. {
  8130. if (IsPlayerNearPlayer(playerid, GetPVarInt(playerid, "CarOffer"), 7.0))
  8131. {
  8132. if (GetPlayerMoney(playerid) >= GetPVarInt(playerid, "CarPrice"))
  8133. {
  8134. if (GetPlayerVehicleAmount(playerid) < MAX_PLAYER_CARS)
  8135. {
  8136. new slot = GetPVarInt(playerid, "CarSlot");
  8137. if (PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarOwned] && PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarSpawned])
  8138. {
  8139. new slotid = -1;
  8140. for (new i = 1; i < MAX_PLAYER_CARS + 1; i += 1)
  8141. {
  8142. if (!PlayerVehicles[playerid][i][pCarOwned])
  8143. {
  8144. slotid = i;
  8145. break;
  8146. }
  8147. }
  8148. if (slotid == -1) return SendClientMessage(playerid, GREY, "You already own the maximum amount of vehicles.");
  8149.  
  8150. GivePlayerMoney(playerid, -GetPVarInt(playerid, "CarPrice"));
  8151. GivePlayerMoney(GetPVarInt(playerid, "CarOffer"), GetPVarInt(playerid, "CarPrice"));
  8152.  
  8153. format(string, sizeof(string), "* %s has accepted the offer; you've sold them your %s for $%d.", PlayerName(playerid, false), GetVehicleNameByModel(PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarModel]), GetPVarInt(playerid, "CarPrice"));
  8154. SendClientMessage(GetPVarInt(playerid, "CarOffer"), LIGHTBLUE, string);
  8155.  
  8156. format(string, sizeof(string), "* You have bought a %s for $%d from %s.", GetVehicleNameByModel(PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarModel]), GetPVarInt(playerid, "CarPrice"), PlayerName(GetPVarInt(playerid, "CarOffer"), false));
  8157. SendClientMessage(playerid, LIGHTBLUE, string);
  8158.  
  8159. PlayerVehicles[playerid][slotid][pCarModel] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarModel];
  8160. PlayerVehicles[playerid][slotid][pCarX] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarX];
  8161. PlayerVehicles[playerid][slotid][pCarY] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarY];
  8162. PlayerVehicles[playerid][slotid][pCarZ] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarZ];
  8163. PlayerVehicles[playerid][slotid][pCarRot] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarRot];
  8164. PlayerVehicles[playerid][slotid][pCarColor1] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarColor1];
  8165. PlayerVehicles[playerid][slotid][pCarColor2] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarColor2];
  8166. PlayerVehicles[playerid][slotid][pCarPaintjob] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarPaintjob];
  8167. PlayerVehicles[playerid][slotid][pCarMod1] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod1];
  8168. PlayerVehicles[playerid][slotid][pCarMod2] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod2];
  8169. PlayerVehicles[playerid][slotid][pCarMod3] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod3];
  8170. PlayerVehicles[playerid][slotid][pCarMod4] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod4];
  8171. PlayerVehicles[playerid][slotid][pCarMod5] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod5];
  8172. PlayerVehicles[playerid][slotid][pCarMod6] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod6];
  8173. PlayerVehicles[playerid][slotid][pCarMod7] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod7];
  8174. PlayerVehicles[playerid][slotid][pCarMod8] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod8];
  8175. PlayerVehicles[playerid][slotid][pCarMod9] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod9];
  8176. PlayerVehicles[playerid][slotid][pCarMod10] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod10];
  8177. PlayerVehicles[playerid][slotid][pCarMod11] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod11];
  8178. PlayerVehicles[playerid][slotid][pCarMod12] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod12];
  8179. PlayerVehicles[playerid][slotid][pCarMod13] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod13];
  8180. PlayerVehicles[playerid][slotid][pCarMod14] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod14];
  8181. PlayerVehicles[playerid][slotid][pCarMod15] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod15];
  8182. PlayerVehicles[playerid][slotid][pCarMod16] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod16];
  8183. PlayerVehicles[playerid][slotid][pCarMod17] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod17];
  8184. PlayerVehicles[playerid][slotid][pCarHasLock] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarHasLock];
  8185. PlayerVehicles[playerid][slotid][pCarLocked] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarLocked];
  8186. PlayerVehicles[playerid][slotid][pCarTrunkCash] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarTrunkCash];
  8187. PlayerVehicles[playerid][slotid][pCarTrunkGun1] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarTrunkGun1];
  8188. PlayerVehicles[playerid][slotid][pCarTrunkGun2] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarTrunkGun2];
  8189. PlayerVehicles[playerid][slotid][pCarTrunkGun3] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarTrunkGun3];
  8190. PlayerVehicles[playerid][slotid][pCarTrunkGun4] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarTrunkGun4];
  8191. PlayerVehicles[playerid][slotid][pCarTrunkAmmo1] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarTrunkAmmo1];
  8192. PlayerVehicles[playerid][slotid][pCarTrunkAmmo2] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarTrunkAmmo2];
  8193. PlayerVehicles[playerid][slotid][pCarTrunkAmmo3] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarTrunkAmmo3];
  8194. PlayerVehicles[playerid][slotid][pCarTrunkAmmo4] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarTrunkAmmo4];
  8195. PlayerVehicles[playerid][slotid][pCarSpawned] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarSpawned];
  8196. PlayerVehicles[playerid][slotid][pCarOwned] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarOwned];
  8197. PlayerVehicles[playerid][slotid][pCarID] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarID];
  8198.  
  8199. format(query, sizeof(query), "DELETE FROM `VEHICLES` WHERE `Name` = '%s' AND `Slot` = '%d'", PlayerName(GetPVarInt(playerid, "CarOffer")), slot);
  8200. db_query(VehicleDatabase[GetPVarInt(playerid, "CarOffer")], query);
  8201. PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarModel] = 0;
  8202. PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarX] = 0.0;
  8203. PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarY] = 0.0;
  8204. PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarZ] = 0.0;
  8205. PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarRot] = 0.0;
  8206. PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarColor1] = 0;
  8207. PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarColor2] = 0;
  8208. PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarPaintjob] = -1;
  8209. PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod1] = 0;
  8210. PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod2] = 0;
  8211. PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod3] = 0;
  8212. PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod4] = 0;
  8213. PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod5] = 0;
  8214. PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod6] = 0;
  8215. PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod7] = 0;
  8216. PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod8] = 0;
  8217. PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod9] = 0;
  8218. PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod10] = 0;
  8219. PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod11] = 0;
  8220. PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod12] = 0;
  8221. PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod13] = 0;
  8222. PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod14] = 0;
  8223. PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod15] = 0;
  8224. PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod16] = 0;
  8225. PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod17] = 0;
  8226. PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarHasLock] = 0;
  8227. PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarLocked] = 0;
  8228. PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarTrunkCash] = 0;
  8229. PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarTrunkGun1] = 0;
  8230. PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarTrunkGun2] = 0;
  8231. PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarTrunkGun3] = 0;
  8232. PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarTrunkGun4] = 0;
  8233. PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarTrunkAmmo1] = 0;
  8234. PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarTrunkAmmo2] = 0;
  8235. PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarTrunkAmmo3] = 0;
  8236. PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarTrunkAmmo4] = 0;
  8237. PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarSpawned] = 0;
  8238. PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarOwned] = 0;
  8239. PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarID] = 0;
  8240.  
  8241. SetPVarInt(playerid, "CarOffer", INVALID_PLAYER_ID);
  8242. DeletePVar(playerid, "CarPrice");
  8243. DeletePVar(playerid, "CarSlot");
  8244. return 1;
  8245. }
  8246. }
  8247. else return SendClientMessage(playerid, GREY, "You already own the maximum amount of vehicles.");
  8248. }
  8249. else return SendClientMessage(playerid, GREY, "You can't afford that.");
  8250. }
  8251. else return SendClientMessage(playerid, GREY, "You are not near the player who offered you the car.");
  8252. }
  8253. else return SendClientMessage(playerid, GREY, "Nobody offered you a car.");
  8254. }
  8255. return 1;
  8256. }
  8257.  
  8258. CMD:trunkput(playerid, params[])
  8259. {
  8260. new carcount;
  8261. new slotid = -1;
  8262. new string[128];
  8263.  
  8264. if (WorldInfo[playerid][pWorld] == 2)
  8265. return SendClientMessage(playerid, COLOR_RED, "You Can not store weapon's in your trunk while in a stunt world, Even If you are a donator.");
  8266.  
  8267. if (IsPlayerInAnyVehicle(playerid))
  8268. return SendClientMessage(playerid, GREY, "You cannot use this command while inside a vehicle.");
  8269. for (new i = 1; i < MAX_PLAYER_CARS + 1; i += 1)
  8270. {
  8271. if (!PlayerVehicles[playerid][i][pCarOwned]) continue;
  8272. if (!PlayerVehicles[playerid][i][pCarSpawned]) continue;
  8273. if (IsPlayerNearVehicle(playerid, PlayerVehicles[playerid][i][pCarID], 3.5))
  8274. {
  8275. slotid = i;
  8276. carcount += 1;
  8277. }
  8278. }
  8279. if (slotid == -1 && !carcount)
  8280. return SendClientMessage(playerid, GREY, "You are not near any vehicle that you've purchased.");
  8281.  
  8282. if (carcount >= 2)
  8283. return SendClientMessage(playerid, GREY, "There are too many vehicles in range.");
  8284.  
  8285. new name[24], value;
  8286. if (sscanf(params, "sd", name, value)) return SendClientMessage(playerid, GREY, "USAGE: /trunkput [name] [value]"), SendClientMessage(playerid, GREY, "Available names: cash, weapon");
  8287. if (strlen(name) > 22) return 1;
  8288. if (strcmp(name, "cash", true) == 0)
  8289. {
  8290. if (GetPlayerMoney(playerid) <= 0)
  8291. return SendClientMessage(playerid, GREY, "You don't have any money.");
  8292.  
  8293. if (value > GetPlayerMoney(playerid) || value < 1)
  8294. return SendClientMessage(playerid, GREY, "You don't have that much.");
  8295.  
  8296. PlayerVehicles[playerid][slotid][pCarTrunkCash] += value;
  8297. GivePlayerMoney(playerid, -value);
  8298. format(string, sizeof(string), "You have stored $%d into your vehicle.", value);
  8299. SendClientMessage(playerid, WHITE, string);
  8300. return 1;
  8301. }
  8302. if (strcmp(name, "weapon", true) == 0)
  8303. {
  8304. if (!GetPlayerWeapon(playerid))
  8305. return SendClientMessage(playerid, GREY, "You must equip the weapon you're storing.");
  8306.  
  8307. if (value < 1 || value > 4) return SendClientMessage(playerid, GREY, "Invalid slot. Slots range from 1-4.");
  8308. if (value == 1 && PlayerVehicles[playerid][slotid][pCarTrunkGun1]) return SendClientMessage(playerid, GREY, "You already have a weapon in that slot.");
  8309. if (value == 2 && PlayerVehicles[playerid][slotid][pCarTrunkGun2]) return SendClientMessage(playerid, GREY, "You already have a weapon in that slot.");
  8310. if (value == 3 && PlayerVehicles[playerid][slotid][pCarTrunkGun3]) return SendClientMessage(playerid, GREY, "You already have a weapon in that slot.");
  8311. if (value == 4 && PlayerVehicles[playerid][slotid][pCarTrunkGun4]) return SendClientMessage(playerid, GREY, "You already have a weapon in that slot.");
  8312.  
  8313. new weapon[24];
  8314. GetWeaponNameEx(GetPlayerWeapon(playerid), weapon, 24);
  8315.  
  8316. switch (value)
  8317. {
  8318. case 1: { PlayerVehicles[playerid][slotid][pCarTrunkGun1] = GetPlayerWeapon(playerid); PlayerVehicles[playerid][slotid][pCarTrunkAmmo1] = GetPlayerAmmo(playerid); }
  8319. case 2: { PlayerVehicles[playerid][slotid][pCarTrunkGun2] = GetPlayerWeapon(playerid); PlayerVehicles[playerid][slotid][pCarTrunkAmmo2] = GetPlayerAmmo(playerid); }
  8320. case 3: { PlayerVehicles[playerid][slotid][pCarTrunkGun3] = GetPlayerWeapon(playerid); PlayerVehicles[playerid][slotid][pCarTrunkAmmo3] = GetPlayerAmmo(playerid); }
  8321. case 4: { PlayerVehicles[playerid][slotid][pCarTrunkGun4] = GetPlayerWeapon(playerid); PlayerVehicles[playerid][slotid][pCarTrunkAmmo4] = GetPlayerAmmo(playerid); }
  8322. }
  8323. RemovePlayerWeapon(playerid, GetPlayerWeapon(playerid));
  8324. return 1;
  8325. }
  8326. return 1;
  8327. }
  8328.  
  8329. CMD:testdm(playerid, params[])
  8330. {
  8331. freezet[playerid] = SetTimer("move",5000,false);
  8332. SetPlayerPos(playerid, 1842.9900000, 2738.8500000, 1634.3000000);
  8333. SetPlayerInterior(playerid, 12);
  8334. SetPlayerVirtualWorld(playerid, 1);
  8335. TogglePlayerControllable(playerid, 0);
  8336. return 1;
  8337. }
  8338.  
  8339. CMD:trunktake(playerid, params[])
  8340. {
  8341. new carcount;
  8342. new slotid = -1;
  8343. new string[128];
  8344.  
  8345. if (WorldInfo[playerid][pWorld] == 2)
  8346. return SendClientMessage(playerid, COLOR_RED, "You Can not take stuff out of your trunk while in a stunt world, Even If you are a donator.");
  8347.  
  8348. if (IsPlayerInAnyVehicle(playerid))
  8349. return SendClientMessage(playerid, GREY, "You cannot use this command while inside a vehicle.");
  8350. for (new i = 1; i < MAX_PLAYER_CARS + 1; i += 1)
  8351. {
  8352. if (!PlayerVehicles[playerid][i][pCarOwned]) continue;
  8353. if (!PlayerVehicles[playerid][i][pCarSpawned]) continue;
  8354. if (IsPlayerNearVehicle(playerid, PlayerVehicles[playerid][i][pCarID], 3.5))
  8355. {
  8356. slotid = i;
  8357. carcount += 1;
  8358. }
  8359. }
  8360. if (slotid == -1 && !carcount)
  8361. return SendClientMessage(playerid, GREY, "You are not near any vehicle that you've purchased.");
  8362.  
  8363. if (carcount >= 2)
  8364. return SendClientMessage(playerid, GREY, "There are too many vehicles in range.");
  8365.  
  8366. new name[24], value;
  8367. if (sscanf(params, "sd", name, value)) return SendClientMessage(playerid, GREY, "USAGE: /trunktake [name] [value]"), SendClientMessage(playerid, GREY, "Available names: cash, weapon");
  8368. if (strlen(name) > 22) return 1;
  8369. if (strcmp(name, "cash", true) == 0)
  8370. {
  8371. if (PlayerVehicles[playerid][slotid][pCarTrunkCash] <= 0)
  8372. return SendClientMessage(playerid, GREY, "You don't have any money in your trunk.");
  8373.  
  8374. if (value > PlayerVehicles[playerid][slotid][pCarTrunkCash] || value < 1)
  8375. return SendClientMessage(playerid, GREY, "You don't have that much money in your trunk.");
  8376.  
  8377. PlayerVehicles[playerid][slotid][pCarTrunkCash] -= value;
  8378. GivePlayerMoney(playerid, value);
  8379. format(string, sizeof(string), "You have taken $%d from your vehicle.", value);
  8380. SendClientMessage(playerid, WHITE, string);
  8381. return 1;
  8382. }
  8383. if (strcmp(name, "weapon", true) == 0)
  8384. {
  8385. new weaponid, ammo;
  8386. if (value < 1 || value > 4) return SendClientMessage(playerid, GREY, "Invalid slot. Slots range from 1-4.");
  8387. switch (value)
  8388. {
  8389. case 1: { weaponid = PlayerVehicles[playerid][slotid][pCarTrunkGun1]; ammo = PlayerVehicles[playerid][slotid][pCarTrunkAmmo1]; }
  8390. case 2: { weaponid = PlayerVehicles[playerid][slotid][pCarTrunkGun2]; ammo = PlayerVehicles[playerid][slotid][pCarTrunkAmmo2]; }
  8391. case 3: { weaponid = PlayerVehicles[playerid][slotid][pCarTrunkGun3]; ammo = PlayerVehicles[playerid][slotid][pCarTrunkAmmo3]; }
  8392. case 4: { weaponid = PlayerVehicles[playerid][slotid][pCarTrunkGun4]; ammo = PlayerVehicles[playerid][slotid][pCarTrunkAmmo4]; }
  8393. }
  8394. if (!weaponid) return SendClientMessage(playerid, GREY, "You don't have any weapon in that slot.");
  8395.  
  8396. new weapon[24];
  8397. GetWeaponNameEx(weaponid, weapon, 24);
  8398. if (value == 1) PlayerVehicles[playerid][slotid][pCarTrunkGun1] = 0, PlayerVehicles[playerid][slotid][pCarTrunkAmmo1] = 0;
  8399. if (value == 2) PlayerVehicles[playerid][slotid][pCarTrunkGun2] = 0, PlayerVehicles[playerid][slotid][pCarTrunkAmmo2] = 0;
  8400. if (value == 3) PlayerVehicles[playerid][slotid][pCarTrunkGun3] = 0, PlayerVehicles[playerid][slotid][pCarTrunkAmmo3] = 0;
  8401. if (value == 4) PlayerVehicles[playerid][slotid][pCarTrunkGun4] = 0, PlayerVehicles[playerid][slotid][pCarTrunkAmmo4] = 0;
  8402.  
  8403. GivePlayerWeapon(playerid, weaponid, ammo);
  8404. format(string, sizeof(string), "You have taken a %s from slot %d of your vehicle.", weapon, value);
  8405. SendClientMessage(playerid, WHITE, string);
  8406. return 1;
  8407. }
  8408. return 1;
  8409. }
  8410.  
  8411. CMD:trunkbalance(playerid, params[])
  8412. {
  8413. new carcount;
  8414. new slotid = -1;
  8415. new string[128];
  8416. if (IsPlayerInAnyVehicle(playerid))
  8417. return SendClientMessage(playerid, GREY, "You cannot use this command while inside a vehicle.");
  8418. for (new i = 1; i < MAX_PLAYER_CARS + 1; i += 1)
  8419. {
  8420. if (!PlayerVehicles[playerid][i][pCarOwned]) continue;
  8421. if (!PlayerVehicles[playerid][i][pCarSpawned]) continue;
  8422. if (IsPlayerNearVehicle(playerid, PlayerVehicles[playerid][i][pCarID], 3.5))
  8423. {
  8424. slotid = i;
  8425. carcount += 1;
  8426. }
  8427. }
  8428. if (slotid == -1 && !carcount)
  8429. return SendClientMessage(playerid, GREY, "You are not near any vehicle that you've purchased.");
  8430.  
  8431. if (carcount >= 2)
  8432. return SendClientMessage(playerid, GREY, "There are too many vehicles in range.");
  8433.  
  8434. new weapon1[24];
  8435. new weapon2[24];
  8436. new weapon3[24];
  8437. new weapon4[24];
  8438.  
  8439. GetWeaponNameEx(PlayerVehicles[playerid][slotid][pCarTrunkGun1], weapon1, 24);
  8440. GetWeaponNameEx(PlayerVehicles[playerid][slotid][pCarTrunkGun2], weapon2, 24);
  8441. GetWeaponNameEx(PlayerVehicles[playerid][slotid][pCarTrunkGun3], weapon3, 24);
  8442. GetWeaponNameEx(PlayerVehicles[playerid][slotid][pCarTrunkGun4], weapon4, 24);
  8443.  
  8444. SendClientMessage(playerid, GREEN, "_________________________________");
  8445. SendClientMessage(playerid, WHITE, "** Trunk Balance **");
  8446. format(string, sizeof(string), "Cash: $%d", PlayerVehicles[playerid][slotid][pCarTrunkCash]);
  8447. SendClientMessage(playerid, WHITE, string);
  8448. format(string, sizeof(string), "Weapon 1: %s | Ammo: %d", weapon1, PlayerVehicles[playerid][slotid][pCarTrunkAmmo1]);
  8449. SendClientMessage(playerid, WHITE, string);
  8450. format(string, sizeof(string), "Weapon 2: %s | Ammo: %d", weapon2, PlayerVehicles[playerid][slotid][pCarTrunkAmmo2]);
  8451. SendClientMessage(playerid, WHITE, string);
  8452. format(string, sizeof(string), "Weapon 3: %s | Ammo: %d", weapon3, PlayerVehicles[playerid][slotid][pCarTrunkAmmo3]);
  8453. SendClientMessage(playerid, WHITE, string);
  8454. format(string, sizeof(string), "Weapon 4: %s | Ammo: %d", weapon4, PlayerVehicles[playerid][slotid][pCarTrunkAmmo4]);
  8455. SendClientMessage(playerid, WHITE, string);
  8456. SendClientMessage(playerid, GREEN, "_________________________________");
  8457. return 1;
  8458. }
  8459.  
  8460. //some tune menu shit
  8461. CarmodDialog(playerid)
  8462. {
  8463. ShowPlayerDialog(playerid,1111,DIALOG_STYLE_LIST,"Select things to put in your car","Nitro\nCar Color\nWheels\nStereo\nHydraulics\nCar Components","Select","Cancel");
  8464. return 1;
  8465. }
  8466. RegularCarDialog(playerid)
  8467. {
  8468. new vehmd = GetVehicleModel(GetPlayerVehicleID(playerid));
  8469. new string[128];
  8470. if(vehmd == 401 || vehmd == 496 || vehmd == 518 || vehmd == 540 || vehmd == 546 || vehmd == 589)
  8471. {string = "Spoiler\nHood\nRoof\nVents\nSideskirt\nLights\n{FF0000}Back";}
  8472. else if(vehmd == 549)
  8473. {string = "Spoiler\nHood\nVents\nSideskirt\nLights\n{FF0000}Back";}
  8474. else if(vehmd == 550)
  8475. {string = "Spoiler\nHood\nRoof\nVents\nLights\n{FF0000}Back";}
  8476. else if(vehmd == 585 || vehmd == 603)
  8477. {string = "Spoiler\nRoof\nVents\nSideskirt\nLights\n{FF0000}Back";}
  8478. else if(vehmd == 410 || vehmd == 436)
  8479. {string = "Spoiler\nRoof\nSideskirt\nLights\n{FF0000}Back";}
  8480. else if(vehmd == 439 || vehmd == 458)
  8481. {string = "Spoiler\nVents\nSideskirt\nLights\n{FF0000}Back";}
  8482. else if(vehmd == 551 || vehmd == 492 || vehmd == 529)
  8483. {string = "Spoiler\nHood\nRoof\nSideskirt\n{FF0000}Back";}
  8484. else if(vehmd == 489 || vehmd == 505)
  8485. {string = "Spoiler\nHood\nRoof\nLights\n{FF0000}Back";}
  8486. else if(vehmd == 516)
  8487. {string = "Spoiler\nHood\nSideskirt\n{FF0000}Back";}
  8488. else if(vehmd == 491 || vehmd == 517)
  8489. {string = "Spoiler\nVents\nSideskirt\n{FF0000}Back";}
  8490. else if(vehmd == 418 || vehmd == 527 || vehmd == 580)
  8491. {string = "Spoiler\nRoof\nSideskirt\n{FF0000}Back";}
  8492. else if(vehmd == 420 || vehmd == 587)
  8493. {string = "Spoiler\nHood\n{FF0000}Back";}
  8494. else if(vehmd == 547)
  8495. {string = "Spoiler\nVents\n{FF0000}Back";}
  8496. else if(vehmd == 415)
  8497. {string = "Spoiler\nSideskirt\n{FF0000}Back";}
  8498. ShowPlayerDialog(playerid,1004,DIALOG_STYLE_LIST,"Choose one",string,"Select","Cancel");
  8499. return 1;
  8500. }
  8501.  
  8502. CMD:test(playerid, params[])
  8503. {
  8504. SendClientMessage(playerid, -1, "{00FFFF}CYAN COLOR! {9ACD32}LIGHTGREEN COLOR!");
  8505. return 1;
  8506. }
  8507.  
  8508. //rp name checker
  8509. stock RPnamecheck(playerid)
  8510. {
  8511. new pname[MAX_PLAYER_NAME],underline=0;
  8512. GetPlayerName(playerid, pname, sizeof(pname));
  8513. if(strfind(pname,"[",true) != (-1)) return 0;
  8514. else if(strfind(pname,"]",true) != (-1)) return 0;
  8515. else if(strfind(pname,"$",true) != (-1)) return 0;
  8516. else if(strfind(pname,"(",true) != (-1)) return 0;
  8517. else if(strfind(pname,")",true) != (-1)) return 0;
  8518. else if(strfind(pname,"=",true) != (-1)) return 0;
  8519. else if(strfind(pname,"@",true) != (-1)) return 0;
  8520. else if(strfind(pname,"1",true) != (-1)) return 0;
  8521. else if(strfind(pname,"2",true) != (-1)) return 0;
  8522. else if(strfind(pname,"3",true) != (-1)) return 0;
  8523. else if(strfind(pname,"4",true) != (-1)) return 0;
  8524. else if(strfind(pname,"5",true) != (-1)) return 0;
  8525. else if(strfind(pname,"6",true) != (-1)) return 0;
  8526. else if(strfind(pname,"7",true) != (-1)) return 0;
  8527. else if(strfind(pname,"Jordan_Mclintock",true) != (-1)) return 0;
  8528. else if(strfind(pname,"Nathan_Crawford",true) != (-1)) return 0;
  8529. else if(strfind(pname,"8",true) != (-1)) return 0;
  8530. else if(strfind(pname,"9",true) != (-1)) return 0;
  8531. else if(strfind(pname,"fuck",true) != (-1)) return 0;
  8532. else if(strfind(pname,"FUCK",true) != (-1)) return 0;
  8533. else if(strfind(pname,"Boobies",true) != (-1)) return 0;
  8534. else if(strfind(pname,"Tupac_Shakur",true) != (-1)) return 0;
  8535. else if(strfind(pname,"Pussy",true) != (-1)) return 0;
  8536. else if(strfind(pname,"Rape",true) != (-1)) return 0;
  8537. else if(strfind(pname,"kill",true) != (-1)) return 0;
  8538. else if(strfind(pname,"shit",true) != (-1)) return 0;
  8539. else if(strfind(pname,"ass",true) != (-1)) return 0;
  8540. else if(strfind(pname,"Jack_Black",true) != (-1)) return 0;
  8541. else if(strfind(pname,"Max_Kenton",true) != (-1)) return 0;
  8542. else if(strfind(pname,"Will_Smith",true) != (-1)) return 0;
  8543. else if(strfind(pname,"Jaden_Smith",true) != (-1)) return 0;
  8544. else if(strfind(pname,"Megan_Fox",true) != (-1)) return 0;
  8545. else if(strfind(pname,"Charlie_Kenton",true) != (-1)) return 0;
  8546. else if(strfind(pname,"Hugh_Hefner",true) != (-1)) return 0;
  8547. else if(strfind(pname,"Paris_Hilton",true) != (-1)) return 0;
  8548. else if(strfind(pname,"Marshall_Mathers",true) != (-1)) return 0;
  8549. else if(strfind(pname,"Sheldon_Cooper",true) != (-1)) return 0;
  8550. else if(strfind(pname,"Jet_Lee",true) != (-1)) return 0;
  8551. else if(strfind(pname,"Jackie_Chan",true) != (-1)) return 0;
  8552. else if(strfind(pname,"Chuck_Norris",true) != (-1)) return 0;
  8553. else if(strfind(pname,"Peter_Parker",true) != (-1)) return 0;
  8554. else if(strfind(pname,"Spider_Man",true) != (-1)) return 0;
  8555. else if(strfind(pname,"Bat_Man",true) != (-1)) return 0;
  8556. else if(strfind(pname,"Emma_Stone",true) != (-1)) return 0;
  8557. else if(strfind(pname,"whore",true) != (-1)) return 0;
  8558. else if(strfind(pname,"Hugh_Jackman",true) != (-1)) return 0;
  8559. else if(strfind(pname,"Charles_Kenton",true) != (-1)) return 0;
  8560. else if(strfind(pname,"Dakota_Goyo",true) != (-1)) return 0;
  8561. else if(strfind(pname,"Harry_Potter",true) != (-1)) return 0;
  8562. else if(strfind(pname,"Chris_Hemsworth",true) != (-1)) return 0;
  8563. else if(strfind(pname,"Penis",true) != (-1)) return 0;
  8564. else if(strfind(pname,"Dick",true) != (-1)) return 0;
  8565. else if(strfind(pname,"Vagina",true) != (-1)) return 0;
  8566. else if(strfind(pname,"Cock",true) != (-1)) return 0;
  8567. else if(strfind(pname,"Rectum",true) != (-1)) return 0;
  8568. else if(strfind(pname,"Sperm",true) != (-1)) return 0;
  8569. else if(strfind(pname,"Rektum",true) != (-1)) return 0;
  8570. else if(strfind(pname,"Pistol",true) != (-1)) return 0;
  8571. else if(strfind(pname,"AK47",true) != (-1)) return 0;
  8572. else if(strfind(pname,"Shotgun",true) != (-1)) return 0;
  8573. else if(strfind(pname,"Cum",true) != (-1)) return 0;
  8574. else if(strfind(pname,"Hitler",true) != (-1)) return 0;
  8575. else if(strfind(pname,"Jesus",true) != (-1)) return 0;
  8576. else if(strfind(pname,"God",true) != (-1)) return 0;
  8577. else if(strfind(pname,"Shotgun",true) != (-1)) return 0;
  8578. else if(strfind(pname,"Desert_Eagle",true) != (-1)) return 0;
  8579. else if(strfind(pname,"fucker",true) != (-1)) return 0;
  8580. else if(strfind(pname,"Retard",true) != (-1)) return 0;
  8581. else if(strfind(pname,"Tarded",true) != (-1)) return 0;
  8582. else if(strfind(pname,"fanny",true) != (-1)) return 0;
  8583. else if(strfind(pname,"Daniel_Hardy",true) != (-1)) return 0;
  8584. else if(strfind(pname,"abcdefghijklmnopqrstuvwxyz",true) != (-1)) return 0;
  8585. new maxname = strlen(pname);
  8586. for(new i=0; i<maxname; i++)
  8587. {
  8588. if(pname[i] == '_') underline ++;
  8589. }
  8590. if(underline != 1) return 0;
  8591. pname[0] = toupper(pname[0]);
  8592. for(new x=1; x<maxname; x++)
  8593. {
  8594. if(pname[x] == '_') pname[x+1] = toupper(pname[x+1]);
  8595. else if(pname[x] != '_' && pname[x-1] != '_') pname[x] = tolower(pname[x]);
  8596. }
  8597. SetPlayerName(playerid, "New_Name");
  8598. SetPlayerName(playerid, pname);
  8599. return 1;
  8600. }
  8601.  
  8602. //timers
  8603. forward move(playerid);
  8604. public move(playerid)
  8605. {
  8606. TogglePlayerControllable(playerid, 1);
  8607. KillTimer(freezet[playerid]);
  8608. return 1;
  8609. }
  8610.  
  8611. stock GetPlayerId(playername[])
  8612. {
  8613. for(new i = 0; i <= MAX_PLAYERS; i++)
  8614. {
  8615. if(IsPlayerConnected(i))
  8616. {
  8617. new playername2[MAX_PLAYER_NAME];
  8618. GetPlayerName(i, playername2, sizeof(playername2));
  8619. if(strcmp(playername2, playername, true, strlen(playername)) == 0)
  8620. {
  8621. return i;
  8622. }
  8623. }
  8624. }
  8625. return INVALID_PLAYER_ID;
  8626. }
Add Comment
Please, Sign In to add comment