Advertisement
Guest User

Untitled

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