SAMP Gitlab CI Test
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1092 lines
64 KiB

  1. // -----------------------------------------------------------------------------
  2. // Example Filterscript for the new Stunt Island
  3. // ---------------------------------------------
  4. // By Matite and Kye in January 2015
  5. //
  6. // Updated to v1.02 by Matite in February 2015
  7. // * Added code to display the current lap record details when the player
  8. // types the /si teleport command
  9. //
  10. // This script creates a Modular Island with a stunt set made of the new half tube
  11. // objects. The location is just off the coast in the northern part of the map. It
  12. // also enables a teleport (/si) to get there and AutoFix (/af) for vehicles.
  13. //
  14. // Warning, this script...
  15. // * Uses a total of 467 player objects
  16. // * Adds 6 x Infernuses
  17. // * Has a teleport (/si) command enabled by default
  18. // * Enables AutoFix (/af) for all players by default
  19. // * Enables 10x NOS for all Infernuses by default
  20. // * Enables adding 10x NOS to all Infernuses by using the fire key
  21. // * Disables vehicle collisions for the Infernuses created by this script
  22. //
  23. // Note: you can enable the /flip command by removing the code comment lines
  24. // -----------------------------------------------------------------------------
  25. // -----------------------------------------------------------------------------
  26. // Includes
  27. // --------
  28. // SA-MP Include
  29. #include <a_samp>
  30. // -----------------------------------------------------------------------------
  31. // Defines
  32. // -------
  33. // Used for chat text messages
  34. #define COLOR_MESSAGE_YELLOW 0xFFDD00AA
  35. // Number of map specific vehicles created by this script
  36. #define NUM_SI_VEHICLES 6
  37. // -----------------------------------------------------------------------------
  38. // Forwards
  39. // --------
  40. // Used for the autofix timer (this timer runs all the time)
  41. forward SIAutoFix();
  42. forward IsSIInfernus(vehicleid);
  43. // -----------------------------------------------------------------------------
  44. // Variables
  45. // ---------
  46. // Stores the vehicle number of each Infernus created by this filterscript so
  47. // they can be deleted if the filterscript is unloaded
  48. new SIInfernus[NUM_SI_VEHICLES];
  49. // Tracks whether the player has AutoFix disabled
  50. new SIAutoFixDisabled[MAX_PLAYERS];
  51. // Stores a reference to the AutoFix timer so it can be killed when this
  52. // filterscript is unloaded
  53. new SIAutoFixTimer;
  54. // Stores the race checkpoint locations for the Stunt Island
  55. new Float:StuntIslandCPs[26][3] =
  56. {
  57. // X Position Y Position Z Position
  58. // -------------------------------------------
  59. {121.96, 3422.62, 7.49},
  60. {262.83, 3422.62, 40.86},
  61. {295.66, 3422.62, 82.13},
  62. {332.11, 3257.69, 81.25},
  63. {299.93, 3337.11, 62.03},
  64. {311.17, 3475.42, 62.03},
  65. {311.17, 3647.12, 84.18},
  66. {322.48, 3698.05, 125.61},
  67. {29.69, 3698.05, 27.91},
  68. {73.18, 3666.20, 32.08},
  69. {241.21, 3679.01, 31.72},
  70. {241.21, 3369.28, 31.72},
  71. {159.44, 3298.87, 108.01},
  72. {159.44, 3440.01, 84.34},
  73. {159.44, 3514.15, 60.68},
  74. {159.44, 3679.18, 82.83},
  75. {247.58, 3739.98, 71.60},
  76. {235.02, 3607.64, 67.86},
  77. {174.86, 3494.73, 67.86},
  78. {130.26, 3406.86, 52.24},
  79. {119.19, 3362.98, 40.44},
  80. {108.01, 3304.27, 35.76},
  81. {123.23, 3217.41, 35.76},
  82. {139.88, 3341.60, 16.22},
  83. {183.17, 3456.39, 16.22},
  84. {110.25, 3498.03, 11.18}
  85. };
  86. // Stores the players current race checkpoint
  87. new SIPlayerCP[MAX_PLAYERS];
  88. // Stores the players race start time so it can be subtracted
  89. // from the end race time to get the total race time
  90. new SIPlayerStartTime[MAX_PLAYERS];
  91. // Stores the fastest lap time in seconds
  92. new FastestLapTime = 999;
  93. // Stores the name of the player who has the fastest lap time
  94. new FastestLapName[MAX_PLAYER_NAME + 1];
  95. // -----------------------------------------------------------------------------
  96. // Callbacks
  97. // ---------
  98. public OnPlayerStateChange(playerid, newstate, oldstate)
  99. {
  100. // Check if the new player state is driver or passenger
  101. if (newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER)
  102. {
  103. // Get the players vehicle ID
  104. new player_vehicle = GetPlayerVehicleID(playerid);
  105. // Check if the player is driving one of the Infernuses created by this filterscript
  106. if (IsSIInfernus(player_vehicle))
  107. {
  108. // Disable vehicle collisions and set PVar
  109. DisableRemoteVehicleCollisions(playerid, true);
  110. SetPVarInt(playerid, "SIVehicleCols", 1);
  111. }
  112. }
  113. else
  114. {
  115. // Check if the PVar is set (player had vehicle collisions disabled)
  116. if (GetPVarInt(playerid, "SIVehicleCols"))
  117. {
  118. // Enable vehicle collisions and set PVar
  119. DisableRemoteVehicleCollisions(playerid, false);
  120. SetPVarInt(playerid, "SIVehicleCols", 0);
  121. }
  122. }
  123. // Exit here (return 1 so this callback is handled in other filterscripts)
  124. return 1;
  125. }
  126. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  127. {
  128. // Check for FIRE key
  129. if (newkeys & KEY_FIRE)
  130. {
  131. // Fire Key is usually the Left Mouse Button
  132. // -----------------------------------------
  133. // Check if player is in any vehicle
  134. if (!IsPlayerInAnyVehicle(playerid)) return 1;
  135. // Do not allow passengers to use this on people driving
  136. if (GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return 1;
  137. // Check if the vehicle model is an Infernus
  138. if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 411)
  139. {
  140. // Add 10x NOS
  141. AddVehicleComponent(GetPlayerVehicleID(playerid), 1010);
  142. // Debug
  143. //printf("-->Added 10x NOS to Vehicle Number %d for Player ID %d", GetPlayerVehicleID(playerid), playerid);
  144. }
  145. }
  146. // Exit here (return 1 so this callback is handled in other filterscripts)
  147. return 1;
  148. }
  149. public OnPlayerEnterRaceCheckpoint(playerid)
  150. {
  151. // Get the player pos
  152. new Float:x, Float:y, Float:z;
  153. GetPlayerPos(playerid, x, y, z);
  154. // Increase current checkpoint
  155. SIPlayerCP[playerid]++;
  156. // Debug
  157. //printf("-->Player ID %d Current CP is %d of %d", playerid, SIPlayerCP[playerid], sizeof(StuntIslandCPs));
  158. // Check if the race checkpoint is the start line
  159. if (SIPlayerCP[playerid] == 1)
  160. {
  161. // Reset current checkpoint (in case the player drove back to the start CP and did not type /si)
  162. SIPlayerCP[playerid] = 1;
  163. // Store the players race start time
  164. SIPlayerStartTime[playerid] = gettime();
  165. // Debug
  166. //printf("-->Race start time for Player %d is %d", playerid, SIPlayerStartTime[playerid]);
  167. // Send a gametext message to the player
  168. GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~g~~h~Race Timer Started!", 3000, 3);
  169. // Format chat text message for all
  170. new strTempString[64];
  171. new PlayerName[MAX_PLAYER_NAME + 1];
  172. GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
  173. format(strTempString, sizeof(strTempString), "* %s (ID:%d) started their timed lap.", PlayerName, playerid);
  174. SendClientMessageToAll(COLOR_MESSAGE_YELLOW, strTempString);
  175. // Play a sound
  176. PlayerPlaySound(playerid, 1139, x, y, z);
  177. // Create next checkpoint
  178. SetPlayerRaceCheckpoint(playerid, 0, StuntIslandCPs[SIPlayerCP[playerid]][0], StuntIslandCPs[SIPlayerCP[playerid]][1], StuntIslandCPs[SIPlayerCP[playerid]][2], StuntIslandCPs[SIPlayerCP[playerid] + 1][0], StuntIslandCPs[SIPlayerCP[playerid] + 1][1], StuntIslandCPs[SIPlayerCP[playerid] + 1][2], 12.0);
  179. }
  180. // Check if the race checkpoint is the finish line
  181. else if (SIPlayerCP[playerid] == sizeof(StuntIslandCPs))
  182. {
  183. // Get the total lap time
  184. new TotalLapTime = gettime() - SIPlayerStartTime[playerid];
  185. // Get player name and store
  186. new PlayerName[MAX_PLAYER_NAME + 1];
  187. GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
  188. // Create variable
  189. new strTempString[128];
  190. // Check if the players total lap time is faster than the current fastest lap time
  191. if (TotalLapTime < FastestLapTime)
  192. {
  193. // Check if no previous fastest lap record exists
  194. if (FastestLapTime == 999)
  195. {
  196. // Format chat text messages for all
  197. format(strTempString, sizeof(strTempString), "** %s (ID:%d) completed their timed lap in %d seconds and set a new record.", PlayerName, playerid, TotalLapTime);
  198. SendClientMessageToAll(COLOR_MESSAGE_YELLOW, strTempString);
  199. }
  200. else
  201. {
  202. // Format chat text messages for all
  203. format(strTempString, sizeof(strTempString), "** %s (ID:%d) completed their timed lap in %d seconds beating the existing record", PlayerName, playerid, TotalLapTime);
  204. SendClientMessageToAll(COLOR_MESSAGE_YELLOW, strTempString);
  205. format(strTempString, sizeof(strTempString), "* of %d seconds previously set by %s.", FastestLapTime, FastestLapName);
  206. SendClientMessageToAll(COLOR_MESSAGE_YELLOW, strTempString);
  207. }
  208. // Store new fastest lap time
  209. FastestLapTime = TotalLapTime;
  210. // Store new fastest lap time name
  211. format(FastestLapName, sizeof(FastestLapName), "%s", PlayerName);
  212. }
  213. else
  214. {
  215. // Format chat text message for all
  216. format(strTempString, sizeof(strTempString), "* %s (ID:%d) completed their timed lap in %d seconds.", PlayerName, playerid, TotalLapTime);
  217. SendClientMessageToAll(COLOR_MESSAGE_YELLOW, strTempString);
  218. }
  219. // Send a gametext message to the player
  220. GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~g~~h~Finished!", 3000, 3);
  221. // Play a sound
  222. PlayerPlaySound(playerid, 1139, x, y, z);
  223. // Set current checkpoint
  224. SIPlayerCP[playerid] = 0;
  225. // Create start checkpoint
  226. SetPlayerRaceCheckpoint(playerid, 1, StuntIslandCPs[SIPlayerCP[playerid]][0], StuntIslandCPs[SIPlayerCP[playerid]][1], StuntIslandCPs[SIPlayerCP[playerid]][2], StuntIslandCPs[SIPlayerCP[playerid] + 1][0], StuntIslandCPs[SIPlayerCP[playerid] + 1][1], StuntIslandCPs[SIPlayerCP[playerid] + 1][2], 12.0);
  227. }
  228. // Check if the race finish line is next
  229. else if (SIPlayerCP[playerid] == sizeof(StuntIslandCPs) - 1)
  230. {
  231. // Send a gametext message to the player
  232. GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~g~~h~Finish Line Is Next!", 3000, 3);
  233. // Play a sound
  234. PlayerPlaySound(playerid, 1138, x, y, z);
  235. // Create next checkpoint (finish line)
  236. SetPlayerRaceCheckpoint(playerid, 1, StuntIslandCPs[SIPlayerCP[playerid]][0], StuntIslandCPs[SIPlayerCP[playerid]][1], StuntIslandCPs[SIPlayerCP[playerid]][2], -1, -1, -1, 12.0);
  237. }
  238. else
  239. {
  240. // Play a sound
  241. PlayerPlaySound(playerid, 1138, x, y, z);
  242. // Create next checkpoint
  243. SetPlayerRaceCheckpoint(playerid, 0, StuntIslandCPs[SIPlayerCP[playerid]][0], StuntIslandCPs[SIPlayerCP[playerid]][1], StuntIslandCPs[SIPlayerCP[playerid]][2], StuntIslandCPs[SIPlayerCP[playerid] + 1][0], StuntIslandCPs[SIPlayerCP[playerid] + 1][1], StuntIslandCPs[SIPlayerCP[playerid] + 1][2], 12.0);
  244. }
  245. // Exit here
  246. return 1;
  247. }
  248. public OnPlayerCommandText(playerid, cmdtext[])
  249. {
  250. // Check command text
  251. if (strcmp("/si", cmdtext, true, 3) == 0)
  252. {
  253. // Set the player interior
  254. SetPlayerInterior(playerid, 0);
  255. // Check if the player is in any vehicle
  256. if (IsPlayerInAnyVehicle(playerid))
  257. {
  258. // In a Vehicle
  259. // ------------
  260. // Set vehicle position and facing angle
  261. SetVehiclePos(GetPlayerVehicleID(playerid), 27.24 + random(2), 3422.45, 6.2);
  262. SetVehicleZAngle(GetPlayerVehicleID(playerid), 270);
  263. // Link vehicle to interior
  264. LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
  265. }
  266. else
  267. {
  268. // On Foot
  269. // -------
  270. // Set player position and facing angle
  271. SetPlayerPos(playerid, 27.24 + random(2), 3422.45, 6.2);
  272. SetPlayerFacingAngle(playerid, 270);
  273. }
  274. // Fix camera position after teleporting
  275. SetCameraBehindPlayer(playerid);
  276. // Display chat text message to the player
  277. SendClientMessage(playerid, COLOR_MESSAGE_YELLOW, "* You teleported to the Stunt Island... drive into the checkpoint to start your timed lap.");
  278. // Check if there is a previous lap record
  279. if (FastestLapTime != 999)
  280. {
  281. // Create variable
  282. new strTempString[128];
  283. // Format and display chat text message to the player
  284. format(strTempString, sizeof(strTempString), "* The current record is %d seconds previously set by %s.", FastestLapTime, FastestLapName);
  285. SendClientMessage(playerid, COLOR_MESSAGE_YELLOW, strTempString);
  286. }
  287. // Send a gametext message to the player
  288. GameTextForPlayer(playerid, "~b~~h~Stunt Island!", 3000, 3);
  289. // Set current checkpoint
  290. SIPlayerCP[playerid] = 0;
  291. // Create start checkpoint
  292. SetPlayerRaceCheckpoint(playerid, 1, StuntIslandCPs[SIPlayerCP[playerid]][0], StuntIslandCPs[SIPlayerCP[playerid]][1], StuntIslandCPs[SIPlayerCP[playerid]][2], StuntIslandCPs[SIPlayerCP[playerid] + 1][0], StuntIslandCPs[SIPlayerCP[playerid] + 1][1], StuntIslandCPs[SIPlayerCP[playerid] + 1][2], 12.0);
  293. // Exit here
  294. return 1;
  295. }
  296. else if (strcmp("/af", cmdtext, true, 3) == 0)
  297. {
  298. // Check if AutoFix is enabled for the player
  299. if (SIAutoFixDisabled[playerid] == 0)
  300. {
  301. // Set flag
  302. SIAutoFixDisabled[playerid] = 1;
  303. // Display a chat text message to the player
  304. SendClientMessage(playerid, COLOR_MESSAGE_YELLOW, "* You disabled AutoFix for your vehicle.");
  305. // Send a gametext message to the player
  306. GameTextForPlayer(playerid, "~g~~h~AutoFix Disabled!", 3000, 3);
  307. }
  308. else
  309. {
  310. // Set flag
  311. SIAutoFixDisabled[playerid] = 0;
  312. // Display a chat text message to the player
  313. SendClientMessage(playerid, COLOR_MESSAGE_YELLOW, "* You enabled AutoFix for your vehicle.");
  314. // Send a gametext message to the player
  315. GameTextForPlayer(playerid, "~g~~h~AutoFix Enabled!", 3000, 3);
  316. }
  317. // Exit here
  318. return 1;
  319. }
  320. /*
  321. else if (strcmp("/flip", cmdtext, true, 5) == 0)
  322. {
  323. // Check to see if the player is not a driver of any vehicle
  324. if (GetPlayerState(playerid) != PLAYER_STATE_DRIVER)
  325. {
  326. // Send chat text message to the player and exit here
  327. SendClientMessage(playerid, COLOR_MESSAGE_YELLOW, "* You must be the driver of a vehicle before using the /flip command.");
  328. return 1;
  329. }
  330. // Create variables
  331. new Float:x;
  332. new Float:y;
  333. new Float:z;
  334. new Float:a;
  335. new playervid = GetPlayerVehicleID(playerid);
  336. // Get Vehicle Pos
  337. GetVehiclePos(playervid, x, y, z);
  338. GetVehicleZAngle(playervid, a);
  339. // Flip the vehicle
  340. SetVehiclePos(playervid, x, y, z + 2);
  341. SetVehicleZAngle(playervid, a);
  342. // Display a chat text message to the player
  343. SendClientMessage(playerid, COLOR_MESSAGE_YELLOW, "* Your vehicle has been flipped.");
  344. // Send a gametext message to the player
  345. GameTextForPlayer(playerid, "~g~~h~Vehicle Flipped!", 3000, 3);
  346. // Exit here
  347. return 1;
  348. }*/
  349. // Exit here (return 0 as the command was not handled in this filterscript)
  350. return 0;
  351. }
  352. public OnVehicleSpawn(vehicleid)
  353. {
  354. // Check if the vehicle is an Infernus
  355. if (GetVehicleModel(vehicleid) == 411)
  356. {
  357. // Add 10x NOS to the vehicle
  358. AddVehicleComponent(vehicleid, 1010);
  359. }
  360. // Return 0 so this callback is processed by other filterscripts and the gamemode
  361. return 0;
  362. }
  363. public OnFilterScriptInit()
  364. {
  365. // Display information in the Server Console
  366. print("\n");
  367. print(" |---------------------------------------------------");
  368. print(" |--- Stunt Island Filterscript by Matite and Kye");
  369. print(" |-- Script v1.02");
  370. print(" |-- 13th February 2015");
  371. print(" |---------------------------------------------------");
  372. // Loop
  373. for (new i = 0; i < MAX_PLAYERS; i++)
  374. {
  375. // Check if the player is connected and not a NPC
  376. if (IsPlayerConnected(i) && !IsPlayerNPC(i))
  377. {
  378. // Create stunt island objects for the player
  379. // (so any player currently ingame does not have to rejoin for them
  380. // to appear when this filterscript is loaded)
  381. CreateSIObjects(i);
  382. }
  383. }
  384. // Create NUM_SI_VEHICLES Infernuses
  385. for (new i = 0; i < NUM_SI_VEHICLES; i++)
  386. {
  387. // Create an Infernus and remember the vehicle number so it can be
  388. // deleted when this filterscript is unloaded
  389. SIInfernus[i] = CreateVehicle(411, 89.45, 3445.0 + (i * 6.0), 5.05, 90.0, -1, -1, 30);
  390. // Check that the vehicle was created ok
  391. if(SIInfernus[i] != INVALID_VEHICLE_ID)
  392. {
  393. // Add 10x NOS to the Infernus
  394. AddVehicleComponent(SIInfernus[i], 1010);
  395. }
  396. }
  397. // Start the AutoFix timer (every 1.803 seconds the timer is triggered)
  398. SIAutoFixTimer = SetTimer("SIAutoFix", 1803, 1);
  399. // Exit here
  400. return 1;
  401. }
  402. public OnFilterScriptExit()
  403. {
  404. // Display information in the Server Console
  405. print(" |---------------------------------------------------");
  406. print(" |-- Stunt Island Filterscript Unloaded");
  407. print(" |---------------------------------------------------");
  408. // Delete 6 Infernuses
  409. for (new i = 0; i < NUM_SI_VEHICLES; i++)
  410. {
  411. // Delete the Infernus vehicles created by this filterscript
  412. DestroyVehicle(SIInfernus[i]);
  413. }
  414. // Kill the AutoFix timer
  415. KillTimer(SIAutoFixTimer);
  416. // Exit here
  417. return 1;
  418. }
  419. public OnPlayerConnect(playerid)
  420. {
  421. // Create stunt island objects for the player
  422. CreateSIObjects(playerid);
  423. // Exit here
  424. return 1;
  425. }
  426. CreateSIObjects(playerid)
  427. {
  428. // Create variable
  429. new TempObjectNumber;
  430. // Create stunt island player objects (with draw distance of 999m)
  431. CreatePlayerObject(playerid,19672,331.9166,3396.5845,85.9599,0.0000,0.0000,-90.0000,999.0);
  432. CreatePlayerObject(playerid,19532,77.5000,3570.0000,4.3077,0.0000,0.0000,0.0000,999.0);
  433. CreatePlayerObject(playerid,19542,335.0000,3570.0000,4.3077,0.0000,0.0000,0.0000,999.0);
  434. CreatePlayerObject(playerid,19540,335.0000,3757.5000,4.3077,0.0000,0.0000,0.0000,999.0);
  435. CreatePlayerObject(playerid,19532,7.5000,3500.0000,4.3077,0.0000,0.0000,90.0000,999.0);
  436. CreatePlayerObject(playerid,19535,77.5000,3422.5000,4.3077,0.0000,0.0000,0.0000,999.0);
  437. CreatePlayerObject(playerid,19532,7.5000,3640.0000,4.3077,0.0000,0.0000,90.0000,999.0);
  438. CreatePlayerObject(playerid,19532,-62.5000,3570.0000,4.3077,0.0000,0.0000,0.0000,999.0);
  439. CreatePlayerObject(playerid,19539,335.0000,3663.7500,4.3077,0.0000,0.0000,0.0000,999.0);
  440. CreatePlayerObject(playerid,19533,77.5000,3678.7500,4.3077,0.0000,0.0000,0.0000,999.0);
  441. CreatePlayerObject(playerid,19533,77.5000,3461.2500,4.3077,0.0000,0.0000,0.0000,999.0);
  442. CreatePlayerObject(playerid,19542,7.5000,3835.0000,4.3077,0.0000,0.0000,90.0000,999.0);
  443. CreatePlayerObject(playerid,19533,-62.5000,3678.7500,4.3077,0.0000,0.0000,0.0000,999.0);
  444. CreatePlayerObject(playerid,19531,-132.5000,3570.0000,4.3077,0.0000,0.0000,0.0000,999.0);
  445. CreatePlayerObject(playerid,19538,-132.5000,3678.7500,4.3077,0.0000,0.0000,0.0000,999.0);
  446. CreatePlayerObject(playerid,19532,-132.5000,3500.0000,4.3077,0.0000,0.0000,90.0000,999.0);
  447. CreatePlayerObject(playerid,19534,-62.5000,3500.0000,4.3077,0.0000,0.0000,90.0000,999.0);
  448. CreatePlayerObject(playerid,19534,-62.5000,3640.0000,4.3077,0.0000,0.0000,90.0000,999.0);
  449. CreatePlayerObject(playerid,19541,-62.4998,3835.0000,4.3077,0.0000,0.0000,90.0000,999.0);
  450. CreatePlayerObject(playerid,19541,84.9997,3827.5000,4.3078,0.0000,0.0000,0.0000,999.0);
  451. CreatePlayerObject(playerid,19538,-132.5000,3461.2500,4.3077,0.0000,0.0000,0.0000,999.0);
  452. CreatePlayerObject(playerid,19532,-132.5000,3640.0000,4.3077,0.0000,0.0000,90.0000,999.0);
  453. CreatePlayerObject(playerid,19533,-62.5000,3461.2500,4.3077,0.0000,0.0000,0.0000,999.0);
  454. CreatePlayerObject(playerid,19532,7.5000,3422.5000,4.3077,0.0000,0.0000,90.0000,999.0);
  455. CreatePlayerObject(playerid,19532,-132.5000,3422.5000,4.3077,0.0000,0.0000,90.0000,999.0);
  456. CreatePlayerObject(playerid,19538,-132.5000,3383.7500,4.3077,0.0000,0.0000,0.0000,999.0);
  457. CreatePlayerObject(playerid,19542,-55.0000,3227.5000,4.3077,0.0000,0.0000,0.0000,999.0);
  458. CreatePlayerObject(playerid,19545,-62.5000,3383.7500,4.3077,0.0000,0.0000,0.0000,999.0);
  459. CreatePlayerObject(playerid,19543,-202.5000,3383.7500,4.3077,0.0000,0.0000,0.0000,999.0);
  460. CreatePlayerObject(playerid,19533,-202.5000,3461.2500,4.3077,0.0000,0.0000,0.0000,999.0);
  461. CreatePlayerObject(playerid,19541,15.0001,3352.5000,4.3077,0.0000,0.0000,-90.0000,999.0);
  462. CreatePlayerObject(playerid,19541,77.5000,3835.0000,4.3077,0.0000,0.0000,90.0000,999.0);
  463. CreatePlayerObject(playerid,19541,-62.5000,3165.0000,4.3077,0.0000,0.0000,-90.0000,999.0);
  464. CreatePlayerObject(playerid,19542,-132.5000,3165.0000,4.3077,0.0000,0.0000,-90.0000,999.0);
  465. CreatePlayerObject(playerid,19541,-202.5000,3165.0000,4.3077,0.0000,0.0000,-90.0000,999.0);
  466. CreatePlayerObject(playerid,19539,-210.0000,3383.7500,4.3077,0.0000,0.0000,180.0000,999.0);
  467. CreatePlayerObject(playerid,19541,-210.0000,3422.5000,4.3077,0.0000,0.0000,180.0000,999.0);
  468. CreatePlayerObject(playerid,19539,-210.0000,3461.2500,4.3077,0.0000,0.0000,180.0000,999.0);
  469. CreatePlayerObject(playerid,19541,-210.0000,3499.9998,4.3077,0.0000,0.0000,180.0000,999.0);
  470. CreatePlayerObject(playerid,19532,-202.5000,3570.0000,4.3077,0.0000,0.0000,0.0000,999.0);
  471. CreatePlayerObject(playerid,19533,-202.5000,3678.7500,4.3077,0.0000,0.0000,0.0000,999.0);
  472. CreatePlayerObject(playerid,19542,-210.0000,3570.0000,4.3077,0.0000,0.0000,180.0000,999.0);
  473. CreatePlayerObject(playerid,19541,-210.0000,3640.0000,4.3077,0.0000,0.0000,180.0000,999.0);
  474. CreatePlayerObject(playerid,19539,-210.0000,3678.7500,4.3077,0.0000,0.0000,180.0000,999.0);
  475. CreatePlayerObject(playerid,19541,-202.4998,3710.0000,4.3077,0.0000,0.0000,90.0000,999.0);
  476. CreatePlayerObject(playerid,19540,335.0000,3257.5000,4.3077,0.0000,0.0000,-90.0000,999.0);
  477. CreatePlayerObject(playerid,19546,85.0000,3352.5000,4.3077,0.0000,0.0000,-90.0000,999.0);
  478. CreatePlayerObject(playerid,19547,-132.5000,3290.0000,4.3077,0.0000,0.0000,0.0000,999.0);
  479. CreatePlayerObject(playerid,19546,-54.9999,3352.5000,4.3077,0.0000,0.0000,0.0000,999.0);
  480. CreatePlayerObject(playerid,19543,-62.5000,3321.2500,4.3077,0.0000,0.0000,0.0000,999.0);
  481. CreatePlayerObject(playerid,19543,-62.5000,3258.7500,4.3077,0.0000,0.0000,0.0000,999.0);
  482. CreatePlayerObject(playerid,19536,-132.5000,3196.2500,4.3077,0.0000,0.0000,0.0000,999.0);
  483. CreatePlayerObject(playerid,19543,-62.5000,3196.2500,4.3077,0.0000,0.0000,0.0000,999.0);
  484. CreatePlayerObject(playerid,19540,-55.0000,3165.0000,4.3077,0.0000,0.0000,-90.0000,999.0);
  485. CreatePlayerObject(playerid,19542,-210.0000,3290.0000,4.3077,0.0000,0.0000,180.0000,999.0);
  486. CreatePlayerObject(playerid,19543,-202.5000,3321.2500,4.3077,0.0000,0.0000,0.0000,999.0);
  487. CreatePlayerObject(playerid,19543,-202.5000,3258.7500,4.3077,0.0000,0.0000,0.0000,999.0);
  488. CreatePlayerObject(playerid,19543,-202.5000,3196.2500,4.3077,0.0000,0.0000,0.0000,999.0);
  489. CreatePlayerObject(playerid,19539,-210.0000,3196.2500,4.3077,0.0000,0.0000,180.0000,999.0);
  490. CreatePlayerObject(playerid,19546,84.9999,3757.5000,4.3077,0.0000,0.0000,90.0000,999.0);
  491. CreatePlayerObject(playerid,19532,77.5000,3772.5000,4.3077,0.0000,0.0000,0.0000,999.0);
  492. CreatePlayerObject(playerid,19539,178.7500,3757.5000,4.3077,0.0000,0.0000,90.0000,999.0);
  493. CreatePlayerObject(playerid,19540,85.0000,3835.0000,4.3077,0.0000,0.0000,0.0000,999.0);
  494. CreatePlayerObject(playerid,19540,-69.9998,3835.0000,4.3077,0.0000,0.0000,90.0000,999.0);
  495. CreatePlayerObject(playerid,19546,-69.9998,3710.0000,4.3080,0.0000,0.0000,-180.0000,999.0);
  496. CreatePlayerObject(playerid,19532,-62.4999,3772.5000,4.3077,0.0000,0.0000,0.0000,999.0);
  497. CreatePlayerObject(playerid,19539,-163.7498,3710.0000,4.3077,0.0000,0.0000,90.0000,999.0);
  498. CreatePlayerObject(playerid,19539,-69.9998,3803.7500,4.3077,0.0000,0.0000,-180.0000,999.0);
  499. CreatePlayerObject(playerid,19539,335.0000,3726.2500,4.3077,0.0000,0.0000,0.0000,999.0);
  500. CreatePlayerObject(playerid,19529,7.5000,3570.0000,4.3077,0.0000,0.0000,0.0000,999.0);
  501. CreatePlayerObject(playerid,19539,241.2500,3757.5000,4.3077,0.0000,0.0000,90.0000,999.0);
  502. CreatePlayerObject(playerid,19539,303.7500,3757.5000,4.3077,0.0000,0.0000,90.0000,999.0);
  503. CreatePlayerObject(playerid,19539,241.2500,3257.5000,4.3077,0.0000,0.0000,-90.0000,999.0);
  504. CreatePlayerObject(playerid,19539,303.7500,3257.5000,4.3077,0.0000,0.0000,-90.0000,999.0);
  505. CreatePlayerObject(playerid,19535,-62.5000,3422.5000,4.3077,0.0000,0.0000,0.0000,999.0);
  506. CreatePlayerObject(playerid,19535,-202.5000,3422.5000,4.3077,0.0000,0.0000,0.0000,999.0);
  507. CreatePlayerObject(playerid,19535,-202.5000,3500.0000,4.3077,0.0000,0.0000,-90.0000,999.0);
  508. CreatePlayerObject(playerid,19535,-202.5000,3640.0000,4.3077,0.0000,0.0000,-90.0000,999.0);
  509. CreatePlayerObject(playerid,19535,77.5000,3640.0000,4.3077,0.0000,0.0000,90.0000,999.0);
  510. CreatePlayerObject(playerid,19670,149.4099,3422.5000,-40.2988,0.0000,0.0000,-0.0000,999.0);
  511. CreatePlayerObject(playerid,19646,300.0856,3261.5845,83.4814,0.0000,0.0000,-90.0000,999.0);
  512. CreatePlayerObject(playerid,19642,124.1813,3422.5000,8.8521,0.0000,0.0000,-180.0000,999.0);
  513. CreatePlayerObject(playerid,19647,134.1813,3422.5000,8.8520,0.0000,0.0000,-180.0000,999.0);
  514. CreatePlayerObject(playerid,19650,96.9146,3422.5000,6.1717,0.0000,-10.0000,0.0000,999.0);
  515. CreatePlayerObject(playerid,19643,114.1813,3422.5000,8.8521,0.0000,0.0000,-180.0000,999.0);
  516. CreatePlayerObject(playerid,19659,-15.6602,3682.0776,29.3538,0.0000,0.0000,0.0000,999.0);
  517. TempObjectNumber = CreatePlayerObject(playerid,19665,311.1857,3531.0288,86.7789,0.0000,0.0000,-90.0000,999.0);
  518. SetPlayerObjectMaterial(playerid, TempObjectNumber, 0, 19659, "MatTubes", "YellowDirt1", 0);
  519. TempObjectNumber = CreatePlayerObject(playerid,19667,305.6357,3426.5845,95.3124,0.0000,0.0000,-90.0000,999.0);
  520. SetPlayerObjectMaterial(playerid, TempObjectNumber, 0, 19659, "MatTubes", "BlueDirt1", 0);
  521. CreatePlayerObject(playerid,19664,70.0058,3666.1621,31.6038,0.0000,0.0000,-180.0000,999.0);
  522. CreatePlayerObject(playerid,19663,331.9166,3381.5845,81.2314,0.0000,0.0000,90.0000,999.0);
  523. CreatePlayerObject(playerid,19661,326.6671,3417.2505,83.4814,0.0000,0.0000,-180.0000,999.0);
  524. CreatePlayerObject(playerid,19662,337.7673,3671.4116,87.1412,0.0000,0.0000,90.0000,999.0);
  525. TempObjectNumber = CreatePlayerObject(playerid,19651,284.1701,3276.5845,73.4814,0.0000,0.0000,90.0000,999.0);
  526. SetPlayerObjectMaterial(playerid, TempObjectNumber, 0, 19659, "MatTubes", "GreenDirt1", 0);
  527. TempObjectNumber = CreatePlayerObject(playerid,19652,266.0011,3406.5845,53.4814,0.0000,0.0000,180.0000,999.0);
  528. SetPlayerObjectMaterial(playerid, TempObjectNumber, 0, 19659, "MatTubes", "GreenDirt1", 0);
  529. CreatePlayerObject(playerid,19660,316.0011,3245.9185,83.4814,0.0000,0.0000,90.0000,999.0);
  530. CreatePlayerObject(playerid,19672,188.5509,3422.5000,25.7300,0.0000,0.0000,0.0000,999.0);
  531. CreatePlayerObject(playerid,19649,203.5318,3422.5000,26.3325,0.0000,20.0000,180.0000,999.0);
  532. CreatePlayerObject(playerid,19674,200.6326,3498.2903,17.2481,0.0000,0.0000,180.0000,999.0);
  533. CreatePlayerObject(playerid,19676,140.8339,3498.2903,12.0060,0.0000,0.0000,-180.0000,999.0);
  534. CreatePlayerObject(playerid,19673,231.6195,3422.5000,36.5668,0.0000,15.0000,180.0000,999.0);
  535. CreatePlayerObject(playerid,19675,144.5353,3422.5000,9.2890,0.0000,0.0000,-180.0000,999.0);
  536. CreatePlayerObject(playerid,19678,120.0057,3697.9932,51.5540,0.0000,0.0000,180.0000,999.0);
  537. CreatePlayerObject(playerid,19675,154.9452,3422.5000,10.6383,0.0000,5.0000,-180.0000,999.0);
  538. CreatePlayerObject(playerid,19675,165.1978,3422.5000,12.8897,0.0000,10.0000,-180.0000,999.0);
  539. CreatePlayerObject(playerid,19675,175.2152,3422.5000,16.0262,0.0000,15.0000,-180.0000,999.0);
  540. CreatePlayerObject(playerid,19670,255.9339,3422.5000,-7.4172,0.0000,0.0000,-0.0000,999.0);
  541. CreatePlayerObject(playerid,19673,241.1739,3422.5000,39.5792,0.0000,10.0000,180.0000,999.0);
  542. CreatePlayerObject(playerid,19673,250.9545,3422.5000,41.7474,0.0000,5.0000,180.0000,999.0);
  543. CreatePlayerObject(playerid,19673,260.8867,3422.5000,43.0549,0.0000,0.0000,180.0000,999.0);
  544. TempObjectNumber = CreatePlayerObject(playerid,19652,266.0011,3406.5845,73.4814,0.0000,0.0000,180.0000,999.0);
  545. SetPlayerObjectMaterial(playerid, TempObjectNumber, 0, 19659, "MatTubes", "GreenDirt1", 0);
  546. CreatePlayerObject(playerid,19649,291.0011,3422.5000,83.4814,0.0000,-0.0000,180.0000,999.0);
  547. CreatePlayerObject(playerid,19670,291.0011,3422.5000,33.4567,0.0000,0.0000,-0.0000,999.0);
  548. CreatePlayerObject(playerid,19684,314.6369,3697.9932,126.3243,0.0000,0.0000,180.0000,999.0);
  549. CreatePlayerObject(playerid,19682,213.1957,3717.7407,29.3538,0.0000,0.0000,-135.0000,999.0);
  550. CreatePlayerObject(playerid,19681,157.1870,3668.5852,29.3538,0.0000,0.0000,45.0000,999.0);
  551. CreatePlayerObject(playerid,19686,260.6396,3739.9441,70.3298,0.0000,0.0000,0.0000,999.0);
  552. CreatePlayerObject(playerid,19685,181.5493,3697.9929,58.8229,0.0000,-30.0000,-0.0000,999.0);
  553. CreatePlayerObject(playerid,19663,331.9166,3331.5845,81.2314,0.0000,0.0000,90.0000,999.0);
  554. CreatePlayerObject(playerid,19670,331.9167,3356.5845,33.4567,0.0000,0.0000,90.0000,999.0);
  555. CreatePlayerObject(playerid,19663,331.9166,3281.5845,81.2314,0.0000,0.0000,90.0000,999.0);
  556. CreatePlayerObject(playerid,19646,300.0856,3271.5845,83.4814,0.0000,0.0000,-90.0000,999.0);
  557. CreatePlayerObject(playerid,19670,331.9166,3306.5845,33.4567,0.0000,0.0000,90.0000,999.0);
  558. CreatePlayerObject(playerid,19649,300.0856,3301.5845,63.4814,0.0000,-0.0000,-90.0000,999.0);
  559. CreatePlayerObject(playerid,19649,300.0856,3351.5845,63.4814,0.0000,-0.0000,-90.0000,999.0);
  560. CreatePlayerObject(playerid,19649,300.0856,3401.5845,63.4814,0.0000,-0.0000,-90.0000,999.0);
  561. CreatePlayerObject(playerid,19670,300.0855,3356.5845,13.4567,0.0000,0.0000,90.0000,999.0);
  562. CreatePlayerObject(playerid,19670,300.0856,3306.5845,13.4567,0.0000,0.0000,90.0000,999.0);
  563. CreatePlayerObject(playerid,19649,311.1857,3451.5845,63.4814,0.0000,-0.0000,-90.0000,999.0);
  564. CreatePlayerObject(playerid,19649,311.1857,3501.5845,63.4814,0.0000,-0.0000,-90.0000,999.0);
  565. CreatePlayerObject(playerid,19670,311.1857,3466.5845,13.4567,0.0000,0.0000,90.0000,999.0);
  566. CreatePlayerObject(playerid,19670,311.1858,3516.5845,13.4567,0.0000,0.0000,90.0000,999.0);
  567. CreatePlayerObject(playerid,19649,311.1857,3575.2466,87.1413,0.0000,-0.0000,-90.0000,999.0);
  568. CreatePlayerObject(playerid,19663,311.1858,3625.2466,84.8912,0.0000,0.0000,-90.0000,999.0);
  569. CreatePlayerObject(playerid,19670,311.1857,3560.2466,37.1166,0.0000,0.0000,90.0000,999.0);
  570. CreatePlayerObject(playerid,19661,316.4353,3660.9126,87.1412,0.0000,0.0000,-90.0000,999.0);
  571. CreatePlayerObject(playerid,19670,311.1857,3625.2466,32.6165,0.0000,0.0000,90.0000,999.0);
  572. TempObjectNumber = CreatePlayerObject(playerid,19652,358.9323,3682.0776,97.1412,0.0000,0.0000,-90.0000,999.0);
  573. SetPlayerObjectMaterial(playerid, TempObjectNumber, 0, 19659, "MatTubes", "GreenDirt1", 0);
  574. TempObjectNumber = CreatePlayerObject(playerid,19652,358.9323,3682.0776,117.1413,0.0000,0.0000,-90.0000,999.0);
  575. SetPlayerObjectMaterial(playerid, TempObjectNumber, 0, 19659, "MatTubes", "GreenDirt1", 0);
  576. TempObjectNumber = CreatePlayerObject(playerid,19667,95.0057,3729.8225,46.0054,-90.0000,0.0000,0.0000,999.0);
  577. SetPlayerObjectMaterial(playerid, TempObjectNumber, 0, 19659, "MatTubes", "BlueDirt1", 0);
  578. CreatePlayerObject(playerid,19662,337.7672,3692.7434,127.1412,0.0000,0.0000,-180.0000,999.0);
  579. CreatePlayerObject(playerid,19684,290.5576,3697.9929,119.8723,0.0000,15.0000,180.0000,999.0);
  580. CreatePlayerObject(playerid,19649,257.7041,3697.9929,101.8476,0.0000,-30.0000,0.0000,999.0);
  581. CreatePlayerObject(playerid,19649,214.4028,3697.9929,76.8476,0.0000,-30.0000,0.0000,999.0);
  582. CreatePlayerObject(playerid,19685,157.4701,3697.9929,52.3709,0.0000,-15.0000,-0.0000,999.0);
  583. CreatePlayerObject(playerid,19670,149.8595,3697.9929,1.6564,0.0000,0.0000,-0.0000,999.0);
  584. CreatePlayerObject(playerid,19670,343.0168,3682.0776,37.1165,0.0000,0.0000,90.0000,999.0);
  585. TempObjectNumber = CreatePlayerObject(playerid,19667,95.0057,3729.8225,34.9053,-90.0000,0.0000,0.0000,999.0);
  586. SetPlayerObjectMaterial(playerid, TempObjectNumber, 0, 19659, "MatTubes", "BlueDirt1", 0);
  587. TempObjectNumber = CreatePlayerObject(playerid,19668,124.6504,3397.5898,84.0644,0.0000,15.0000,-90.0000,999.0);
  588. SetPlayerObjectMaterial(playerid, TempObjectNumber, 0, 19659, "MatTubes", "BlueDirt1", 0);
  589. TempObjectNumber = CreatePlayerObject(playerid,19666,159.4614,3413.4658,108.9914,0.0000,0.0000,90.0000,999.0);
  590. SetPlayerObjectMaterial(playerid, TempObjectNumber, 0, 19659, "MatTubes", "YellowDirt1", 0);
  591. CreatePlayerObject(playerid,19680,70.0058,3697.9932,29.3538,0.0000,0.0000,-0.0000,999.0);
  592. CreatePlayerObject(playerid,19670,25.0058,3697.9932,-20.6709,0.0000,0.0000,-0.0000,999.0);
  593. CreatePlayerObject(playerid,19649,20.0058,3697.9932,29.3539,0.0000,0.0000,0.0000,999.0);
  594. CreatePlayerObject(playerid,19659,-15.6602,3682.0776,34.8538,180.0000,0.0000,0.0000,999.0);
  595. CreatePlayerObject(playerid,19649,20.0058,3666.1621,29.3538,0.0000,0.0000,-180.0000,999.0);
  596. CreatePlayerObject(playerid,19649,120.0058,3666.1621,29.3538,0.0000,0.0000,-180.0000,999.0);
  597. CreatePlayerObject(playerid,19670,25.0058,3666.1621,-20.6709,0.0000,0.0000,-0.0000,999.0);
  598. CreatePlayerObject(playerid,19664,241.2924,3679.2480,31.6038,0.0000,0.0000,90.0000,999.0);
  599. CreatePlayerObject(playerid,19649,185.1914,3693.1628,29.3538,0.0000,0.0000,-135.0000,999.0);
  600. CreatePlayerObject(playerid,19661,236.0429,3714.9141,29.3538,0.0000,0.0000,-180.0000,999.0);
  601. CreatePlayerObject(playerid,19670,125.0058,3666.1621,-20.6709,0.0000,0.0000,-0.0000,999.0);
  602. CreatePlayerObject(playerid,19648,241.2924,3599.2480,29.3538,0.0000,0.0000,-90.0000,999.0);
  603. CreatePlayerObject(playerid,19644,110.4799,3498.2903,11.5691,0.0000,0.0000,180.0000,999.0);
  604. CreatePlayerObject(playerid,19670,241.2924,3679.2480,-16.1709,0.0000,0.0000,90.0000,999.0);
  605. CreatePlayerObject(playerid,19647,241.2924,3569.2480,29.3539,0.0000,0.0000,90.0000,999.0);
  606. CreatePlayerObject(playerid,19664,241.2924,3489.2480,31.6038,0.0000,0.0000,90.0000,999.0);
  607. CreatePlayerObject(playerid,19670,241.2924,3489.2480,-16.1709,0.0000,0.0000,90.0000,999.0);
  608. CreatePlayerObject(playerid,19663,241.2924,3419.2480,27.1038,0.0000,0.0000,90.0000,999.0);
  609. CreatePlayerObject(playerid,19646,241.2924,3459.2480,29.3538,0.0000,0.0000,90.0000,999.0);
  610. CreatePlayerObject(playerid,19646,241.2924,3449.2480,29.3538,0.0000,0.0000,90.0000,999.0);
  611. CreatePlayerObject(playerid,19664,241.2924,3369.2480,31.6038,0.0000,0.0000,90.0000,999.0);
  612. CreatePlayerObject(playerid,19670,241.2924,3369.2480,-16.1709,0.0000,0.0000,90.0000,999.0);
  613. CreatePlayerObject(playerid,19663,241.2924,3319.2480,27.1038,0.0000,0.0000,90.0000,999.0);
  614. CreatePlayerObject(playerid,19661,236.0429,3283.5820,29.3538,0.0000,0.0000,90.0000,999.0);
  615. CreatePlayerObject(playerid,19661,235.9641,3283.5449,34.8538,-180.0000,0.0000,179.0000,999.0);
  616. CreatePlayerObject(playerid,19649,200.3770,3278.3325,29.3538,0.0000,-0.0000,-0.0000,999.0);
  617. TempObjectNumber = CreatePlayerObject(playerid,19652,175.3770,3294.2480,39.3538,0.0000,0.0000,0.0000,999.0);
  618. SetPlayerObjectMaterial(playerid, TempObjectNumber, 0, 19659, "MatTubes", "GreenDirt1", 0);
  619. TempObjectNumber = CreatePlayerObject(playerid,19652,175.3770,3294.2480,59.3538,0.0000,0.0000,0.0000,999.0);
  620. SetPlayerObjectMaterial(playerid, TempObjectNumber, 0, 19659, "MatTubes", "GreenDirt1", 0);
  621. TempObjectNumber = CreatePlayerObject(playerid,19652,175.3769,3294.2480,79.3538,0.0000,0.0000,0.0000,999.0);
  622. SetPlayerObjectMaterial(playerid, TempObjectNumber, 0, 19659, "MatTubes", "GreenDirt1", 0);
  623. TempObjectNumber = CreatePlayerObject(playerid,19652,175.3770,3294.2480,44.8538,180.0000,0.0000,-180.0000,999.0);
  624. SetPlayerObjectMaterial(playerid, TempObjectNumber, 0, 19659, "MatTubes", "GreenDirt1", 0);
  625. TempObjectNumber = CreatePlayerObject(playerid,19652,175.3769,3294.2480,99.3538,0.0000,0.0000,0.0000,999.0);
  626. SetPlayerObjectMaterial(playerid, TempObjectNumber, 0, 19659, "MatTubes", "GreenDirt1", 0);
  627. CreatePlayerObject(playerid,19670,185.3770,3278.3325,-20.6709,0.0000,0.0000,-0.0000,999.0);
  628. CreatePlayerObject(playerid,19661,164.7110,3283.5820,109.3538,0.0000,0.0000,-0.0000,999.0);
  629. CreatePlayerObject(playerid,19649,159.4614,3319.2480,109.3538,0.0000,-0.0000,-90.0000,999.0);
  630. CreatePlayerObject(playerid,19649,159.4614,3369.2480,109.3538,0.0000,-0.0000,-90.0000,999.0);
  631. CreatePlayerObject(playerid,19670,159.4614,3364.2480,59.3291,0.0000,0.0000,90.0000,999.0);
  632. TempObjectNumber = CreatePlayerObject(playerid,19666,159.4614,3487.1279,85.3316,0.0000,0.0000,90.0000,999.0);
  633. SetPlayerObjectMaterial(playerid, TempObjectNumber, 0, 19659, "MatTubes", "YellowDirt1", 0);
  634. TempObjectNumber = CreatePlayerObject(playerid,19666,159.4614,3560.7900,61.6717,0.0000,0.0000,90.0000,999.0);
  635. SetPlayerObjectMaterial(playerid, TempObjectNumber, 0, 19659, "MatTubes", "YellowDirt1", 0);
  636. CreatePlayerObject(playerid,19670,119.1004,3385.7981,-1.9767,0.0000,0.0000,90.0000,999.0);
  637. TempObjectNumber = CreatePlayerObject(playerid,19649,159.4614,3442.9102,85.6940,0.0000,-0.0000,-90.0000,999.0);
  638. SetPlayerObjectMaterial(playerid, TempObjectNumber, 0, 19659, "MatTubes", "YellowDirt1", 0);
  639. CreatePlayerObject(playerid,19684,159.4614,3667.4851,81.6925,0.0000,-30.0000,90.0000,999.0);
  640. CreatePlayerObject(playerid,19649,159.4614,3634.6316,63.6678,0.0000,30.0000,-90.0000,999.0);
  641. CreatePlayerObject(playerid,19684,159.4614,3691.5645,88.1445,0.0000,-15.0000,90.0000,999.0);
  642. CreatePlayerObject(playerid,19661,164.7109,3734.6946,88.9614,0.0000,0.0000,-90.0000,999.0);
  643. CreatePlayerObject(playerid,19670,159.4614,3714.0286,38.9367,0.0000,0.0000,90.0000,999.0);
  644. CreatePlayerObject(playerid,19661,283.7699,3734.6946,69.5128,0.0000,0.0000,-180.0000,999.0);
  645. CreatePlayerObject(playerid,19684,187.8412,3739.9441,88.1445,0.0000,0.0000,-0.0000,999.0);
  646. CreatePlayerObject(playerid,19649,224.2404,3739.9441,79.2371,0.0000,-15.0000,180.0000,999.0);
  647. CreatePlayerObject(playerid,19670,273.1040,3739.9441,19.4881,0.0000,0.0000,-0.0000,999.0);
  648. CreatePlayerObject(playerid,19646,289.0194,3719.0288,69.5128,0.0000,0.0000,90.0000,999.0);
  649. CreatePlayerObject(playerid,19661,283.7699,3734.6946,75.0128,180.0000,0.0000,-90.0000,999.0);
  650. CreatePlayerObject(playerid,19682,286.5965,3701.8474,69.5128,0.0000,0.0000,90.0000,999.0);
  651. CreatePlayerObject(playerid,19681,237.4409,3645.8386,69.5129,0.0000,0.0000,-90.0000,999.0);
  652. CreatePlayerObject(playerid,19649,262.0187,3673.8430,69.5129,0.0000,0.0000,45.0000,999.0);
  653. CreatePlayerObject(playerid,19649,235.0180,3608.6575,69.5129,0.0000,0.0000,90.0000,999.0);
  654. CreatePlayerObject(playerid,19649,235.0180,3558.6575,69.5129,0.0000,0.0000,90.0000,999.0);
  655. CreatePlayerObject(playerid,19682,232.5950,3521.4763,69.5129,0.0000,0.0000,90.0000,999.0);
  656. CreatePlayerObject(playerid,19649,130.2005,3429.9766,59.7885,0.0000,-15.0000,90.0000,999.0);
  657. CreatePlayerObject(playerid,19682,208.2971,3497.1785,69.5129,0.0000,0.0000,45.0000,999.0);
  658. CreatePlayerObject(playerid,19649,171.1159,3494.7554,69.5129,0.0000,0.0000,-0.0000,999.0);
  659. CreatePlayerObject(playerid,19646,222.1594,3507.6140,69.5129,0.0000,0.0000,45.0000,999.0);
  660. CreatePlayerObject(playerid,19662,135.4500,3489.5059,69.5129,0.0000,0.0000,-90.0000,999.0);
  661. CreatePlayerObject(playerid,19684,130.2004,3466.3757,68.6959,0.0000,0.0000,-90.0000,999.0);
  662. CreatePlayerObject(playerid,19670,258.4832,3670.3076,19.4881,0.0000,0.0000,45.0000,999.0);
  663. CreatePlayerObject(playerid,19686,108.0004,3345.2810,37.9402,0.0000,0.0000,-90.0000,999.0);
  664. TempObjectNumber = CreatePlayerObject(playerid,19649,119.1004,3381.6802,46.8476,0.0000,-15.0000,90.0000,999.0);
  665. SetPlayerObjectMaterial(playerid, TempObjectNumber, 0, 19659, "MatTubes", "BlueDirt1", 0);
  666. TempObjectNumber = CreatePlayerObject(playerid,19668,113.5504,3349.2935,71.1235,0.0000,15.0000,-90.0000,999.0);
  667. SetPlayerObjectMaterial(playerid, TempObjectNumber, 0, 19659, "MatTubes", "BlueDirt1", 0);
  668. CreatePlayerObject(playerid,19663,108.0004,3257.8167,34.8733,0.0000,0.0000,90.0000,999.0);
  669. CreatePlayerObject(playerid,19670,130.2004,3473.6985,19.3535,0.0000,0.0000,90.0000,999.0);
  670. CreatePlayerObject(playerid,19670,108.0003,3332.8167,-12.9014,0.0000,0.0000,90.0000,999.0);
  671. CreatePlayerObject(playerid,19672,216.7155,3422.5000,35.9592,0.0000,0.0000,0.0000,999.0);
  672. CreatePlayerObject(playerid,19672,275.3560,3419.4604,50.1579,0.0000,0.0000,-36.0000,999.0);
  673. CreatePlayerObject(playerid,19672,281.1376,3401.6663,54.0688,0.0000,0.0000,72.0000,999.0);
  674. CreatePlayerObject(playerid,19672,266.0011,3390.6689,58.0268,0.0000,0.0000,0.0000,999.0);
  675. CreatePlayerObject(playerid,19672,250.8645,3401.6663,61.8254,0.0000,0.0000,-72.0000,999.0);
  676. CreatePlayerObject(playerid,19672,256.6462,3419.4604,65.9731,0.0000,0.0000,-144.0000,999.0);
  677. CreatePlayerObject(playerid,19672,256.6462,3419.4604,85.7634,0.0000,0.0000,-144.0000,999.0);
  678. CreatePlayerObject(playerid,19672,275.3560,3419.4604,69.9482,0.0000,0.0000,-36.0000,999.0);
  679. CreatePlayerObject(playerid,19672,281.1376,3401.6663,73.8591,0.0000,0.0000,72.0000,999.0);
  680. CreatePlayerObject(playerid,19672,266.0011,3390.6689,77.8171,0.0000,0.0000,0.0000,999.0);
  681. CreatePlayerObject(playerid,19672,250.8645,3401.6663,81.6157,0.0000,0.0000,-72.0000,999.0);
  682. CreatePlayerObject(playerid,19672,276.0011,3422.5000,88.0673,0.0000,0.0000,0.0000,999.0);
  683. CreatePlayerObject(playerid,19672,305.9753,3422.5000,88.0673,0.0000,0.0000,0.0000,999.0);
  684. CreatePlayerObject(playerid,19672,327.3069,3417.8904,87.9516,0.0000,0.0000,-45.0000,999.0);
  685. CreatePlayerObject(playerid,19550,7.5000,3710.0000,4.3077,0.0000,0.0000,-180.0000,999.0);
  686. CreatePlayerObject(playerid,19672,331.9166,3366.5771,85.9599,0.0000,0.0000,-90.0000,999.0);
  687. CreatePlayerObject(playerid,19672,331.9166,3316.5845,85.9599,0.0000,0.0000,-90.0000,999.0);
  688. CreatePlayerObject(playerid,19672,331.9166,3346.5918,85.9599,0.0000,0.0000,-90.0000,999.0);
  689. CreatePlayerObject(playerid,19672,331.9166,3266.5923,85.9599,0.0000,0.0000,-90.0000,999.0);
  690. CreatePlayerObject(playerid,19672,331.9166,3296.5999,85.9599,0.0000,0.0000,-90.0000,999.0);
  691. CreatePlayerObject(playerid,19672,327.3070,3245.2786,88.2336,0.0000,0.0000,-135.0000,999.0);
  692. CreatePlayerObject(playerid,19672,304.6953,3245.2788,88.1757,0.0000,0.0000,135.0000,999.0);
  693. CreatePlayerObject(playerid,19672,297.0461,3285.9395,86.1250,0.0000,0.0000,126.0000,999.0);
  694. CreatePlayerObject(playerid,19672,279.2520,3291.7209,82.0771,0.0000,0.0000,16.0000,999.0);
  695. CreatePlayerObject(playerid,19672,268.2546,3276.5845,78.2285,0.0000,0.0000,90.0000,999.0);
  696. CreatePlayerObject(playerid,19672,279.2520,3261.4480,73.9912,0.0000,0.0000,-20.0000,999.0);
  697. CreatePlayerObject(playerid,19672,297.0460,3267.2297,70.2106,0.0000,0.0000,54.0000,999.0);
  698. CreatePlayerObject(playerid,19672,300.0856,3286.5845,68.0976,0.0000,0.0000,-90.0000,999.0);
  699. CreatePlayerObject(playerid,19672,300.0856,3316.5479,68.0976,0.0000,0.0000,-90.0000,999.0);
  700. CreatePlayerObject(playerid,19672,300.0001,3336.5508,68.3325,0.0000,0.0000,-90.0000,999.0);
  701. CreatePlayerObject(playerid,19672,300.0001,3366.5588,68.3325,0.0000,0.0000,-90.0000,999.0);
  702. CreatePlayerObject(playerid,19672,300.0001,3386.5305,68.3325,0.0000,0.0000,-90.0000,999.0);
  703. CreatePlayerObject(playerid,19672,300.0001,3416.5354,68.3325,0.0000,0.0000,-90.0000,999.0);
  704. CreatePlayerObject(playerid,19672,311.1857,3436.5845,68.1464,0.0000,0.0000,-90.0000,999.0);
  705. CreatePlayerObject(playerid,19672,311.1857,3466.5889,68.1464,0.0000,0.0000,-90.0000,999.0);
  706. CreatePlayerObject(playerid,19672,311.1857,3486.5654,68.1464,0.0000,0.0000,-90.0000,999.0);
  707. CreatePlayerObject(playerid,19672,311.1857,3516.5720,68.1464,0.0000,0.0000,-90.0000,999.0);
  708. CreatePlayerObject(playerid,19672,311.1857,3531.8862,91.8754,0.0000,0.0000,-90.0000,999.0);
  709. CreatePlayerObject(playerid,19672,311.1857,3560.2422,91.8754,0.0000,0.0000,-90.0000,999.0);
  710. CreatePlayerObject(playerid,19672,311.1857,3590.2336,91.8754,0.0000,0.0000,-90.0000,999.0);
  711. CreatePlayerObject(playerid,19672,311.1858,3610.2466,89.8444,0.0000,0.0000,-90.0000,999.0);
  712. CreatePlayerObject(playerid,19672,311.1858,3640.2439,89.8444,0.0000,0.0000,-90.0000,999.0);
  713. CreatePlayerObject(playerid,19672,315.7955,3661.5525,91.7584,0.0000,0.0000,45.0000,999.0);
  714. CreatePlayerObject(playerid,19540,85.0000,3257.5000,4.3077,0.0000,0.0000,180.0000,999.0);
  715. CreatePlayerObject(playerid,19540,-210.0000,3165.0000,4.3077,0.0000,0.0000,180.0000,999.0);
  716. CreatePlayerObject(playerid,19540,-210.0000,3710.0000,4.3077,0.0000,0.0000,90.0000,999.0);
  717. CreatePlayerObject(playerid,19672,338.4071,3670.7717,91.8683,0.0000,0.0000,45.0000,999.0);
  718. CreatePlayerObject(playerid,19672,346.0564,3691.4324,93.9506,0.0000,0.0000,54.0000,999.0);
  719. CreatePlayerObject(playerid,19672,363.8504,3697.2141,97.8625,0.0000,0.0000,-18.0000,999.0);
  720. CreatePlayerObject(playerid,19672,374.8478,3682.0776,101.8288,0.0000,0.0000,90.0000,999.0);
  721. CreatePlayerObject(playerid,19672,363.8505,3666.9409,105.8737,0.0000,0.0000,18.0000,999.0);
  722. CreatePlayerObject(playerid,19672,346.0564,3672.7227,109.8370,0.0000,0.0000,-54.0000,999.0);
  723. CreatePlayerObject(playerid,19672,346.0564,3672.7227,129.7860,0.0000,0.0000,-54.0000,999.0);
  724. CreatePlayerObject(playerid,19672,363.8505,3666.9409,125.8226,0.0000,0.0000,18.0000,999.0);
  725. CreatePlayerObject(playerid,19672,374.8478,3682.0776,121.7777,0.0000,0.0000,90.0000,999.0);
  726. CreatePlayerObject(playerid,19672,363.8504,3697.2141,117.8115,0.0000,0.0000,-18.0000,999.0);
  727. CreatePlayerObject(playerid,19672,346.0564,3691.4324,113.8996,0.0000,0.0000,54.0000,999.0);
  728. CreatePlayerObject(playerid,19672,338.4071,3693.3833,131.7450,0.0000,0.0000,-45.0000,999.0);
  729. CreatePlayerObject(playerid,19672,311.7588,3697.9929,130.6222,0.0000,0.0000,-0.0000,999.0);
  730. CreatePlayerObject(playerid,19672,287.1232,3697.9929,123.3002,0.0000,0.0000,-0.0000,999.0);
  731. CreatePlayerObject(playerid,19672,269.3201,3697.9929,113.6222,0.0000,0.0000,-0.0000,999.0);
  732. CreatePlayerObject(playerid,19672,243.3627,3697.9929,98.6212,0.0000,0.0000,-0.0000,999.0);
  733. CreatePlayerObject(playerid,19672,226.0258,3697.9929,88.6012,0.0000,0.0000,-0.0000,999.0);
  734. CreatePlayerObject(playerid,19672,200.0598,3697.9929,73.6839,0.0000,0.0000,-0.0000,999.0);
  735. CreatePlayerObject(playerid,19672,178.2511,3697.9929,62.4286,0.0000,0.0000,-0.0000,999.0);
  736. CreatePlayerObject(playerid,19672,154.6358,3697.9929,56.6647,0.0000,0.0000,-0.0000,999.0);
  737. CreatePlayerObject(playerid,19672,35.0058,3697.9932,34.0287,0.0000,0.0000,-0.0000,999.0);
  738. CreatePlayerObject(playerid,19672,5.0128,3697.9932,34.0287,0.0000,0.0000,-0.0000,999.0);
  739. CreatePlayerObject(playerid,19672,5.0128,3666.1621,34.0287,0.0000,0.0000,-0.0000,999.0);
  740. CreatePlayerObject(playerid,19672,35.0058,3666.1621,34.0287,0.0000,0.0000,-0.0000,999.0);
  741. CreatePlayerObject(playerid,19672,55.0236,3666.1621,36.0365,0.0000,0.0000,-0.0000,999.0);
  742. CreatePlayerObject(playerid,19672,85.0416,3666.1621,36.0365,0.0000,0.0000,-0.0000,999.0);
  743. CreatePlayerObject(playerid,19672,105.0083,3666.1621,34.0287,0.0000,0.0000,-0.0000,999.0);
  744. CreatePlayerObject(playerid,19672,134.9800,3666.1621,34.0287,0.0000,0.0000,-0.0000,999.0);
  745. CreatePlayerObject(playerid,19672,159.4567,3669.6313,34.0726,0.0000,0.0000,27.0000,999.0);
  746. CreatePlayerObject(playerid,19672,174.5848,3682.5562,34.1170,0.0000,0.0000,45.0000,999.0);
  747. CreatePlayerObject(playerid,19672,195.7980,3703.7695,34.1170,0.0000,0.0000,45.0000,999.0);
  748. CreatePlayerObject(playerid,19672,215.5406,3718.6057,33.9744,0.0000,0.0000,18.0000,999.0);
  749. CreatePlayerObject(playerid,19672,234.7318,3717.1240,34.0809,0.0000,0.0000,-36.0000,999.0);
  750. CreatePlayerObject(playerid,19672,241.2924,3694.2480,36.0042,0.0000,0.0000,-90.0000,999.0);
  751. CreatePlayerObject(playerid,19672,241.2924,3664.2678,36.0042,0.0000,0.0000,-90.0000,999.0);
  752. CreatePlayerObject(playerid,19672,241.2924,3504.2703,36.0042,0.0000,0.0000,-90.0000,999.0);
  753. CreatePlayerObject(playerid,19672,241.2924,3474.2324,36.0042,0.0000,0.0000,-90.0000,999.0);
  754. CreatePlayerObject(playerid,19672,241.2924,3434.2769,32.0711,0.0000,0.0000,-90.0000,999.0);
  755. CreatePlayerObject(playerid,19672,241.2924,3404.2515,32.0711,0.0000,0.0000,-90.0000,999.0);
  756. CreatePlayerObject(playerid,19672,241.2924,3384.2493,36.0140,0.0000,0.0000,-90.0000,999.0);
  757. CreatePlayerObject(playerid,19672,241.2924,3354.2383,36.0140,0.0000,0.0000,-90.0000,999.0);
  758. CreatePlayerObject(playerid,19672,241.2924,3334.2317,32.0321,0.0000,0.0000,-90.0000,999.0);
  759. CreatePlayerObject(playerid,19672,241.2924,3304.2390,31.9984,0.0000,0.0000,-90.0000,999.0);
  760. CreatePlayerObject(playerid,19672,215.3770,3278.3325,33.8870,0.0000,0.0000,-0.0000,999.0);
  761. CreatePlayerObject(playerid,19672,185.3680,3278.3325,33.8870,0.0000,0.0000,-0.0000,999.0);
  762. TempObjectNumber = CreatePlayerObject(playerid,19652,175.3770,3294.2480,64.8538,180.0000,0.0000,-180.0000,999.0);
  763. SetPlayerObjectMaterial(playerid, TempObjectNumber, 0, 19659, "MatTubes", "GreenDirt1", 0);
  764. TempObjectNumber = CreatePlayerObject(playerid,19652,175.3769,3294.2480,84.8538,180.0000,0.0000,-180.0000,999.0);
  765. SetPlayerObjectMaterial(playerid, TempObjectNumber, 0, 19659, "MatTubes", "GreenDirt1", 0);
  766. CreatePlayerObject(playerid,19672,159.4614,3304.2480,114.0335,0.0000,0.0000,-90.0000,999.0);
  767. CreatePlayerObject(playerid,19672,164.0711,3282.9424,113.9617,0.0000,0.0000,-45.0000,999.0);
  768. CreatePlayerObject(playerid,19672,184.7318,3281.3721,112.0262,0.0000,0.0000,36.0000,999.0);
  769. CreatePlayerObject(playerid,19672,190.5135,3299.1663,107.8524,0.0000,0.0000,-72.0000,999.0);
  770. CreatePlayerObject(playerid,19672,175.3769,3310.1636,103.8580,0.0000,0.0000,-0.0000,999.0);
  771. CreatePlayerObject(playerid,19672,160.2404,3299.1663,100.0933,0.0000,0.0000,72.0000,999.0);
  772. CreatePlayerObject(playerid,19672,166.0220,3281.3721,95.9705,0.0000,0.0000,-36.0000,999.0);
  773. CreatePlayerObject(playerid,19672,159.4614,3334.2378,114.0335,0.0000,0.0000,-90.0000,999.0);
  774. CreatePlayerObject(playerid,19672,159.4614,3354.2266,114.0335,0.0000,0.0000,-90.0000,999.0);
  775. CreatePlayerObject(playerid,19672,159.4614,3384.2668,114.0335,0.0000,0.0000,-90.0000,999.0);
  776. CreatePlayerObject(playerid,19672,159.4614,3412.5928,114.0335,0.0000,0.0000,-90.0000,999.0);
  777. CreatePlayerObject(playerid,19672,159.4614,3486.2449,90.4535,0.0000,0.0000,-90.0000,999.0);
  778. CreatePlayerObject(playerid,19672,159.4614,3559.9297,66.7921,0.0000,0.0000,-90.0000,999.0);
  779. CreatePlayerObject(playerid,19672,159.4614,3579.7673,44.2265,0.0000,0.0000,-90.0000,999.0);
  780. CreatePlayerObject(playerid,19672,159.4615,3427.9221,90.4296,0.0000,0.0000,-90.0000,999.0);
  781. CreatePlayerObject(playerid,19672,159.4615,3457.8840,90.4296,0.0000,0.0000,-90.0000,999.0);
  782. CreatePlayerObject(playerid,19672,159.4613,3620.2524,60.4987,0.0000,0.0000,-90.0000,999.0);
  783. CreatePlayerObject(playerid,19672,159.4613,3646.2703,75.5153,0.0000,0.0000,-90.0000,999.0);
  784. CreatePlayerObject(playerid,19672,159.4613,3668.8413,87.1338,0.0000,0.0000,-90.0000,999.0);
  785. CreatePlayerObject(playerid,19672,159.4613,3693.7808,93.1308,0.0000,0.0000,-90.0000,999.0);
  786. CreatePlayerObject(playerid,19672,190.6684,3739.9441,92.3369,0.0000,0.0000,0.0000,999.0);
  787. CreatePlayerObject(playerid,19672,210.4541,3739.9441,87.6401,0.0000,0.0000,0.0000,999.0);
  788. CreatePlayerObject(playerid,19672,239.4345,3739.9441,79.8874,0.0000,0.0000,0.0000,999.0);
  789. CreatePlayerObject(playerid,19672,263.4093,3739.9441,74.7607,0.0000,0.0000,0.0000,999.0);
  790. CreatePlayerObject(playerid,19672,285.5501,3699.5776,74.1313,-0.0000,0.0000,63.0000,999.0);
  791. CreatePlayerObject(playerid,19672,272.6253,3684.4497,74.1723,-0.0000,0.0000,45.0000,999.0);
  792. CreatePlayerObject(playerid,19672,251.4121,3663.2366,74.1261,-0.0000,0.0000,45.0000,999.0);
  793. CreatePlayerObject(playerid,19672,236.5759,3643.4939,74.1149,-0.0000,0.0000,72.0000,999.0);
  794. CreatePlayerObject(playerid,19672,235.0180,3623.6575,74.2145,-0.0000,0.0000,90.0000,999.0);
  795. CreatePlayerObject(playerid,19672,235.0180,3593.5452,74.2145,-0.0000,0.0000,90.0000,999.0);
  796. CreatePlayerObject(playerid,19672,235.0180,3573.5925,74.2145,-0.0000,0.0000,90.0000,999.0);
  797. CreatePlayerObject(playerid,19672,235.0180,3543.6985,74.2145,-0.0000,0.0000,90.0000,999.0);
  798. CreatePlayerObject(playerid,19672,231.5486,3519.2065,74.1295,-0.0000,0.0000,63.0000,999.0);
  799. CreatePlayerObject(playerid,19672,205.9522,3496.3135,74.1754,-0.0000,0.0000,18.0000,999.0);
  800. CreatePlayerObject(playerid,19672,186.1409,3494.8167,74.1754,-0.0000,0.0000,-0.0000,999.0);
  801. CreatePlayerObject(playerid,19672,156.0972,3494.8167,74.1754,-0.0000,0.0000,-0.0000,999.0);
  802. CreatePlayerObject(playerid,19672,134.8101,3490.1458,74.2067,-0.0000,0.0000,45.0000,999.0);
  803. CreatePlayerObject(playerid,19672,130.2005,3463.4688,72.9750,-0.0000,0.0000,90.0000,999.0);
  804. CreatePlayerObject(playerid,19672,130.2005,3443.7839,68.1349,-0.0000,0.0000,90.0000,999.0);
  805. CreatePlayerObject(playerid,19672,130.2005,3414.7671,60.4308,-0.0000,0.0000,90.0000,999.0);
  806. CreatePlayerObject(playerid,19672,129.9005,3396.0225,56.9608,-0.0000,0.0000,90.0000,999.0);
  807. CreatePlayerObject(playerid,19672,119.1004,3395.4226,55.3437,-0.0000,0.0000,90.0000,999.0);
  808. CreatePlayerObject(playerid,19672,119.1004,3366.4854,47.5958,-0.0000,0.0000,90.0000,999.0);
  809. CreatePlayerObject(playerid,19672,118.8004,3347.7910,44.0340,-0.0000,0.0000,90.0000,999.0);
  810. CreatePlayerObject(playerid,19672,108.0004,3342.5022,42.2326,-0.0000,0.0000,90.0000,999.0);
  811. CreatePlayerObject(playerid,19672,108.0004,3272.8323,39.8413,-0.0000,0.0000,90.0000,999.0);
  812. CreatePlayerObject(playerid,19672,108.0004,3242.8140,39.7832,-0.0000,0.0000,90.0000,999.0);
  813. CreatePlayerObject(playerid,19649,241.2924,3629.2480,29.3538,0.0000,0.0000,90.0000,999.0);
  814. CreatePlayerObject(playerid,19649,241.2925,3539.2480,29.3539,0.0000,0.0000,90.0000,999.0);
  815. CreatePlayerObject(playerid,19642,241.2924,3589.2480,29.3539,0.0000,0.0000,90.0000,999.0);
  816. CreatePlayerObject(playerid,19642,241.2924,3579.2480,29.3539,0.0000,0.0000,90.0000,999.0);
  817. CreatePlayerObject(playerid,19670,241.7848,3542.6001,-22.0166,0.0000,0.0000,90.0000,999.0);
  818. CreatePlayerObject(playerid,19670,241.2924,3624.2480,-20.6709,0.0000,0.0000,90.0000,999.0);
  819. CreatePlayerObject(playerid,19672,241.2924,3524.2693,34.0474,0.0000,0.0000,-90.0000,999.0);
  820. CreatePlayerObject(playerid,19672,241.2924,3554.2651,34.0474,0.0000,0.0000,-90.0000,999.0);
  821. CreatePlayerObject(playerid,19672,241.2924,3614.2158,34.0474,0.0000,0.0000,-90.0000,999.0);
  822. CreatePlayerObject(playerid,19672,241.2924,3644.2666,34.0474,0.0000,0.0000,-90.0000,999.0);
  823. TempObjectNumber = CreatePlayerObject(playerid,19649,159.4614,3516.5723,62.0340,0.0000,-0.0000,-90.0000,999.0);
  824. SetPlayerObjectMaterial(playerid, TempObjectNumber, 0, 19659, "MatTubes", "YellowDirt1", 0);
  825. CreatePlayerObject(playerid,19672,159.4615,3501.5842,66.7697,0.0000,0.0000,-90.0000,999.0);
  826. CreatePlayerObject(playerid,19672,159.4615,3531.5461,66.7697,0.0000,0.0000,-90.0000,999.0);
  827. CreatePlayerObject(playerid,19685,159.4614,3577.6987,39.1911,0.0000,0.0000,-90.0000,999.0);
  828. CreatePlayerObject(playerid,19685,159.4614,3601.7781,45.6431,0.0000,15.0000,-90.0000,999.0);
  829. CreatePlayerObject(playerid,19646,159.4614,3709.0286,88.9614,0.0000,0.0000,-90.0000,999.0);
  830. CreatePlayerObject(playerid,19646,159.4614,3719.0286,88.9614,0.0000,0.0000,-90.0000,999.0);
  831. CreatePlayerObject(playerid,19670,235.0180,3533.6575,19.4881,0.0000,0.0000,90.0000,999.0);
  832. CreatePlayerObject(playerid,19670,235.0180,3613.6575,19.4881,0.0000,0.0000,90.0000,999.0);
  833. CreatePlayerObject(playerid,19670,159.4614,3447.9102,35.6692,0.0000,0.0000,90.0000,999.0);
  834. CreatePlayerObject(playerid,19670,159.4614,3521.5723,12.0093,0.0000,0.0000,90.0000,999.0);
  835. CreatePlayerObject(playerid,19670,159.4614,3570.0881,-11.5234,0.0000,0.0000,90.0000,999.0);
  836. CreatePlayerObject(playerid,19661,164.7110,3734.6946,94.4614,-180.0000,0.0000,0.0000,999.0);
  837. CreatePlayerObject(playerid,19670,316.0011,3240.6689,33.4567,0.0000,0.0000,-0.0000,999.0);
  838. CreatePlayerObject(playerid,19550,272.4998,3570.0000,4.3080,0.0000,0.0000,0.0000,999.0);
  839. CreatePlayerObject(playerid,19550,147.4997,3570.0000,4.3080,0.0000,0.0000,-180.0000,999.0);
  840. CreatePlayerObject(playerid,19550,272.4998,3445.0000,4.3080,0.0000,0.0000,180.0000,999.0);
  841. CreatePlayerObject(playerid,19550,272.4998,3320.0000,4.3080,0.0000,0.0000,0.0000,999.0);
  842. CreatePlayerObject(playerid,19549,85.0002,3273.7500,4.3077,0.0000,0.0000,-180.0000,999.0);
  843. CreatePlayerObject(playerid,19542,334.9997,3445.0000,4.3077,0.0000,0.0000,0.0000,999.0);
  844. CreatePlayerObject(playerid,19542,334.9997,3320.0000,4.3077,0.0000,0.0000,0.0000,999.0);
  845. CreatePlayerObject(playerid,19550,147.4997,3445.0000,4.3080,0.0000,0.0000,-0.0000,999.0);
  846. CreatePlayerObject(playerid,19550,147.4997,3320.0000,4.3080,0.0000,0.0000,-180.0000,999.0);
  847. CreatePlayerObject(playerid,762,159.2296,3364.1545,8.0631,0.0000,0.0000,0.0000,999.0);
  848. CreatePlayerObject(playerid,621,172.3828,3530.9956,4.1185,0.0000,0.0000,0.0000,999.0);
  849. CreatePlayerObject(playerid,621,210.9594,3632.0981,4.1185,0.0000,0.0000,-81.0000,999.0);
  850. CreatePlayerObject(playerid,621,216.5798,3372.2180,4.1185,0.0000,0.0000,-55.0000,999.0);
  851. CreatePlayerObject(playerid,621,169.0373,3244.0442,4.1185,0.0000,0.0000,21.0000,999.0);
  852. CreatePlayerObject(playerid,621,348.5469,3253.4072,4.1185,0.0000,0.0000,71.0000,999.0);
  853. CreatePlayerObject(playerid,762,159.7794,3569.8127,8.0631,0.0000,0.0000,40.0000,999.0);
  854. CreatePlayerObject(playerid,762,311.5156,3624.8386,8.0631,0.0000,0.0000,78.0000,999.0);
  855. CreatePlayerObject(playerid,762,298.8590,3306.5583,8.0631,0.0000,0.0000,126.0000,999.0);
  856. CreatePlayerObject(playerid,762,24.2674,3664.7112,8.0631,0.0000,0.0000,169.0000,999.0);
  857. CreatePlayerObject(playerid,762,159.5200,3713.7891,8.0631,0.0000,0.0000,-140.0000,999.0);
  858. CreatePlayerObject(playerid,762,290.4150,3422.7559,8.0631,0.0000,0.0000,-175.0000,999.0);
  859. CreatePlayerObject(playerid,762,240.0694,3678.5208,8.0631,0.0000,0.0000,122.0000,999.0);
  860. CreatePlayerObject(playerid,762,107.5217,3293.8779,9.0631,0.0000,0.0000,50.0000,999.0);
  861. CreatePlayerObject(playerid,621,60.2490,3681.9932,4.1185,0.0000,0.0000,36.0000,999.0);
  862. CreatePlayerObject(playerid,621,313.2220,3679.3630,4.1185,0.0000,0.0000,82.0000,999.0);
  863. CreatePlayerObject(playerid,621,267.0584,3501.8621,4.1185,0.0000,0.0000,27.0000,999.0);
  864. CreatePlayerObject(playerid,621,263.6267,3280.8892,4.1185,0.0000,0.0000,-52.0000,999.0);
  865. CreatePlayerObject(playerid,621,318.7102,3387.3503,4.1185,0.0000,0.0000,42.0000,999.0);
  866. CreatePlayerObject(playerid,621,131.9952,3640.5090,4.1185,0.0000,0.0000,121.0000,999.0);
  867. CreatePlayerObject(playerid,3509,87.8005,3438.1350,4.1266,0.0000,0.0000,-45.0000,999.0);
  868. CreatePlayerObject(playerid,3509,87.8005,3407.0583,4.1266,0.0000,0.0000,62.0000,999.0);
  869. CreatePlayerObject(playerid,19649,108.0004,3307.8167,37.1233,0.0000,0.0000,90.0000,999.0);
  870. CreatePlayerObject(playerid,19684,139.8314,3245.2810,36.3063,0.0000,0.0000,90.0000,999.0);
  871. CreatePlayerObject(playerid,19649,139.8315,3281.6802,27.3989,0.0000,-15.0000,-90.0000,999.0);
  872. CreatePlayerObject(playerid,19686,139.8315,3318.0793,18.4916,0.0000,0.0000,90.0000,999.0);
  873. CreatePlayerObject(playerid,19661,145.0810,3451.2097,17.6746,0.0000,0.0000,-90.0000,999.0);
  874. CreatePlayerObject(playerid,19649,139.8315,3355.5437,17.6746,0.0000,0.0000,-90.0000,999.0);
  875. CreatePlayerObject(playerid,19649,139.8315,3405.5437,17.6746,0.0000,0.0000,-90.0000,999.0);
  876. CreatePlayerObject(playerid,19646,139.8315,3435.5437,17.6746,0.0000,0.0000,-90.0000,999.0);
  877. CreatePlayerObject(playerid,19649,180.7469,3456.4592,17.6746,0.0000,0.0000,180.0000,999.0);
  878. CreatePlayerObject(playerid,19662,216.4129,3461.7087,17.6746,0.0000,0.0000,90.0000,999.0);
  879. CreatePlayerObject(playerid,19662,216.4129,3493.0408,17.6746,0.0000,0.0000,-180.0000,999.0);
  880. CreatePlayerObject(playerid,19646,221.6624,3477.3748,17.6746,0.0000,0.0000,-90.0000,999.0);
  881. CreatePlayerObject(playerid,19649,170.8531,3498.2903,14.6323,0.0000,-5.0000,0.0000,999.0);
  882. CreatePlayerObject(playerid,19648,130.4799,3498.2903,11.5691,0.0000,0.0000,-180.0000,999.0);
  883. CreatePlayerObject(playerid,19642,120.4800,3498.2903,11.5691,0.0000,0.0000,-0.0000,999.0);
  884. CreatePlayerObject(playerid,19650,93.7424,3498.2903,6.9995,0.0000,-19.0000,0.0000,999.0);
  885. CreatePlayerObject(playerid,19534,77.5000,3500.0000,4.3077,0.0000,0.0000,90.0000,999.0);
  886. CreatePlayerObject(playerid,3509,87.8005,3513.5872,4.1266,0.0000,0.0000,-45.0000,999.0);
  887. CreatePlayerObject(playerid,3509,87.8005,3482.5103,4.1266,0.0000,0.0000,62.0000,999.0);
  888. CreatePlayerObject(playerid,19672,108.0004,3322.8167,41.8230,-0.0000,0.0000,90.0000,999.0);
  889. CreatePlayerObject(playerid,19672,108.0004,3292.8167,41.8230,-0.0000,0.0000,90.0000,999.0);
  890. CreatePlayerObject(playerid,19672,112.6100,3221.5107,41.8151,0.0000,0.0000,135.0000,999.0);
  891. CreatePlayerObject(playerid,19672,135.2216,3221.5107,41.8151,0.0000,0.0000,-135.0000,999.0);
  892. CreatePlayerObject(playerid,19672,139.8314,3244.9832,40.9682,-0.0000,0.0000,90.0000,999.0);
  893. CreatePlayerObject(playerid,19672,139.8314,3267.9055,35.9077,-0.0000,0.0000,90.0000,999.0);
  894. CreatePlayerObject(playerid,19672,139.8314,3296.8618,28.1914,-0.0000,0.0000,90.0000,999.0);
  895. CreatePlayerObject(playerid,19672,139.8314,3317.8293,23.2563,-0.0000,0.0000,90.0000,999.0);
  896. CreatePlayerObject(playerid,19672,139.8314,3340.5437,22.4207,-0.0000,0.0000,90.0000,999.0);
  897. CreatePlayerObject(playerid,19672,139.8314,3370.5759,22.4207,-0.0000,0.0000,90.0000,999.0);
  898. CreatePlayerObject(playerid,19672,139.8314,3390.5437,22.4207,-0.0000,0.0000,90.0000,999.0);
  899. CreatePlayerObject(playerid,19672,139.8314,3420.5437,22.4207,-0.0000,0.0000,90.0000,999.0);
  900. CreatePlayerObject(playerid,19672,144.4411,3451.8496,22.4207,-0.0000,0.0000,45.0000,999.0);
  901. CreatePlayerObject(playerid,19672,165.7469,3456.4592,22.4207,-0.0000,0.0000,-0.0000,999.0);
  902. CreatePlayerObject(playerid,19672,195.7418,3456.4592,22.4207,-0.0000,0.0000,-0.0000,999.0);
  903. CreatePlayerObject(playerid,19672,217.0527,3461.0688,22.4207,-0.0000,0.0000,45.0000,999.0);
  904. CreatePlayerObject(playerid,19672,217.0528,3493.6804,22.4207,-0.0000,0.0000,-45.0000,999.0);
  905. CreatePlayerObject(playerid,19672,185.5585,3498.2903,20.4852,-0.0000,0.0000,-0.0000,999.0);
  906. CreatePlayerObject(playerid,19672,155.6512,3498.2903,17.9867,-0.0000,0.0000,-0.0000,999.0);
  907. CreatePlayerObject(playerid,19670,108.0004,3257.8167,-17.4014,0.0000,0.0000,90.0000,999.0);
  908. CreatePlayerObject(playerid,19670,139.8314,3232.8167,-12.9015,0.0000,0.0000,90.0000,999.0);
  909. CreatePlayerObject(playerid,19670,139.8315,3330.5437,-32.3501,0.0000,0.0000,90.0000,999.0);
  910. CreatePlayerObject(playerid,19670,139.8315,3410.5437,-32.3501,0.0000,0.0000,90.0000,999.0);
  911. CreatePlayerObject(playerid,19670,185.7469,3456.4592,-32.3501,0.0000,0.0000,-0.0000,999.0);
  912. CreatePlayerObject(playerid,19670,175.5944,3498.2903,-34.9671,0.0000,0.0000,-0.0000,999.0);
  913. CreatePlayerObject(playerid,19659,123.9158,3222.1506,37.1233,0.0000,0.0000,90.0000,999.0);
  914. CreatePlayerObject(playerid,19542,147.4997,3257.5000,4.3080,0.0000,0.0000,-90.0000,999.0);
  915. CreatePlayerObject(playerid,19543,77.5002,3383.7500,4.3077,0.0000,0.0000,0.0000,999.0);
  916. CreatePlayerObject(playerid,19536,7.5000,3461.2500,4.3077,0.0000,0.0000,0.0000,999.0);
  917. CreatePlayerObject(playerid,19536,7.5000,3803.7500,4.3077,0.0000,0.0000,0.0000,999.0);
  918. CreatePlayerObject(playerid,19550,147.4997,3695.0000,4.3080,0.0000,0.0000,-0.0000,999.0);
  919. CreatePlayerObject(playerid,19550,272.4998,3695.0000,4.3080,0.0000,0.0000,-180.0000,999.0);
  920. CreatePlayerObject(playerid,621,236.0952,3742.8730,4.1185,0.0000,0.0000,125.0000,999.0);
  921. CreatePlayerObject(playerid,19536,7.5000,3383.7500,4.3077,0.0000,0.0000,0.0000,999.0);
  922. // Exit here
  923. return 1;
  924. }
  925. public SIAutoFix()
  926. {
  927. // AutoFix Timer
  928. // -------------
  929. // Loop
  930. for (new playerid = 0; playerid < MAX_PLAYERS; playerid++)
  931. {
  932. // Check if the player is connected, is not a NPC and has AutoFix enabled
  933. if (IsPlayerConnected(playerid) && !IsPlayerNPC(playerid) && SIAutoFixDisabled[playerid] == 0)
  934. {
  935. // Check if player is the driver of the vehicle
  936. if (GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
  937. {
  938. // Get vehicle health
  939. new Float:CurVehicleHealth;
  940. new playervid = GetPlayerVehicleID(playerid);
  941. GetVehicleHealth(playervid, CurVehicleHealth);
  942. // Check if the vehicles health is less than 990... if so repair the vehicle
  943. // (repairs bodywork and sets vehicle health to 1000)
  944. if (CurVehicleHealth < 990) RepairVehicle(playervid);
  945. }
  946. }
  947. }
  948. // Exit here
  949. return 1;
  950. }
  951. // return true if provide vehicleid is an infernus created by this script
  952. IsSIInfernus(vehicleid)
  953. {
  954. for (new i = 0; i < NUM_SI_VEHICLES; i++)
  955. {
  956. if(SIInfernus[i] == vehicleid) return true;
  957. }
  958. return false;
  959. }