Advertisement
Guest User

Untitled

a guest
Nov 6th, 2016
317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 157.80 KB | None | 0 0
  1.  
  2. #include <a_samp>
  3. #include <YSI\y_ini>
  4. #include <zcmd>
  5. #include <sscanf2>
  6.  
  7. #define COL_WHITE "{FFFFFF}"
  8. #define COL_RED "{F81414}"
  9. #define COL_GREEN "{00FF22}"
  10. #define COL_LIGHTBLUE "{00CED1}"
  11.  
  12. #define BODY_PART_TORSO 3
  13. #define BODY_PART_GROIN 4
  14. #define BODY_PART_LEFT_ARM 5
  15. #define BODY_PART_RIGHT_ARM 6
  16. #define BODY_PART_LEFT_LEG 7
  17. #define BODY_PART_RIGHT_LEG 8
  18. #define BODY_PART_HEAD 9
  19. #define COLOR_GREY 0xAFAFAFAA
  20. #define COLOR_GREEN 0x33AA33AA
  21. #define COLOR_ORANGE 0xFF9900AA
  22. #define COLOR_RED 0xAA3333AA
  23. #define COLOR_YELLOW 0xFFFF00AA
  24. #define PATH "/Users/%s.ini"
  25. #define DIALOG_ADMINCMDS 3
  26. #define DIALOG_CMDS 4
  27. #define DIALOG_REGISTER 1
  28. #define DIALOG_LOGIN 2
  29. #define DIALOG_SUCCESS_1 3
  30. #define DIALOG_SUCCESS_2 4
  31. #define DIALOG_RULES 6
  32. #define DIALOG_CREDITS 7
  33. #define white 0xFFFFFFA
  34. #define red 0xFF0000AA
  35. #define lime 0x00FF00FF
  36. #define yellow 0xFFFF00FF
  37.  
  38.  
  39. #define E_TIME 400
  40. #define E_MAX_NUMBER 50
  41. #define E_MIN_NUMBER 30
  42. #define E_COINS 2
  43.  
  44. #if E_MAX_NUMBER < E_MIN_NUMBER
  45. #error "MAX_NUMBER shouldn't be less than MIN_NUMBER"
  46. #endif
  47.  
  48. enum E_SERVER_DATA
  49. {
  50. bool: E_STARTED,
  51. E_ANSWER,
  52. E_START_TIME,
  53. E_TIMER,
  54. }
  55. new gServerData[E_SERVER_DATA];
  56.  
  57. forward LoadGame();
  58.  
  59. //////////////// SHOP /////////////////////////
  60. //1.SMG's.
  61. #define UZI_PRICE (3)
  62. #define UZI_AMMO (150)
  63. #define TEC9_PRICE (3)
  64. #define TEC9_AMMO (150)
  65.  
  66. //2.Pistols
  67. #define Deagle_PRICE (2)
  68. #define Deagle_AMMO (80)
  69. #define S9mm_PRICE (2)
  70. #define S9mm_AMMO (80)
  71. #define P9mm_PRICE (2)
  72. #define P9mm_AMMO (2)
  73.  
  74. //3.Shotguns
  75. #define Swanoff_PRICE (5)
  76. #define Swanoff_AMMO (80)
  77. #define Combat_PRICE (5)
  78. #define Combat_AMMO (150)
  79.  
  80. //4.Rifles
  81. #define M4_PRICE (4)
  82. #define M4_AMMO (200)
  83. #define AK47_PRICE (3)
  84. #define AK47_AMMO (199)
  85. #define Sniper_PRICE (5)
  86. #define Sniper_AMMO (50)
  87. #define Country_PRICE (3)
  88. #define Country_AMMO (50)
  89.  
  90. //5.Extra
  91. #define Grenade_PRICE (6)
  92. #define Grenade_AMMO (3)
  93. #define Molotov_PRICE (5)
  94. #define Molotov_AMMO (3)
  95. #define Knife_PRICE (5)
  96. #define Knife_AMMO (1)
  97. #define Teargas_PRICE (3)
  98. #define Teargas_AMMO (3)
  99.  
  100.  
  101. new PlayerText:Textdraw0[MAX_PLAYERS];
  102. new PlayerText:Textdraw1[MAX_PLAYERS];
  103. new PlayerText:Textdraw2[MAX_PLAYERS];
  104. new PlayerText:Textdraw3[MAX_PLAYERS];
  105. new PlayerText:Textdraw4[MAX_PLAYERS];
  106. new PlayerText:Textdraw5[MAX_PLAYERS];
  107. new PlayerText:Textdraw6[MAX_PLAYERS];
  108. new PlayerText:Textdraw7[MAX_PLAYERS];
  109. new PlayerText:Textdraw8[MAX_PLAYERS];
  110. new PlayerText:Textdraw9[MAX_PLAYERS];
  111. new PlayerText:Textdraw10[MAX_PLAYERS];
  112. new PlayerText:Textdraw11[MAX_PLAYERS];
  113. new PlayerText:Textdraw12[MAX_PLAYERS];
  114. new PlayerText:Textdraw13[MAX_PLAYERS];
  115. new PlayerText:Textdraw14[MAX_PLAYERS];
  116. new PlayerText:Textdraw15[MAX_PLAYERS];
  117. new PlayerText:Textdraw16[MAX_PLAYERS];
  118. new PlayerText:Textdraw17[MAX_PLAYERS];
  119. new PlayerText:Textdraw18[MAX_PLAYERS];
  120. new PlayerText:Textdraw19[MAX_PLAYERS];
  121. new PlayerText:Textdraw20[MAX_PLAYERS];
  122. new PlayerText:Textdraw21[MAX_PLAYERS];
  123. new PlayerText:Textdraw22[MAX_PLAYERS];
  124. new PlayerText:Textdraw23[MAX_PLAYERS];
  125. new PlayerText:Textdraw24[MAX_PLAYERS];
  126.  
  127. enum DuelSystem
  128. {
  129. playername[25],
  130. induel,
  131. weapname[45],
  132. weapid
  133. }
  134. new duelinfo[MAX_PLAYERS][DuelSystem];
  135.  
  136. enum sWeaponInfo
  137. {
  138. Name[60],
  139. Valid,
  140. Slot
  141. }
  142.  
  143. new WeaponInfo[][sWeaponInfo] =
  144. {
  145. {"Fist",1,0},
  146. {"Brass Knuckles",1,0},
  147. {"Golf Club",1,1},
  148. {"Nightstick",1,1},
  149. {"Knife",1,1},
  150. {"Baseball Bat",1,1},
  151. {"Shovel",1,1},
  152. {"Pool cue",1,1},
  153. {"Katana",1,1},
  154. {"Chainsaw",1,1},
  155. {"Double-ended Dildo",1,10},
  156. {"Dildo",1,10},
  157. {"Vibrator",1,10},
  158. {"Silver Vibrator",1,10},
  159. {"Flowers",1,10},
  160. {"Cane",1,10},
  161. {"Grenade",1,8},
  162. {"Tear Gas",1,8},
  163. {"Molotov Cocktail",1,8},
  164. {"",0},
  165. {"",0},
  166. {"",0},
  167. {"9mm Pistol",1,2},
  168. {"Silenced 9mm",1,2},
  169. {"Deagle",1,2},
  170. {"Shotgun",1,3},
  171. {"Sawnoff Shotgun",1,3},
  172. {"Combat Shotgun",1,3},
  173. {"Micro SMG",1,4},
  174. {"MP5",1,4},
  175. {"AK-47",1,5},
  176. {"M4",1,5},
  177. {"Tec-9",1,4},
  178. {"Country Rifle",1,6},
  179. {"Sniper Rifle",1,6},
  180. {"RPG",1,7},
  181. {"HS Rocket",1,7},
  182. {"Flamethrower",1,7},
  183. {"Minigun",1,7},
  184. {"Sachel Charge",1,8},
  185. {"Detonator",1,12},
  186. {"Spray Can",1,9},
  187. {"Fire Extinguisher",1,9},
  188. {"Camera",1,9},
  189. {"Night Vision Goggles",0,11},
  190. {"Thermal Goggles",0,11},
  191. {"Parachute",1,11}
  192. };
  193.  
  194. new invite[MAX_PLAYERS],
  195. inviter[MAX_PLAYERS],
  196. DuelSender[MAX_PLAYERS],
  197. DuelReciever[MAX_PLAYERS];
  198.  
  199. // Colors
  200. #define RED "{FF0000}"
  201. #define DARKRED "{CC0000}"
  202. #define YELLOW "{FFFF00}"
  203. #define GREEN "{00FF00}"
  204. #define BLUE "{0000FF}"
  205. #define ORANGE "{FF7F2A}"
  206. #define PURPLE "{FF00FF}"
  207. #define LIGHT "{00FFFF}"
  208. #define WHITE "{FFFFFF}"
  209. #define GREY "{696969}"
  210.  
  211. enum
  212. {
  213. // Data from vehicles.ide
  214.  
  215. VEHICLE_LANDSTAL = 400, VEHICLE_BRAVURA, VEHICLE_BUFFALO, VEHICLE_LINERUN,
  216. VEHICLE_PEREN, VEHICLE_SENTINEL, VEHICLE_DUMPER, VEHICLE_FIRETRUK,
  217. VEHICLE_TRASH, VEHICLE_STRETCH, VEHICLE_MANANA, VEHICLE_INFERNUS,
  218. VEHICLE_VOODOO, VEHICLE_PONY, VEHICLE_MULE, VEHICLE_CHEETAH,
  219. VEHICLE_AMBULAN, VEHICLE_LEVIATHN, VEHICLE_MOONBEAM, VEHICLE_ESPERANT,
  220. VEHICLE_TAXI, VEHICLE_WASHING, VEHICLE_BOBCAT, VEHICLE_MRWHOOP,
  221. VEHICLE_BFINJECT, VEHICLE_HUNTER, VEHICLE_PREMIER, VEHICLE_ENFORCER,
  222. VEHICLE_SECURICA, VEHICLE_BANSHEE, VEHICLE_PREDATOR, VEHICLE_BUS,
  223. VEHICLE_RHINO, VEHICLE_BARRACKS, VEHICLE_HOTKNIFE, VEHICLE_ARTICT1,
  224. VEHICLE_PREVION, VEHICLE_COACH, VEHICLE_CABBIE, VEHICLE_STALLION,
  225. VEHICLE_RUMPO, VEHICLE_RCBANDIT, VEHICLE_ROMERO, VEHICLE_PACKER,
  226. VEHICLE_MONSTER, VEHICLE_ADMIRAL, VEHICLE_SQUALO, VEHICLE_SEASPAR,
  227. VEHICLE_PIZZABOY, VEHICLE_TRAM, VEHICLE_ARTICT2, VEHICLE_TURISMO,
  228. VEHICLE_SPEEDER, VEHICLE_REEFER, VEHICLE_TROPIC, VEHICLE_FLATBED,
  229. VEHICLE_YANKEE, VEHICLE_CADDY, VEHICLE_SOLAIR, VEHICLE_TOPFUN,
  230. VEHICLE_SKIMMER, VEHICLE_PCJ600, VEHICLE_FAGGIO, VEHICLE_FREEWAY,
  231. VEHICLE_RCBARON, VEHICLE_RCRAIDER, VEHICLE_GLENDALE, VEHICLE_OCEANIC,
  232. VEHICLE_SANCHEZ, VEHICLE_SPARROW, VEHICLE_PATRIOT, VEHICLE_QUAD,
  233. VEHICLE_COASTG, VEHICLE_DINGHY, VEHICLE_HERMES, VEHICLE_SABRE,
  234. VEHICLE_RUSTLER, VEHICLE_ZR350, VEHICLE_WALTON, VEHICLE_REGINA,
  235. VEHICLE_COMET, VEHICLE_BMX, VEHICLE_BURRITO, VEHICLE_CAMPER,
  236. VEHICLE_MARQUIS, VEHICLE_BAGGAGE, VEHICLE_DOZER, VEHICLE_MAVERICK,
  237. VEHICLE_VCNMAV, VEHICLE_RANCHER, VEHICLE_FBIRANCH, VEHICLE_VIRGO,
  238. VEHICLE_GREENWOO, VEHICLE_JETMAX, VEHICLE_HOTRING, VEHICLE_SANDKING,
  239. VEHICLE_BLISTAC, VEHICLE_POLMAV, VEHICLE_BOXVILLE, VEHICLE_BENSON,
  240. VEHICLE_MESA, VEHICLE_RCGOBLIN, VEHICLE_HOTRINA, VEHICLE_HOTRINB,
  241. VEHICLE_BLOODRA, VEHICLE_RNCHLURE, VEHICLE_SUPERGT, VEHICLE_ELEGANT,
  242. VEHICLE_JOURNEY, VEHICLE_BIKE, VEHICLE_MTBIKE, VEHICLE_BEAGLE,
  243. VEHICLE_CROPDUST, VEHICLE_STUNT, VEHICLE_PETRO, VEHICLE_RDTRAIN,
  244. VEHICLE_NEBULA, VEHICLE_MAJESTIC, VEHICLE_BUCCANEE, VEHICLE_SHAMAL,
  245. VEHICLE_HYDRA, VEHICLE_FCR900, VEHICLE_NRG500, VEHICLE_COPBIKE,
  246. VEHICLE_CEMENT, VEHICLE_TOWTRUCK, VEHICLE_FORTUNE, VEHICLE_CADRONA,
  247. VEHICLE_FBITRUCK, VEHICLE_WILLARD, VEHICLE_FORKLIFT, VEHICLE_TRACTOR,
  248. VEHICLE_COMBINE, VEHICLE_FELTZER, VEHICLE_REMINGTN, VEHICLE_SLAMVAN,
  249. VEHICLE_BLADE, VEHICLE_FREIGHT, VEHICLE_STREAK, VEHICLE_VORTEX,
  250. VEHICLE_VINCENT, VEHICLE_BULLET, VEHICLE_CLOVER, VEHICLE_SADLER,
  251. VEHICLE_FIRELA, VEHICLE_HUSTLER, VEHICLE_INTRUDER, VEHICLE_PRIMO,
  252. VEHICLE_CARGOBOB, VEHICLE_TAMPA, VEHICLE_SUNRISE, VEHICLE_MERIT,
  253. VEHICLE_UTILITY, VEHICLE_NEVADA, VEHICLE_YOSEMITE, VEHICLE_WINDSOR,
  254. VEHICLE_MONSTERA, VEHICLE_MONSTERB, VEHICLE_URANUS, VEHICLE_JESTER,
  255. VEHICLE_SULTAN, VEHICLE_STRATUM, VEHICLE_ELEGY, VEHICLE_RAINDANC,
  256. VEHICLE_RCTIGER, VEHICLE_FLASH, VEHICLE_TAHOMA, VEHICLE_SAVANNA,
  257. VEHICLE_BANDITO, VEHICLE_FREIFLAT, VEHICLE_STREAKC, VEHICLE_KART,
  258. VEHICLE_MOWER, VEHICLE_DUNERIDE, VEHICLE_SWEEPER, VEHICLE_BROADWAY,
  259. VEHICLE_TORNADO, VEHICLE_AT400, VEHICLE_DFT30, VEHICLE_HUNTLEY,
  260. VEHICLE_STAFFORD, VEHICLE_BF400, VEHICLE_NEWSVAN, VEHICLE_TUG,
  261. VEHICLE_PETROTR, VEHICLE_EMPEROR, VEHICLE_WAYFARER, VEHICLE_EUROS,
  262. VEHICLE_HOTDOG, VEHICLE_CLUB, VEHICLE_FREIBOX, VEHICLE_ARTICT3,
  263. VEHICLE_ANDROM, VEHICLE_DODO, VEHICLE_RCCAM, VEHICLE_LAUNCH,
  264. VEHICLE_COPCARLA, VEHICLE_COPCARSF, VEHICLE_COPCARVG, VEHICLE_COPCARRU,
  265. VEHICLE_PICADOR, VEHICLE_SWATVAN, VEHICLE_ALPHA, VEHICLE_PHOENIX,
  266. VEHICLE_GLENSHIT, VEHICLE_SADLSHIT, VEHICLE_BAGBOXA, VEHICLE_BAGBOXB,
  267. VEHICLE_TUGSTAIR, VEHICLE_BOXBURG, VEHICLE_FARMTR1, VEHICLE_UTILTR1
  268. };
  269.  
  270. enum
  271. {
  272. // Data from popcycle.dat
  273.  
  274. ZONE_TYPE_BUSINESS,
  275. ZONE_TYPE_DESERT,
  276. ZONE_TYPE_ENTERTAINMENT,
  277. ZONE_TYPE_COUNTRYSIDE,
  278. ZONE_TYPE_RESIDENTIAL_RICH,
  279. ZONE_TYPE_RESIDENTIAL_AVERAGE,
  280. ZONE_TYPE_RESIDENTIAL_POOR,
  281. ZONE_TYPE_GANGLAND,
  282. ZONE_TYPE_BEACH,
  283. ZONE_TYPE_SHOPPING,
  284. ZONE_TYPE_PARK,
  285. ZONE_TYPE_INDUSTRY,
  286. ZONE_TYPE_ENTERTAINMENT_BUSY,
  287. ZONE_TYPE_SHOPPING_BUSY,
  288. ZONE_TYPE_SHOPPING_POSH,
  289. ZONE_TYPE_RESI_RICH_SECLUDED,
  290. ZONE_TYPE_AIRPORT,
  291. ZONE_TYPE_GOLF_CLUB,
  292. ZONE_TYPE_OUT_OF_TOWN_FACTORY,
  293. ZONE_TYPE_AIRPORT_RUNWAY
  294. };
  295.  
  296. enum e_VEHICLE
  297. {
  298. e_iModel,
  299. Float:e_fX,
  300. Float:e_fY,
  301. Float:e_fZ,
  302. Float:e_fRot
  303. };
  304.  
  305. new const
  306. g_Vehicles[ ][ e_VEHICLE ] =
  307. {
  308. // Data from the binary ipl files located in gta3.img and gta_int.img (the latter probably didn't contain any vehicles)
  309. // Generated by cars.php
  310.  
  311. { 1, -1926.9300, 2360.8900, 48.2519, 0.00 },
  312. { 1, -1925.9700, 2375.4000, 48.7066, 112.50 },
  313. { 510, -1665.5500, 2557.8700, 84.3825, 281.00 },
  314. { 460, -2044.8700, 2348.2300, 1.0000, 85.00 },
  315. { 421, -680.5810, 948.1980, 11.2926, 37.00 },
  316. { 473, -795.1580, 1825.8500, 1.0000, 187.50 },
  317. { 1, -1493.0600, 1879.0200, 32.1078, 180.00 },
  318. { 1, -1489.2400, 1879.0200, 32.1078, 180.00 },
  319. { 1, -1192.7200, 1822.3500, 41.3174, 50.00 },
  320. { 1, -1196.2800, 1818.4300, 41.3174, 30.00 },
  321. { 1, -1200.7600, 1814.3900, 41.3174, 220.00 },
  322. { 471, -938.2540, 1432.0400, 29.0642, 322.00 },
  323. { 468, -1055.0700, 1543.5100, 32.8790, 0.00 },
  324. { 1, 653.0240, 1714.9700, 6.0463, 222.50 },
  325. { 1, 725.0390, 1946.6900, 4.6746, 0.00 },
  326. { 588, 680.8410, 1831.3200, 4.6746, 9.50 },
  327. { 1, 781.7310, 1886.9000, 4.0516, 90.00 },
  328. { 1, 778.0200, 1943.0700, 4.7868, 90.00 },
  329. { 435, 588.3800, 1647.3100, 6.0463, 242.50 },
  330. { 443, 597.8330, 1653.4300, 6.0463, 242.50 },
  331. { 591, 613.3340, 1662.2400, 6.0463, 242.50 },
  332. { 403, 581.0340, 1641.4200, 6.0463, 242.50 },
  333. { 548, 296.1270, 1925.9500, 17.2462, 235.00 },
  334. { 433, 301.8080, 1863.8800, 17.2462, 0.00 },
  335. { 470, 304.8060, 1839.4600, 19.6163, 335.00 },
  336. { 1, -865.4820, 2758.5700, 45.0637, 95.00 },
  337. { 1, -786.6870, 2761.5700, 44.7546, 91.00 },
  338. { 1, -786.6810, 2756.0100, 44.7546, 91.00 },
  339. { 1, -766.3660, 2761.0100, 44.7546, 1.50 },
  340. { 588, -201.5940, 2595.9700, 62.3132, 51.00 },
  341. { 1, -821.0830, 2756.8400, 44.7546, 91.00 },
  342. { 1, -875.8430, 2756.4600, 44.7546, 273.50 },
  343. { 1, -616.6550, 2709.3600, 72.2364, 180.50 },
  344. { 471, -595.7800, 2709.1300, 71.5507, 180.50 },
  345. { 423, -231.6360, 2595.6000, 62.3132, 359.00 },
  346. { 471, -158.2160, 2701.6000, 61.5000, 340.00 },
  347. { 1, -303.9240, 2686.3000, 61.8392, 270.00 },
  348. { 584, -337.4110, 2679.9300, 62.3793, 185.00 },
  349. { 1, -290.5010, 2721.3200, 61.5112, 180.00 },
  350. { 1, -255.2050, 2767.4200, 61.5112, 180.00 },
  351. { 1, -214.7760, 2781.9800, 61.7830, 80.00 },
  352. { 1, -236.3430, 2815.7200, 61.0937, 340.00 },
  353. { 604, -171.8640, 2759.4300, 62.0178, 25.00 },
  354. { 422, -226.8440, 2595.5900, 62.3132, 359.00 },
  355. { 604, -740.1830, 2757.9800, 46.2423, 306.50 },
  356. { 473, -91.5907, 3001.3200, 1.0000, 60.00 },
  357. { 473, -615.6740, 3016.6200, 1.0000, 320.00 },
  358. { 473, -1037.6800, 2994.0000, 1.0000, 75.00 },
  359. { 453, -832.8990, 3020.4700, 1.0000, 320.00 },
  360. { 453, -300.9780, 3054.4000, 1.0000, 320.00 },
  361. { 1, -291.4290, 1756.9700, 41.8357, 267.50 },
  362. { 1, -301.0640, 1762.9800, 41.8357, 89.50 },
  363. { 588, -291.3030, 1731.6200, 41.8357, 47.00 },
  364. { 1, -301.0640, 1750.8000, 41.8357, 89.50 },
  365. { 424, -17.4257, 2355.7400, 23.5071, 144.00 },
  366. { 473, -483.5200, 2182.4700, 42.6707, 179.50 },
  367. { 460, -806.5790, 2229.2000, 40.9529, 269.50 },
  368. { 495, -346.6070, 1609.0600, 75.0474, 93.00 },
  369. { 422, -127.7880, 2244.3100, 31.1122, 169.96 },
  370. { 473, -527.6700, 1634.5500, 0.0687, 232.00 },
  371. // { 447, -622.8630, 1804.1400, 0.0687, 89.00 }, // Seasparrow
  372. { 1, 586.0220, 1222.5300, 11.0922, 30.00 },
  373. { 1, 593.7720, 1226.6100, 11.0922, 30.00 },
  374. { 18, 639.6370, 1246.8900, 10.8406, 120.00 },
  375. { 1, 708.8050, 1202.6300, 12.4502, 85.00 },
  376. { 18, 279.8440, 1346.7200, 9.7165, 90.00 },
  377. { 18, 279.8440, 1363.5600, 9.7165, 90.00 },
  378. { 512, 723.3640, 1217.3900, 13.0266, 345.00 },
  379. { 1, 321.7450, 1137.9000, 7.9396, 115.00 },
  380. { 1, 405.7280, 1152.5600, 7.2815, 75.00 },
  381. { 1, 509.4260, 1122.6600, 14.0896, 220.00 },
  382. { 18, 840.1840, 831.9430, 12.5358, 20.00 },
  383. { 18, 852.0800, 835.7360, 12.6584, 205.00 },
  384. { 18, 859.9190, 838.6670, 12.4138, 205.00 },
  385. { 1, 500.8770, 2384.2500, 29.1301, 144.00 },
  386. { 1, 507.2170, 2380.7600, 29.3482, 144.00 },
  387. { 1, 515.0540, 2373.1700, 29.3716, 144.00 },
  388. { 1, 521.2230, 2372.1500, 29.6648, 144.00 },
  389. { 1, 529.8380, 2365.1200, 29.7639, 144.00 },
  390. { 605, 258.4360, 2890.0400, 10.3709, 90.00 },
  391. // { 447, 266.7030, 2951.8700, 1.0000, 360.00 }, // Seasparrow
  392. { 454, 422.1840, 2976.4500, 1.0000, 320.00 },
  393. { 453, 805.1640, 3002.4600, 1.0000, 320.00 },
  394. { 1, -85.1397, 1339.5500, 10.2088, 188.50 },
  395. { 1, -90.9491, 1338.7100, 10.2088, 188.50 },
  396. { 1, -292.5860, 1569.3700, 75.0474, 314.00 },
  397. { 1, -299.9300, 1576.9300, 75.0474, 314.00 },
  398. { 1, -287.4290, 1564.5100, 75.0474, 314.00 },
  399. { 1, -336.3270, 1515.6600, 75.0474, 179.50 },
  400. { 1, -326.8640, 1515.4800, 75.0474, 179.50 },
  401. { 1, -290.3690, 1322.0600, 53.6922, 262.00 },
  402. { 1, 9.2385, 1165.7300, 18.7745, 180.00 },
  403. { 1, -138.2990, 1083.3500, 18.7988, 180.00 },
  404. { 1, -85.5733, 1120.2800, 18.7988, 349.50 },
  405. { 1, -138.2910, 1124.6500, 18.7988, 272.00 },
  406. { 1, -135.8440, 1177.8200, 18.7988, 180.00 },
  407. { 1, -139.8730, 1177.8800, 18.7988, 180.00 },
  408. { 1, -96.6166, 1222.9700, 18.7988, 2.00 },
  409. { 1, -86.9726, 1222.9700, 18.7988, 2.00 },
  410. { 1, -82.0213, 1222.9700, 18.7988, 2.00 },
  411. { 1, -12.9274, 1224.9400, 18.7988, 92.00 },
  412. { 1, 63.0077, 1221.8400, 18.7988, 349.00 },
  413. { 1, -30.6974, 1165.9900, 18.7988, 179.00 },
  414. { 1, -176.8580, 1224.8900, 18.7988, 90.00 },
  415. { 1, -201.3750, 1218.7200, 18.7988, 15.00 },
  416. { 1, -160.1160, 1230.6700, 18.7988, 15.00 },
  417. { 509, -325.1410, 1117.2300, 19.3511, 270.00 },
  418. { 510, -263.3210, 1170.7900, 19.3511, 5.00 },
  419. { 511, -38.7069, 1083.2000, 19.1872, 5.00 },
  420. { 1, 46.3781, 1122.8100, 18.9469, 270.00 },
  421. { 1, 58.0022, 1158.2900, 17.8983, 180.00 },
  422. { 1, 51.1242, 1157.8500, 17.8983, 180.00 },
  423. { 1, 53.2298, 1177.5300, 17.8983, 0.00 },
  424. { 604, -13.3806, 1389.4800, 8.6538, 185.00 },
  425. { 604, -20.7622, 1341.1400, 8.6538, 300.00 },
  426. { 452, -421.5600, 1158.5800, 0.0687, 89.00 },
  427. { 1, -166.0040, 1013.3000, 18.7920, 180.00 },
  428. { 478, -31.9395, 962.5610, 18.7813, 180.00 },
  429. { 543, 70.7797, 1000.1900, 13.5232, 180.00 },
  430. { 1, -101.3990, 887.7490, 19.5274, 180.00 },
  431. { 1, -154.6920, 871.5520, 17.5154, 90.00 },
  432. { 1, -4.1932, 957.3900, 18.8149, 100.00 },
  433. { 1, -172.6720, 1013.3200, 18.7920, 180.00 },
  434. { 1, -80.6343, 1076.5700, 18.7988, 180.00 },
  435. { 1, -210.5990, 998.4910, 18.7920, 270.00 },
  436. { 442, -304.2210, 1023.7800, 18.7920, 270.00 },
  437. { 1, -303.9900, 1011.9600, 18.7920, 90.00 },
  438. { 473, -492.9110, 615.9930, 0.0687, 179.50 },
  439. { 572, -1076.6000, -1207.1800, 128.2200, 177.49 },
  440. { 531, -1068.9000, -1222.3400, 128.2200, 269.02 },
  441. { -1, -1729.1800, -986.1800, 74.5090, 0.00 },
  442. { 3, -21.9619, -2494.9900, 35.8080, 122.32 },
  443. { 3, -22.9310, -2523.6600, 35.8080, 211.43 },
  444. { 3, -31.2765, -2492.8100, 35.8080, 34.05 },
  445. { 3, -36.6128, -2496.9900, 35.8080, 214.88 },
  446. { 531, -268.8050, -2186.1900, 27.8517, 20.50 },
  447. { 531, -287.4430, -2171.6800, 27.8517, 111.96 },
  448. { 422, -73.2554, -1587.4800, 1.6206, 145.00 },
  449. { 444, -67.4378, -1555.4800, 1.6206, 250.00 },
  450. { 3, -13.6696, -2519.6600, 35.8080, 30.90 },
  451. { 3, -17.8053, -2500.5000, 35.8080, 120.38 },
  452. { 3, -12.9354, -2509.0800, 35.8080, 120.38 },
  453. { 3, 29.6094, -2637.4900, 39.4655, 120.38 },
  454. { 604, -141.1320, -2516.5700, 30.5894, 120.38 },
  455. { 453, -170.3460, -2119.8300, 0.0000, 35.00 },
  456. { 453, -35.4558, -2286.0500, 0.0000, 315.00 },
  457. { 453, 126.4340, -2713.6100, 0.0000, 30.00 },
  458. { 453, 138.8640, -2487.8100, 0.0000, 310.00 },
  459. { 453, -193.6600, -3014.5600, 0.0000, 310.00 },
  460. { 588, 19.6988, -2634.6000, 39.4655, 181.24 },
  461. { 1, -61.6564, -1581.9000, 1.7107, 145.00 },
  462. { 478, -623.4540, -2409.9300, 29.3886, 0.00 },
  463. { 18, -495.0400, -487.6350, 24.5267, 0.00 },
  464. { 18, -544.9850, -486.9760, 24.5267, 0.00 },
  465. { 18, -504.8450, -487.3940, 24.5267, 180.54 },
  466. { 18, -519.4780, -472.1770, 24.5267, 180.54 },
  467. { 18, -504.5110, -472.8230, 24.5267, 180.54 },
  468. { 18, -589.6090, -472.9520, 24.5267, 0.00 },
  469. { 514, -605.4790, -492.1890, 24.5267, 0.00 },
  470. { 584, -572.5030, -500.6890, 24.5267, 0.00 },
  471. { 18, -485.2610, -488.1870, 24.5267, 0.00 },
  472. { 18, -540.3030, -488.2710, 24.5267, 0.00 },
  473. { 18, -560.0550, -473.0050, 24.5267, 0.00 },
  474. { 18, -570.2220, -487.8850, 24.5267, 0.00 },
  475. { 18, -579.9030, -472.2800, 24.5267, 0.00 },
  476. { 18, -560.1540, -488.4590, 24.5267, 180.82 },
  477. { 18, -525.1680, -487.8370, 24.5267, 180.82 },
  478. { 18, -495.2210, -472.7610, 24.5267, 180.82 },
  479. { 468, -430.8710, -391.2440, 15.1802, 148.48 },
  480. { 543, -414.3970, -443.0050, 17.4034, 206.48 },
  481. { 543, -371.9530, -1436.9100, 24.7245, 83.36 },
  482. { 543, -360.2960, -1043.7500, 58.2125, 0.00 },
  483. { 3, -567.5980, -1045.0300, 23.2099, 237.56 },
  484. { 3, -563.1740, -1039.4900, 23.2099, 237.56 },
  485. { 3, -575.4600, -1057.1500, 23.2099, 237.56 },
  486. { 3, -587.1610, -1074.9200, 23.2099, 237.56 },
  487. { 3, -583.3570, -1069.0500, 23.2099, 56.96 },
  488. { 3, -593.1000, -1084.9900, 23.2099, 56.96 },
  489. { 3, -569.6460, -1048.1300, 23.2099, 56.96 },
  490. { 3, -563.8580, -1059.7300, 22.8433, 145.32 },
  491. { 3, -576.3760, -1078.9200, 22.6438, 145.32 },
  492. { 3, -586.5660, -1071.3500, 22.3951, 55.33 },
  493. { 3, -580.3670, -1063.0400, 22.7374, 55.33 },
  494. { 3, -572.3670, -1050.6300, 22.8064, 55.33 },
  495. { 3, -564.8070, -1038.5000, 23.2783, 236.66 },
  496. { 605, -360.9830, -1046.1500, 58.6527, 0.00 },
  497. { 3, -93.1565, -1195.6300, 1.4816, 345.60 },
  498. { 3, -84.4512, -1198.1300, 1.4816, 345.60 },
  499. { 3, -91.4524, -1213.0300, 1.7260, 345.60 },
  500. { 478, -1121.5600, -1658.8100, 75.3668, 0.00 },
  501. { 531, -1436.5900, -1482.9500, 100.7610, 0.00 },
  502. { 531, -1144.3200, -1466.3300, 124.3590, 100.00 },
  503. { 453, -647.4330, -2909.5500, 0.0000, 85.00 },
  504. { 510, -878.4980, -2638.5200, 97.6309, 0.00 },
  505. { 510, -891.0140, -2634.8200, 97.6309, 308.95 },
  506. { 604, -871.2920, -2280.6700, 28.4082, 0.00 },
  507. { 604, -784.4020, -2363.2000, 50.2165, 0.00 },
  508. { 604, -1013.1900, -2460.7700, 73.5105, 0.00 },
  509. { 471, -1002.0400, -2395.9700, 68.7133, 0.00 },
  510. { 471, -1165.5600, -2335.4000, 23.7966, 0.00 },
  511. { 473, -1245.5500, -2439.3900, 0.0000, 0.00 },
  512. { 471, -729.2680, -2086.9600, 12.5591, 0.00 },
  513. { 510, -789.8200, -2699.6800, 84.4095, 0.00 },
  514. { 18, -1030.1800, -653.5860, 31.1719, 269.30 },
  515. { 18, -1030.1500, -643.4020, 31.1719, 89.71 },
  516. { 18, -1006.0700, -658.6090, 31.1719, 89.71 },
  517. { 18, -982.9360, -630.6360, 31.1719, 89.71 },
  518. { 18, -982.7960, -663.7680, 31.1719, 270.49 },
  519. { 3, -933.1820, -497.7290, 25.0924, 183.92 },
  520. { 3, -960.6790, -520.4480, 25.0924, 273.81 },
  521. { 468, -923.7040, -532.6830, 25.0924, 273.81 },
  522. { 530, -1055.0800, -658.3540, 31.1719, 268.68 },
  523. { 530, -981.3070, -709.4140, 31.1719, 268.68 },
  524. { 531, -1429.8700, -964.1870, 200.0830, 267.96 },
  525. { 468, -1419.4500, -961.1660, 200.0150, 184.33 },
  526. { 512, -1427.8100, -950.0470, 200.1340, 271.89 },
  527. { 18, -1003.9000, -641.6150, 31.1719, 89.71 },
  528. { 18, -1003.8200, -631.5340, 31.1719, 89.71 },
  529. { 18, -1004.3200, -649.2380, 31.1719, 89.71 },
  530. { 16, -1189.3400, -676.4470, 48.8423, 0.00 },
  531. { -1, -1218.2700, -739.2530, 59.4097, 323.24 },
  532. { 3, -2099.0200, -2241.9500, 29.6221, 140.00 },
  533. { 3, -2211.9700, -2152.1400, 44.0107, 40.00 },
  534. { 3, -2232.4600, -2168.4500, 44.0107, 270.00 },
  535. { 481, -1862.4000, -1561.8400, 21.4371, 87.00 },
  536. { 471, -1645.4000, -2251.6100, 30.9744, 67.50 },
  537. { 604, -1826.4400, -1638.6300, 21.2376, 59.50 },
  538. { 471, -2163.7000, -1935.1500, 235.8740, 42.00 },
  539. { 486, -1898.0300, -1707.5500, 21.7439, 118.50 },
  540. { 525, -1915.4900, -1638.5900, 21.2376, 250.00 },
  541. { 424, -1694.2400, -1910.8800, 98.4082, 267.50 },
  542. { 524, -1819.5600, -1612.3900, 22.3219, 181.00 },
  543. { 524, -1851.7500, -1618.0700, 22.3219, 152.00 },
  544. { 468, -2822.8200, -1528.1800, 138.5300, 0.00 },
  545. { 473, -2678.6500, -2172.5800, 0.8243, 76.50 },
  546. { 473, -2978.0400, -1536.8700, -0.1380, 47.50 },
  547. { 3, -2226.7600, -2328.3000, 29.6221, 320.00 },
  548. { 3, -2237.1900, -2319.6100, 29.6221, 320.00 },
  549. { 3, -2222.3500, -2313.6800, 29.6221, 140.00 },
  550. { 3, -2191.7300, -2267.6300, 29.6221, 140.00 },
  551. { 3, -2196.8800, -2263.5200, 29.6221, 140.00 },
  552. { 3, -2217.2500, -2405.1200, 30.7716, 230.00 },
  553. { 442, -2205.7700, -2297.3000, 29.9093, 323.50 },
  554. { 478, -1994.6200, -2382.6600, 29.9173, 341.00 },
  555. { 3, -2118.6800, -2471.1100, 29.6221, 230.00 },
  556. { 3, -2098.1600, -2541.5700, 29.6221, 230.00 },
  557. { 3, -2124.8000, -2503.9400, 29.6221, 230.00 },
  558. { 3, -2168.9200, -2528.5600, 29.6221, 320.00 },
  559. { 3, -2200.8600, -2502.9600, 29.6221, 320.00 },
  560. { 3, -2237.0000, -2476.7400, 30.2925, 320.00 },
  561. { 509, -2151.7900, -2550.0900, 29.6401, 319.50 },
  562. { 584, -2236.5300, -2571.5200, 31.1133, 58.00 },
  563. { 424, -2243.1100, -2821.8700, 2.7471, 95.50 },
  564. { 473, -2251.4200, -2848.0300, 0.8243, 165.50 },
  565. { 3, -1539.9300, -2747.5400, 47.7061, 354.07 },
  566. { 3, -1530.7600, -2751.4400, 47.7061, 354.07 },
  567. { 3, -1558.0800, -2741.7400, 47.7061, 325.39 },
  568. { 3, -1571.7100, -2732.2600, 47.7061, 325.39 },
  569. { 3, -1562.7500, -2738.5500, 47.7061, 144.27 },
  570. { 605, -1305.1700, -2394.7400, 24.1590, 0.00 },
  571. { 450, -1941.8500, -2430.0500, 30.0538, 211.50 },
  572. { 473, -1851.1500, -2779.9700, 0.8243, 139.00 },
  573. { 478, -1220.2100, -2632.0500, 10.6320, 85.50 },
  574. { 471, -1347.8500, -2268.3200, 37.0572, 327.00 },
  575. { 1, -1307.7400, 2707.1100, 49.5722, 180.00 },
  576. { 1, -1287.4000, 2709.0600, 49.5722, 180.00 },
  577. { 1, -1400.9800, 2653.0900, 55.2256, 90.00 },
  578. { 1, -1400.9800, 2659.6400, 55.2256, 90.00 },
  579. { 1, -1367.7300, 2046.6100, 51.7887, 235.00 },
  580. { 18, -910.2050, 2016.6700, 60.3451, 125.00 },
  581. { 18, -918.1410, 2026.5000, 60.3451, 135.00 },
  582. { 18, -929.3900, 2019.9600, 60.3451, 315.00 },
  583. { 588, -907.4870, 1991.8700, 60.0915, 334.00 },
  584. { 452, -1182.9100, 2800.9500, 42.6090, 275.00 },
  585. { 610, -1500.0700, 1974.2700, 47.7622, 225.00 },
  586. { 584, -1335.2200, 2696.7700, 49.4931, 305.00 },
  587. { 605, -1432.0200, 2182.4900, 50.4391, 0.00 },
  588. { 0, 1279.7800, -1800.9500, 12.6357, 90.00 },
  589. { 0, 1239.3100, -1817.8000, 12.6357, 90.00 },
  590. { 0, 1062.0700, -1760.9200, 12.6357, 90.00 },
  591. { 0, 1062.0700, -1746.1800, 12.6357, 270.00 },
  592. { 0, 1099.0000, -1766.6600, 12.6357, 270.00 },
  593. { 572, 298.5010, -1196.3600, 80.5310, 84.50 },
  594. { 15, 1248.7400, -803.8380, 83.9211, 180.00 },
  595. { 572, 1433.2900, -640.1630, 94.5151, 170.50 },
  596. { 572, 1011.5600, -680.7190, 120.6600, 0.00 },
  597. { 7, 2596.8400, -1082.2300, 68.8034, 355.00 },
  598. { 522, 2815.6900, -1430.6800, 39.3646, 270.00 },
  599. { 5, 2854.7300, -1355.2700, 10.1226, 90.00 },
  600. { 522, 2791.4000, -1451.9200, 19.2937, 270.00 },
  601. { 7, 2429.9800, -1224.3300, 24.9653, 0.00 },
  602. { 7, 2347.8200, -1226.2900, 21.7907, 90.00 },
  603. { 7, 2326.7300, -1254.8700, 21.7907, 270.00 },
  604. { 7, 2390.7600, -1510.2200, 23.3424, 90.00 },
  605. { 7, 2477.1500, -1555.4900, 23.3424, 180.00 },
  606. { -1, 2390.7600, -1490.5700, 23.3424, 90.00 },
  607. { 7, 2452.9600, -1761.8300, 13.0245, 180.00 },
  608. { 8, 2700.7500, -1840.5800, 8.8267, 330.00 },
  609. { 8, 2762.8000, -1873.2200, 9.0866, 180.00 },
  610. { 8, 2792.7700, -1873.2200, 9.0866, 180.00 },
  611. { 8, 2812.7300, -1673.4000, 9.0866, 0.00 },
  612. { 5, 2798.1400, -1562.6300, 10.0545, 90.00 },
  613. { 7, 2114.0700, -1783.1200, 12.4645, 180.00 },
  614. { 7, 2159.2700, -1806.8600, 12.4645, 0.00 },
  615. { 7, 2173.5700, -1806.8600, 12.4645, 180.00 },
  616. { 549, 2134.7900, -1140.9300, 24.4717, 45.00 },
  617. { 404, 2135.2600, -1132.4100, 24.9605, 45.00 },
  618. { 542, 2120.8000, -1131.3500, 24.5445, 310.00 },
  619. { 5, 2161.4800, -1192.3700, 22.9399, 90.00 },
  620. { 5, 2147.9500, -1175.6500, 22.9146, 90.00 },
  621. { 6, 2175.0900, -994.6210, 62.0610, 170.00 },
  622. { 5, 2229.5700, -1342.0400, 23.1345, 270.00 },
  623. { 5, 2229.8000, -1359.5000, 23.1345, 90.00 },
  624. { 7, 2008.3300, -1275.2100, 22.8181, 0.00 },
  625. { 7, 1987.5700, -1275.2300, 22.8181, 180.06 },
  626. { 471, 1279.3700, -829.7300, 1084.8700, 45.00 },
  627. { 571, 1269.9800, -835.0190, 1084.8300, 45.00 },
  628. { 14, 1065.7500, -1210.8100, 16.0420, 0.00 },
  629. { 14, 1050.5800, -1192.4800, 19.2507, 180.00 },
  630. { 14, 1065.7500, -1257.1200, 13.8944, 0.00 },
  631. { 14, 1050.5800, -1275.6200, 13.0551, 180.00 },
  632. { 14, 1050.5800, -1358.0000, 12.6475, 180.00 },
  633. { 14, 1065.7500, -1336.5500, 12.4197, 0.00 },
  634. { 8, 314.7280, -1809.5800, 3.5003, 0.00 },
  635. { 8, 343.9660, -1809.5800, 3.7086, 0.00 },
  636. { 8, 328.0270, -1788.9900, 4.2916, 180.00 },
  637. { 14, 536.8440, -1290.5900, 16.3186, 0.00 },
  638. { 2, 741.8860, -1336.1600, 13.1135, 180.00 },
  639. { 2, 763.6400, -1336.1600, 13.1135, 180.00 },
  640. { 14, 589.9420, -1511.4200, 14.4620, 270.00 },
  641. { 4, 767.5420, -1114.4000, 23.6535, 90.00 },
  642. { 14, 412.6870, -1317.4000, 14.0747, 120.00 },
  643. { 14, 339.2860, -1342.9200, 14.1742, 300.00 },
  644. { 14, 341.5550, -1354.3500, 14.1742, 120.00 },
  645. { 14, 300.6170, -1490.7400, 24.3865, 235.00 },
  646. { 14, 293.9370, -1513.0000, 24.3865, 235.00 },
  647. { 14, 298.2850, -1536.3200, 24.3865, 55.00 },
  648. { 4, 200.8150, -1439.3400, 12.2733, 320.00 },
  649. { 4, 216.6700, -1431.2900, 12.2733, 135.00 },
  650. { 8, 424.3600, -1790.6600, 4.6839, 270.00 },
  651. { 481, 850.7870, -2053.7200, 11.9165, 0.00 },
  652. { 5, 878.8840, -1658.8000, 12.7191, 0.00 },
  653. { 5, 844.1090, -1550.7200, 12.9420, 90.00 },
  654. { 5, 783.0190, -1619.8100, 12.4955, 270.00 },
  655. { 5, 783.0190, -1605.4900, 12.4955, 270.00 },
  656. { 4, 700.3720, -1571.0300, 13.3293, 180.00 },
  657. { 14, 1019.7900, -1434.3200, 12.7158, 180.00 },
  658. { 14, 1322.6400, -1453.9800, 12.7860, 180.00 },
  659. { 9, 1132.3300, -1675.8300, 12.9420, 90.00 },
  660. { 8, 2808.7000, -1952.4900, 11.8779, 270.00 },
  661. { 574, 2860.1200, -1920.4000, 8.8907, 360.00 },
  662. { 8, 2860.1200, -2008.6800, 8.8907, 360.00 },
  663. { 435, 2430.8000, -2107.2100, 10.8944, 180.00 },
  664. { 435, 2459.4300, -2095.9900, 10.8944, 270.00 },
  665. { 11, 2476.3800, -1953.5200, 11.0978, 180.00 },
  666. { 574, 2482.7600, -1953.5200, 11.0978, 180.00 },
  667. { 11, 2498.7500, -1953.5200, 11.0978, 360.00 },
  668. { 530, 2456.1600, -2521.6900, 12.7683, 270.00 },
  669. { 530, 2496.1400, -2375.5400, 11.0989, 225.00 },
  670. { 453, 2517.8900, -2270.4800, -2.3200, 270.00 },
  671. { 7, 2065.6600, -1902.6300, 10.9795, 0.00 },
  672. { 530, 2110.7400, -2092.9100, 11.0563, 0.00 },
  673. { 435, 2049.0500, -1940.8100, 12.6693, 270.00 },
  674. { 435, 2012.0800, -1940.8100, 12.6693, 270.00 },
  675. { 435, 2041.7100, -1974.4100, 10.8944, 270.00 },
  676. { 435, 2038.6100, -2061.7300, 10.8944, 270.00 },
  677. { 435, 1997.6200, -2090.0900, 10.8944, 180.00 },
  678. { 443, 2120.4700, -2075.8400, 10.8944, 135.00 },
  679. { 443, 2127.1400, -2084.0000, 10.8944, 135.00 },
  680. { 435, 2070.3500, -2121.1500, 10.8944, 270.00 },
  681. { 7, 2056.1600, -1903.7700, 11.1089, 180.00 },
  682. { 7, 2065.4600, -1919.4000, 11.1089, 180.00 },
  683. { 11, 2262.2300, -1930.8900, 11.6059, 360.00 },
  684. { 11, 2373.9400, -1927.6900, 11.3076, 360.00 },
  685. { 11, 2393.3100, -1927.6900, 11.3076, 180.00 },
  686. { 530, 2164.6800, -2306.1300, 11.0740, 0.00 },
  687. { 435, 2010.6400, -2126.1700, 10.8944, 180.00 },
  688. { 435, 2133.4900, -2134.8800, 10.8944, 45.00 },
  689. { 435, 2126.9800, -2140.8200, 10.8944, 45.00 },
  690. { 435, 2120.7500, -2148.0000, 10.8944, 45.00 },
  691. { 435, 1668.6500, -1883.8000, 12.6524, 180.00 },
  692. { 435, 1661.7200, -1883.8000, 12.6524, 180.00 },
  693. { 574, 1636.3400, -1883.8000, 12.6524, 180.00 },
  694. { 16, 1398.2300, -2349.7600, 12.6524, 180.00 },
  695. { 16, 1408.0100, -2349.7600, 12.6524, 180.00 },
  696. { 519, 1563.9400, -2454.9500, 12.6524, 360.00 },
  697. { 16, 1398.2300, -2332.6100, 12.6524, 180.00 },
  698. { 16, 1408.0100, -2332.6100, 12.6524, 180.00 },
  699. { 485, 1725.5200, -2454.9500, 12.6524, 360.00 },
  700. { 608, 1876.5100, -2428.7100, 12.6524, 225.00 },
  701. { 593, 1926.3500, -2289.6400, 12.6524, 270.00 },
  702. { 517, 1661.9400, -1136.1200, 23.0332, 180.00 },
  703. { 507, 1657.4600, -1111.5000, 23.0332, 90.00 },
  704. { 565, 1704.9700, -1069.0300, 23.0332, 360.00 },
  705. { 527, 1744.4900, -1085.7600, 23.2592, 360.00 },
  706. { 517, 1771.3900, -1061.6400, 23.4897, 360.00 },
  707. { 507, 1752.6500, -1045.9300, 23.4897, 360.00 },
  708. { 517, 1707.6300, -1035.7800, 23.4897, 360.00 },
  709. { 527, 1583.9100, -1047.5200, 23.0332, 307.49 },
  710. { 422, 1616.7900, -1123.6500, 23.0332, 90.00 },
  711. { 9, 1530.5800, -1644.6600, 5.4085, 180.00 },
  712. { 9, 1545.6300, -1684.2300, 5.4085, 270.00 },
  713. { 9, 1602.0600, -1700.3700, 5.4085, 90.00 },
  714. { 9, 1562.9100, -1710.5900, 5.4085, 180.00 },
  715. { 9, 1671.4100, -1712.8000, 19.5252, 270.00 },
  716. { 9, 1666.7000, -1694.8900, 14.6746, 0.00 },
  717. { 5, -1986.6900, 248.9350, 34.1691, 90.00 },
  718. { 5, -1986.6900, 257.4070, 34.1691, 90.00 },
  719. { 0, -2125.2000, -760.5340, 31.1186, 89.00 },
  720. { 0, -2134.0400, -793.6640, 31.1186, 89.00 },
  721. { 0, -2149.1700, -793.5140, 31.1186, 270.50 },
  722. { 0, -2149.0000, -837.5720, 31.1186, 270.50 },
  723. { 0, -2148.9700, -841.0270, 31.1186, 90.50 },
  724. { 0, -2125.4200, -814.8890, 31.1186, 90.50 },
  725. { 0, -2134.2300, -885.5350, 31.1186, 270.00 },
  726. { 0, -2134.3700, -898.5190, 31.1186, 90.50 },
  727. { 0, -2149.5300, -944.1650, 31.1186, 90.50 },
  728. { 0, -2134.2100, -965.2280, 31.1186, 269.00 },
  729. { 11, -1670.3800, 441.6630, 6.5014, 172.85 },
  730. { 11, -1663.7000, 438.0640, 6.5014, 172.85 },
  731. { 584, -1650.9100, 446.3250, 6.3580, 225.00 },
  732. { 472, -1166.6600, 377.2810, 0.0000, 313.00 },
  733. { 472, -1113.4900, 328.0450, 0.0000, 313.00 },
  734. { 595, -1431.9500, 360.5460, 0.0000, 268.00 },
  735. { 11, -1529.1400, 377.2270, 6.2204, 270.00 },
  736. { 11, -1528.9400, 381.7680, 6.2204, 270.00 },
  737. { 433, -1460.1400, 319.7650, 6.2204, 360.00 },
  738. { 470, -1247.0300, 442.0940, 6.2204, 25.00 },
  739. { 2, -2222.7800, 306.5180, 34.1794, 0.00 },
  740. { 2, -2167.3500, 293.3720, 34.1794, 0.00 },
  741. { 485, -1390.9300, -231.1960, 13.1500, 240.00 },
  742. { 552, -1361.3000, -253.1890, 13.6500, 315.00 },
  743. { 522, -1302.4900, -676.7710, 13.6500, 360.00 },
  744. { 485, -1322.1200, -467.4540, 13.6500, 215.00 },
  745. { 608, -1332.9800, -450.2210, 13.6500, 215.00 },
  746. { 485, -1250.9600, -312.1360, 13.6500, 273.43 },
  747. { 608, -1355.5300, -622.8510, 13.6500, 38.08 },
  748. { 552, -1317.0200, -361.3050, 13.6500, 191.40 },
  749. { 583, -1315.6200, -273.0850, 13.6500, 34.40 },
  750. { 485, -1275.3500, -615.5580, 13.6500, 5.41 },
  751. { 16, -1474.7100, -133.4240, 5.2430, 89.40 },
  752. { 16, -1440.3200, -143.2400, 5.2430, 359.40 },
  753. { 16, -1443.7700, -224.3860, 5.2430, 269.40 },
  754. { 16, -1425.5000, -191.8870, 5.2430, 89.40 },
  755. { 16, -1474.9200, -167.3060, 5.2430, 269.40 },
  756. { 16, -1386.5800, -191.8870, 5.2430, 89.40 },
  757. { 16, -1368.0700, -142.2420, 5.2430, 359.40 },
  758. { 606, -1230.6100, -110.0510, 13.6500, 70.00 },
  759. { 485, -1238.5000, -107.4220, 13.6500, 75.00 },
  760. { 552, -1379.8500, -179.7640, 13.6500, 245.00 },
  761. { 472, -1151.2200, -482.6070, 0.0000, 149.50 },
  762. { 472, -1366.7800, -702.1060, 0.0000, 91.00 },
  763. { 472, -1606.4900, -703.2290, 0.0000, 91.00 },
  764. { 472, -1742.3400, -441.0290, 0.0000, 182.00 },
  765. { 607, -1224.5700, -115.6790, 13.6500, 70.00 },
  766. { 607, -1417.0800, -224.3820, 13.1500, 320.00 },
  767. { 608, -1404.3200, -226.4300, 13.1500, 250.00 },
  768. { 591, -1726.2600, -157.2380, 2.5765, 47.50 },
  769. { 591, -1730.2100, -160.9730, 2.5765, 47.50 },
  770. { 450, -1853.0500, -189.9020, 17.5303, 180.50 },
  771. { 541, -1818.9300, -182.7010, 8.3931, 89.00 },
  772. { 0, -1897.3700, -900.0290, 31.1186, 269.00 },
  773. { 0, -1872.2800, -930.6400, 31.1186, 269.00 },
  774. { 0, -1872.1000, -823.8960, 31.1186, 269.00 },
  775. { 0, -1897.4100, -852.9840, 31.1186, 91.00 },
  776. { 0, -1887.3300, -753.9730, 31.1186, 91.00 },
  777. { 5, -2686.5600, -55.0934, 6.1875, 0.50 },
  778. { 5, -2666.4200, -54.8986, 6.1875, 180.50 },
  779. { 5, -2627.1000, -55.2050, 6.1875, 0.50 },
  780. { 5, -2670.1700, -36.0131, 6.1875, 0.50 },
  781. { 5, -2630.8700, -35.4520, 6.1875, 180.50 },
  782. { 5, -2796.2400, 97.2394, 6.1875, 90.50 },
  783. { 5, -2796.2800, 135.6670, 6.1875, 270.50 },
  784. { 5, -2796.7800, -55.7916, 6.1875, 90.50 },
  785. { 509, -2796.5300, -23.7695, 6.2738, 90.50 },
  786. { 510, -2796.5300, 140.5910, 6.2738, 90.50 },
  787. { 5, -2696.8400, -146.8100, 6.1875, 90.50 },
  788. { 4, -2757.5200, -295.7460, 6.1875, 180.50 },
  789. { 4, -2771.7200, -281.9270, 6.1875, 180.50 },
  790. { 4, -2742.0800, -282.2090, 6.1875, 0.50 },
  791. { 4, -2741.9600, -301.9060, 6.1875, 50.50 },
  792. { 4, -2765.9300, -312.3780, 6.1875, 0.50 },
  793. { 481, -2796.5300, -115.4070, 6.2738, 90.50 },
  794. { 582, -2531.9500, -601.3450, 131.9310, 0.00 },
  795. { 424, -2917.4000, -616.6680, 3.2267, 55.50 },
  796. { 588, -2318.8500, -126.6660, 34.3705, 180.50 },
  797. { 7, -2326.3200, -126.3000, 34.3705, 180.50 },
  798. { 7, -2352.3700, -125.8030, 34.3705, 0.50 },
  799. { 10, -2520.7500, -601.3450, 131.9310, 180.00 },
  800. { 10, -2401.4100, -587.1140, 131.6740, 305.00 },
  801. { 10, -2399.6500, -589.6260, 131.6740, 125.00 },
  802. { 437, -2399.3100, -603.8310, 131.6740, 275.00 },
  803. { 7, -2265.3700, 212.5270, 34.1654, 90.50 },
  804. { 7, -2265.2500, 204.8340, 34.1654, 90.50 },
  805. { 2, -2410.9300, 328.8730, 34.1654, 150.50 },
  806. { 428, -2442.7100, 523.0880, 28.9670, 0.50 },
  807. { 428, -2429.7500, 515.6350, 28.9670, 215.50 },
  808. { 4, -2422.4500, 521.9250, 28.9670, 220.50 },
  809. { 402, -2493.0600, 378.8060, 26.7945, 60.50 },
  810. { 4, -2497.6800, 370.2890, 26.7945, 60.50 },
  811. { 4, -2502.3500, 382.1090, 34.1873, 60.50 },
  812. { 4, -2510.0900, 367.5620, 34.1873, 60.50 },
  813. { 4, -2505.4700, 339.9630, 34.1873, 60.50 },
  814. { 4, -2473.7500, 410.3010, 26.7693, 135.50 },
  815. { 4, -2479.9500, 416.2120, 26.7693, 135.50 },
  816. { 4, -2483.4000, 419.0070, 26.7693, 315.50 },
  817. { 4, -2533.0300, 307.5100, 34.1873, 250.50 },
  818. { 4, -2531.9100, 311.2410, 34.1873, 250.50 },
  819. { 559, -2750.3100, 200.2120, 6.2275, 35.00 },
  820. { 5, -2671.6000, 267.6800, 3.3195, 0.50 },
  821. { 4, -2585.8000, 311.1360, 3.9325, 270.50 },
  822. { 568, -2936.7300, 447.2150, 2.5890, 130.50 },
  823. { 7, -2265.5500, 113.3600, 34.1654, 90.50 },
  824. { 7, -2265.1800, 133.0720, 34.1654, 90.50 },
  825. { 7, -2266.7500, 89.2673, 34.1654, 270.50 },
  826. { 7, -2268.6900, 65.8702, 34.1654, 270.50 },
  827. { 483, -2461.2200, -5.5510, 27.0953, 270.00 },
  828. { 473, -2607.1800, 2990.5000, 0.1000, 269.02 },
  829. { 4, -2272.4900, 2285.3000, 3.9828, 270.00 },
  830. { 5, -2464.7000, 2225.3800, 3.9828, 180.00 },
  831. { 5, -2473.4500, 2225.3800, 3.9828, 180.00 },
  832. { 487, -2227.7600, 2327.1500, 6.5707, 180.00 },
  833. { 484, -2392.0100, 2305.3000, 0.1000, 222.76 },
  834. { 484, -2319.7800, 2297.0000, 0.1000, 177.64 },
  835. { 446, -2998.1800, 2594.6100, 0.1000, 178.20 },
  836. { 472, -2997.4800, 2860.7700, 0.1000, 44.60 },
  837. { 446, -2999.5200, 2347.7200, 0.1000, 45.98 },
  838. { 446, -2618.8400, 2160.1200, 0.1000, 302.62 },
  839. { 9, -1804.4600, 1293.5400, 52.3540, 175.00 },
  840. { 9, -1798.6100, 1293.4000, 59.9004, 175.00 },
  841. { 9, -1792.6900, 1293.1800, 41.8947, 175.00 },
  842. { 9, -1803.0800, 1312.9300, 59.9004, 355.00 },
  843. { 9, -1797.2300, 1312.4700, 41.1694, 355.00 },
  844. { 9, -1791.4800, 1312.2100, 41.1694, 355.00 },
  845. { 9, -1779.6000, 1311.5700, 32.2190, 355.00 },
  846. { 0, -1687.9400, 1007.8300, 18.0977, 270.00 },
  847. { 0, -1687.9400, 1000.0800, 18.0977, 90.00 },
  848. { 0, -1687.2200, 995.6680, 18.0977, 270.00 },
  849. { 0, -1687.9400, 983.3690, 18.0977, 270.00 },
  850. { 0, -1696.9400, 978.1820, 18.0977, 0.00 },
  851. { 0, -1696.8600, 1058.0700, 18.0977, 0.00 },
  852. { 0, -1736.3800, 1057.3800, 18.0977, 265.00 },
  853. { 0, -1736.3800, 1040.7500, 18.0977, 270.00 },
  854. { 0, -1736.3800, 1032.5700, 18.0977, 95.00 },
  855. { 0, -1719.8600, 999.8690, 18.0977, 270.00 },
  856. { 0, -1687.9400, 1007.8300, 10.4863, 270.00 },
  857. { 0, -1687.9400, 1000.0800, 10.4863, 90.00 },
  858. { 0, -1687.2200, 995.6680, 10.4863, 270.00 },
  859. { 0, -1687.9400, 983.3690, 10.4863, 270.00 },
  860. { 0, -1696.8600, 1058.0700, 10.4863, 0.00 },
  861. { 0, -1736.3800, 1057.3800, 10.4863, 265.00 },
  862. { 0, -1736.3800, 1040.7500, 10.4863, 270.00 },
  863. { 0, -1736.3800, 1032.5700, 10.4863, 95.00 },
  864. { 0, -1719.8600, 999.8690, 10.4863, 270.00 },
  865. { 9, -1655.7800, 1315.2500, 7.7917, 315.00 },
  866. { 9, -1649.2200, 1307.2800, 7.7917, 315.00 },
  867. { 9, -1637.7600, 1296.6200, 7.7917, 130.00 },
  868. { 0, -1638.4100, 1090.6300, 9.2133, 270.00 },
  869. { 510, -1481.2400, 998.8560, 6.7774, 275.00 },
  870. { 0, -1659.6400, 1212.8700, 7.0924, 285.00 },
  871. { 0, -1649.7700, 1207.4000, 21.1180, 60.00 },
  872. { 0, -1659.8400, 1207.5600, 21.1180, 300.00 },
  873. { 0, -1661.8400, 1219.7900, 21.1180, 215.00 },
  874. { 453, -1456.2500, 1025.4900, 0.2116, 280.00 },
  875. { 452, -1462.4800, 1091.3600, 0.2116, 260.00 },
  876. { 473, -1566.6800, 1261.9700, 0.2116, 270.00 },
  877. { 484, -1719.5400, 1433.3400, 0.2116, 355.00 },
  878. { 9, -1830.9600, 1309.3300, 59.9004, 20.00 },
  879. { 9, -1842.4000, 1305.3200, 43.8425, 20.00 },
  880. { 9, -1853.5800, 1301.1100, 51.5826, 20.00 },
  881. { 9, -1834.7300, 1287.2000, 51.1195, 200.00 },
  882. { 9, -1823.4800, 1291.1500, 59.9004, 200.00 },
  883. { 9, -1816.8400, 1292.8500, 42.4263, 185.00 },
  884. { 9, -1811.0300, 1293.4200, 59.9004, 185.00 },
  885. { 9, -1822.2000, 1310.8200, 31.7982, 5.00 },
  886. { 9, -1816.5200, 1311.5700, 31.7982, 5.00 },
  887. { 9, -1811.0900, 1312.3700, 59.9004, 5.00 },
  888. { 9, -1836.7900, 1307.1600, 32.7462, 20.00 },
  889. { 9, -1829.2500, 1289.5900, 59.9004, 200.00 },
  890. { 5, -2180.5900, 1006.1400, 80.0403, 0.00 },
  891. { 5, -2180.5900, 993.3360, 80.0403, 0.00 },
  892. { 5, -2205.9800, 1047.1800, 79.7224, 0.00 },
  893. { 5, -2106.7900, 1002.7400, 70.9292, 0.00 },
  894. { 5, -2106.7900, 1056.9600, 70.9292, 180.00 },
  895. { 5, -2020.5400, 1027.8700, 55.4798, 275.00 },
  896. { 5, -2059.1000, 1113.0700, 53.6518, 10.00 },
  897. { 5, -2052.4100, 1112.0000, 53.6518, 360.00 },
  898. { 5, -2046.3700, 1112.7800, 53.6518, 330.00 },
  899. { 5, -2150.8700, 1220.1500, 48.0423, 270.00 },
  900. { 5, -2128.0700, 1220.1500, 48.0423, 270.00 },
  901. { 5, -2003.5300, 1324.1000, 11.8704, 270.00 },
  902. { 9, -1972.5300, 1323.3000, 11.8704, 270.00 },
  903. { 453, -1892.1800, 1400.2900, 0.2116, 95.00 },
  904. { 9, -1639.1700, 661.8000, -6.2414, 270.00 },
  905. { 9, -1639.1700, 657.6660, -6.2414, 270.00 },
  906. { 9, -1639.1700, 653.5330, -6.2414, 270.00 },
  907. { 9, -1639.1700, 649.4000, -6.2414, 270.00 },
  908. { 9, -1622.3500, 649.4000, -6.2414, 90.00 },
  909. { 9, -1622.3500, 653.6480, -6.2414, 90.00 },
  910. { 0, -1800.8600, 821.2920, 24.9037, 165.00 },
  911. { 0, -1800.3900, 810.3820, 24.9037, 190.00 },
  912. { 0, -1800.8600, 799.4720, 24.9037, 180.00 },
  913. { 0, -1799.7300, 788.5620, 24.9037, 180.00 },
  914. { 0, -1731.1400, 752.6000, 24.9037, 275.00 },
  915. { 446, -1475.2300, 686.3900, 0.2116, 0.00 },
  916. { 454, -1475.2300, 700.8340, 0.2116, 0.00 },
  917. { 0, -1915.9800, 792.6640, 39.6091, 270.00 },
  918. { 5, -2082.3700, 788.9190, 68.6648, 0.00 },
  919. { 5, -2082.4300, 845.0430, 69.3248, 0.00 },
  920. { 5, -2082.8500, 834.0190, 69.3248, 185.00 },
  921. { 5, -2070.0400, 969.1800, 62.7138, 30.00 },
  922. { 9, -2102.2400, 649.8900, 53.2472, 270.00 },
  923. { 9, -2126.2100, 649.8900, 53.2472, 90.00 },
  924. { 9, -2214.0800, 616.0700, 35.3884, 180.00 },
  925. { 9, -2220.2900, 608.5800, 35.3884, 260.00 },
  926. { 2, 1215.9100, -1094.2900, 25.0146, 270.00 },
  927. { 14, 1112.0600, -1152.4700, 22.9199, 270.00 },
  928. { 14, 1297.5900, -1137.6700, 22.9199, 90.00 },
  929. { 14, 983.6880, -1137.6700, 22.9199, 90.00 },
  930. { 2, 852.2240, -1137.6700, 22.9199, 90.00 },
  931. { 2, 891.8990, -1152.4700, 22.9199, 270.00 },
  932. { 9, 1342.0800, 1744.6000, 10.0459, 0.00 },
  933. { 16, 1325.0600, 1278.8100, 10.0459, 0.00 },
  934. { 16, 1305.8000, 1278.8100, 10.0459, 0.00 },
  935. { 519, 1328.7400, 1583.2000, 9.8222, 270.00 },
  936. { 593, 1317.4400, 1451.7400, 9.8222, 180.00 },
  937. { 417, 1286.9900, 1449.6800, 9.8222, 270.00 },
  938. { 593, 1352.1600, 1779.0700, 9.8222, 270.00 },
  939. { 593, 1370.9800, 1228.0600, 9.8222, 0.00 },
  940. { 593, 1331.7900, 1451.8900, 9.8222, 180.00 },
  941. { 593, 1304.0800, 1451.7400, 9.8222, 180.00 },
  942. { 593, 1352.1600, 1790.5400, 9.8222, 270.00 },
  943. { 519, 1328.7400, 1612.3600, 9.8222, 270.00 },
  944. { 2, 1381.4800, 1034.1800, 9.8222, 0.00 },
  945. { 5, 1384.8900, 770.5930, 0.0000, 0.00 },
  946. { 2, 1455.0600, 906.1430, 10.0561, 0.00 },
  947. { 2, 1444.4200, 906.1430, 10.0561, 0.00 },
  948. { 4, 1381.9100, 1057.4700, 10.0561, 0.00 },
  949. { 5, 1412.8000, 708.1320, 9.8222, 0.00 },
  950. { 4, 1435.7900, 931.8930, 11.0213, 0.00 },
  951. { 5, 1412.8000, 746.4200, 9.8222, 0.00 },
  952. { 598, 2251.7000, 2459.9200, 9.9190, 180.00 },
  953. { 598, 2260.2400, 2459.9200, 9.9190, 0.00 },
  954. { 598, 2277.8800, 2477.3600, 9.9190, 180.00 },
  955. { 598, 2256.1000, 2470.1900, 9.9190, 90.00 },
  956. { 598, 2263.6300, 2474.5000, 2.5558, 0.00 },
  957. { 598, 2314.6000, 2475.1500, 2.5558, 90.00 },
  958. { 598, 2272.3000, 2443.2900, 2.5558, 270.00 },
  959. { 598, 2259.7000, 2430.9400, 2.5558, 0.00 },
  960. { 598, 2263.9900, 2430.9400, -8.2231, 0.00 },
  961. { 598, 2276.9400, 2430.9400, -8.2231, 0.00 },
  962. { 598, 2303.3600, 2430.9400, -8.2231, 180.00 },
  963. { 598, 2315.0000, 2495.2600, -8.2231, 90.00 },
  964. { 598, 2239.6800, 2471.2400, -8.2231, 90.00 },
  965. { 5, 2403.6000, 2547.3200, 22.0358, 90.00 },
  966. { 5, 2403.6000, 2561.7700, 9.9532, 90.00 },
  967. { 12, 2053.0300, 2479.9800, 10.4001, 0.00 },
  968. { 12, 2076.4500, 2468.6900, 10.4001, 180.00 },
  969. { 12, 2126.6700, 2468.6900, 10.4001, 0.00 },
  970. { 12, 2153.5500, 2490.7200, 10.4001, 270.00 },
  971. { 12, 2205.7200, 2474.9100, 10.4001, 0.00 },
  972. { 12, 2194.3800, 2470.4600, 10.4001, 180.00 },
  973. { -1, 2524.6500, 2769.1200, 10.1598, 180.00 },
  974. { -1, 2533.0600, 2769.1200, 10.1598, 0.00 },
  975. { -1, 2566.2900, 2791.0500, 10.1598, 0.00 },
  976. { -1, 2562.0400, 2769.1700, 10.1598, 0.00 },
  977. { -1, 2586.4200, 2772.5900, 10.1598, 270.00 },
  978. { -1, 2549.7000, 2747.3400, 10.1598, 0.00 },
  979. { -1, 2570.3800, 2747.3400, 10.1598, 180.00 },
  980. { -1, 2524.6500, 2738.0000, 10.1598, 0.00 },
  981. { -1, 2533.0100, 2728.0100, 10.1598, 0.00 },
  982. { -1, 2528.8400, 2719.4500, 10.1598, 0.00 },
  983. { -1, 2505.3300, 2719.5900, 10.1598, 90.00 },
  984. { -1, 2505.3300, 2731.8600, 10.1598, 270.00 },
  985. { 453, 2513.9100, 3014.7200, 1.0000, 330.00 },
  986. { 453, 3005.5900, 2989.6900, 1.0000, 45.00 },
  987. { 9, 2868.4800, 2424.7400, 10.4108, 45.00 },
  988. { 9, 2814.4800, 2406.5500, 10.4108, 315.00 },
  989. { 9, 2853.0500, 2372.0200, 10.4108, 90.00 },
  990. { 9, 2841.1300, 2338.4700, 10.4108, 270.00 },
  991. { 0, 2471.4300, 2529.8400, 22.0358, 180.00 },
  992. { 0, 2433.9300, 2529.8400, 22.0358, 360.00 },
  993. { 0, 2530.4200, 2520.9800, 22.0358, 270.00 },
  994. { 0, 2530.4200, 2491.4100, 22.0358, 270.00 },
  995. { 0, 2506.8700, 2499.8900, 22.0358, 270.00 },
  996. { 0, 2476.2700, 2496.5700, 22.0358, 360.00 },
  997. { 0, 2530.4200, 2491.3800, 9.9532, 270.00 },
  998. { 0, 2471.4300, 2529.8400, 9.9532, 180.00 },
  999. { 5, 2444.9200, 2547.4600, 9.9532, 180.00 },
  1000. { 0, 2433.9300, 2529.8400, 9.9532, 360.00 },
  1001. { 453, 3011.3800, 2596.5400, 1.0000, 225.00 },
  1002. { 12, 2440.6700, 2021.1200, 10.2520, 90.00 },
  1003. { 12, 2440.6700, 2009.4600, 10.2520, 270.00 },
  1004. { 12, 2453.7600, 1991.0700, 10.2520, 180.00 },
  1005. { 12, 2233.1400, 2007.1000, 10.4001, 180.00 },
  1006. { 12, 2232.4000, 1998.9000, 15.5912, 180.00 },
  1007. { 12, 2289.9000, 1971.5700, 30.8375, 0.00 },
  1008. { 12, 2276.1300, 1939.1500, 9.0071, 0.00 },
  1009. { 12, 2269.0000, 1952.8000, 14.6647, 0.00 },
  1010. { 12, 2283.5000, 1953.1700, 25.3283, 0.00 },
  1011. { 12, 2235.1300, 2038.6500, 10.4001, 270.00 },
  1012. { 12, 2216.6800, 2034.6900, 10.4001, 90.00 },
  1013. { 12, 2258.2300, 2062.8500, 10.4001, 360.00 },
  1014. { 12, 2170.8200, 1822.2200, 10.4001, 360.00 },
  1015. { 12, 2198.9700, 1810.1800, 10.4001, 180.00 },
  1016. { 0, 2564.7300, 2279.7700, 10.1270, 90.00 },
  1017. { 0, 2582.3200, 2279.0600, 10.1270, 270.00 },
  1018. { 0, 2593.1300, 2267.8900, 10.1270, 270.00 },
  1019. { 0, 2580.5100, 2250.6000, 10.1270, 180.00 },
  1020. { 0, 2594.1700, 2250.6000, 10.1270, 360.00 },
  1021. { 0, 2610.6200, 2266.8900, 10.1270, 90.00 },
  1022. { 0, 2610.9700, 2279.5500, 10.1270, 270.00 },
  1023. { 0, 2564.7300, 2271.1200, 10.1270, 90.00 },
  1024. { 510, 2822.4000, 2160.0100, 10.3419, 270.00 },
  1025. { 12, 2606.4600, 2072.0200, 10.1435, 270.00 },
  1026. { 12, 2629.9200, 2009.0400, 10.1435, 0.00 },
  1027. { 12, 2636.5800, 1987.9700, 10.1435, 180.00 },
  1028. { 12, 2559.3400, 2058.7100, 10.1435, 0.00 },
  1029. { 12, 2588.2500, 2053.1200, 10.1435, 273.45 },
  1030. { 12, 2605.3900, 2086.1300, 10.1435, 180.00 },
  1031. { 12, 2616.4900, 2099.6400, 10.1435, 360.00 },
  1032. { 12, 2578.8500, 1989.5900, 10.1435, 85.17 },
  1033. { 12, 2590.4400, 1967.2900, 10.1435, 183.53 },
  1034. { 453, 3011.3800, 2012.2600, 1.0000, 300.00 },
  1035. { 481, 2159.0700, 2799.6300, 10.1598, 0.00 },
  1036. { 11, 2142.1900, 2810.5300, 10.1598, 90.00 },
  1037. { 11, 2167.8300, 2787.6800, 10.1598, 180.00 },
  1038. { 574, 2261.4300, 2770.6200, 10.1598, 90.00 },
  1039. { 11, 2347.8500, 2754.6000, 10.1598, 270.00 },
  1040. { 11, 2167.3800, 2754.5700, 10.1598, 270.00 },
  1041. { 11, 2167.3800, 2744.2600, 10.1598, 270.00 },
  1042. { 11, 2167.3800, 2720.8100, 10.1598, 90.00 },
  1043. { 11, 2146.5900, 2756.5900, 10.1598, 270.00 },
  1044. { 5, 2331.8600, 2577.9400, 10.4001, 185.58 },
  1045. { 443, 2399.9800, 2799.8900, 10.1598, 270.00 },
  1046. { 11, 2347.8500, 2771.5200, 10.1598, 90.00 },
  1047. { -1, 2772.4100, 1293.9600, 10.0500, 0.00 },
  1048. { -1, 2785.2200, 1293.9600, 10.0500, 0.00 },
  1049. { -1, 2791.5400, 1294.0400, 10.0500, 0.00 },
  1050. { -1, 2766.5100, 1268.7400, 10.0500, 90.00 },
  1051. { -1, 2766.5100, 1278.4000, 10.0500, 90.00 },
  1052. { -1, 2805.9300, 1332.4900, 10.0500, 90.00 },
  1053. { -1, 2805.9300, 1345.4400, 10.0500, 90.00 },
  1054. { -1, 2805.9300, 1326.0600, 10.0500, 90.00 },
  1055. { -1, 2805.9300, 1351.6900, 10.0500, 90.00 },
  1056. { -1, 2805.9300, 1364.5100, 10.0500, 90.00 },
  1057. { 5, 2813.5000, 1373.9200, 10.0500, 0.00 },
  1058. { 5, 2842.5500, 1373.9200, 10.0500, 0.00 },
  1059. { 5, 2848.9900, 1373.9200, 10.0500, 0.00 },
  1060. { 5, 2852.1500, 1364.5600, 10.0500, 270.00 },
  1061. { 5, 2852.1500, 1354.8600, 10.0500, 270.00 },
  1062. { 5, 2852.1500, 1348.4600, 10.0500, 270.00 },
  1063. { 453, 3006.7700, 1253.9000, 0.0000, 180.00 },
  1064. { 9, 2489.7800, 1407.1100, 10.0500, 0.00 },
  1065. { 9, 2454.4200, 1427.0700, 10.0500, 0.00 },
  1066. { 9, 2476.7100, 1427.0700, 10.0500, 0.00 },
  1067. { 12, 2454.2400, 1267.8200, 10.0500, 180.00 },
  1068. { 12, 2444.6700, 1267.8200, 10.0500, 180.00 },
  1069. { 12, 2455.3800, 1347.5100, 10.0500, 180.00 },
  1070. { 12, 2464.9300, 1347.5100, 10.0500, 180.00 },
  1071. { 12, 2443.2600, 1355.0500, 10.0500, 90.00 },
  1072. { 12, 2443.2600, 1335.9000, 10.0500, 90.00 },
  1073. { 12, 2471.3800, 1355.4900, 10.0500, 360.00 },
  1074. { 12, 2348.7300, 1469.4600, 10.0500, 270.00 },
  1075. { -1, 2511.0500, 934.9750, 10.0500, 360.00 },
  1076. { -1, 2461.6900, 925.1720, 10.0500, 90.00 },
  1077. { 12, 2570.6700, 1036.1700, 10.0500, 360.00 },
  1078. { 6, 2824.0700, 925.9850, 10.0500, 0.00 },
  1079. { 6, 2807.9800, 940.9670, 10.0500, 180.00 },
  1080. { 12, 2585.2900, 1036.1700, 10.0500, 360.00 },
  1081. { 6, 2830.4700, 940.9670, 10.0500, 180.00 },
  1082. { 6, 2626.3500, 746.7090, 10.0500, 0.00 },
  1083. { 6, 2554.7700, 746.7090, 10.0500, 0.00 },
  1084. { 6, 2325.4700, 648.6460, 10.2500, 0.00 },
  1085. { 6, 2569.2400, 746.7090, 10.0500, 0.00 },
  1086. { 6, 2647.8300, 746.7090, 10.0500, 0.00 },
  1087. { 6, 2389.8900, 697.5170, 10.2500, 180.00 },
  1088. { 6, 2406.2500, 727.6140, 10.2500, 0.00 },
  1089. { 6, 2441.9100, 707.2920, 10.2500, 270.00 },
  1090. { 6, 2441.9100, 654.8950, 10.2500, 270.00 },
  1091. { 493, 3006.7700, 716.0100, 0.0000, 0.00 },
  1092. { 453, 2362.0400, 519.0800, 0.6790, 270.00 },
  1093. { 486, 2711.8300, 822.5040, 10.0011, 0.00 },
  1094. { 12, 2143.0400, 1009.8100, 10.0500, 90.00 },
  1095. { 12, 1844.8600, 1161.5000, 10.0500, 90.00 },
  1096. { -1, 2205.5500, 935.7360, 10.0500, 0.00 },
  1097. { 12, 2160.8700, 1028.9100, 10.0500, 270.00 },
  1098. { 12, 2040.1500, 1135.5500, 10.0500, 180.00 },
  1099. { 12, 2040.1500, 1061.4300, 10.0500, 180.00 },
  1100. { 12, 2040.1500, 1077.5700, 10.0500, 180.00 },
  1101. { 12, 2040.1500, 1025.1900, 10.0500, 180.00 },
  1102. { 12, 2040.1500, 1041.3300, 10.0500, 180.00 },
  1103. { 12, 2040.1500, 993.3820, 10.0500, 180.00 },
  1104. { 12, 2040.1500, 937.5240, 10.0500, 180.00 },
  1105. { 12, 2040.1500, 953.6680, 10.0500, 180.00 },
  1106. { 12, 2074.6500, 1176.8200, 10.0500, 0.00 },
  1107. { 12, 2074.6500, 1143.5100, 10.0500, 0.00 },
  1108. { 12, 2074.6500, 1135.5500, 10.0500, 0.00 },
  1109. { 12, 2074.6500, 1077.5700, 10.0500, 0.00 },
  1110. { 12, 2074.6500, 1061.4300, 10.0500, 0.00 },
  1111. { 12, 2074.6500, 993.3820, 10.0500, 0.00 },
  1112. { 12, 2074.6500, 953.6680, 10.0500, 0.00 },
  1113. { 12, 2074.6500, 937.5240, 10.0500, 0.00 },
  1114. { 12, 2131.1300, 1025.7600, 10.0500, 270.00 },
  1115. { 12, 2131.1800, 1012.9800, 10.0500, 270.00 },
  1116. { 12, 1881.5700, 957.4690, 10.0500, 90.00 },
  1117. { 12, 1881.5700, 960.4920, 10.0500, 90.00 },
  1118. { 12, 1881.5700, 963.6290, 10.0500, 90.00 },
  1119. { 12, 1881.5700, 988.5010, 10.0500, 90.00 },
  1120. { 12, 1881.5700, 1064.1500, 10.0500, 90.00 },
  1121. { 6, 1938.8200, 708.3390, 10.0500, 180.00 },
  1122. { 6, 1916.3900, 695.6740, 10.0500, 0.00 },
  1123. { 493, 2297.7300, 519.0800, 0.6790, 270.00 },
  1124. { 6, 2127.8600, 736.9080, 10.2500, 180.00 },
  1125. { 6, 2005.2800, 738.3160, 10.2500, 180.00 },
  1126. { 6, 2131.0300, 770.2640, 10.2500, 0.00 },
  1127. { 6, 2163.8800, 778.2070, 10.2500, 270.00 },
  1128. { 6, 2129.0900, 656.9350, 10.2500, 180.00 },
  1129. { 6, 2266.1900, 649.3470, 10.2500, 0.00 },
  1130. { 6, 2169.3000, 697.5170, 10.2500, 180.00 },
  1131. { 6, 2265.5800, 725.7810, 10.2500, 0.00 },
  1132. { 6, 2005.6600, 688.1600, 10.2500, 0.00 },
  1133. { 6, 1851.1300, 655.1080, 10.0500, 90.00 },
  1134. { 6, 1852.9600, 725.7440, 10.0500, 90.00 },
  1135. { 12, 2051.2400, 1725.2100, 10.0500, 155.00 },
  1136. { 12, 2061.7800, 1747.9900, 10.0500, 155.00 },
  1137. { 12, 2071.6000, 1766.4400, 10.0500, 155.00 },
  1138. { 12, 2074.5700, 1772.8800, 10.0500, 155.00 },
  1139. { 12, 2098.0600, 1750.0200, 10.0500, 335.00 },
  1140. { 12, 2101.1000, 1755.7600, 10.0500, 335.00 },
  1141. { 12, 2088.4800, 1730.8300, 10.0500, 335.00 },
  1142. { 12, 2074.6500, 1695.3900, 10.0500, 0.00 },
  1143. { 12, 2074.6500, 1660.0500, 10.0500, 0.00 },
  1144. { 12, 2074.6500, 1622.3900, 10.0500, 0.00 },
  1145. { 12, 2074.6500, 1569.6600, 10.0500, 0.00 },
  1146. { 12, 2074.6500, 1559.9300, 10.0500, 0.00 },
  1147. { 12, 2074.6500, 1502.4500, 10.0500, 0.00 },
  1148. { 12, 2074.6500, 1484.8300, 10.0500, 0.00 },
  1149. { 12, 2074.6500, 1458.8400, 10.0500, 0.00 },
  1150. { 12, 2074.6500, 1414.6200, 10.0500, 0.00 },
  1151. { 12, 2074.6500, 1390.3300, 10.0500, 0.00 },
  1152. { 12, 2074.6500, 1354.8100, 10.0500, 0.00 },
  1153. { 12, 2074.6500, 1343.2900, 10.0500, 0.00 },
  1154. { 12, 2074.6500, 1314.4700, 10.0500, 0.00 },
  1155. { 12, 2074.6500, 1239.5500, 10.0500, 0.00 },
  1156. { 12, 2074.6500, 1231.3700, 10.0500, 0.00 },
  1157. { 12, 2123.1800, 1409.3200, 10.0500, 180.00 },
  1158. { 12, 2145.5700, 1397.4400, 10.0500, 0.00 },
  1159. { 12, 2119.9900, 1397.4400, 10.0500, 0.00 },
  1160. { 12, 2305.2900, 1480.1200, 42.7191, 90.00 },
  1161. { 12, 2282.4700, 1515.4100, 10.0500, 360.00 },
  1162. { 12, 1844.3100, 1244.8000, 10.0500, 90.00 },
  1163. { 12, 2040.1500, 1687.7300, 10.0500, 180.00 },
  1164. { 12, 2040.1500, 1559.9300, 10.0500, 180.00 },
  1165. { 12, 2040.1500, 1546.5500, 10.0500, 180.00 },
  1166. { 12, 2040.1500, 1606.8300, 10.0500, 180.00 },
  1167. { 12, 2040.1500, 1648.9500, 10.0500, 180.00 },
  1168. { 12, 2040.1500, 1695.3900, 10.0500, 180.00 },
  1169. { 12, 2040.1500, 1581.9800, 10.0500, 180.00 },
  1170. { 12, 2040.1500, 1502.4500, 10.0500, 180.00 },
  1171. { 12, 2040.1500, 1484.8300, 10.0500, 180.00 },
  1172. { 12, 2040.1500, 1425.6100, 10.0500, 180.00 },
  1173. { 12, 2040.1500, 1418.2200, 10.0500, 180.00 },
  1174. { 12, 2040.1500, 1398.5100, 10.0500, 180.00 },
  1175. { 12, 2040.1500, 1382.3700, 10.0500, 180.00 },
  1176. { 12, 2040.1500, 1335.3400, 10.0500, 180.00 },
  1177. { 12, 2040.1500, 1351.4800, 10.0500, 180.00 },
  1178. { 12, 2040.1500, 1303.0100, 10.0500, 180.00 },
  1179. { 12, 2040.1500, 1223.4100, 10.0500, 180.00 },
  1180. { 12, 2040.1500, 1239.5500, 10.0500, 180.00 },
  1181. { 9, 2482.2900, 1674.2700, 10.0500, 0.00 },
  1182. { 12, 2603.8400, 1856.1900, 10.0500, 90.00 },
  1183. { 9, 2599.6700, 1681.4100, 10.0500, 270.00 },
  1184. { 12, 2621.5400, 1895.8800, 10.0500, 0.00 },
  1185. { 9, 2629.9100, 1756.5000, 10.0500, 270.00 },
  1186. { 9, 2452.1200, 1631.1400, 10.0500, 180.00 },
  1187. { 12, 2365.1000, 1658.9900, 10.0500, 90.00 },
  1188. { 12, 2396.1700, 1631.4300, 10.0500, 180.00 },
  1189. { 493, 3006.7700, 1656.4500, 0.0000, 0.00 },
  1190. { 5, -2416.9800, 741.7180, 34.2639, 180.39 },
  1191. { 5, -2438.5400, 741.7180, 34.2639, 180.39 },
  1192. { 5, -2460.1000, 741.7180, 34.2639, 180.39 },
  1193. { 5, -2455.9500, 741.7180, 34.2639, 0.39 },
  1194. { 5, -2504.1400, 741.7180, 34.2639, 0.39 },
  1195. { 5, -2545.4100, 643.3510, 27.1169, 270.39 },
  1196. { 5, -2544.9500, 586.5860, 13.9337, 270.39 },
  1197. { 5, -2546.2700, 631.8320, 13.9337, 270.39 },
  1198. { 416, -2631.4900, 595.8380, 20.4921, 270.00 },
  1199. { 416, -2644.8700, 595.2430, 20.4921, 270.00 },
  1200. { 493, -2968.2000, 497.7760, 0.2500, 180.00 },
  1201. { 5, -2568.5300, 625.9280, 27.1169, 0.39 },
  1202. { 5, -2552.9800, 625.9280, 27.1169, 180.39 },
  1203. { 5, -2428.5900, 946.1300, 44.5019, 270.39 },
  1204. { 5, -2799.3700, 775.4840, 49.8481, 45.00 },
  1205. { 5, -2799.3100, 770.3410, 49.8481, 50.00 },
  1206. { 5, -2799.5500, 765.7420, 49.8481, 55.00 },
  1207. { 5, -2785.2700, 763.5090, 51.3819, 270.00 },
  1208. { 5, -2776.3800, 763.9930, 51.3819, 245.00 },
  1209. { 453, -3014.7200, 949.4110, 0.2500, 145.81 },
  1210. { 484, -3004.4000, 736.9630, 0.2500, 123.08 },
  1211. { 484, -3026.9400, 1120.4200, 0.2500, 0.00 },
  1212. { 4, -2641.2100, 861.1150, 63.2274, 297.09 },
  1213. { 5, -2512.9400, 1209.5000, 37.2902, 87.73 },
  1214. { 5, -2501.9900, 1222.1600, 37.2902, 136.74 },
  1215. { 4, -2534.9600, 1229.5200, 37.2902, 207.60 },
  1216. { 5, -2526.7100, 1229.5200, 37.2902, 27.60 },
  1217. { 5, -2491.6300, 1214.3800, 37.2902, 321.74 },
  1218. { 484, -2246.3000, 1486.4300, 0.2500, 103.19 },
  1219. { 484, -2147.4200, 1458.9600, 0.2500, 0.00 },
  1220. { 452, -2824.2600, 1384.7300, 0.2500, 331.62 },
  1221. { 453, -2602.2200, 2077.4300, 0.2500, 220.99 },
  1222. { 484, -2793.2800, 1440.6300, 0.2500, 84.59 },
  1223. { 481, -2904.3500, 1175.8900, 12.7762, 355.36 },
  1224. { 2, -2643.8000, 1366.0500, 6.0935, 270.39 },
  1225. { 2, -2643.8000, 1336.2000, 6.0935, 270.39 },
  1226. { 2, -2643.8000, 1343.4800, 6.0935, 270.39 },
  1227. { 506, -1245.5100, 48.3457, 13.1500, 315.00 },
  1228. { 16, -1459.5900, -5.0622, 5.2430, 89.40 },
  1229. { 16, -1426.1000, 11.5858, 5.2430, 269.40 },
  1230. { 16, -1385.7100, -25.2674, 5.2430, 89.40 },
  1231. { 16, -1337.9800, -83.7477, 5.2430, 269.40 },
  1232. { 472, -1176.5200, 62.6531, 0.0000, 47.00 },
  1233. { 472, -1075.2000, -207.6770, 0.0000, 25.50 },
  1234. { 472, -1623.0100, -80.0566, 0.0000, 134.50 },
  1235. { 472, -1445.9000, 97.3042, 0.0000, 313.00 },
  1236. { 530, -1705.2700, 11.6038, 2.5765, 0.00 },
  1237. { 435, -1845.7500, 115.0290, 14.1499, 269.00 },
  1238. { 435, -1845.7000, 121.5940, 14.1499, 269.00 },
  1239. { 515, -1633.8100, -62.3837, 2.5765, 133.00 },
  1240. { 450, -1729.3500, 128.6880, 2.5765, 181.00 },
  1241. { 453, -1644.2800, 252.5070, 0.0000, 268.00 },
  1242. { 453, -1429.6000, 285.6840, 0.0000, 268.00 },
  1243. { 0, 2104.1400, 2059.6600, 10.3157, 270.00 },
  1244. { 0, 2104.1400, 2069.3600, 10.3157, 270.00 },
  1245. { 0, 2104.1400, 2076.1100, 10.3157, 90.00 },
  1246. { 0, 2103.9600, 2092.4700, 10.3157, 270.00 },
  1247. { 0, 2103.9600, 2046.4800, 10.3157, 90.00 },
  1248. { 12, 2119.9800, 2085.6100, 10.6075, 180.00 },
  1249. { 12, 2119.9800, 2050.1800, 10.6075, 180.00 },
  1250. { 12, 2119.9800, 2130.5500, 10.6075, 180.00 },
  1251. { 12, 2119.9800, 2163.6800, 10.6075, 180.00 },
  1252. { 12, 2119.9800, 2199.0300, 10.6075, 180.00 },
  1253. { 12, 2119.9800, 2006.0900, 10.6075, 180.00 },
  1254. { 12, 2154.2400, 2006.0900, 10.6075, 0.00 },
  1255. { 12, 2154.2400, 2083.9700, 10.6075, 0.00 },
  1256. { 12, 2154.2400, 2047.3200, 10.6075, 0.00 },
  1257. { 12, 2154.2400, 2113.1200, 10.6075, 0.00 },
  1258. { 12, 2154.2400, 2178.6100, 10.6075, 0.00 },
  1259. { 12, 2154.2400, 2194.3600, 10.6075, 0.00 },
  1260. { 12, 2119.9800, 1988.4600, 10.6075, 180.00 },
  1261. { 12, 2119.9800, 1942.7900, 10.6075, 180.00 },
  1262. { 12, 2119.9800, 1929.2400, 10.6075, 180.00 },
  1263. { 12, 2119.9800, 1902.1500, 10.6075, 180.00 },
  1264. { 12, 2119.9800, 1893.9600, 10.6075, 180.00 },
  1265. { 12, 2107.6000, 1838.7900, 10.6075, 155.00 },
  1266. { 12, 2087.2400, 1797.5600, 10.6075, 155.00 },
  1267. { 12, 2136.6600, 1826.8500, 10.2944, 335.00 },
  1268. { 12, 2121.9600, 1797.5600, 10.2944, 335.00 },
  1269. { 12, 2154.2400, 1929.2400, 10.6075, 0.00 },
  1270. { 12, 2154.2400, 1954.4100, 10.6075, 0.00 },
  1271. { 12, 2154.2400, 1880.1900, 10.6075, 0.00 },
  1272. { 5, 1537.7800, 2214.4200, 10.4224, 0.00 },
  1273. { 5, 1531.0000, 2214.4200, 10.4224, 0.00 },
  1274. { 5, 1541.2400, 2203.6900, 10.4224, 0.00 },
  1275. { 5, 1496.5100, 2203.6800, 10.4224, 0.00 },
  1276. { 5, 1730.4600, 2018.0200, 10.6626, 270.00 },
  1277. { 5, 1730.4600, 1982.7000, 10.6626, 270.00 },
  1278. { 5, 1730.4600, 1951.2300, 10.6626, 270.00 },
  1279. { 5, 1744.3200, 2002.5000, 10.6626, 270.00 },
  1280. { 5, 1744.1800, 1887.5500, 10.6626, 270.00 },
  1281. { 4, 1434.2400, 2578.1100, 10.6075, 0.00 },
  1282. { 4, 1274.1300, 2603.1500, 10.6075, 0.00 },
  1283. { 4, 1279.7500, 2546.9000, 10.6075, 90.00 },
  1284. { -1, 1421.7000, 2867.8300, 10.6380, 90.00 },
  1285. { 17, 1421.7000, 2830.2300, 10.6380, 270.00 },
  1286. { 4, 1460.6100, 2839.0400, 10.6380, 0.00 },
  1287. { -1, 1469.4200, 2878.9800, 10.6380, 180.00 },
  1288. { -1, 1496.2600, 2879.0700, 10.6380, 0.00 },
  1289. { 4, 1489.5900, 2838.9300, 10.6380, 180.00 },
  1290. { 453, 1291.8900, 2994.3500, -1.0000, 90.00 },
  1291. { 11, 1535.9700, 2257.9100, 10.4224, 0.00 },
  1292. { 11, 1532.5300, 2268.5500, 10.4224, 0.00 },
  1293. { 4, 1396.9600, 2529.1300, 10.6075, 90.00 },
  1294. { 4, 1367.2500, 2520.4400, 10.6075, 270.00 },
  1295. { 11, 1515.7800, 2268.5500, 10.4224, 0.00 },
  1296. { 11, 1499.1400, 2268.5500, 10.4224, 0.00 },
  1297. { 11, 1518.7300, 2280.6600, 10.4224, 0.00 },
  1298. { 11, 1525.5000, 2291.3000, 10.4224, 0.00 },
  1299. { 11, 1492.1100, 2291.3000, 10.4224, 0.00 },
  1300. { 11, 1385.8700, 2279.5700, 10.4224, 90.00 },
  1301. { 11, 1385.8700, 2262.8200, 10.4224, 90.00 },
  1302. { 11, 1385.8700, 2246.1700, 10.4224, 90.00 },
  1303. { 4, 2011.4400, 2755.8000, 10.6075, 0.00 },
  1304. { 4, 1919.5300, 2760.7400, 10.6075, 90.00 },
  1305. { 4, 1928.0900, 2656.1300, 10.6075, 0.00 },
  1306. { 4, 1978.6600, 2658.2000, 10.6075, 0.00 },
  1307. { 4, 2044.6400, 2658.2000, 10.6075, 0.00 },
  1308. { 4, 2059.1100, 2730.0900, 10.6075, 0.00 },
  1309. { 4, 2009.5800, 2728.6500, 10.6075, 0.00 },
  1310. { 453, 2121.1600, 3010.0000, -1.0000, 90.00 },
  1311. { 4, 1594.3500, 2746.9600, 10.6075, 0.00 },
  1312. { 4, 1609.2500, 2719.4200, 10.6075, 0.00 },
  1313. { 4, 1580.4400, 2838.1000, 10.6075, 0.00 },
  1314. { 4, 1657.9600, 2719.4200, 10.6075, 0.00 },
  1315. { 4, 1651.8900, 2746.9600, 10.6075, 0.00 },
  1316. { 4, 1593.8900, 2807.2400, 10.6075, 0.00 },
  1317. { 4, 1630.0600, 2807.9600, 10.6075, 0.00 },
  1318. { 4, 1709.6100, 2700.6300, 10.6075, 0.00 },
  1319. { 5, 1637.8200, 2576.4400, 10.6075, 0.00 },
  1320. { 4, 1492.4100, 2540.3600, 10.6075, 90.00 },
  1321. { 4, 1655.4000, 2835.1600, 10.6075, 0.00 },
  1322. { 4, 1614.6000, 2835.2100, 10.6075, 0.00 },
  1323. { 11, 1602.9700, 2362.4700, 10.2222, 0.00 },
  1324. { 11, 1614.1800, 2362.4900, 10.2222, 0.00 },
  1325. { 5, 1709.0400, 2308.1500, 10.2222, 0.00 },
  1326. { 5, 1727.2000, 2353.5400, 10.2222, 90.00 },
  1327. { 453, 1668.9100, 2994.3500, -1.0000, 90.00 },
  1328. { 16, 1618.1700, 1851.4800, 10.0459, 0.00 },
  1329. { 16, 1608.4400, 1832.5300, 10.0459, 0.00 },
  1330. { 16, 1593.6300, 1832.5300, 10.0459, 0.00 },
  1331. { 16, 1596.0000, 1838.4700, 10.0459, 0.00 },
  1332. { 16, 1602.2600, 1838.4700, 10.0459, 0.00 },
  1333. { 16, 1601.2200, 1851.3300, 10.0459, 0.00 },
  1334. { 16, 1597.0100, 1851.3300, 10.0459, 0.00 },
  1335. { 16, 1590.5700, 1851.3300, 10.0459, 0.00 },
  1336. { 416, 1619.6500, 1825.6000, 10.0459, 0.00 },
  1337. { 593, 1352.1600, 1801.5700, 9.8222, 270.00 },
  1338. { 4, 1685.9500, 1178.3300, 33.8261, 0.00 },
  1339. { 16, 1685.8400, 1297.9400, 10.0459, 0.00 },
  1340. { 477, 1657.0000, 1317.3300, 10.0459, 0.00 },
  1341. { 16, 1650.5300, 1317.2100, 10.0459, 0.00 },
  1342. { 16, 1692.1000, 1288.7300, 10.0459, 0.00 },
  1343. { 11, 1469.0600, 1075.3600, 12.0633, 0.00 },
  1344. { 5, 1677.7700, 988.7090, 9.8594, 0.00 },
  1345. { 477, 1487.4800, 1017.8200, 12.0633, 0.00 },
  1346. { 11, 1655.4300, 988.4720, 9.9862, 0.00 },
  1347. { 11, 1668.2600, 988.4720, 9.9862, 180.00 },
  1348. { 11, 1655.3500, 999.3630, 9.9862, 360.00 },
  1349. { 11, 1658.5500, 1039.5500, 9.9862, 360.00 },
  1350. { 11, 1674.6000, 1028.5000, 9.9862, 180.00 },
  1351. { 11, 1665.0900, 1028.5000, 9.9862, 0.00 }
  1352. }
  1353. ;
  1354.  
  1355. new
  1356. g_bIsMyVehicle[ ( MAX_VEHICLES + 1 ) char ],
  1357. g_bHasGameModeExited = false
  1358. ;
  1359.  
  1360.  
  1361. enum pInfo
  1362. {
  1363. pPass,
  1364. pAdminLevel,
  1365. pCoins,
  1366. pScore,
  1367. pKills,
  1368. pDeaths,
  1369. pFrozen,
  1370. pBanned,
  1371. pSkin,
  1372. pDuelWins,
  1373. pDuelLoses,
  1374. pMathTests,
  1375. pVIP
  1376. }
  1377. new PlayerInfo[MAX_PLAYERS][pInfo];
  1378. new pIP[MAX_PLAYERS][16];
  1379. new pLogged[MAX_PLAYERS];
  1380.  
  1381. new bool:IsPlayerInSMGSelection[MAX_PLAYERS] = false;
  1382. new bool:IsPlayerInPistolsSelection[MAX_PLAYERS] = false;
  1383. new bool:IsPlayerInShotgunsSelection[MAX_PLAYERS] = false;
  1384. new bool:IsPlayerInRifleSelection[MAX_PLAYERS] = false;
  1385. new bool:IsPlayerInExtraSelection[MAX_PLAYERS] = false;
  1386. new CurrentPlayerWeapon[MAX_PLAYERS] = 0;
  1387.  
  1388. new PlayerText:Cashbar0[MAX_PLAYERS];
  1389. new PlayerText:Cashbar1[MAX_PLAYERS];
  1390. new PlayerText:Cashbar2[MAX_PLAYERS];
  1391. new PlayerText:Cashbar3[MAX_PLAYERS];
  1392.  
  1393. new Float:RandomSpawns[][] =
  1394. {
  1395. {1743.4989,-1944.3280,13.5670,179.2309}, // Spawn 1
  1396. {2126.7498,-1809.5155,13.5670,268.3437}, // Spawn 2
  1397. {2314.7998,-1817.2371,13.5469,186.3750}, // Spawn 3
  1398. {2380.7117,-1701.4888,13.6550,357.9972}, // Spawn 4
  1399. {1999.1437,-1092.3521,24.7959,166.9875}, // Spawn 5
  1400. {1710.6519,-1104.6863,24.0781,2.4859}, // Spawn 6
  1401. {1342.2052,-1640.9021,17.7297,269.0724}, // Spawn 7
  1402. {1337.9689,-1818.9222,13.5522,275.5468} // Spawn 8
  1403. };
  1404.  
  1405.  
  1406. CMD:stats(playerid, params[])
  1407. {
  1408. new string[80], strings[90], strings2[90], strings3[90];
  1409. new Float:ratio=floatdiv(PlayerInfo[playerid][pKills], PlayerInfo[playerid][pDeaths]);
  1410. new Float:ratio2=floatdiv(PlayerInfo[playerid][pDuelWins], PlayerInfo[playerid][pDuelLoses]);
  1411. format(string, sizeof(string), "GENERAL STATS; Admin Level: %d - Coins: %d - Score: %d - VIP: %d", PlayerInfo[playerid][pAdminLevel], PlayerInfo[playerid][pCoins], PlayerInfo[playerid][pScore], PlayerInfo[playerid][pVIP]);
  1412. format(strings, sizeof(strings), "OTHER STATS; Kills: %d - Deaths: %d - K/D Ratio: %.2f", PlayerInfo[playerid][pKills], PlayerInfo[playerid][pDeaths], ratio);
  1413. format(strings2, sizeof(strings2), "DUEL STATS; Duel Wins: %d - Duel Loses: %d - Wins/Loses Ratio: %.2f", PlayerInfo[playerid][pDuelWins], PlayerInfo[playerid][pDuelLoses], ratio2);
  1414. format(strings3, sizeof(strings3), "MINIGAMES STATS; Math Tests: %d", PlayerInfo[playerid][pMathTests]);
  1415. SendClientMessage(playerid, 0x33AA33AA, string);
  1416. SendClientMessage(playerid, 0x33AA33AA, strings);
  1417. SendClientMessage(playerid, 0x33AA33AA, strings2);
  1418. SendClientMessage(playerid, 0x33AA33AA, strings3);
  1419. return 1;
  1420. }
  1421.  
  1422. CMD:kick(playerid, params[])
  1423. {
  1424. if(PlayerInfo[playerid][pAdminLevel] >= 1) {
  1425. new PID;
  1426. new reason[64];
  1427. new str[128];
  1428. new Playername[MAX_PLAYER_NAME], Adminname[MAX_PLAYER_NAME];
  1429. GetPlayerName(playerid, Adminname, sizeof(Adminname));
  1430. GetPlayerName(PID, Playername, sizeof(Playername));
  1431. if(sscanf(params, "us[64]", PID,reason)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /kick [playerid] [reason]");
  1432.  
  1433. if(!IsPlayerConnected(PID))
  1434. return SendClientMessage(playerid, COLOR_GREY, "Player is not connected!");
  1435.  
  1436. format(str, sizeof(str), "'%s' has been kicked by administrator '%s'. Reason: %s ", Playername, Adminname, reason);
  1437. SendClientMessageToAll(COLOR_RED, str);
  1438. Kick(PID);
  1439.  
  1440. }
  1441. else
  1442. {
  1443. SendClientMessage(playerid, COLOR_RED, "You aren't authorized to use this command!");
  1444. }
  1445. return 1;
  1446. }
  1447. CMD:ban(playerid, params[])
  1448. {
  1449. if(PlayerInfo[playerid][pAdminLevel] >= 1) {
  1450. new PID;
  1451. new reason[64];
  1452. new str[128];
  1453. new Playername[MAX_PLAYER_NAME], Adminname[MAX_PLAYER_NAME];
  1454. GetPlayerName(playerid, Adminname, sizeof(Adminname));
  1455. GetPlayerName(PID, Playername, sizeof(Playername));
  1456. if(sscanf(params, "us[64]", PID,reason)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /ban [playerid] [reason]");
  1457.  
  1458. if(!IsPlayerConnected(PID))
  1459. return SendClientMessage(playerid, COLOR_GREY, "Player is not connected!");
  1460.  
  1461. format(str, sizeof(str), "'%s' has been banned by administrator '%s'. Reason: %s ", Playername, Adminname, reason);
  1462. SendClientMessageToAll(COLOR_RED, str);
  1463. Ban(PID);
  1464.  
  1465. }
  1466. else
  1467. {
  1468. SendClientMessage(playerid, COLOR_RED, "You aren't authorized to use this command!");
  1469. }
  1470. return 1;
  1471. }
  1472.  
  1473. CMD:freeze(playerid,params[])
  1474. {
  1475. if(PlayerInfo[playerid][pAdminLevel] >= 1)
  1476. {
  1477. new Target;
  1478. if(sscanf(params, "u", Target)) SendClientMessage(playerid, COLOR_RED, "USAGE: /freeze [playerid]");
  1479. if(!IsPlayerConnected(Target))
  1480. return SendClientMessage(playerid, COLOR_RED, "ERROR:Player is not connected!");
  1481. if(!sscanf(params, "u", Target))
  1482. {
  1483. if(Target == playerid) return SendClientMessage(playerid, COLOR_RED, "ERROR: Cant perform this command on yourself!" );
  1484. if(PlayerInfo[Target][pAdminLevel] > PlayerInfo[playerid][pAdminLevel]) return SendClientMessage(playerid,COLOR_RED,"ERROR: You cant perform this on Admins that are higher than your level!");
  1485. new tname[MAX_PLAYER_NAME];
  1486. GetPlayerName(Target,tname,sizeof(tname));
  1487. new pname[MAX_PLAYER_NAME];
  1488. GetPlayerName(playerid,pname,sizeof(pname));
  1489. new tstring[128];
  1490. new pstring[128];
  1491. new astring[128];
  1492. format(tstring,sizeof(tstring),"You have been frozen by administrator %s! You cant move!",pname);
  1493. format(pstring,sizeof(pstring),"You have frozen player %s(%d)!",tname,Target);
  1494. format(astring,sizeof(astring),"Administrator %s has frozen %s!",pname,tname);
  1495. SendClientMessage(Target,COLOR_RED,tstring);
  1496. SendClientMessage(playerid,COLOR_RED,pstring);
  1497. SendClientMessageToAll(COLOR_RED,astring);
  1498. TogglePlayerControllable(Target,0);
  1499. PlayerInfo[Target][pFrozen] = 1;
  1500. }
  1501.  
  1502. }
  1503.  
  1504. else return SendClientMessage(playerid,COLOR_RED,"ERROR: You aren't authorized to use this command!");
  1505. return 1;
  1506. }
  1507.  
  1508. CMD:unfreeze(playerid,params[])
  1509. {
  1510. if(PlayerInfo[playerid][pAdminLevel] >= 1)
  1511. {
  1512. new Target;
  1513. if(sscanf(params, "u", Target)) SendClientMessage(playerid, COLOR_RED, "USAGE: /unfreeze [playerid]");
  1514. if(!IsPlayerConnected(Target))
  1515. return SendClientMessage(playerid, COLOR_RED, "ERROR:Player is not connected!");
  1516. if(!sscanf(params, "u", Target))
  1517. {
  1518. if(Target == playerid) return SendClientMessage(playerid, COLOR_RED, "ERROR: Cant perform this command on yourself!" );
  1519. if(PlayerInfo[Target][pAdminLevel] > PlayerInfo[playerid][pAdminLevel]) return SendClientMessage(playerid,COLOR_RED,"ERROR: You cant perform this on Admins that are higher than your level!");
  1520. new tname[MAX_PLAYER_NAME];
  1521. GetPlayerName(Target,tname,sizeof(tname));
  1522. new pname[MAX_PLAYER_NAME];
  1523. GetPlayerName(playerid,pname,sizeof(pname));
  1524. new tstring[128];
  1525. new pstring[128];
  1526. new astring[128];
  1527. format(tstring,sizeof(tstring),"You have been un-frozen by administrator %s! You cant move!",pname);
  1528. format(pstring,sizeof(pstring),"You have un-frozen player %s(%d)!",tname,Target);
  1529. format(astring,sizeof(astring),"Administrator %s has un-frozen %s!",pname,tname);
  1530. SendClientMessage(Target,COLOR_RED,tstring);
  1531. SendClientMessage(playerid,COLOR_RED,pstring);
  1532. SendClientMessageToAll(COLOR_RED,astring);
  1533. TogglePlayerControllable(Target,1);
  1534. PlayerInfo[Target][pFrozen] = 0;
  1535. }
  1536.  
  1537. }
  1538.  
  1539. else return SendClientMessage(playerid,COLOR_RED,"ERROR: You aren't authorized to use this command!");
  1540. return 1;
  1541. }
  1542.  
  1543. CMD:clearchat(playerid,params[])
  1544. {
  1545. if( PlayerInfo[ playerid ][ pAdminLevel ] < 1 ) return SendClientMessage( playerid, COLOR_RED, "ERROR: You aren't authorized to use this command!" );
  1546. {
  1547. for( new i = 0; i <= 100; i ++ ) SendClientMessageToAll( COLOR_RED, "" );
  1548. }
  1549. return 1;
  1550. }
  1551.  
  1552. CMD:pm(playerid, params[])
  1553. {
  1554. new str[256], str2[256], id, Name1[MAX_PLAYER_NAME], Name2[MAX_PLAYER_NAME];
  1555. if(sscanf(params, "us", id, str2))
  1556. {
  1557. SendClientMessage(playerid, 0xFF0000FF, "Usage: /pm <id> <message>");
  1558. return 1;
  1559. }
  1560. if(!IsPlayerConnected(id)) return SendClientMessage(playerid, 0xFF0000FF, "ERROR: Player not connected");
  1561. if(playerid == id) return SendClientMessage(playerid, 0xFF0000FF, "ERROR: You cannot pm yourself!");
  1562. {
  1563. GetPlayerName(playerid, Name1, sizeof(Name1));
  1564. GetPlayerName(id, Name2, sizeof(Name2));
  1565. format(str, sizeof(str), "PM To %s(ID %d): %s", Name2, id, str2);
  1566. SendClientMessage(playerid, 0xFF0000FF, str);
  1567. format(str, sizeof(str), "PM From %s(ID %d): %s", Name1, playerid, str2);
  1568. SendClientMessage(id, 0xFF0000FF, str);
  1569. }
  1570. return 1;
  1571. }
  1572.  
  1573. CMD:goto(playerid, params[])
  1574. {
  1575. if(PlayerInfo[playerid][pAdminLevel] < 1) return SendClientMessage(playerid, 0xFF0000AA, "You aren't authorized to use this command.");
  1576. new ID;
  1577. new pn[MAX_PLAYER_NAME];
  1578. new an[MAX_PLAYER_NAME];
  1579. new str[128];
  1580. if(sscanf(params, "u", ID)) return SendClientMessage(playerid, 0xFF0000AA, "USAGE: /goto [ID]");
  1581. if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, 0xFF0000AA, "ERROR: This player is not connected");
  1582. GetPlayerName(playerid, an, MAX_PLAYER_NAME);
  1583. GetPlayerName(ID, pn, MAX_PLAYER_NAME);
  1584. new Float:x;
  1585. new Float:y;
  1586. new Float:z;
  1587. GetPlayerPos(ID, x, y, z);
  1588. SetPlayerPos(playerid, x+1, y+1, z);
  1589. format(str, sizeof(str), "You have been teleported to %s", pn);
  1590. SendClientMessage(playerid, 0x00FF00AA, str);
  1591. if(IsPlayerInAnyVehicle(playerid))
  1592. {
  1593. GetPlayerPos(ID, x, y, z);
  1594. SetVehiclePos(playerid, x+1, y+1, z);
  1595. }
  1596. return 1;
  1597. }
  1598.  
  1599. CMD:slap(playerid, params[])
  1600. {
  1601. if(PlayerInfo[playerid][pAdminLevel] < 1) return SendClientMessage(playerid, 0xFFFFFFFF, "You aren't allowed to use this command.");
  1602. new id;
  1603. if(!sscanf(params, "u", id))
  1604. {
  1605. new Names[MAX_PLAYER_NAME], PlayerName[MAX_PLAYER_NAME], string[128], Float:px, Float:py, Float:pz;
  1606. GetPlayerName(playerid, Names, sizeof(Names));
  1607. GetPlayerName(id, PlayerName, sizeof(PlayerName));
  1608. GetPlayerPos(id, px, py, pz);
  1609. SetPlayerPos(playerid, px, py, pz+10);
  1610. format(string, sizeof(string), "You have been slapped by administrator %s.", Names);
  1611. SendClientMessage(id, 0xFFFFFFFF, string);
  1612. format(string, sizeof(string), "You slapped %s.", PlayerName);
  1613. SendClientMessage(playerid, 0xFFFFFFFF, string);
  1614. return 1;
  1615. }
  1616. else return SendClientMessage(playerid, 0xFFFFFFFF, "USAGE: /slap [PlayerId/PartOfName]");
  1617. }
  1618.  
  1619. CMD:get(playerid, params[])
  1620. {
  1621. if(PlayerInfo[playerid][pAdminLevel] < 1) return SendClientMessage(playerid, 0xFFFFFFFF, "You aren't authorized to use this command.");
  1622. new target, Float:X, Float:Y, Float:Z;
  1623. if(sscanf(params,"u", target)) return SendClientMessage(playerid, 0xFFFFFFFF,"[USAGE]: /get [ID/Name/PartOfName]");
  1624. if(IsPlayerConnected(target))
  1625. {
  1626. GetPlayerPos(playerid, X, Y, Z);
  1627. new interior = GetPlayerInterior(playerid);
  1628. new world = GetPlayerVirtualWorld(playerid);
  1629. SetPlayerInterior(target, interior);
  1630. SetPlayerPos(target, X, Y, Z);
  1631. SetPlayerVirtualWorld(target, world);
  1632. SendClientMessage(target, -1, "You were teleported by an administrator");
  1633. SendClientMessage(playerid, -1, "You teleported him to you");
  1634. }
  1635. return 1;
  1636. }
  1637.  
  1638. CMD:sethealth(playerid, params[])
  1639. {
  1640. if(PlayerInfo[playerid][pAdminLevel] < 1) return SendClientMessage(playerid, 0xFF0000AA, "You aren't authorized to use this command.");
  1641. new id, Float:amount, string[70], pName[MAX_PLAYER_NAME];
  1642. if(sscanf(params, "uf", id, amount)) return SendClientMessage(playerid, 0xFF0000AA, "Usage: /sethealth (id) (amount)");
  1643. if(!IsPlayerConnected(id)) return SendClientMessage(playerid, 0xFF0000AA, "This player is not connected.");
  1644. GetPlayerName(id, pName, MAX_PLAYER_NAME);
  1645. SetPlayerHealth(id, amount);
  1646. format(string, sizeof(string), "You've set %s's (%d) health to %d.", pName, id, amount);
  1647. SendClientMessage(playerid, 0x00FF00AA, string);
  1648. return 1;
  1649. }
  1650.  
  1651. CMD:sendcoins(playerid, params[])
  1652. {
  1653. new
  1654. giveplayerid,
  1655. amount;
  1656. new string[60],
  1657. string2[60];
  1658. if (sscanf(params, "ud", giveplayerid, amount)) SendClientMessage(playerid, 0xFF0000AA, "Usage: /sendcoins [playerid/partname] [amount]");
  1659. else if (giveplayerid == INVALID_PLAYER_ID) SendClientMessage(playerid, 0xFF0000AA, "Player not found");
  1660. else if (amount > PlayerInfo[playerid][pCoins]) SendClientMessage(playerid, 0xFF0000AA, "Insufficient Funds");
  1661. else
  1662. {
  1663. GiveCoins(giveplayerid, amount);
  1664. GiveCoins(playerid, 0 - amount);
  1665. format(string2, sizeof(string2), "You sent %d coins to %d successfully", amount, giveplayerid);
  1666. SendClientMessage(playerid, 0x00FF00AA, string2);
  1667. format(string, sizeof(string), "You received %d from %s", amount, playerid);
  1668. SendClientMessage(giveplayerid, 0x00FF00AA, string);
  1669. }
  1670. return 1;
  1671. }
  1672.  
  1673. CMD:givecoins(playerid, params[])
  1674. {
  1675. new targetid, amount, string[70], strings[60];
  1676. if(sscanf(params,"ui", targetid, amount)) return SendClientMessage(playerid, 0xFFFFFFF,"USAGE: /givecoins [PlayerID] [Amount]");
  1677. if(PlayerInfo[playerid][pAdminLevel] < 1) return SendClientMessage(playerid, 0xFFFFFFF,"You aren't authorized to use this command.");
  1678. if(!IsPlayerConnected(targetid)) return SendClientMessage(playerid, 0xFFFFFFF,"That player is not connected to your server!");
  1679. GiveCoins(targetid, amount);
  1680. format(string, sizeof(string), "You received %d coins from an administrator", amount);
  1681. SendClientMessage(targetid, -1, string);
  1682. format(strings, sizeof(strings), "You sent %d coins to ID %d", amount, targetid);
  1683. SendClientMessage(playerid, -1, strings);
  1684. return 1;
  1685. }
  1686.  
  1687. CMD:setskin(playerid, params[])
  1688. {
  1689. new targetid, skin, string[128];
  1690. if(sscanf(params,"ui", targetid, skin)) return SendClientMessage(playerid, 0xFFFFFFF,"USAGE: /setskin [PlayerID] [Skin]");
  1691. if(PlayerInfo[playerid][pAdminLevel] < 1) return SendClientMessage(playerid, 0xFFFFFFF,"You aren't authorized to use this command!");
  1692. if(skin > 314 || skin < 1) return SendClientMessage(playerid, 0xFFFFFFF,"Invalid Skin, choose between (1-314)");
  1693. if(!IsPlayerConnected(targetid)) return SendClientMessage(playerid, 0xFFFFFFF,"Player isn't connected!");
  1694. format(string, sizeof(string),"Your skin has been set to model %d by an administrator", skin);
  1695. SendClientMessage(targetid, 0xFFFFFF, string);
  1696. format(string, sizeof(string),"You have set ID %d's skin to model %d", targetid, skin);
  1697. SendClientMessage(playerid, 0xFFFFFF, string);
  1698. SetPlayerSkin(targetid, skin);
  1699. PlayerInfo[targetid][pSkin] = skin;
  1700. return 1;
  1701. }
  1702.  
  1703. CMD:spec(playerid, params[])
  1704. {
  1705. new id;
  1706. if (sscanf(params, "u", id)) SendClientMessage(playerid, 0xFFFFFFF, "USAGE: /spec [ID]");
  1707. else if (id == INVALID_PLAYER_ID) SendClientMessage(playerid, 0xFFFFFFF, "* Player is not found!");
  1708. else
  1709. if(PlayerInfo[playerid][pAdminLevel] < 1) return SendClientMessage(playerid, 0xFFFFFFF, "You aren't authorized to use this command.");
  1710. if(IsPlayerInAnyVehicle(id))
  1711. {
  1712. new int = GetPlayerInterior(id);
  1713. SetPlayerInterior(playerid, int);
  1714. TogglePlayerSpectating(playerid, 1);
  1715. PlayerSpectateVehicle(playerid, GetPlayerVehicleID(id));
  1716. }
  1717. else
  1718. {
  1719. new int = GetPlayerInterior(id);
  1720. SetPlayerInterior(playerid, int);
  1721. TogglePlayerSpectating(playerid, 1);
  1722. PlayerSpectatePlayer(playerid, id);
  1723. }
  1724. return 1;
  1725. }
  1726.  
  1727. CMD:skin(playerid,params[])
  1728. {
  1729. new skinnumber, skinid, string[128];
  1730. if(sscanf(params, "d", skinid)) SendClientMessage(playerid, -1, "USAGE: /skin <skinid>");
  1731. else if(skinid < 0 || skinid > 314) SendClientMessage(playerid, 0xFF000000, "{ff0000}=ERROR=: {ffffff}Choose a skin between 0 to 314!");
  1732. else
  1733. {
  1734. SetPlayerSkin(playerid, skinid);
  1735. PlayerInfo[playerid][pSkin] = skinid;
  1736. skinnumber = GetPlayerSkin(playerid);
  1737. format(string, sizeof(string), "{ffff00}System: {ffffff}You have changed your skin to %d", skinnumber);
  1738. SendClientMessage(playerid, -1, string);
  1739. }
  1740. return 1;
  1741. }
  1742.  
  1743. CMD:shop(playerid, params[])
  1744. {
  1745. PlayerTextDrawShow(playerid,Textdraw0[playerid]);
  1746. PlayerTextDrawShow(playerid,Textdraw1[playerid]);
  1747. PlayerTextDrawShow(playerid,Textdraw2[playerid]);
  1748. PlayerTextDrawShow(playerid,Textdraw3[playerid]);
  1749. PlayerTextDrawShow(playerid,Textdraw4[playerid]);
  1750. PlayerTextDrawShow(playerid,Textdraw5[playerid]);
  1751. PlayerTextDrawShow(playerid,Textdraw6[playerid]);
  1752. PlayerTextDrawShow(playerid,Textdraw7[playerid]);
  1753. PlayerTextDrawShow(playerid,Textdraw8[playerid]);
  1754. PlayerTextDrawShow(playerid,Textdraw9[playerid]);
  1755. PlayerTextDrawShow(playerid,Textdraw10[playerid]);
  1756. PlayerTextDrawShow(playerid,Textdraw15[playerid]);
  1757. PlayerTextDrawShow(playerid,Textdraw16[playerid]);
  1758. PlayerTextDrawShow(playerid,Textdraw17[playerid]);
  1759. PlayerTextDrawShow(playerid,Textdraw18[playerid]);
  1760. PlayerTextDrawShow(playerid,Textdraw19[playerid]);
  1761. PlayerTextDrawShow(playerid,Textdraw24[playerid]);//Escape button
  1762. SelectTextDraw(playerid, 0x00FF00FF);
  1763. return 1;
  1764. }
  1765.  
  1766. CMD:specoff(playerid, params[])
  1767. {
  1768. if(PlayerInfo[playerid][pAdminLevel] < 1) return SendClientMessage(playerid, 0xFFFFFFF, "You aren't authorized to use this command.");
  1769. TogglePlayerSpectating(playerid, 0);
  1770. return 1;
  1771. }
  1772.  
  1773. CMD:acmds(playerid, params[])
  1774. {
  1775. ShowPlayerDialog(playerid, DIALOG_ADMINCMDS, DIALOG_STYLE_MSGBOX, "{3333AA}Administrator Commands", "{3333AA}Level 1:{FFFFFF} (/un)freeze - /kick - /ban - /clearchat - /goto - /slap\n{3333AA}Level 1: {FFFFFF}/get - /sethealth - /givecoins - /setskin - /spec - /specoff", "Close","Close");
  1776. return 1;
  1777. }
  1778.  
  1779. CMD:help(playerid, params[])
  1780. {
  1781. ShowPlayerDialog(playerid, DIALOG_CMDS, DIALOG_STYLE_MSGBOX, "{3333AA}All player commands", "General Commands: /pm - /sendcoins - /skin - /shop\nDuel Commands: /duel - /acceptduel - /declineduel - /cancelrequest\nOther Commands: /kill - /credits - /rules - /sync - /fixvw", "Close","Close");
  1782. return 1;
  1783. }
  1784.  
  1785. CMD:kill(playerid, params[])
  1786. {
  1787. PlayerInfo[playerid][pDeaths]++;
  1788. SetPlayerHealth(playerid, 0);
  1789. SendClientMessage(playerid, -1, "You have commited suicide");
  1790. return 1;
  1791. }
  1792.  
  1793. CMD:rules(playerid, params[])
  1794. {
  1795. new string[300];
  1796. strcat(string, "{FF0000}\nServer Rules \n");
  1797. strcat(string, "{A65EAE}1. Do not coins farm nor score farm.\n");
  1798. strcat(string, "{A65EAE}2. Cleo is allowed however illegal cleo mods aren't allowed.\n");
  1799. strcat(string, "{A65EAE}3. Respect each other, don't insult or disrespect anybody.\n");
  1800. strcat(string, "{A65EAE}4. Always obey the administrative team orders.\n");
  1801. strcat(string, "{A65EAE}5. Don't ask for coins or score from an administrator.\n");
  1802. strcat(string, "{A65EAE}6. Do not spam/flood the chat.\n");
  1803. strcat(string, "{A65EAE}7. Sobeit is stricly forbidden from the server.\n");
  1804. ShowPlayerDialog(playerid,DIALOG_RULES,DIALOG_STYLE_MSGBOX,"{FFFFFF}Server Rules",string,"Okay","");
  1805. return 1;
  1806. }
  1807.  
  1808. CMD:credits(playerid, params[])
  1809. {
  1810. new string[300];
  1811. strcat(string, "{FF0000}\nServer Rules \n");
  1812. strcat(string, "{A65EAE}Original Author of the gamemode: TopShooter\n");
  1813. strcat(string, "{A65EAE}Special thanks to Y Less\n");
  1814. strcat(string, "{A65EAE}Special thanks to Zeex\n");
  1815. strcat(string, "{A65EAE}Special thanks to Emmet_\n");
  1816. strcat(string, "{A65EAE}Please remind me if I forgot somebody.\n");
  1817. ShowPlayerDialog(playerid,DIALOG_CREDITS,DIALOG_STYLE_MSGBOX,"{FFFFFF}Credits",string,"Okay","");
  1818. return 1;
  1819. }
  1820.  
  1821. CMD:sync(playerid, params[])
  1822. {
  1823. ClearAnimations(playerid);
  1824. return 1;
  1825. }
  1826.  
  1827. CMD:fixvw(playerid, params[])
  1828. {
  1829. SetPlayerVirtualWorld(playerid, 0);
  1830. return 1;
  1831. }
  1832.  
  1833. main()
  1834. {
  1835. print("\n----------------------------------");
  1836. print("Free for All SA-MP");
  1837. print("----------------------------------\n");
  1838. }
  1839.  
  1840. public OnGameModeInit()
  1841. {
  1842. SetGameModeText("Free for All");
  1843. SetTimer("scorereload",100,true);
  1844. SetTimer("cashbarreload",100,true);
  1845. Create3DTextLabel("Minigames Stadium", 0x008080FF, 1412.44, -1699.97, 13.54, 40.0, 0, 0);
  1846. LoadGame();
  1847. SetTimer("LoadGame",E_TIME*1000,true);
  1848. for ( new i = 0, iModel, iVehicle; i < sizeof( g_Vehicles ); i++ )
  1849. {
  1850. iModel = g_Vehicles[ i ][ e_iModel ] >= 400 ? g_Vehicles[ i ][ e_iModel ] : GetRandomModelByGroup( g_Vehicles[ i ][ e_iModel ] );
  1851.  
  1852. iVehicle = CreateVehicle( iModel, g_Vehicles[ i ][ e_fX ], g_Vehicles[ i ][ e_fY ], g_Vehicles[ i ][ e_fZ ], g_Vehicles[ i ][ e_fRot ], -1, -1, 800 );
  1853.  
  1854. if ( iVehicle )
  1855. g_bIsMyVehicle{ iVehicle } = true;
  1856. }
  1857. return 1;
  1858. }
  1859. // 1412.44, -1699.97, 13.54
  1860. public OnGameModeExit()
  1861. {
  1862. for ( new iVehicle = 1; iVehicle < MAX_VEHICLES + 1; iVehicle++ )
  1863. {
  1864. if ( g_bIsMyVehicle{ iVehicle } )
  1865. DestroyVehicle( iVehicle );
  1866. }
  1867. return 1;
  1868. }
  1869.  
  1870. public OnPlayerRequestClass(playerid, classid)
  1871. {
  1872. SpawnPlayer(playerid);
  1873. return 1;
  1874. }
  1875.  
  1876. public OnPlayerConnect(playerid)
  1877. {
  1878. pLogged[playerid] = 0;
  1879. #if defined AUTOLOGIN
  1880. new tmpIP[16];
  1881. GetPlayerIp(playerid,tmpIP,sizeof(tmpIP)); //Getting IP
  1882. #endif
  1883. if(fexist(PlayerPath(playerid))) {
  1884. INI_ParseFile(PlayerPath(playerid), "UserDataLoad_%s", .bExtra = true, .extra = playerid); //Calling loading callback
  1885. #if defined AUTOLOGIN
  1886. if(strcmp(tmpIP,pIP[playerid],true) == 0) { //Checking if the IPs match
  1887. pLogged[playerid] = 1;
  1888. SetPlayerScore(playerid, PlayerInfo[playerid][pScore]);
  1889. GiveCoins(playerid, PlayerInfo[playerid][pCoins]);
  1890. SendClientMessage(playerid,lime,"You've been auto-logged in. [IP match]");
  1891. return 1;
  1892. }
  1893. #endif
  1894. ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_INPUT,"Login","Please enter your password below.","Login","Leave");
  1895. }
  1896. else
  1897. {
  1898. ShowPlayerDialog(playerid,DIALOG_REGISTER,DIALOG_STYLE_INPUT,"Register","Please register by entering a password below.","Register","Leave");
  1899. }
  1900.  
  1901. new string[25];
  1902. duelinfo[playerid][playername] = string;
  1903.  
  1904. Textdraw0[playerid] = CreatePlayerTextDraw(playerid, 501.375000, 113.499984, "usebox");
  1905. PlayerTextDrawLetterSize(playerid, Textdraw0[playerid], 0.000000, 33.801387);
  1906. PlayerTextDrawTextSize(playerid, Textdraw0[playerid], 98.000000, 0.000000);
  1907. PlayerTextDrawAlignment(playerid, Textdraw0[playerid], 1);
  1908. PlayerTextDrawColor(playerid, Textdraw0[playerid], 0);
  1909. PlayerTextDrawUseBox(playerid, Textdraw0[playerid], true);
  1910. PlayerTextDrawBoxColor(playerid, Textdraw0[playerid], 102);
  1911. PlayerTextDrawSetShadow(playerid, Textdraw0[playerid], 0);
  1912. PlayerTextDrawSetOutline(playerid, Textdraw0[playerid], 0);
  1913. PlayerTextDrawFont(playerid, Textdraw0[playerid], 0);
  1914. Textdraw1[playerid] = CreatePlayerTextDraw(playerid, 241.250000, 120.166679, "Shop");
  1915.  
  1916. PlayerTextDrawLetterSize(playerid, Textdraw1[playerid], 0.449999, 1.600000);
  1917. PlayerTextDrawAlignment(playerid, Textdraw1[playerid], 1);
  1918. PlayerTextDrawColor(playerid, Textdraw1[playerid], -225902337);
  1919. PlayerTextDrawSetShadow(playerid, Textdraw1[playerid], 0);
  1920. PlayerTextDrawSetOutline(playerid, Textdraw1[playerid], 1);
  1921. PlayerTextDrawBackgroundColor(playerid, Textdraw1[playerid], 51);
  1922. PlayerTextDrawFont(playerid, Textdraw1[playerid], 1);
  1923. PlayerTextDrawSetProportional(playerid, Textdraw1[playerid], 1);
  1924. Textdraw2[playerid] = CreatePlayerTextDraw(playerid, 208.125000, 131.250000, ".");
  1925.  
  1926. PlayerTextDrawLetterSize(playerid, Textdraw2[playerid], 15.769989, 0.899999);
  1927. PlayerTextDrawAlignment(playerid, Textdraw2[playerid], 1);
  1928. PlayerTextDrawColor(playerid, Textdraw2[playerid], -225902337);
  1929. PlayerTextDrawSetShadow(playerid, Textdraw2[playerid], 0);
  1930. PlayerTextDrawSetOutline(playerid, Textdraw2[playerid], 1);
  1931. PlayerTextDrawBackgroundColor(playerid, Textdraw2[playerid], 51);
  1932. PlayerTextDrawFont(playerid, Textdraw2[playerid], 1);
  1933. PlayerTextDrawSetProportional(playerid, Textdraw2[playerid], 1);
  1934. Textdraw3[playerid] = CreatePlayerTextDraw(playerid, 386.250000, 163.333328, "_");
  1935.  
  1936. PlayerTextDrawLetterSize(playerid, Textdraw3[playerid], 0.000000, 0.000000);
  1937. PlayerTextDrawTextSize(playerid, Textdraw3[playerid], 108.125000, 91.583343);
  1938. PlayerTextDrawAlignment(playerid, Textdraw3[playerid], 1);
  1939. PlayerTextDrawColor(playerid, Textdraw3[playerid], -1);
  1940. PlayerTextDrawSetShadow(playerid, Textdraw3[playerid], 0);
  1941. PlayerTextDrawSetOutline(playerid, Textdraw3[playerid], 0);
  1942. PlayerTextDrawFont(playerid, Textdraw3[playerid], TEXT_DRAW_FONT_MODEL_PREVIEW);
  1943. PlayerTextDrawSetPreviewModel(playerid, Textdraw3[playerid], 325135);//Just unkown object to show the question mark object.
  1944. Textdraw4[playerid] = CreatePlayerTextDraw(playerid, 377.500000, 11.083313, "I");
  1945.  
  1946. PlayerTextDrawLetterSize(playerid, Textdraw4[playerid], 0.158123, 52.530815);
  1947. PlayerTextDrawAlignment(playerid, Textdraw4[playerid], 1);
  1948. PlayerTextDrawColor(playerid, Textdraw4[playerid], -225902337);
  1949. PlayerTextDrawSetShadow(playerid, Textdraw4[playerid], 0);
  1950. PlayerTextDrawSetOutline(playerid, Textdraw4[playerid], 1);
  1951. PlayerTextDrawBackgroundColor(playerid, Textdraw4[playerid], 51);
  1952. PlayerTextDrawFont(playerid, Textdraw4[playerid], 1);
  1953. PlayerTextDrawSetProportional(playerid, Textdraw4[playerid], 1);
  1954. Textdraw5[playerid] = CreatePlayerTextDraw(playerid, 391.875000, 138.833328, "Weapon information:");
  1955.  
  1956. PlayerTextDrawLetterSize(playerid, Textdraw5[playerid], 0.264373, 1.045832);
  1957. PlayerTextDrawAlignment(playerid, Textdraw5[playerid], 1);
  1958. PlayerTextDrawColor(playerid, Textdraw5[playerid], -1);
  1959. PlayerTextDrawSetShadow(playerid, Textdraw5[playerid], 0);
  1960. PlayerTextDrawSetOutline(playerid, Textdraw5[playerid], 1);
  1961. PlayerTextDrawBackgroundColor(playerid, Textdraw5[playerid], 51);
  1962. PlayerTextDrawFont(playerid, Textdraw5[playerid], 1);
  1963. PlayerTextDrawSetProportional(playerid, Textdraw5[playerid], 1);
  1964.  
  1965. Textdraw6[playerid] = CreatePlayerTextDraw(playerid, 385.625000, 271.833282, "- Ammo: 0~n~- Damage: 0~n~- Price: XX Coins~n~- Accuracy: ~r~0%");
  1966. PlayerTextDrawLetterSize(playerid, Textdraw6[playerid], 0.283122, 1.495000);
  1967. PlayerTextDrawAlignment(playerid, Textdraw6[playerid], 1);
  1968. PlayerTextDrawColor(playerid, Textdraw6[playerid], -1);
  1969. PlayerTextDrawSetShadow(playerid, Textdraw6[playerid], 0);
  1970. PlayerTextDrawSetOutline(playerid, Textdraw6[playerid], 1);
  1971. PlayerTextDrawBackgroundColor(playerid, Textdraw6[playerid], 51);
  1972. PlayerTextDrawFont(playerid, Textdraw6[playerid], 1);
  1973. PlayerTextDrawSetProportional(playerid, Textdraw6[playerid], 1);
  1974.  
  1975. Textdraw7[playerid] = CreatePlayerTextDraw(playerid, 393.750000, 383.833343, "Buy Weapon");
  1976. PlayerTextDrawLetterSize(playerid, Textdraw7[playerid], 0.449999, 1.600000);
  1977. PlayerTextDrawAlignment(playerid, Textdraw7[playerid], 1);
  1978. PlayerTextDrawColor(playerid, Textdraw7[playerid], -1);
  1979. PlayerTextDrawSetShadow(playerid, Textdraw7[playerid], 0);
  1980. PlayerTextDrawSetOutline(playerid, Textdraw7[playerid], 1);
  1981. PlayerTextDrawBackgroundColor(playerid, Textdraw7[playerid], 51);
  1982. PlayerTextDrawFont(playerid, Textdraw7[playerid], 1);
  1983. PlayerTextDrawSetProportional(playerid, Textdraw7[playerid], 1);
  1984.  
  1985. Textdraw8[playerid] = CreatePlayerTextDraw(playerid, 387.500000, 380.333312, "LD_SPAC:white");
  1986. PlayerTextDrawLetterSize(playerid, Textdraw8[playerid], 0.000000, 0.000000);
  1987. PlayerTextDrawTextSize(playerid, Textdraw8[playerid], 108.125000, 23.916624);
  1988. PlayerTextDrawAlignment(playerid, Textdraw8[playerid], 1);
  1989. PlayerTextDrawColor(playerid, Textdraw8[playerid], -225902337);
  1990. PlayerTextDrawSetShadow(playerid, Textdraw8[playerid], 0);
  1991. PlayerTextDrawSetOutline(playerid, Textdraw8[playerid], 0);
  1992. PlayerTextDrawFont(playerid, Textdraw8[playerid], 4);
  1993. PlayerTextDrawSetSelectable(playerid, Textdraw8[playerid], true);
  1994.  
  1995. Textdraw9[playerid] = CreatePlayerTextDraw(playerid, 225.750000, 166.000030, "usebox");
  1996. PlayerTextDrawLetterSize(playerid, Textdraw9[playerid], 0.000000, 1.056017);
  1997. PlayerTextDrawTextSize(playerid, Textdraw9[playerid], 98.000000, 0.000000);
  1998. PlayerTextDrawAlignment(playerid, Textdraw9[playerid], 1);
  1999. PlayerTextDrawColor(playerid, Textdraw9[playerid], -1162167740);
  2000. PlayerTextDrawUseBox(playerid, Textdraw9[playerid], true);
  2001. PlayerTextDrawBoxColor(playerid, Textdraw9[playerid], -2139062017);
  2002. PlayerTextDrawSetShadow(playerid, Textdraw9[playerid], 0);
  2003. PlayerTextDrawSetOutline(playerid, Textdraw9[playerid], 0);
  2004. PlayerTextDrawFont(playerid, Textdraw9[playerid], 0);
  2005.  
  2006. Textdraw10[playerid] = CreatePlayerTextDraw(playerid, 106.250000, 165.666610, "Choose category~n~~n~SMG ~>~~n~~n~Pistols ~>~~n~~n~Shotguns ~>~~n~~n~Rifles ~>~~n~~n~Extra ~>~");
  2007. PlayerTextDrawLetterSize(playerid, Textdraw10[playerid], 0.331247, 0.964164);
  2008. PlayerTextDrawAlignment(playerid, Textdraw10[playerid], 1);
  2009. PlayerTextDrawColor(playerid, Textdraw10[playerid], -1);
  2010. PlayerTextDrawSetShadow(playerid, Textdraw10[playerid], 0);
  2011. PlayerTextDrawSetOutline(playerid, Textdraw10[playerid], 1);
  2012. PlayerTextDrawBackgroundColor(playerid, Textdraw10[playerid], 51);
  2013. PlayerTextDrawFont(playerid, Textdraw10[playerid], 1);
  2014. PlayerTextDrawSetProportional(playerid, Textdraw10[playerid], 1);
  2015.  
  2016. Textdraw11[playerid] = CreatePlayerTextDraw(playerid, 233.125000, 181.999984, "- First slot");
  2017. PlayerTextDrawLetterSize(playerid, Textdraw11[playerid], 0.405624, 0.981666);
  2018. PlayerTextDrawAlignment(playerid, Textdraw11[playerid], 1);
  2019. PlayerTextDrawColor(playerid, Textdraw11[playerid], -1);
  2020. PlayerTextDrawSetShadow(playerid, Textdraw11[playerid], 0);
  2021. PlayerTextDrawSetOutline(playerid, Textdraw11[playerid], 1);
  2022. PlayerTextDrawBackgroundColor(playerid, Textdraw11[playerid], 51);
  2023. PlayerTextDrawFont(playerid, Textdraw11[playerid], 1);
  2024. PlayerTextDrawSetProportional(playerid, Textdraw11[playerid], 1);
  2025.  
  2026. Textdraw12[playerid] = CreatePlayerTextDraw(playerid, 232.250000, 199.333328, "- Second slot");
  2027. PlayerTextDrawLetterSize(playerid, Textdraw12[playerid], 0.405624, 0.981666);
  2028. PlayerTextDrawAlignment(playerid, Textdraw12[playerid], 1);
  2029. PlayerTextDrawColor(playerid, Textdraw12[playerid], -1);
  2030. PlayerTextDrawSetShadow(playerid, Textdraw12[playerid], 0);
  2031. PlayerTextDrawSetOutline(playerid, Textdraw12[playerid], 1);
  2032. PlayerTextDrawBackgroundColor(playerid, Textdraw12[playerid], 51);
  2033. PlayerTextDrawFont(playerid, Textdraw12[playerid], 1);
  2034. PlayerTextDrawSetProportional(playerid, Textdraw12[playerid], 1);
  2035.  
  2036. Textdraw13[playerid] = CreatePlayerTextDraw(playerid, 232.000000, 214.333328, "- Third slot");
  2037. PlayerTextDrawLetterSize(playerid, Textdraw13[playerid], 0.405624, 0.981666);
  2038. PlayerTextDrawAlignment(playerid, Textdraw13[playerid], 1);
  2039. PlayerTextDrawColor(playerid, Textdraw13[playerid], -1);
  2040. PlayerTextDrawSetShadow(playerid, Textdraw13[playerid], 0);
  2041. PlayerTextDrawSetOutline(playerid, Textdraw13[playerid], 1);
  2042. PlayerTextDrawBackgroundColor(playerid, Textdraw13[playerid], 51);
  2043. PlayerTextDrawFont(playerid, Textdraw13[playerid], 1);
  2044. PlayerTextDrawSetProportional(playerid, Textdraw13[playerid], 1);
  2045.  
  2046. Textdraw14[playerid] = CreatePlayerTextDraw(playerid, 232.375000, 229.333343, "- Fourth slot");
  2047. PlayerTextDrawLetterSize(playerid, Textdraw14[playerid], 0.405624, 0.981666);
  2048. PlayerTextDrawAlignment(playerid, Textdraw14[playerid], 1);
  2049. PlayerTextDrawColor(playerid, Textdraw14[playerid], -1);
  2050. PlayerTextDrawSetShadow(playerid, Textdraw14[playerid], 0);
  2051. PlayerTextDrawSetOutline(playerid, Textdraw14[playerid], 1);
  2052. PlayerTextDrawBackgroundColor(playerid, Textdraw14[playerid], 51);
  2053. PlayerTextDrawFont(playerid, Textdraw14[playerid], 1);
  2054. PlayerTextDrawSetProportional(playerid, Textdraw14[playerid], 1);
  2055.  
  2056. Textdraw15[playerid] = CreatePlayerTextDraw(playerid, 101.250000, 181.416656, "LD_SPAC:white");
  2057. PlayerTextDrawLetterSize(playerid, Textdraw15[playerid], 0.000000, 0.000000);
  2058. PlayerTextDrawTextSize(playerid, Textdraw15[playerid], 122.500000, 14.000000);
  2059. PlayerTextDrawAlignment(playerid, Textdraw15[playerid], 1);
  2060. PlayerTextDrawColor(playerid, Textdraw15[playerid], 102);
  2061. PlayerTextDrawSetShadow(playerid, Textdraw15[playerid], 0);
  2062. PlayerTextDrawSetOutline(playerid, Textdraw15[playerid], 0);
  2063. PlayerTextDrawBackgroundColor(playerid, Textdraw15[playerid], 51);
  2064. PlayerTextDrawFont(playerid, Textdraw15[playerid], 4);
  2065. PlayerTextDrawSetSelectable(playerid, Textdraw15[playerid], true);
  2066.  
  2067. Textdraw16[playerid] = CreatePlayerTextDraw(playerid, 101.250000, 198.916687, "LD_SPAC:white");
  2068. PlayerTextDrawLetterSize(playerid, Textdraw16[playerid], 0.000000, 0.000000);
  2069. PlayerTextDrawTextSize(playerid, Textdraw16[playerid], 123.125000, 12.833343);
  2070. PlayerTextDrawAlignment(playerid, Textdraw16[playerid], 1);
  2071. PlayerTextDrawColor(playerid, Textdraw16[playerid], 85);
  2072. PlayerTextDrawSetShadow(playerid, Textdraw16[playerid], 0);
  2073. PlayerTextDrawSetOutline(playerid, Textdraw16[playerid], 0);
  2074. PlayerTextDrawFont(playerid, Textdraw16[playerid], 4);
  2075. PlayerTextDrawSetSelectable(playerid, Textdraw16[playerid], true);
  2076.  
  2077. Textdraw17[playerid] = CreatePlayerTextDraw(playerid, 101.000000, 215.666671, "LD_SPAC:white");
  2078. PlayerTextDrawLetterSize(playerid, Textdraw17[playerid], 0.000000, 0.000000);
  2079. PlayerTextDrawTextSize(playerid, Textdraw17[playerid], 122.500000, 14.000000);
  2080. PlayerTextDrawAlignment(playerid, Textdraw17[playerid], 1);
  2081. PlayerTextDrawColor(playerid, Textdraw17[playerid], 102);
  2082. PlayerTextDrawSetShadow(playerid, Textdraw17[playerid], 0);
  2083. PlayerTextDrawSetOutline(playerid, Textdraw17[playerid], 0);
  2084. PlayerTextDrawBackgroundColor(playerid, Textdraw17[playerid], 51);
  2085. PlayerTextDrawFont(playerid, Textdraw17[playerid], 4);
  2086. PlayerTextDrawSetSelectable(playerid, Textdraw17[playerid], true);
  2087.  
  2088. Textdraw18[playerid] = CreatePlayerTextDraw(playerid, 100.750000, 233.583343, "LD_SPAC:white");
  2089. PlayerTextDrawLetterSize(playerid, Textdraw18[playerid], 0.000000, 0.000000);
  2090. PlayerTextDrawTextSize(playerid, Textdraw18[playerid], 122.500000, 14.000000);
  2091. PlayerTextDrawAlignment(playerid, Textdraw18[playerid], 1);
  2092. PlayerTextDrawColor(playerid, Textdraw18[playerid], 102);
  2093. PlayerTextDrawSetShadow(playerid, Textdraw18[playerid], 0);
  2094. PlayerTextDrawSetOutline(playerid, Textdraw18[playerid], 0);
  2095. PlayerTextDrawBackgroundColor(playerid, Textdraw18[playerid], 51);
  2096. PlayerTextDrawFont(playerid, Textdraw18[playerid], 4);
  2097. PlayerTextDrawSetSelectable(playerid, Textdraw18[playerid], true);
  2098.  
  2099. Textdraw19[playerid] = CreatePlayerTextDraw(playerid, 101.125000, 250.916748, "LD_SPAC:white");
  2100. PlayerTextDrawLetterSize(playerid, Textdraw19[playerid], 0.000000, 0.000000);
  2101. PlayerTextDrawTextSize(playerid, Textdraw19[playerid], 122.500000, 14.000000);
  2102. PlayerTextDrawAlignment(playerid, Textdraw19[playerid], 1);
  2103. PlayerTextDrawColor(playerid, Textdraw19[playerid], 102);
  2104. PlayerTextDrawSetShadow(playerid, Textdraw19[playerid], 0);
  2105. PlayerTextDrawSetOutline(playerid, Textdraw19[playerid], 0);
  2106. PlayerTextDrawBackgroundColor(playerid, Textdraw19[playerid], 51);
  2107. PlayerTextDrawFont(playerid, Textdraw19[playerid], 4);
  2108. PlayerTextDrawSetSelectable(playerid, Textdraw19[playerid], true);
  2109.  
  2110. Textdraw20[playerid] = CreatePlayerTextDraw(playerid, 230.875000, 181.333435, "LD_SPAC:white");
  2111. PlayerTextDrawLetterSize(playerid, Textdraw20[playerid], 0.000000, 0.000000);
  2112. PlayerTextDrawTextSize(playerid, Textdraw20[playerid], 122.500000, 14.000000);
  2113. PlayerTextDrawAlignment(playerid, Textdraw20[playerid], 1);
  2114. PlayerTextDrawColor(playerid, Textdraw20[playerid], 102);
  2115. PlayerTextDrawSetShadow(playerid, Textdraw20[playerid], 0);
  2116. PlayerTextDrawSetOutline(playerid, Textdraw20[playerid], 0);
  2117. PlayerTextDrawBackgroundColor(playerid, Textdraw20[playerid], 51);
  2118. PlayerTextDrawFont(playerid, Textdraw20[playerid], 4);
  2119. PlayerTextDrawSetSelectable(playerid, Textdraw20[playerid], true);
  2120. Textdraw21[playerid] = CreatePlayerTextDraw(playerid, 231.250000, 196.916748, "LD_SPAC:white");
  2121. PlayerTextDrawLetterSize(playerid, Textdraw21[playerid], 0.000000, 0.000000);
  2122. PlayerTextDrawTextSize(playerid, Textdraw21[playerid], 122.500000, 14.000000);
  2123. PlayerTextDrawAlignment(playerid, Textdraw21[playerid], 1);
  2124. PlayerTextDrawColor(playerid, Textdraw21[playerid], 102);
  2125. PlayerTextDrawSetShadow(playerid, Textdraw21[playerid], 0);
  2126. PlayerTextDrawSetOutline(playerid, Textdraw21[playerid], 0);
  2127. PlayerTextDrawBackgroundColor(playerid, Textdraw21[playerid], 51);
  2128. PlayerTextDrawFont(playerid, Textdraw21[playerid], 4);
  2129. PlayerTextDrawSetSelectable(playerid, Textdraw21[playerid], true);
  2130.  
  2131. Textdraw22[playerid] = CreatePlayerTextDraw(playerid, 231.625000, 211.916732, "LD_SPAC:white");
  2132. PlayerTextDrawLetterSize(playerid, Textdraw22[playerid], 0.000000, 0.000000);
  2133. PlayerTextDrawTextSize(playerid, Textdraw22[playerid], 122.500000, 14.000000);
  2134. PlayerTextDrawAlignment(playerid, Textdraw22[playerid], 1);
  2135. PlayerTextDrawColor(playerid, Textdraw22[playerid], 102);
  2136. PlayerTextDrawSetShadow(playerid, Textdraw22[playerid], 0);
  2137. PlayerTextDrawSetOutline(playerid, Textdraw22[playerid], 0);
  2138. PlayerTextDrawBackgroundColor(playerid, Textdraw22[playerid], 51);
  2139. PlayerTextDrawFont(playerid, Textdraw22[playerid], 4);
  2140. PlayerTextDrawSetSelectable(playerid, Textdraw22[playerid], true);
  2141.  
  2142. Textdraw23[playerid] = CreatePlayerTextDraw(playerid, 230.125000, 227.500091, "LD_SPAC:white");
  2143. PlayerTextDrawLetterSize(playerid, Textdraw23[playerid], 0.000000, 0.000000);
  2144. PlayerTextDrawTextSize(playerid, Textdraw23[playerid], 122.500000, 14.000000);
  2145. PlayerTextDrawAlignment(playerid, Textdraw23[playerid], 1);
  2146. PlayerTextDrawColor(playerid, Textdraw23[playerid], 102);
  2147. PlayerTextDrawSetShadow(playerid, Textdraw23[playerid], 0);
  2148. PlayerTextDrawSetOutline(playerid, Textdraw23[playerid], 0);
  2149. PlayerTextDrawBackgroundColor(playerid, Textdraw23[playerid], 51);
  2150. PlayerTextDrawFont(playerid, Textdraw23[playerid], 4);
  2151. PlayerTextDrawSetSelectable(playerid, Textdraw23[playerid], true);
  2152.  
  2153. Textdraw24[playerid] = CreatePlayerTextDraw(playerid, 486.875000, 107.916664, "x");
  2154. PlayerTextDrawLetterSize(playerid, Textdraw24[playerid], 0.449999, 1.600000);
  2155. PlayerTextDrawAlignment(playerid, Textdraw24[playerid], 1);
  2156. PlayerTextDrawColor(playerid, Textdraw24[playerid], -1);
  2157. PlayerTextDrawSetShadow(playerid, Textdraw24[playerid], 0);
  2158. PlayerTextDrawSetOutline(playerid, Textdraw24[playerid], 1);
  2159. PlayerTextDrawBackgroundColor(playerid, Textdraw24[playerid], 51);
  2160. PlayerTextDrawFont(playerid, Textdraw24[playerid], 1);
  2161. PlayerTextDrawSetProportional(playerid, Textdraw24[playerid], 1);
  2162. PlayerTextDrawSetSelectable(playerid, Textdraw24[playerid], true);
  2163.  
  2164. Cashbar0[playerid] = CreatePlayerTextDraw(playerid,500.000000, 83.000000, ".");
  2165. PlayerTextDrawBackgroundColor(playerid,Cashbar0[playerid], 255);
  2166. PlayerTextDrawFont(playerid,Cashbar0[playerid], 0);
  2167. PlayerTextDrawLetterSize(playerid,Cashbar0[playerid], 0.500000, 1.000000);
  2168. PlayerTextDrawColor(playerid,Cashbar0[playerid], 0);
  2169. PlayerTextDrawSetOutline(playerid,Cashbar0[playerid], 0);
  2170. PlayerTextDrawSetProportional(playerid,Cashbar0[playerid], 1);
  2171. PlayerTextDrawSetShadow(playerid,Cashbar0[playerid], 1);
  2172. PlayerTextDrawUseBox(playerid,Cashbar0[playerid], 1);
  2173. PlayerTextDrawBoxColor(playerid,Cashbar0[playerid], 255);
  2174. PlayerTextDrawTextSize(playerid,Cashbar0[playerid], 606.000000, 110.000000);
  2175. PlayerTextDrawSetSelectable(playerid,Cashbar0[playerid], 0);
  2176.  
  2177. Cashbar1[playerid] = CreatePlayerTextDraw(playerid,483.000000, 78.000000, "Cash Icon");
  2178. PlayerTextDrawBackgroundColor(playerid,Cashbar1[playerid], 0);
  2179. PlayerTextDrawFont(playerid,Cashbar1[playerid], 5);
  2180. PlayerTextDrawLetterSize(playerid,Cashbar1[playerid], 0.500000, 1.000000);
  2181. PlayerTextDrawColor(playerid,Cashbar1[playerid], -1);
  2182. PlayerTextDrawSetOutline(playerid,Cashbar1[playerid], 1);
  2183. PlayerTextDrawSetProportional(playerid,Cashbar1[playerid], 1);
  2184. PlayerTextDrawUseBox(playerid,Cashbar1[playerid], 1);
  2185. PlayerTextDrawBoxColor(playerid,Cashbar1[playerid], 255);
  2186. PlayerTextDrawTextSize(playerid,Cashbar1[playerid], 40.000000, 20.000000);
  2187. PlayerTextDrawSetPreviewModel(playerid, Cashbar1[playerid], 1274);
  2188. PlayerTextDrawSetPreviewRot(playerid, Cashbar1[playerid], -16.000000, 0.000000, 200.000000, 1.000000);
  2189. PlayerTextDrawSetSelectable(playerid,Cashbar1[playerid], 0);
  2190.  
  2191. Cashbar2[playerid] = CreatePlayerTextDraw(playerid,519.000000, 83.000000, "544,444,444");
  2192. PlayerTextDrawBackgroundColor(playerid,Cashbar2[playerid], 255);
  2193. PlayerTextDrawFont(playerid,Cashbar2[playerid], 2);
  2194. PlayerTextDrawLetterSize(playerid,Cashbar2[playerid], 0.300000, 1.000000);
  2195. PlayerTextDrawColor(playerid,Cashbar2[playerid], -1);
  2196. PlayerTextDrawSetOutline(playerid,Cashbar2[playerid], 0);
  2197. PlayerTextDrawSetProportional(playerid,Cashbar2[playerid], 1);
  2198. PlayerTextDrawSetShadow(playerid,Cashbar2[playerid], 1);
  2199. PlayerTextDrawSetSelectable(playerid,Cashbar2[playerid], 0);
  2200.  
  2201. Cashbar3[playerid] = CreatePlayerTextDraw(playerid,517.000000, 97.000000, "Received Coins ++");
  2202. PlayerTextDrawBackgroundColor(playerid,Cashbar3[playerid], 255);
  2203. PlayerTextDrawFont(playerid,Cashbar3[playerid], 2);
  2204. PlayerTextDrawLetterSize(playerid,Cashbar3[playerid], 0.210000, 1.000000);
  2205. PlayerTextDrawColor(playerid,Cashbar3[playerid], 16711935);
  2206. PlayerTextDrawSetOutline(playerid,Cashbar3[playerid], 0);
  2207. PlayerTextDrawSetProportional(playerid,Cashbar3[playerid], 1);
  2208. PlayerTextDrawSetShadow(playerid,Cashbar3[playerid], 1);
  2209. PlayerTextDrawSetSelectable(playerid,Cashbar3[playerid], 0);
  2210.  
  2211. return 1;
  2212. }
  2213. public OnPlayerDisconnect(playerid, reason)
  2214. {
  2215. if(pLogged[playerid] == 1) {
  2216. new INI:iFile = INI_Open(PlayerPath(playerid));
  2217. INI_SetTag(iFile,"data");
  2218. INI_WriteInt(iFile,"Coins",PlayerInfo[playerid][pCoins]);
  2219. INI_WriteInt(iFile,"Score",GetPlayerScore(playerid));
  2220. INI_WriteInt(iFile,"Frozen",PlayerInfo[playerid][pFrozen]);
  2221. INI_WriteInt(iFile,"AdminLevel",PlayerInfo[playerid][pAdminLevel]);
  2222. INI_WriteInt(iFile,"Kills",PlayerInfo[playerid][pKills]);
  2223. INI_WriteInt(iFile,"Deaths",PlayerInfo[playerid][pDeaths]);
  2224. INI_WriteInt(iFile,"Skin",PlayerInfo[playerid][pSkin]);
  2225. INI_WriteInt(iFile,"DuelWins",PlayerInfo[playerid][pDuelWins]);
  2226. INI_WriteInt(iFile,"DuelLoses",PlayerInfo[playerid][pDuelLoses]);
  2227. INI_WriteInt(iFile,"MathTests",PlayerInfo[playerid][pMathTests]);
  2228. INI_WriteInt(iFile,"VIP",PlayerInfo[playerid][pVIP]);
  2229. INI_Close(iFile);
  2230. }
  2231. pLogged[playerid] = 0;
  2232. PlayerTextDrawDestroy(playerid,Textdraw0[playerid]);
  2233. PlayerTextDrawDestroy(playerid,Textdraw1[playerid]);
  2234. PlayerTextDrawDestroy(playerid,Textdraw2[playerid]);
  2235. PlayerTextDrawDestroy(playerid,Textdraw3[playerid]);
  2236. PlayerTextDrawDestroy(playerid,Textdraw4[playerid]);
  2237. PlayerTextDrawDestroy(playerid,Textdraw5[playerid]);
  2238. PlayerTextDrawDestroy(playerid,Textdraw6[playerid]);
  2239. PlayerTextDrawDestroy(playerid,Textdraw7[playerid]);
  2240. PlayerTextDrawDestroy(playerid,Textdraw8[playerid]);
  2241. PlayerTextDrawDestroy(playerid,Textdraw9[playerid]);
  2242. PlayerTextDrawDestroy(playerid,Textdraw10[playerid]);
  2243. PlayerTextDrawDestroy(playerid,Textdraw11[playerid]);
  2244. PlayerTextDrawDestroy(playerid,Textdraw12[playerid]);
  2245. PlayerTextDrawDestroy(playerid,Textdraw13[playerid]);
  2246. PlayerTextDrawDestroy(playerid,Textdraw14[playerid]);
  2247. PlayerTextDrawDestroy(playerid,Textdraw15[playerid]);
  2248. PlayerTextDrawDestroy(playerid,Textdraw16[playerid]);
  2249. PlayerTextDrawDestroy(playerid,Textdraw17[playerid]);
  2250. PlayerTextDrawDestroy(playerid,Textdraw18[playerid]);
  2251. PlayerTextDrawDestroy(playerid,Textdraw19[playerid]);
  2252. PlayerTextDrawDestroy(playerid,Textdraw20[playerid]);
  2253. PlayerTextDrawDestroy(playerid,Textdraw21[playerid]);
  2254. PlayerTextDrawDestroy(playerid,Textdraw22[playerid]);
  2255. PlayerTextDrawDestroy(playerid,Textdraw23[playerid]);
  2256. PlayerTextDrawDestroy(playerid,Textdraw24[playerid]);
  2257. return 1;
  2258. }
  2259.  
  2260. public OnPlayerSpawn(playerid)
  2261. {
  2262. new Random = random(sizeof(RandomSpawns));
  2263. SetPlayerPos(playerid, RandomSpawns[Random][0], RandomSpawns[Random][1], RandomSpawns[Random][2]);
  2264. SetPlayerFacingAngle(playerid, RandomSpawns[Random][3]);
  2265. new iString[70];
  2266. PlayerTextDrawShow(playerid, Cashbar0[playerid]);
  2267. PlayerTextDrawShow(playerid, Cashbar1[playerid]);
  2268. PlayerTextDrawShow(playerid, Cashbar2[playerid]);
  2269. format(iString, sizeof(iString), "%d", PlayerInfo[playerid][pCoins]);
  2270. PlayerTextDrawSetString(playerid, Cashbar2[playerid], iString);
  2271. SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]);
  2272. GivePlayerWeapon(playerid, 24, 70);
  2273. GivePlayerWeapon(playerid, 25, 70);
  2274. GivePlayerWeapon(playerid, 33, 50);
  2275. return 1;
  2276. }
  2277.  
  2278.  
  2279. public OnVehicleSpawn(vehicleid)
  2280. {
  2281. return 1;
  2282. }
  2283.  
  2284. public OnVehicleDeath(vehicleid, killerid)
  2285. {
  2286. return 1;
  2287. }
  2288.  
  2289. public OnPlayerText(playerid, text[])
  2290. {
  2291. new msg[128];
  2292. format(msg, sizeof(msg), "{00FF22}[%d]: {FFFFFF}%s", playerid, text);
  2293. SendPlayerMessageToAll(playerid, msg);
  2294. if(gServerData[E_STARTED] && strval(text) == gServerData[E_ANSWER]) {
  2295. GiveCoins(playerid,E_COINS);
  2296. PlayerInfo[playerid][pMathTests] +=1;
  2297. new msg[128],name[MAX_PLAYER_NAME];
  2298. GetPlayerName(playerid,name,sizeof(name));
  2299. format(msg,sizeof(msg),"%s solved the math quiz successfully in %i seconds (Ans: %i)",name, GetTimerInSeconds(GetTickCount(),gServerData[E_START_TIME]), gServerData[E_ANSWER]);
  2300. SendClientMessageToAll(COLOR_YELLOW,msg);
  2301. print(msg);
  2302.  
  2303. gServerData[E_STARTED] = false;
  2304. gServerData[E_ANSWER] = 0;
  2305. gServerData[E_START_TIME] = 0;
  2306. return 1;
  2307. }
  2308. return 0;
  2309. }
  2310.  
  2311. public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
  2312. {
  2313. new Float:health;
  2314. GetPlayerHealth(playerid,health);
  2315. switch(bodypart)
  2316. {
  2317. case 3:
  2318. {
  2319.  
  2320. SetPlayerHealth(playerid, health+ -7);
  2321.  
  2322.  
  2323. }
  2324. case 4:
  2325. {
  2326.  
  2327. SetPlayerHealth(playerid, health+ -7);
  2328.  
  2329.  
  2330. }
  2331. case 5:
  2332. {
  2333.  
  2334. SetPlayerHealth(playerid, health+ -7);
  2335.  
  2336.  
  2337. }
  2338. case 6:
  2339. {
  2340.  
  2341. SetPlayerHealth(playerid, health+ -7);
  2342.  
  2343.  
  2344. }
  2345. case 7:
  2346. {
  2347.  
  2348. SetPlayerHealth(playerid, health+ -7);
  2349.  
  2350.  
  2351. }
  2352. case 8:
  2353. {
  2354.  
  2355. SetPlayerHealth(playerid, health+ -7);
  2356.  
  2357.  
  2358. }
  2359. case 9:
  2360. {
  2361.  
  2362. SetPlayerHealth(playerid, health+ -7);
  2363. }
  2364. }
  2365. return 1;
  2366. }
  2367.  
  2368. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  2369. {
  2370. return 1;
  2371. }
  2372.  
  2373. public OnPlayerExitVehicle(playerid, vehicleid)
  2374. {
  2375. return 1;
  2376. }
  2377.  
  2378. public OnPlayerStateChange(playerid, newstate, oldstate)
  2379. {
  2380. return 1;
  2381. }
  2382.  
  2383. public OnPlayerEnterCheckpoint(playerid)
  2384. {
  2385. return 1;
  2386. }
  2387.  
  2388. public OnPlayerLeaveCheckpoint(playerid)
  2389. {
  2390. return 1;
  2391. }
  2392.  
  2393. public OnPlayerEnterRaceCheckpoint(playerid)
  2394. {
  2395. return 1;
  2396. }
  2397.  
  2398. public OnPlayerLeaveRaceCheckpoint(playerid)
  2399. {
  2400. return 1;
  2401. }
  2402.  
  2403. public OnRconCommand(cmd[])
  2404. {
  2405. return 1;
  2406. }
  2407.  
  2408. public OnPlayerRequestSpawn(playerid)
  2409. {
  2410. return 1;
  2411. }
  2412.  
  2413. public OnObjectMoved(objectid)
  2414. {
  2415. return 1;
  2416. }
  2417.  
  2418. public OnPlayerObjectMoved(playerid, objectid)
  2419. {
  2420. return 1;
  2421. }
  2422.  
  2423. public OnPlayerPickUpPickup(playerid, pickupid)
  2424. {
  2425. return 1;
  2426. }
  2427.  
  2428. public OnVehicleMod(playerid, vehicleid, componentid)
  2429. {
  2430. return 1;
  2431. }
  2432.  
  2433. public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
  2434. {
  2435. return 1;
  2436. }
  2437.  
  2438. public OnVehicleRespray(playerid, vehicleid, color1, color2)
  2439. {
  2440. return 1;
  2441. }
  2442.  
  2443. public OnPlayerSelectedMenuRow(playerid, row)
  2444. {
  2445. return 1;
  2446. }
  2447.  
  2448. public OnPlayerExitedMenu(playerid)
  2449. {
  2450. return 1;
  2451. }
  2452.  
  2453. public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
  2454. {
  2455. return 1;
  2456. }
  2457.  
  2458.  
  2459. public OnRconLoginAttempt(ip[], password[], success)
  2460. {
  2461. return 1;
  2462. }
  2463.  
  2464.  
  2465. public OnPlayerStreamIn(playerid, forplayerid)
  2466. {
  2467. return 1;
  2468. }
  2469.  
  2470. public OnPlayerStreamOut(playerid, forplayerid)
  2471. {
  2472. return 1;
  2473. }
  2474.  
  2475. public OnVehicleStreamIn(vehicleid, forplayerid)
  2476. {
  2477. return 1;
  2478. }
  2479.  
  2480. public OnVehicleStreamOut(vehicleid, forplayerid)
  2481. {
  2482. return 1;
  2483. }
  2484.  
  2485.  
  2486. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  2487. {
  2488. return 1;
  2489. }
  2490.  
  2491.  
  2492. public OnPlayerDeath(playerid, killerid, reason)
  2493. {
  2494. SendDeathMessage(killerid, playerid, reason);
  2495. if(duelinfo[killerid][induel] == 1)
  2496. {
  2497. duelinfo[killerid][induel] = 0;
  2498. new string[128];
  2499. new Float:health = GetPlayerHealth(killerid, health);
  2500. format(string, sizeof(string), ""RED"[DUEL] "WHITE"%s(%d) has defeated %s(%d) in a duel with %.2f health left", duelinfo[killerid][playername], killerid, duelinfo[playerid][playername], playerid, health);
  2501. SendClientMessageToAll(-1, string);
  2502. SetPlayerScore(killerid, GetPlayerScore(killerid) + 2);
  2503. GiveCoins(killerid, 2);
  2504. PlayerInfo[killerid][pDuelWins] +=1;
  2505. PlayerInfo[playerid][pDuelLoses] +=1;
  2506. }
  2507. GiveCoins(killerid, 1);
  2508. PlayerInfo[killerid][pKills] += 1;
  2509. PlayerInfo[playerid][pDeaths] += 1;
  2510. return 1;
  2511. }
  2512.  
  2513. forward cashbar(playerid);
  2514. public cashbar(playerid)
  2515. {
  2516. new iString[75];
  2517. format(iString, sizeof(iString), "%d", PlayerInfo[playerid][pCoins]);
  2518. PlayerTextDrawSetString(playerid, Cashbar2[playerid], iString);
  2519. SetTimerEx("cashbar", 500, false, "i", playerid);
  2520. return 1;
  2521. }
  2522.  
  2523. stock GiveOneCoin(playerid)
  2524. {
  2525. PlayerInfo[playerid][pCoins]++;
  2526. PlayerTextDrawShow(playerid, Cashbar3[playerid]);
  2527. SetTimerEx("received", 4000, false, "i", playerid);
  2528. }
  2529.  
  2530. stock GiveCoins(playerid, coins)
  2531. {
  2532. PlayerInfo[playerid][pCoins]+=coins;
  2533. PlayerTextDrawShow(playerid, Cashbar3[playerid]);
  2534. SetTimerEx("received", 4000, false, "i", playerid);
  2535. return 1;
  2536. }
  2537.  
  2538. stock TakeCoins(playerid, coins)
  2539. {
  2540. PlayerInfo[playerid][pCoins]+=coins;
  2541. return 1;
  2542. }
  2543.  
  2544. forward received(playerid);
  2545. public received(playerid)
  2546. {
  2547. PlayerTextDrawHide(playerid, Cashbar3[playerid]);
  2548. return 1;
  2549. }
  2550.  
  2551. forward cashbarreload();
  2552. public cashbarreload()
  2553. {
  2554. for(new i=0; i<MAX_PLAYERS; i++)
  2555. {
  2556. new iString[75];
  2557. format(iString, sizeof(iString), "%d", PlayerInfo[i][pCoins]);
  2558. PlayerTextDrawSetString(i, Cashbar2[i], iString);
  2559. }
  2560. return 1;
  2561. }
  2562.  
  2563. forward scorereload();
  2564. public scorereload()
  2565. {
  2566. for(new i=0; i<MAX_PLAYERS; i++)
  2567. {
  2568. SetPlayerScore(i, PlayerInfo[i][pScore]);
  2569. }
  2570. }
  2571.  
  2572.  
  2573. forward UserDataLoad_data(playerid,name[],value[]);
  2574.  
  2575. public UserDataLoad_data(playerid,name[],value[]) {
  2576. INI_Int("Pass",PlayerInfo[playerid][pPass]);
  2577. INI_String("IP",pIP[playerid],16);
  2578. INI_Int("AdminLevel",PlayerInfo[playerid][pAdminLevel]);
  2579. INI_Int("Coins",PlayerInfo[playerid][pCoins]);
  2580. INI_Int("Score",PlayerInfo[playerid][pScore]);
  2581. INI_Int("Banned",PlayerInfo[playerid][pBanned]);
  2582. INI_Int("Kills",PlayerInfo[playerid][pKills]);
  2583. INI_Int("Deaths",PlayerInfo[playerid][pDeaths]);
  2584. INI_Int("Skin",PlayerInfo[playerid][pSkin]);
  2585. INI_Int("DuelWins",PlayerInfo[playerid][pDuelWins]);
  2586. INI_Int("DuelLoses",PlayerInfo[playerid][pDuelLoses]);
  2587. INI_Int("MathTests",PlayerInfo[playerid][pMathTests]);
  2588. INI_Int("VIP",PlayerInfo[playerid][pVIP]);
  2589. return 1;
  2590. }
  2591. stock PlayerPath(playerid) {
  2592. new iStr[256],name[MAX_PLAYER_NAME];
  2593. GetPlayerName(playerid,name,sizeof(name));
  2594. format(iStr,sizeof(iStr),PATH,name);
  2595. return iStr;
  2596. }
  2597. stock udb_hash(buf[]) {
  2598. new length=strlen(buf);
  2599. new s1 = 1;
  2600. new s2 = 0;
  2601. new n;
  2602. for (n=0; n<length; n++)
  2603. {
  2604. s1 = (s1 + buf[n]) % 65521;
  2605. s2 = (s2 + s1) % 65521;
  2606. }
  2607. return (s2 << 16) + s1;
  2608. }
  2609.  
  2610. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  2611. {
  2612. if(dialogid == DIALOG_REGISTER) {
  2613. GetPlayerIp(playerid,pIP[playerid],16);
  2614. if(!response) Kick(playerid);
  2615. if(!strlen(inputtext)) return ShowPlayerDialog(playerid,DIALOG_REGISTER,DIALOG_STYLE_INPUT,"Register","Please enter a password.","Register","Leave");
  2616. new INI:iFile = INI_Open(PlayerPath(playerid));
  2617. INI_SetTag(iFile,"data");
  2618. INI_WriteInt(iFile,"Pass",udb_hash(inputtext));
  2619. #if defined AUTOLOGIN
  2620. INI_WriteString(iFile,"IP",pIP[playerid]);
  2621. #endif
  2622. INI_WriteInt(iFile,"Coins",10);
  2623. INI_WriteInt(iFile,"Score",0);
  2624. INI_WriteInt(iFile,"Kills",0);
  2625. INI_WriteInt(iFile,"Deaths",0);
  2626. INI_WriteInt(iFile,"AdminLevel",0);
  2627. INI_WriteInt(iFile,"Banned",0);
  2628. INI_WriteInt(iFile,"Frozen",0);
  2629. INI_WriteInt(iFile,"Skin",299);
  2630. INI_WriteInt(iFile,"DuelWins",0);
  2631. INI_WriteInt(iFile,"DuelLoses",0);
  2632. INI_WriteInt(iFile,"MathTests",0);
  2633. INI_WriteInt(iFile,"VIP",0);
  2634. INI_Close(iFile);
  2635. pLogged[playerid] = 1;
  2636. new iStr[128];
  2637. format(iStr,sizeof(iStr),"You've successfully registered with the password \"%s\".",inputtext);
  2638. SendClientMessage(playerid,yellow,iStr);
  2639. return 1;
  2640. }
  2641. if(dialogid == DIALOG_LOGIN) {
  2642. if(!response) Kick(playerid);
  2643. new iStr[128],gTries;
  2644. if(gTries == 0) gTries = 1;
  2645. if(gTries == 3) {
  2646. new pName[30];
  2647. GetPlayerName(playerid,pName,sizeof(pName));
  2648. format(iStr,sizeof(iStr),"%s has been kicked for exceeding login tries.",pName);
  2649. SendClientMessageToAll(red,iStr);
  2650. return Kick(playerid);
  2651. }
  2652. if(!strlen(inputtext)) {
  2653. format(iStr,sizeof(iStr),"Please enter your password. Tries: %i/3",gTries);
  2654. return ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_INPUT,"Login",iStr,"Login","Leave");
  2655. }
  2656. if(udb_hash(inputtext) == PlayerInfo[playerid][pPass]) {
  2657. pLogged[playerid] = 1;
  2658. SendClientMessage(playerid,lime,"You've successfully logged in.");
  2659. SetPlayerScore(playerid,PlayerInfo[playerid][pScore]);
  2660. SpawnPlayer(playerid);
  2661. } else {
  2662. format(iStr,sizeof(iStr),"Incorrect password. Tries: %i/3",gTries);
  2663. ShowPlayerDialog(playerid,DIALOG_REGISTER,DIALOG_STYLE_INPUT,"Register",iStr,"Login","Leave");
  2664. gTries++;
  2665. return 1;
  2666. }
  2667. return 1;
  2668. }
  2669. return 1;
  2670. }
  2671.  
  2672.  
  2673. public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid)
  2674. {
  2675. new string[126];
  2676. if(playertextid == Textdraw15[playerid])
  2677. {
  2678. ReShowCategory(playerid);
  2679. IsPlayerInSMGSelection[playerid] = true;// I like to reset the variables to avoide bugs you may remove them!
  2680. IsPlayerInPistolsSelection[playerid] = false;
  2681. IsPlayerInShotgunsSelection[playerid] = false;
  2682. IsPlayerInRifleSelection[playerid] = false;
  2683. IsPlayerInExtraSelection[playerid] = false;
  2684. PlayerTextDrawSetString(playerid,Textdraw11[playerid],"- UZI");
  2685. PlayerTextDrawSetString(playerid,Textdraw12[playerid],"- Tec9");
  2686. PlayerTextDrawShow(playerid,Textdraw11[playerid]);
  2687. PlayerTextDrawShow(playerid,Textdraw12[playerid]);
  2688. PlayerTextDrawShow(playerid,Textdraw20[playerid]);
  2689. PlayerTextDrawShow(playerid,Textdraw21[playerid]);
  2690. }
  2691. if(playertextid == Textdraw16[playerid])
  2692. {
  2693. ReShowCategory(playerid);
  2694. IsPlayerInSMGSelection[playerid] = false;// I like to reset the variables to avoide bugs you may remove them!
  2695. IsPlayerInPistolsSelection[playerid] = true;
  2696. IsPlayerInShotgunsSelection[playerid] = false;
  2697. IsPlayerInRifleSelection[playerid] = false;
  2698. IsPlayerInExtraSelection[playerid] = false;
  2699. PlayerTextDrawSetString(playerid,Textdraw11[playerid],"- Desert eagle");
  2700. PlayerTextDrawSetString(playerid,Textdraw12[playerid],"- S. 9mm");
  2701. PlayerTextDrawSetString(playerid,Textdraw13[playerid],"- 9mm");
  2702. PlayerTextDrawShow(playerid,Textdraw20[playerid]);
  2703. PlayerTextDrawShow(playerid,Textdraw21[playerid]);
  2704. PlayerTextDrawShow(playerid,Textdraw22[playerid]);
  2705. PlayerTextDrawShow(playerid,Textdraw11[playerid]);
  2706. PlayerTextDrawShow(playerid,Textdraw12[playerid]);
  2707. PlayerTextDrawShow(playerid,Textdraw13[playerid]);
  2708. }
  2709. if(playertextid == Textdraw17[playerid])
  2710. {
  2711. ReShowCategory(playerid);
  2712. IsPlayerInSMGSelection[playerid] = false;// I like to reset the variables to avoide bugs you may remove them!
  2713. IsPlayerInPistolsSelection[playerid] = false;
  2714. IsPlayerInShotgunsSelection[playerid] = true;
  2715. IsPlayerInRifleSelection[playerid] = false;
  2716. IsPlayerInExtraSelection[playerid] = false;
  2717. PlayerTextDrawSetString(playerid,Textdraw11[playerid],"- Swan-off");
  2718. PlayerTextDrawSetString(playerid,Textdraw12[playerid],"- Combat Shotgun");
  2719. PlayerTextDrawShow(playerid,Textdraw20[playerid]);
  2720. PlayerTextDrawShow(playerid,Textdraw21[playerid]);
  2721. PlayerTextDrawShow(playerid,Textdraw11[playerid]);
  2722. PlayerTextDrawShow(playerid,Textdraw12[playerid]);
  2723. }
  2724. if(playertextid == Textdraw18[playerid])
  2725. {
  2726. ReShowCategory(playerid);
  2727. IsPlayerInSMGSelection[playerid] = false;// I like to reset the variables to avoide bugs you may remove them!
  2728. IsPlayerInPistolsSelection[playerid] = false;
  2729. IsPlayerInShotgunsSelection[playerid] = false;
  2730. IsPlayerInRifleSelection[playerid] = true;
  2731. IsPlayerInExtraSelection[playerid] = false;
  2732. PlayerTextDrawSetString(playerid,Textdraw11[playerid],"- M4");
  2733. PlayerTextDrawSetString(playerid,Textdraw12[playerid],"- AK-47");
  2734. PlayerTextDrawSetString(playerid,Textdraw13[playerid],"- Sniper Rifle");
  2735. PlayerTextDrawSetString(playerid,Textdraw14[playerid],"- Country Rifle");
  2736. PlayerTextDrawShow(playerid,Textdraw20[playerid]);
  2737. PlayerTextDrawShow(playerid,Textdraw21[playerid]);
  2738. PlayerTextDrawShow(playerid,Textdraw22[playerid]);
  2739. PlayerTextDrawShow(playerid,Textdraw23[playerid]);
  2740.  
  2741. PlayerTextDrawShow(playerid,Textdraw11[playerid]);
  2742. PlayerTextDrawShow(playerid,Textdraw12[playerid]);
  2743. PlayerTextDrawShow(playerid,Textdraw13[playerid]);
  2744. PlayerTextDrawShow(playerid,Textdraw14[playerid]);
  2745. }
  2746. if(playertextid == Textdraw19[playerid])
  2747. {
  2748. ReShowCategory(playerid);
  2749. IsPlayerInSMGSelection[playerid] = false;// I like to reset the variables to avoide bugs you may remove them!
  2750. IsPlayerInPistolsSelection[playerid] = false;
  2751. IsPlayerInShotgunsSelection[playerid] = false;
  2752. IsPlayerInRifleSelection[playerid] = false;
  2753. IsPlayerInExtraSelection[playerid] = true;
  2754. PlayerTextDrawSetString(playerid,Textdraw11[playerid],"- Grenade");
  2755. PlayerTextDrawSetString(playerid,Textdraw13[playerid],"- Molotov");
  2756. PlayerTextDrawSetString(playerid,Textdraw12[playerid],"- Knife");
  2757. PlayerTextDrawSetString(playerid,Textdraw14[playerid],"- Tear Gas");
  2758. PlayerTextDrawShow(playerid,Textdraw20[playerid]);
  2759. PlayerTextDrawShow(playerid,Textdraw21[playerid]);
  2760. PlayerTextDrawShow(playerid,Textdraw22[playerid]);
  2761. PlayerTextDrawShow(playerid,Textdraw23[playerid]);
  2762. PlayerTextDrawShow(playerid,Textdraw11[playerid]);
  2763. PlayerTextDrawShow(playerid,Textdraw12[playerid]);
  2764. PlayerTextDrawShow(playerid,Textdraw13[playerid]);
  2765. PlayerTextDrawShow(playerid,Textdraw14[playerid]);
  2766. }
  2767. if(playertextid == Textdraw20[playerid])
  2768. {
  2769. if(IsPlayerInSMGSelection[playerid] == true)
  2770. {
  2771. CurrentPlayerWeapon[playerid] = 28;
  2772. PlayerTextDrawSetPreviewModel(playerid,Textdraw3[playerid], 352);
  2773. PlayerTextDrawSetPreviewRot(playerid, Textdraw3[playerid], 0.0, 0.0, 0.0, 2.5);
  2774. format(string,sizeof(string),"- Ammo: %d~n~- Damage: ~r~10~n~~w~- Price: $%d~n~- Accuracy: ~y~50%",UZI_AMMO,UZI_PRICE);
  2775. PlayerTextDrawSetString(playerid,Textdraw6[playerid],string);
  2776. PlayerTextDrawShow(playerid,Textdraw6[playerid]);
  2777. PlayerTextDrawShow(playerid,Textdraw3[playerid]);
  2778. }
  2779. else if(IsPlayerInPistolsSelection[playerid] == true)
  2780. {
  2781. CurrentPlayerWeapon[playerid] = 24;
  2782. PlayerTextDrawSetPreviewModel(playerid,Textdraw3[playerid], 348);
  2783. PlayerTextDrawSetPreviewRot(playerid, Textdraw3[playerid], 0.0, 0.0, 0.0, 2.5);
  2784. format(string,sizeof(string),"- Ammo: %d~n~- Damage: ~g~49~n~~w~- Price: $%d~n~- Accuracy: ~g~80%",Deagle_AMMO,Deagle_PRICE);
  2785. PlayerTextDrawSetString(playerid,Textdraw6[playerid],string);
  2786. PlayerTextDrawShow(playerid,Textdraw6[playerid]);
  2787. PlayerTextDrawShow(playerid,Textdraw3[playerid]);
  2788. }
  2789. else if(IsPlayerInShotgunsSelection[playerid] == true)
  2790. {
  2791. CurrentPlayerWeapon[playerid] = 26;
  2792. PlayerTextDrawSetPreviewModel(playerid,Textdraw3[playerid], 350);
  2793. PlayerTextDrawSetPreviewRot(playerid, Textdraw3[playerid], 0.0, 0.0, 0.0, 2.5);
  2794. format(string,sizeof(string),"- Ammo: %d~n~- Damage: ~y~46~n~~w~- Price: $%d~n~- Accuracy: ~y~50%",Swanoff_AMMO,Swanoff_PRICE);
  2795. PlayerTextDrawSetString(playerid,Textdraw6[playerid],string);
  2796. PlayerTextDrawShow(playerid,Textdraw6[playerid]);
  2797. PlayerTextDrawShow(playerid,Textdraw3[playerid]);
  2798. }
  2799. else if(IsPlayerInRifleSelection[playerid] == true)
  2800. {
  2801. CurrentPlayerWeapon[playerid] = 31;
  2802. PlayerTextDrawSetPreviewModel(playerid,Textdraw3[playerid], 356);
  2803. PlayerTextDrawSetPreviewRot(playerid, Textdraw3[playerid], 0.0, 0.0, 0.0, 2.5);
  2804. format(string,sizeof(string),"- Ammo: %d~n~- Damage: ~y~20~n~~w~- Price: $%d~n~- Accuracy: ~g~90%",M4_AMMO,M4_PRICE);
  2805. PlayerTextDrawSetString(playerid,Textdraw6[playerid],string);
  2806. PlayerTextDrawShow(playerid,Textdraw6[playerid]);
  2807. PlayerTextDrawShow(playerid,Textdraw3[playerid]);
  2808. }
  2809. else if(IsPlayerInExtraSelection[playerid] == true)
  2810. {
  2811. CurrentPlayerWeapon[playerid] = 16;
  2812. PlayerTextDrawSetPreviewModel(playerid,Textdraw3[playerid], 342);
  2813. PlayerTextDrawSetPreviewRot(playerid, Textdraw3[playerid], 0.0, 0.0, 0.0, 2.5);
  2814. format(string,sizeof(string),"- Ammo: %d~n~- Damage: ~g~82~n~~w~- Price: %d~n~- Accuracy: ~y~50%",Grenade_AMMO,Grenade_PRICE);
  2815. PlayerTextDrawSetString(playerid,Textdraw6[playerid],string);
  2816. PlayerTextDrawShow(playerid,Textdraw6[playerid]);
  2817. PlayerTextDrawShow(playerid,Textdraw3[playerid]);
  2818. }
  2819. }
  2820. if(playertextid == Textdraw21[playerid])
  2821. {
  2822. if(IsPlayerInSMGSelection[playerid] == true)
  2823. {
  2824. CurrentPlayerWeapon[playerid] = 32;
  2825. PlayerTextDrawSetPreviewModel(playerid,Textdraw3[playerid], 372);
  2826. PlayerTextDrawSetPreviewRot(playerid, Textdraw3[playerid], 0.0, 0.0, 0.0, 2.5);
  2827. format(string,sizeof(string),"- Ammo: %d~n~- Damage: ~r~10~n~~w~- Price: %dC~n~- Accuracy: ~y~50%",TEC9_AMMO,TEC9_PRICE);
  2828. PlayerTextDrawSetString(playerid,Textdraw6[playerid],string);
  2829. PlayerTextDrawShow(playerid,Textdraw6[playerid]);
  2830.  
  2831. PlayerTextDrawShow(playerid,Textdraw3[playerid]);
  2832. }
  2833. else if(IsPlayerInPistolsSelection[playerid] == true)
  2834. {
  2835. CurrentPlayerWeapon[playerid] = 23;
  2836. PlayerTextDrawSetPreviewModel(playerid,Textdraw3[playerid], 347);
  2837. PlayerTextDrawSetPreviewRot(playerid, Textdraw3[playerid], 0.0, 0.0, 0.0, 2.5);
  2838. format(string,sizeof(string),"- Ammo: %d~n~- Damage: ~r~10~n~~w~- Price: %dC~n~- Accuracy: ~y~50%",S9mm_AMMO,S9mm_PRICE);
  2839. PlayerTextDrawSetString(playerid,Textdraw6[playerid],string);
  2840. PlayerTextDrawShow(playerid,Textdraw6[playerid]);
  2841. PlayerTextDrawShow(playerid,Textdraw3[playerid]);
  2842. }
  2843. else if(IsPlayerInShotgunsSelection[playerid] == true)
  2844. {
  2845. CurrentPlayerWeapon[playerid] = 27;
  2846. PlayerTextDrawSetPreviewModel(playerid,Textdraw3[playerid], 351);
  2847. PlayerTextDrawSetPreviewRot(playerid, Textdraw3[playerid], 0.0, 0.0, 0.0, 2.5);
  2848. format(string,sizeof(string),"- Ammo: %d~n~- Damage: ~y~39~n~~w~- Price: %dC~n~- Accuracy: ~y~50%",Combat_AMMO,Combat_PRICE);
  2849. PlayerTextDrawSetString(playerid,Textdraw6[playerid],string);
  2850. PlayerTextDrawShow(playerid,Textdraw6[playerid]);
  2851. PlayerTextDrawShow(playerid,Textdraw3[playerid]);
  2852. }
  2853. else if(IsPlayerInRifleSelection[playerid] == true)
  2854. {
  2855. CurrentPlayerWeapon[playerid] = 30;
  2856. PlayerTextDrawSetPreviewModel(playerid,Textdraw3[playerid], 355);
  2857. PlayerTextDrawSetPreviewRot(playerid, Textdraw3[playerid], 0.0, 0.0, 0.0, 2.5);
  2858. format(string,sizeof(string),"- Ammo: %d~n~- Damage: ~r~20~n~~w~- Price: %dC~n~- Accuracy: ~g~80%",AK47_AMMO,AK47_PRICE);
  2859. PlayerTextDrawSetString(playerid,Textdraw6[playerid],string);
  2860. PlayerTextDrawShow(playerid,Textdraw6[playerid]);
  2861. PlayerTextDrawShow(playerid,Textdraw3[playerid]);
  2862. }
  2863. else if(IsPlayerInExtraSelection[playerid] == true)
  2864. {
  2865. CurrentPlayerWeapon[playerid] = 4;
  2866. PlayerTextDrawSetPreviewModel(playerid,Textdraw3[playerid], 335);
  2867. PlayerTextDrawSetPreviewRot(playerid, Textdraw3[playerid], 0.0, 0.0, 0.0, 2.5);
  2868. format(string,sizeof(string),"- Ammo: %d~n~- Damage: ~r~1 - ~g~(100)~n~~w~- Price: %dC~n~- Accuracy: ~g~100%",Knife_AMMO,Knife_PRICE);
  2869. PlayerTextDrawSetString(playerid,Textdraw6[playerid],string);
  2870. PlayerTextDrawShow(playerid,Textdraw6[playerid]);
  2871. PlayerTextDrawShow(playerid,Textdraw3[playerid]);
  2872. }
  2873. }
  2874. if(playertextid == Textdraw22[playerid])
  2875. {
  2876. if(IsPlayerInPistolsSelection[playerid] == true)
  2877. {
  2878. CurrentPlayerWeapon[playerid] = 22;
  2879. PlayerTextDrawSetPreviewModel(playerid,Textdraw3[playerid], 346);
  2880. PlayerTextDrawSetPreviewRot(playerid, Textdraw3[playerid], 0.0, 0.0, 0.0, 2.5);
  2881. format(string,sizeof(string),"- Ammo: %d~n~- Damage: ~r~12~n~~w~- Price: %dC~n~- Accuracy: ~r~40%",P9mm_AMMO,P9mm_PRICE);
  2882. PlayerTextDrawSetString(playerid,Textdraw6[playerid],string);
  2883. PlayerTextDrawShow(playerid,Textdraw6[playerid]);
  2884. PlayerTextDrawShow(playerid,Textdraw3[playerid]);
  2885. }
  2886. else if(IsPlayerInRifleSelection[playerid] == true)
  2887. {
  2888. CurrentPlayerWeapon[playerid] = 34;
  2889. PlayerTextDrawSetPreviewModel(playerid,Textdraw3[playerid], 358);
  2890. PlayerTextDrawSetPreviewRot(playerid, Textdraw3[playerid], 0.0, 0.0, 0.0, 2.5);
  2891. format(string,sizeof(string),"- Ammo: %d~n~- Damage: ~y~50~n~~w~- Price: %dC~n~- Accuracy: ~g~100%",Sniper_AMMO,Sniper_PRICE);
  2892. PlayerTextDrawSetString(playerid,Textdraw6[playerid],string);
  2893. PlayerTextDrawShow(playerid,Textdraw6[playerid]);
  2894. PlayerTextDrawShow(playerid,Textdraw3[playerid]);
  2895. }
  2896. else if(IsPlayerInExtraSelection[playerid] == true)
  2897. {
  2898. CurrentPlayerWeapon[playerid] = 18;
  2899. PlayerTextDrawSetPreviewModel(playerid,Textdraw3[playerid], 344);
  2900. PlayerTextDrawSetPreviewRot(playerid, Textdraw3[playerid], 0.0, 0.0, 0.0, 2.5);
  2901. format(string,sizeof(string),"- Ammo: %d~n~- Damage: ~r~N/A~n~~w~- Price: %dC~n~- Accuracy: ~r~N/A",Molotov_AMMO,Molotov_PRICE);
  2902. PlayerTextDrawSetString(playerid,Textdraw6[playerid],string);
  2903. PlayerTextDrawShow(playerid,Textdraw6[playerid]);
  2904. PlayerTextDrawShow(playerid,Textdraw3[playerid]);
  2905. }
  2906. }
  2907. if(playertextid == Textdraw23[playerid])
  2908. {
  2909. if(IsPlayerInRifleSelection[playerid] == true)
  2910. {
  2911. CurrentPlayerWeapon[playerid] = 33;
  2912. PlayerTextDrawSetPreviewModel(playerid,Textdraw3[playerid], 357);
  2913. PlayerTextDrawSetPreviewRot(playerid, Textdraw3[playerid], 0.0, 0.0, 0.0, 2.5);
  2914. format(string,sizeof(string),"- Ammo: %d~n~- Damage: ~r~10~n~~w~- Price: %dC~n~- Accuracy: ~g~90%",Country_AMMO,Country_PRICE);
  2915. PlayerTextDrawSetString(playerid,Textdraw6[playerid],string);
  2916. PlayerTextDrawShow(playerid,Textdraw6[playerid]);
  2917. PlayerTextDrawShow(playerid,Textdraw3[playerid]);
  2918. }
  2919. else if(IsPlayerInExtraSelection[playerid] == true)
  2920. {
  2921. CurrentPlayerWeapon[playerid] = 17;
  2922. PlayerTextDrawSetPreviewModel(playerid,Textdraw3[playerid], 343);
  2923. PlayerTextDrawSetPreviewRot(playerid, Textdraw3[playerid], 0.0, 0.0, 0.0, 2.5);
  2924. format(string,sizeof(string),"- Ammo: %d~n~- Damage: ~r~0~n~~w~- Price: %dC~n~- Accuracy: ~r~N/A",Teargas_AMMO,Teargas_PRICE);
  2925. PlayerTextDrawSetString(playerid,Textdraw6[playerid],string);
  2926. PlayerTextDrawShow(playerid,Textdraw6[playerid]);
  2927. PlayerTextDrawShow(playerid,Textdraw3[playerid]);
  2928. }
  2929. }
  2930. if(playertextid == Textdraw8[playerid])
  2931. {
  2932. if(CurrentPlayerWeapon[playerid] == 0) return SendClientMessage(playerid,0xFF0000FF,"[ERROR] {FFFFFF}Select a weapon from the category first.");
  2933. switch(CurrentPlayerWeapon[playerid])
  2934. {
  2935. case 28:
  2936. {
  2937. if(PlayerInfo[playerid][pCoins] < UZI_PRICE) return SendERROR(playerid);
  2938. TakeCoins(playerid,-UZI_PRICE);
  2939. GivePlayerWeapon(playerid,28,UZI_AMMO);
  2940. PurchaseMSG(playerid,28);
  2941. }
  2942. case 32:
  2943. {
  2944. if(PlayerInfo[playerid][pCoins] < TEC9_PRICE) return SendERROR(playerid);
  2945. TakeCoins(playerid,-TEC9_PRICE);
  2946. GivePlayerWeapon(playerid,32,TEC9_AMMO);
  2947. PurchaseMSG(playerid,32);
  2948. }
  2949. case 24:
  2950. {
  2951. if(PlayerInfo[playerid][pCoins] < Deagle_PRICE) return SendERROR(playerid);
  2952. TakeCoins(playerid,-Deagle_PRICE);
  2953. GivePlayerWeapon(playerid,24,Deagle_AMMO);
  2954. PurchaseMSG(playerid,24);
  2955. }
  2956. case 23:
  2957. {
  2958. if(PlayerInfo[playerid][pCoins] < S9mm_PRICE) return SendERROR(playerid);
  2959. TakeCoins(playerid,-S9mm_PRICE);
  2960. GivePlayerWeapon(playerid,23,S9mm_AMMO);
  2961. PurchaseMSG(playerid,23);
  2962. }
  2963. case 22:
  2964. {
  2965. if(PlayerInfo[playerid][pCoins] < P9mm_PRICE) return SendERROR(playerid);
  2966. TakeCoins(playerid,-S9mm_PRICE);
  2967. GivePlayerWeapon(playerid,22,P9mm_AMMO);
  2968. PurchaseMSG(playerid,22);
  2969. }
  2970. case 26:
  2971. {
  2972. if(PlayerInfo[playerid][pCoins] < Swanoff_PRICE) return SendERROR(playerid);
  2973. TakeCoins(playerid,-Swanoff_PRICE);
  2974. GivePlayerWeapon(playerid,26,Swanoff_AMMO);
  2975. PurchaseMSG(playerid,26);
  2976. }
  2977. case 27:
  2978. {
  2979. if(PlayerInfo[playerid][pCoins] < Combat_PRICE) return SendERROR(playerid);
  2980. TakeCoins(playerid,-Combat_PRICE);
  2981. GivePlayerWeapon(playerid,27,Combat_AMMO);
  2982. PurchaseMSG(playerid,27);
  2983. }
  2984. case 31:
  2985. {
  2986. if(PlayerInfo[playerid][pCoins] < M4_PRICE) return SendERROR(playerid);
  2987. TakeCoins(playerid,-M4_PRICE);
  2988. GivePlayerWeapon(playerid,31,M4_AMMO);
  2989. PurchaseMSG(playerid,31);
  2990. }
  2991. case 30:
  2992. {
  2993. if(PlayerInfo[playerid][pCoins] < AK47_PRICE) return SendERROR(playerid);
  2994. TakeCoins(playerid,-AK47_PRICE);
  2995. GivePlayerWeapon(playerid,30,AK47_AMMO);
  2996. PurchaseMSG(playerid,30);
  2997. }
  2998. case 34:
  2999. {
  3000. if(PlayerInfo[playerid][pCoins] < Sniper_PRICE) return SendERROR(playerid);
  3001. TakeCoins(playerid,-Sniper_PRICE);
  3002. GivePlayerWeapon(playerid,34,Sniper_AMMO);
  3003. PurchaseMSG(playerid,34);
  3004. }
  3005. case 33:
  3006. {
  3007. if(PlayerInfo[playerid][pCoins] < Country_PRICE) return SendERROR(playerid);
  3008. TakeCoins(playerid,-Country_PRICE);
  3009. GivePlayerWeapon(playerid,33,Country_AMMO);
  3010. PurchaseMSG(playerid,33);
  3011. }
  3012.  
  3013. case 16:
  3014. {
  3015. if(PlayerInfo[playerid][pCoins] < Grenade_PRICE) return SendERROR(playerid);
  3016. TakeCoins(playerid,-Grenade_PRICE);
  3017. GivePlayerWeapon(playerid,16,Grenade_AMMO);
  3018. PurchaseMSG(playerid,16);
  3019. }
  3020. case 18:
  3021. {
  3022. if(PlayerInfo[playerid][pCoins] < Molotov_PRICE) return SendERROR(playerid);
  3023. TakeCoins(playerid,-Molotov_PRICE);
  3024. GivePlayerWeapon(playerid,18,Molotov_AMMO);
  3025. PurchaseMSG(playerid,18);
  3026. }
  3027. case 4:
  3028. {
  3029. if(PlayerInfo[playerid][pCoins] < Knife_PRICE) return SendERROR(playerid);
  3030. TakeCoins(playerid,-Knife_PRICE);
  3031. GivePlayerWeapon(playerid,4,Knife_AMMO);
  3032. PurchaseMSG(playerid,4);
  3033. }
  3034. case 17:
  3035. {
  3036. if(PlayerInfo[playerid][pCoins] < Teargas_PRICE) return SendERROR(playerid);
  3037. TakeCoins(playerid,-Teargas_PRICE);
  3038. GivePlayerWeapon(playerid,17,Teargas_AMMO);
  3039. PurchaseMSG(playerid,17);
  3040. }
  3041. }
  3042. }
  3043. if(playertextid == Textdraw24[playerid])
  3044. {
  3045. PlayerTextDrawHide(playerid,Textdraw0[playerid]);
  3046. PlayerTextDrawHide(playerid,Textdraw1[playerid]);
  3047. PlayerTextDrawHide(playerid,Textdraw2[playerid]);
  3048. PlayerTextDrawHide(playerid,Textdraw3[playerid]);
  3049. PlayerTextDrawHide(playerid,Textdraw4[playerid]);
  3050. PlayerTextDrawHide(playerid,Textdraw5[playerid]);
  3051. PlayerTextDrawHide(playerid,Textdraw6[playerid]);
  3052. PlayerTextDrawHide(playerid,Textdraw7[playerid]);
  3053. PlayerTextDrawHide(playerid,Textdraw8[playerid]);
  3054. PlayerTextDrawHide(playerid,Textdraw9[playerid]);
  3055. PlayerTextDrawHide(playerid,Textdraw10[playerid]);
  3056. PlayerTextDrawHide(playerid,Textdraw11[playerid]);
  3057. PlayerTextDrawHide(playerid,Textdraw12[playerid]);
  3058. PlayerTextDrawHide(playerid,Textdraw13[playerid]);
  3059. PlayerTextDrawHide(playerid,Textdraw14[playerid]);
  3060. PlayerTextDrawHide(playerid,Textdraw15[playerid]);
  3061. PlayerTextDrawHide(playerid,Textdraw16[playerid]);
  3062. PlayerTextDrawHide(playerid,Textdraw17[playerid]);
  3063. PlayerTextDrawHide(playerid,Textdraw18[playerid]);
  3064. PlayerTextDrawHide(playerid,Textdraw19[playerid]);
  3065. PlayerTextDrawHide(playerid,Textdraw20[playerid]);
  3066. PlayerTextDrawHide(playerid,Textdraw21[playerid]);
  3067. PlayerTextDrawHide(playerid,Textdraw22[playerid]);
  3068. PlayerTextDrawHide(playerid,Textdraw23[playerid]);
  3069. PlayerTextDrawHide(playerid,Textdraw24[playerid]);
  3070. CancelSelectTextDraw(playerid);
  3071. }
  3072. return 1;
  3073. }
  3074. stock ReShowCategory(playerid)
  3075. {
  3076. PlayerTextDrawHide(playerid,Textdraw20[playerid]);
  3077. PlayerTextDrawHide(playerid,Textdraw21[playerid]);
  3078. PlayerTextDrawHide(playerid,Textdraw22[playerid]);
  3079. PlayerTextDrawHide(playerid,Textdraw23[playerid]);
  3080. PlayerTextDrawHide(playerid,Textdraw11[playerid]);
  3081. PlayerTextDrawHide(playerid,Textdraw12[playerid]);
  3082. PlayerTextDrawHide(playerid,Textdraw13[playerid]);
  3083. PlayerTextDrawHide(playerid,Textdraw14[playerid]);
  3084. return 1;
  3085. }
  3086. stock SendERROR(playerid)
  3087. {
  3088. SendClientMessage(playerid,0xFF0000FF,"ERROR » {FFFFFF}You don't have enough coins to buy this weapon.");
  3089. return true;
  3090. }
  3091. stock PurchaseMSG(playerid,WeaponID)
  3092. {
  3093. new string[126],gunname[32];
  3094. GetWeaponName(WeaponID,gunname,sizeof(gunname));
  3095. if(WeaponID == 18) gunname = "Molotov Cocktail";//Don't remove this line, the getweaponfunction won't get the molotov name.
  3096. format(string,sizeof(string),"{5EFF00}Weapon shop » {FFFFFF}You have sucussfully bought %s.",gunname);
  3097. SendClientMessage(playerid,-1,string);
  3098. return 1;
  3099. }
  3100.  
  3101. public OnPlayerCommandText(playerid,cmdtext[])
  3102. {
  3103. return SendClientMessage(playerid, -1, "This command wasn't recognized within our system, please type /help for the full list of the commands");
  3104. }
  3105.  
  3106. CMD:duel(playerid, params[])
  3107. {
  3108. new user, weap[45], weaponid = -1, string[128], string2[128] ;
  3109. if(sscanf(params, "us[45]", user, weap)) return SendClientMessage(playerid, -1, "USAGE: /duel <username/id> <weapon name>");
  3110. if(user == INVALID_PLAYER_ID) return SendClientMessage(playerid, -1, "The player is currently offline!");
  3111. if(user == playerid) return SendClientMessage(playerid, -1, "You cannot duel yourself");
  3112. if(duelinfo[playerid][induel] == 1) return SendClientMessage(playerid, -1, "You are already in a duel");
  3113. if(duelinfo[user][induel] == 1) return SendClientMessage(playerid, -1, "Player is already in a duel");
  3114. if(invite[user] == 1) return SendClientMessage(playerid, -1, "Player already has a duel invitation");
  3115. if(inviter[playerid] == 1) return SendClientMessage(playerid, -1, "You already invited a player, please wait till it's rejected or accepted!");
  3116. if(StringNumeric(weap))
  3117. {
  3118. weaponid = strval(weap);
  3119. }
  3120. else
  3121. {
  3122. weaponid = CheckWeaponID(weap);
  3123. }
  3124. DuelSender[user] = playerid;
  3125. duelinfo[playerid][weapid] = weaponid;
  3126. duelinfo[playerid][weapname] = weap;
  3127. duelinfo[user][weapid] = weaponid;
  3128. duelinfo[user][weapname] = weap;
  3129. invite[user] = 1;
  3130. inviter[playerid] = 1;
  3131. DuelReciever[playerid] = user;
  3132. format(string, sizeof(string), ""RED"[DUEL] "WHITE"You have send a duel invitation to %s(%d). [Weapon : %s]", duelinfo[user][playername], user, weap);
  3133. SendClientMessage(playerid, -1, string);
  3134. format(string2, sizeof(string2), ""RED"[DUEL] "WHITE"You have recieved a duel invitation from %s(%d). [Weapon : %s]", duelinfo[playerid][playername], playerid, weap);
  3135. SendClientMessage(playerid, -1, string2);
  3136. return 1;
  3137. }
  3138.  
  3139. CMD:acceptduel(playerid, params[])
  3140. {
  3141. if(invite[playerid] == 1)
  3142. {
  3143. new user = DuelSender[playerid];
  3144. ResetPlayerWeapons(user);
  3145. RemovePlayerFromVehicle(user);
  3146. SetPlayerArmour(user, 0);
  3147. SetPlayerHealth(user, 100);
  3148. SetPlayerVirtualWorld(user, 100);
  3149. SetPlayerPos(user, 1399.3311, 2789.9409, 10.8203);
  3150. GivePlayerWeapon(user, duelinfo[playerid][weapid], 500);
  3151. duelinfo[user][induel] = 1;
  3152. inviter[user] = 0;
  3153.  
  3154. ResetPlayerWeapons(playerid);
  3155. RemovePlayerFromVehicle(playerid);
  3156. SetPlayerArmour(playerid, 0);
  3157. SetPlayerHealth(playerid, 100);
  3158. SetPlayerVirtualWorld(playerid, 100);
  3159. GivePlayerWeapon(playerid, duelinfo[user][weapid], 500);
  3160. SetPlayerPos(playerid, 1358.0012, 2789.6218, 10.8203);
  3161. duelinfo[playerid][induel] = 1;
  3162. invite[playerid] = 0;
  3163. }
  3164. else return SendClientMessage(playerid, -1, "You didn't recieve any duel request");
  3165. return 1;
  3166. }
  3167.  
  3168. CMD:declineduel(playerid, params[])
  3169. {
  3170. if(invite[playerid] == 1)
  3171. {
  3172. new user = DuelSender[playerid], string[128], string2[128];
  3173. invite[playerid] = 0;
  3174. inviter[user] = 0;
  3175. format(string, sizeof(string), ""RED"[DUEL] "WHITE"You have declined %s(%d)'s duel request", duelinfo[user][playername], user);
  3176. SendClientMessage(playerid, -1, string);
  3177. format(string2, sizeof(string2), ""RED"[DUEL] "WHITE"%s(%d) has declined your duel request", duelinfo[playerid][playername], playerid);
  3178. SendClientMessage(playerid, -1, string2);
  3179. }
  3180. else return SendClientMessage(playerid, -1, "You didn't recieve any duel request");
  3181. return 1;
  3182. }
  3183.  
  3184. CMD:cancelrequest(playerid, params[])
  3185. {
  3186. if(inviter[playerid] == 1)
  3187. {
  3188. new user = DuelReciever[playerid], string[128], string2[128];
  3189. inviter[playerid] = 0;
  3190. invite[user] = 0;
  3191. format(string, sizeof(string), ""RED"[DUEL] "WHITE"You have cancelled the request sent to%s(%d)", duelinfo[user][playername], user);
  3192. SendClientMessage(playerid, -1, string);
  3193. format(string2, sizeof(string2), ""RED"[DUEL] "WHITE"%s(%d) has cancelled the duel request sent to you", duelinfo[playerid][playername], playerid);
  3194. SendClientMessage(playerid, -1, string2);
  3195. }
  3196. else return SendClientMessage(playerid, -1, "You didn't send any duel request");
  3197. return 1;
  3198. }
  3199.  
  3200. stock GetName(playerid)
  3201. {
  3202. new uName[24];
  3203. GetPlayerName(playerid, uName, sizeof(uName));
  3204. return uName;
  3205. }
  3206.  
  3207. StringNumeric(const str[])
  3208. {
  3209. for(new i = 0,ii = strlen(str);i < ii;i++)
  3210. {
  3211. if(str[i] > '9' || str[i] < '0') return 0;
  3212. }
  3213. return 1;
  3214. }
  3215.  
  3216. stock CheckWeaponID(name[])
  3217. {
  3218. for(new i = 0; i < 46; i++)
  3219. {
  3220. if(strfind(WeaponInfo[i][Name], name, true) != -1)
  3221. {
  3222. if(WeaponInfo[i][Valid] == 0) return -2;
  3223. return i;
  3224. }
  3225. }
  3226. return -1;
  3227. }
  3228.  
  3229. public LoadGame()
  3230. {
  3231. new E_NUM1 = random(E_MAX_NUMBER-E_MIN_NUMBER) + E_MIN_NUMBER,
  3232. E_NUM2 = random(E_MAX_NUMBER-E_MIN_NUMBER) + E_MIN_NUMBER,
  3233. E_NUM3 = random(E_MAX_NUMBER-E_MIN_NUMBER) + E_MIN_NUMBER,
  3234. E_NUM4 = random(E_MAX_NUMBER-E_MIN_NUMBER) + E_MIN_NUMBER;
  3235.  
  3236. gServerData[E_STARTED] = true;
  3237. gServerData[E_ANSWER] = E_NUM1 + E_NUM2 - E_NUM3 + E_NUM4;
  3238. gServerData[E_START_TIME] = GetTickCount();
  3239.  
  3240. new msg[128];
  3241. format(msg,sizeof(msg),"Solve for %i Coins --> %i + %i - %i + %i = ?",E_COINS,E_NUM1,E_NUM2,E_NUM3,E_NUM4);
  3242. SendClientMessageToAll(COLOR_YELLOW,msg);
  3243. print(msg);
  3244. }
  3245.  
  3246. GetTimerInSeconds(now, started)
  3247. {
  3248. new secs, ms;
  3249. ms = now - started;
  3250. while(ms > 999) {
  3251. secs++;
  3252. ms = ms-1000;
  3253. }
  3254. return secs;
  3255. }
  3256.  
  3257. stock GetRandomModelByGroup( iGroup )
  3258. {
  3259. // Data from cargrp.dat
  3260.  
  3261. switch ( iGroup )
  3262. {
  3263. case ZONE_TYPE_BUSINESS: // POPCYCLE_GROUP_BUSINESS
  3264. {
  3265. default_group:
  3266. static
  3267. s_aiVehicles[ ] =
  3268. {
  3269. VEHICLE_BRAVURA,
  3270. VEHICLE_TAXI,
  3271. VEHICLE_CABBIE,
  3272. VEHICLE_PREMIER,
  3273. VEHICLE_SECURICA,
  3274. VEHICLE_ELEGANT,
  3275. VEHICLE_FORTUNE,
  3276. VEHICLE_FELTZER,
  3277. VEHICLE_MERIT,
  3278. VEHICLE_ELEGANT,
  3279. VEHICLE_HUNTLEY,
  3280. VEHICLE_ZR350,
  3281. VEHICLE_SENTINEL
  3282. }
  3283. ;
  3284.  
  3285. return s_aiVehicles[ random( sizeof( s_aiVehicles ) ) ];
  3286. }
  3287.  
  3288. case ZONE_TYPE_DESERT: // POPCYCLE_GROUP_DESERT_FOLK
  3289. {
  3290. static
  3291. s_aiVehicles[ ] =
  3292. {
  3293. VEHICLE_SANCHEZ,
  3294. VEHICLE_WALTON,
  3295. VEHICLE_RANCHER,
  3296. VEHICLE_WAYFARER,
  3297. VEHICLE_FREEWAY,
  3298. VEHICLE_PETRO,
  3299. VEHICLE_RDTRAIN
  3300. }
  3301. ;
  3302.  
  3303. return s_aiVehicles[ random( sizeof( s_aiVehicles ) ) ];
  3304. }
  3305.  
  3306. case ZONE_TYPE_ENTERTAINMENT: // POPCYCLE_GROUP_ENTERTAINERS
  3307. {
  3308. static
  3309. s_aiVehicles[ ] =
  3310. {
  3311. VEHICLE_TURISMO,
  3312. VEHICLE_HUSTLER,
  3313. VEHICLE_BULLET,
  3314. VEHICLE_BUFFALO,
  3315. VEHICLE_STRETCH,
  3316. VEHICLE_TAXI,
  3317. VEHICLE_CABBIE,
  3318. // VEHICLE_COACH, // Too long for most places
  3319. VEHICLE_FLASH,
  3320. VEHICLE_SULTAN,
  3321. VEHICLE_CLUB
  3322. }
  3323. ;
  3324.  
  3325. return s_aiVehicles[ random( sizeof( s_aiVehicles ) ) ];
  3326. }
  3327.  
  3328. case ZONE_TYPE_COUNTRYSIDE: // POPCYCLE_GROUP_FARMERS
  3329. {
  3330. static
  3331. s_aiVehicles[ ] =
  3332. {
  3333. VEHICLE_SANCHEZ,
  3334. VEHICLE_WALTON,
  3335. VEHICLE_RANCHER,
  3336. VEHICLE_JOURNEY,
  3337. VEHICLE_TRACTOR,
  3338. VEHICLE_WAYFARER,
  3339. VEHICLE_FREEWAY,
  3340. VEHICLE_LINERUN,
  3341. VEHICLE_PETRO
  3342. }
  3343. ;
  3344.  
  3345. return s_aiVehicles[ random( sizeof( s_aiVehicles ) ) ];
  3346. }
  3347.  
  3348. case ZONE_TYPE_RESIDENTIAL_RICH: // POPCYCLE_GROUP_CASUAL_RICH
  3349. {
  3350. static
  3351. s_aiVehicles[ ] =
  3352. {
  3353. VEHICLE_STRETCH,
  3354. VEHICLE_BUFFALO,
  3355. VEHICLE_ELEGANT,
  3356. VEHICLE_PREMIER,
  3357. VEHICLE_STRATUM,
  3358. VEHICLE_INFERNUS,
  3359. VEHICLE_CHEETAH,
  3360. VEHICLE_BANSHEE,
  3361. VEHICLE_FREEWAY,
  3362. VEHICLE_ZR350,
  3363. VEHICLE_COMET,
  3364. VEHICLE_SUPERGT,
  3365. VEHICLE_FCR900,
  3366. VEHICLE_WINDSOR,
  3367. VEHICLE_JESTER,
  3368. VEHICLE_ELEGY,
  3369. VEHICLE_BROADWAY,
  3370. VEHICLE_STAFFORD,
  3371. VEHICLE_HUNTLEY,
  3372. VEHICLE_TAXI,
  3373. VEHICLE_CABBIE,
  3374. VEHICLE_ALPHA,
  3375. VEHICLE_SLAMVAN,
  3376. VEHICLE_EUROS,
  3377. VEHICLE_PHOENIX,
  3378. VEHICLE_EMPEROR
  3379. }
  3380. ;
  3381.  
  3382. return s_aiVehicles[ random( sizeof( s_aiVehicles ) ) ];
  3383. }
  3384.  
  3385. case ZONE_TYPE_RESIDENTIAL_AVERAGE: // POPCYCLE_GROUP_CASUAL_AVERAGE
  3386. {
  3387. static
  3388. s_aiVehicles[ ] =
  3389. {
  3390. VEHICLE_TAXI,
  3391. VEHICLE_CABBIE,
  3392. VEHICLE_PREMIER,
  3393. VEHICLE_ELEGANT,
  3394. VEHICLE_FORTUNE,
  3395. VEHICLE_BOBCAT,
  3396. VEHICLE_PRIMO,
  3397. VEHICLE_LANDSTAL,
  3398. VEHICLE_BRAVURA,
  3399. VEHICLE_WASHING,
  3400. VEHICLE_PREVION,
  3401. VEHICLE_ADMIRAL,
  3402. VEHICLE_SOLAIR,
  3403. VEHICLE_PCJ600,
  3404. VEHICLE_BLISTAC,
  3405. VEHICLE_NEBULA,
  3406. VEHICLE_CADRONA,
  3407. VEHICLE_VINCENT,
  3408. VEHICLE_SUNRISE,
  3409. VEHICLE_YOSEMITE,
  3410. VEHICLE_STRATUM,
  3411. VEHICLE_BF400,
  3412. VEHICLE_EMPEROR,
  3413. VEHICLE_TAHOMA,
  3414. VEHICLE_PICADOR,
  3415. VEHICLE_BMX,
  3416. VEHICLE_TORNADO,
  3417. VEHICLE_EUROS,
  3418. VEHICLE_SENTINEL
  3419. }
  3420. ;
  3421.  
  3422. return s_aiVehicles[ random( sizeof( s_aiVehicles ) ) ];
  3423. }
  3424.  
  3425. case ZONE_TYPE_RESIDENTIAL_POOR: // POPCYCLE_GROUP_CASUAL_POOR
  3426. {
  3427. static
  3428. s_aiVehicles[ ] =
  3429. {
  3430. VEHICLE_ESPERANT,
  3431. VEHICLE_BOBCAT,
  3432. VEHICLE_SABRE,
  3433. VEHICLE_REGINA,
  3434. VEHICLE_VIRGO,
  3435. VEHICLE_GREENWOO,
  3436. VEHICLE_WILLARD,
  3437. VEHICLE_CLOVER,
  3438. VEHICLE_SADLER,
  3439. VEHICLE_INTRUDER,
  3440. VEHICLE_PRIMO,
  3441. VEHICLE_BIKE,
  3442. VEHICLE_BRAVURA,
  3443. VEHICLE_REMINGTN,
  3444. VEHICLE_HERMES,
  3445. VEHICLE_CAMPER,
  3446. VEHICLE_STALLION,
  3447. VEHICLE_TAHOMA,
  3448. VEHICLE_PICADOR,
  3449. VEHICLE_BMX,
  3450. VEHICLE_MOONBEAM,
  3451. VEHICLE_NEWSVAN
  3452. }
  3453. ;
  3454.  
  3455. return s_aiVehicles[ random( sizeof( s_aiVehicles ) ) ];
  3456. }
  3457.  
  3458. case ZONE_TYPE_GANGLAND: // POPCYCLE_GROUP_CRIMINALS
  3459. {
  3460. static
  3461. s_aiVehicles[ ] =
  3462. {
  3463. VEHICLE_PEREN,
  3464. VEHICLE_BLADE,
  3465. VEHICLE_CLOVER
  3466. }
  3467. ;
  3468.  
  3469. return s_aiVehicles[ random( sizeof( s_aiVehicles ) ) ];
  3470. }
  3471.  
  3472. case ZONE_TYPE_BEACH: // POPCYCLE_GROUP_BEACHFOLK
  3473. {
  3474. static
  3475. s_aiVehicles[ ] =
  3476. {
  3477. VEHICLE_TAXI,
  3478. VEHICLE_CABBIE,
  3479. VEHICLE_BFINJECT,
  3480. VEHICLE_FAGGIO,
  3481. VEHICLE_GLENDALE,
  3482. VEHICLE_OCEANIC,
  3483. VEHICLE_MESA,
  3484. VEHICLE_BMX,
  3485. VEHICLE_MTBIKE,
  3486. VEHICLE_MRWHOOP,
  3487. VEHICLE_WASHING,
  3488. VEHICLE_PREVION,
  3489. VEHICLE_PCJ600,
  3490. VEHICLE_CADRONA,
  3491. VEHICLE_SUNRISE,
  3492. VEHICLE_YOSEMITE,
  3493. VEHICLE_BRAVURA,
  3494. VEHICLE_PRIMO
  3495. }
  3496. ;
  3497.  
  3498. return s_aiVehicles[ random( sizeof( s_aiVehicles ) ) ];
  3499. }
  3500.  
  3501. case ZONE_TYPE_SHOPPING: // POPCYCLE_GROUP_CLUBBERS
  3502. {
  3503. static
  3504. s_aiVehicles0[ ] =
  3505. {
  3506. VEHICLE_BUFFALO,
  3507. VEHICLE_STRETCH,
  3508. VEHICLE_TAXI,
  3509. VEHICLE_CABBIE,
  3510. // VEHICLE_COACH, // Too long for most places
  3511. VEHICLE_FLASH,
  3512. VEHICLE_SULTAN,
  3513. VEHICLE_CLUB
  3514. }
  3515. ;
  3516.  
  3517. return s_aiVehicles0[ random( sizeof( s_aiVehicles0 ) ) ];
  3518. }
  3519.  
  3520. case ZONE_TYPE_PARK: // POPCYCLE_GROUP_PARKFOLK
  3521. {
  3522. static
  3523. s_aiVehicles1[ ] =
  3524. {
  3525. VEHICLE_TAXI,
  3526. VEHICLE_CABBIE,
  3527. VEHICLE_BFINJECT,
  3528. VEHICLE_FAGGIO,
  3529. VEHICLE_GLENDALE,
  3530. VEHICLE_MESA,
  3531. VEHICLE_BMX,
  3532. VEHICLE_MTBIKE,
  3533. VEHICLE_WASHING,
  3534. VEHICLE_PREVION,
  3535. VEHICLE_PCJ600,
  3536. VEHICLE_CADRONA,
  3537. VEHICLE_YOSEMITE,
  3538. VEHICLE_BRAVURA,
  3539. VEHICLE_PRIMO
  3540. }
  3541. ;
  3542.  
  3543. return s_aiVehicles1[ random( sizeof( s_aiVehicles1 ) ) ];
  3544. }
  3545.  
  3546. case ZONE_TYPE_INDUSTRY: // POPCYCLE_GROUP_WORKERS
  3547. {
  3548. static
  3549. s_aiVehicles2[ ] =
  3550. {
  3551. VEHICLE_LINERUN,
  3552. VEHICLE_PACKER,
  3553. VEHICLE_TAXI,
  3554. VEHICLE_CABBIE,
  3555. VEHICLE_MULE,
  3556. // VEHICLE_BUS, // Too long for most places
  3557. // VEHICLE_COACH, // ^
  3558. VEHICLE_RUMPO,
  3559. VEHICLE_PONY,
  3560. VEHICLE_FLATBED,
  3561. VEHICLE_YANKEE,
  3562. VEHICLE_TOPFUN,
  3563. VEHICLE_CEMENT,
  3564. VEHICLE_TOWTRUCK,
  3565. VEHICLE_BURRITO,
  3566. VEHICLE_BOXVILLE,
  3567. VEHICLE_BENSON,
  3568. VEHICLE_UTILITY,
  3569. VEHICLE_PIZZABOY,
  3570. VEHICLE_TRASH,
  3571. VEHICLE_DFT30
  3572. }
  3573. ;
  3574.  
  3575. return s_aiVehicles2[ random( sizeof( s_aiVehicles2 ) ) ];
  3576. }
  3577.  
  3578. case ZONE_TYPE_ENTERTAINMENT_BUSY: // POPCYCLE_GROUP_SERVANTS
  3579. {
  3580. static
  3581. s_aiVehicles3[ ] =
  3582. {
  3583. VEHICLE_BUFFALO,
  3584. VEHICLE_STRETCH,
  3585. VEHICLE_TAXI,
  3586. VEHICLE_CABBIE,
  3587. // VEHICLE_COACH, // Too long for most places
  3588. VEHICLE_FLASH,
  3589. VEHICLE_SULTAN,
  3590. VEHICLE_CLUB
  3591. }
  3592. ;
  3593.  
  3594. return s_aiVehicles3[ random( sizeof( s_aiVehicles3 ) ) ];
  3595. }
  3596.  
  3597. case ZONE_TYPE_SHOPPING_BUSY,
  3598. ZONE_TYPE_SHOPPING_POSH: // POPCYCLE_GROUP_CASUAL_AVERAGE
  3599. {
  3600. static
  3601. s_aiVehicles4[ ] =
  3602. {
  3603. VEHICLE_TAXI,
  3604. VEHICLE_CABBIE,
  3605. VEHICLE_PREMIER,
  3606. VEHICLE_ELEGANT,
  3607. VEHICLE_FORTUNE,
  3608. VEHICLE_BOBCAT,
  3609. VEHICLE_PRIMO,
  3610. VEHICLE_LANDSTAL,
  3611. VEHICLE_BRAVURA,
  3612. VEHICLE_WASHING,
  3613. VEHICLE_PREVION,
  3614. VEHICLE_ADMIRAL,
  3615. VEHICLE_SOLAIR,
  3616. VEHICLE_PCJ600,
  3617. VEHICLE_BLISTAC,
  3618. VEHICLE_NEBULA,
  3619. VEHICLE_CADRONA,
  3620. VEHICLE_VINCENT,
  3621. VEHICLE_SUNRISE,
  3622. VEHICLE_YOSEMITE,
  3623. VEHICLE_STRATUM,
  3624. VEHICLE_BF400,
  3625. VEHICLE_EMPEROR,
  3626. VEHICLE_TAHOMA,
  3627. VEHICLE_PICADOR,
  3628. VEHICLE_BMX,
  3629. VEHICLE_TORNADO,
  3630. VEHICLE_EUROS,
  3631. VEHICLE_SENTINEL
  3632. }
  3633. ;
  3634.  
  3635. return s_aiVehicles4[ random( sizeof( s_aiVehicles4 ) ) ];
  3636. }
  3637.  
  3638. case ZONE_TYPE_RESI_RICH_SECLUDED: // POPCYCLE_GROUP_CASUAL_RICH
  3639. {
  3640. static
  3641. s_aiVehicles5[ ] =
  3642. {
  3643. VEHICLE_STRETCH,
  3644. VEHICLE_BUFFALO,
  3645. VEHICLE_ELEGANT,
  3646. VEHICLE_PREMIER,
  3647. VEHICLE_STRATUM,
  3648. VEHICLE_INFERNUS,
  3649. VEHICLE_CHEETAH,
  3650. VEHICLE_BANSHEE,
  3651. VEHICLE_FREEWAY,
  3652. VEHICLE_ZR350,
  3653. VEHICLE_COMET,
  3654. VEHICLE_SUPERGT,
  3655. VEHICLE_FCR900,
  3656. VEHICLE_WINDSOR,
  3657. VEHICLE_JESTER,
  3658. VEHICLE_ELEGY,
  3659. VEHICLE_BROADWAY,
  3660. VEHICLE_STAFFORD,
  3661. VEHICLE_HUNTLEY,
  3662. VEHICLE_TAXI,
  3663. VEHICLE_CABBIE,
  3664. VEHICLE_ALPHA,
  3665. VEHICLE_SLAMVAN,
  3666. VEHICLE_EUROS,
  3667. VEHICLE_PHOENIX,
  3668. VEHICLE_EMPEROR
  3669. }
  3670. ;
  3671.  
  3672. return s_aiVehicles5[ random( sizeof( s_aiVehicles5 ) ) ];
  3673. }
  3674.  
  3675. case ZONE_TYPE_AIRPORT: // POPCYCLE_GROUP_AIRCREW
  3676. {
  3677. static
  3678. s_aiVehicles6[ ] =
  3679. {
  3680. VEHICLE_BRAVURA,
  3681. VEHICLE_WASHING,
  3682. VEHICLE_PREVION,
  3683. VEHICLE_ADMIRAL,
  3684. VEHICLE_SOLAIR,
  3685. VEHICLE_PCJ600,
  3686. VEHICLE_BLISTAC,
  3687. VEHICLE_NEBULA,
  3688. VEHICLE_CADRONA,
  3689. VEHICLE_VINCENT,
  3690. VEHICLE_SUNRISE,
  3691. VEHICLE_YOSEMITE,
  3692. VEHICLE_URANUS,
  3693. VEHICLE_STRATUM,
  3694. VEHICLE_BF400,
  3695. VEHICLE_EMPEROR,
  3696. VEHICLE_WAYFARER
  3697. }
  3698. ;
  3699.  
  3700. return s_aiVehicles6[ random( sizeof( s_aiVehicles6 ) ) ];
  3701. }
  3702.  
  3703. case ZONE_TYPE_GOLF_CLUB: // POPCYCLE_GROUP_GOLFERS
  3704. {
  3705. static
  3706. s_aiVehicles7[ ] =
  3707. {
  3708. VEHICLE_CADDY
  3709. }
  3710. ;
  3711.  
  3712. return s_aiVehicles7[ random( sizeof( s_aiVehicles7 ) ) ];
  3713. }
  3714.  
  3715. case ZONE_TYPE_OUT_OF_TOWN_FACTORY: // POPCYCLE_GROUP_OUT_OF_TOWN_FACTORY
  3716. {
  3717. static
  3718. s_aiVehicles8[ ] =
  3719. {
  3720. VEHICLE_MULE,
  3721. VEHICLE_RUMPO,
  3722. VEHICLE_PONY,
  3723. VEHICLE_FLATBED,
  3724. VEHICLE_YANKEE,
  3725. VEHICLE_TOPFUN,
  3726. VEHICLE_CEMENT,
  3727. VEHICLE_BURRITO,
  3728. VEHICLE_BOXVILLE,
  3729. VEHICLE_BENSON,
  3730. VEHICLE_UTILITY,
  3731. VEHICLE_DFT30,
  3732. VEHICLE_FORKLIFT
  3733. }
  3734. ;
  3735.  
  3736. return s_aiVehicles8[ random( sizeof( s_aiVehicles8 ) ) ];
  3737. }
  3738.  
  3739. case ZONE_TYPE_AIRPORT_RUNWAY: // POPCYCLE_GROUP_GOLFERS
  3740. {
  3741. static
  3742. s_aiVehicles9[ ] =
  3743. {
  3744. VEHICLE_CADDY
  3745. }
  3746. ;
  3747.  
  3748. return s_aiVehicles9[ random( sizeof( s_aiVehicles9 ) ) ];
  3749. }
  3750. }
  3751.  
  3752. goto default_group;
  3753. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement