Guest User

[Filterscript] - Vehicles & Weapons Spawner

a guest
Dec 8th, 2020
715
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.62 KB | None | 0 0
  1. #define FILTERSCRIPT
  2.  
  3. #include <a_samp>
  4. #include <zcmd>
  5. #include <gDialog>
  6.  
  7. #if defined FILTERSCRIPT
  8.  
  9. new SpawnedVehicle[MAX_PLAYERS];
  10.  
  11. stock SpawnVehicleForPlayer(vehicleid, playerid)
  12. {
  13. if (SpawnedVehicle[playerid] != 0)
  14. {
  15. DestroyVehicle(SpawnedVehicle[playerid]);
  16. }
  17. new Float: X, Float: Y, Float: Z, Float: Angle;
  18. GetPlayerPos(playerid, Float: X, Float: Y, Float: Z);
  19. GetPlayerFacingAngle(playerid, Float: Angle);
  20. SpawnedVehicle[playerid] = CreateVehicle(vehicleid, X, Y, Z + 2.0, Angle + 90.0, -1, -1, 600);
  21. SetVehicleVirtualWorld(SpawnedVehicle[playerid], GetPlayerVirtualWorld(playerid));
  22. LinkVehicleToInterior(SpawnedVehicle[playerid], GetPlayerInterior(playerid));
  23. PutPlayerInVehicle(playerid, SpawnedVehicle[playerid], 0);
  24. }
  25.  
  26. public OnFilterScriptInit()
  27. {
  28. print("\n--------------------------------------");
  29. print(" Cars and Weapons Spawner System Loaded");
  30. print("--------------------------------------\n");
  31. //========================Dialogs=======================
  32. CreateDialog(0, DIALOG_STYLE_LIST, "menu", "Vehicles\nWeapons", "Select", "Close");
  33. /* Vehicles */
  34. CreateDialog(1, DIALOG_STYLE_LIST, "Vehicles", "2-Door & Compact cars\n4-Door & Luxury cars\nBikes\nAirplanes\nHelicoptes\nBoats\nCivil services\nGovernment vehicles\nHeavy & Utility trucks\nLowriders\nMuscle cars\nStreet racers\nRC Vehicles\nTrailers\nTrains & Railroad cars\nRecreational", "Select", "Close");
  35. CreateDialog(2, DIALOG_STYLE_LIST, "2-Door & Compact cars", "Alpha\nBlista Compact\nBravura\nBuccaneer\nCadrona\nClub\nEsperanto\nEuros\nFeltzer\nFortune\nHermes\nHustler\nMajestic\nManana\nPicador\nPrevion\nStallion\nTampa\nVirgo", "Select", "Close");
  36. CreateDialog(3, DIALOG_STYLE_LIST, "4-Door & Luxury cars", "Admiral\nDamaged Glendale\nElegant\nEmperor\nGlendale\nGreenwood\nIntruder\nMerit\nNebula\nOceanic\nPremier\nPrimo\nSentinel\nStafford\nStretch\nSunrise\nTahoma\nVincent\nWashington\nWillard", "Select", "Close");
  37. CreateDialog(4, DIALOG_STYLE_LIST, "Bikes", "BF-400\nBike\nBMX\nFaggio\nFCR-900\nFreeway\nMountain Bike\nNRG-500\nPCJ-600\nPizzaboy\nSanchez\nWayfarer", "Select", "Close");
  38. CreateDialog(5, DIALOG_STYLE_LIST, "Airplanes", "Andromada\nAT-400\nBeagle\nCropduster\nDodo\nHydra\nNevada\nRustler\nShamal\nSkimmer\nStuntplane", "Select", "Close");
  39. CreateDialog(6, DIALOG_STYLE_LIST, "Helicopters", "Cargobob\nHunter\nLeviathan\nMaverick\nNews Chopper\nPolice Maverick\nRaindance\nSeasparrow\nSparrow", "Select", "Close");
  40. CreateDialog(7, DIALOG_STYLE_LIST, "Boats", "Coastguard\nDinghy\nJetmax\nLaunch\nMarquis\nPredator\nReefer\nSpeeder\nSqualo\nTropic", "Select", "Close");
  41. CreateDialog(8, DIALOG_STYLE_LIST, "Civil service", "Baggage\nBus\nCabbie\nCoach\nSweeper\nTaxi\nTowtruck\nTrashmaster\nUtility Van", "Select", "Close");
  42. CreateDialog(9, DIALOG_STYLE_LIST, "Government vehicles", "Ambulance\nBarracks\nEnforcer\nFBI Rancher\nFBI Truck\nFire Truck 1\nFire Truck 2\nHPV1000\nPatriot\nPolice LS\nPolice LV\nPolice Ranger\nPolice SF\nRhino\nS.W.A.T.\nSecuricar", "Select", "Close");
  43. CreateDialog(10, DIALOG_STYLE_LIST, "Heavy & Utility trucks", "Benson\nBoxville Mission\nBoxville\nCement Truck\nCombine Harvester\nDFT-30\nDozer\nDumper\nDune\nFlatbed\nHotdog\nLinerunner\nMr. Whoopee\nMule\nPacker\nRoadtrain\nTanker\nTractor\nYankee", "Select", "Close");
  44. CreateDialog(11, DIALOG_STYLE_LIST, "Lowriders", "Blade\nBroadway\nRemington\nSavanna\nSlamvan\nTornado\nVoodoo", "Select", "Close");
  45. CreateDialog(12, DIALOG_STYLE_LIST, "Muscle cars", "Buffalo\nClover\nPhoenix\nSabre", "Select", "Close");
  46. CreateDialog(13, DIALOG_STYLE_LIST, "Street racers", "Banshee\nBullet\nCheetah\nComet\nElegy\nFlash\nHotknife\nHotring Racer\nHotring Racer\nHotring Racer 3\nInfernus\nJester\nStratum\nSultan\nSuper GT\nTurismo\nUranus\nWindsor\nZR-350", "Select", "Close");
  47. CreateDialog(14, DIALOG_STYLE_LIST, "RC Vehicles", "RC Bandit\nRC Baron\nRC Cam\nRC Goblin\nRC Raider\nRC Tiger", "Select", "Close");
  48. CreateDialog(15, DIALOG_STYLE_LIST, "Trailers", "Baggage Trailer\nBaggage Trailer\nFarm Trailer\nPetrol trailer\nPower Trailer\nLadder Trailer\nTrailer 1\nTrailer 2\nTrailer 3", "Select", "Close");
  49. CreateDialog(16, DIALOG_STYLE_LIST, "Trains & Railroad cars", "Box Freight\nBrown Streak\nBrown Streak Carriage\nFlat Freight\nFreight\nTram", "Select", "Close");
  50. CreateDialog(17, DIALOG_STYLE_LIST, "Recreational", "Bandito\nBF Injection\nBloodring Banger\nCaddy\nCamper\nJourney\nKart\nMesa\nMonster\nMonster 2\nMonster 3\nQuadbike\nSandking\nVortex", "Select", "Close");
  51. /* Weapons */
  52. CreateDialog(18, DIALOG_STYLE_LIST, "Weapons", "Hand\nMelee\nHandguns\nShotguns\nSub-machine Guns\nAssault Rifles\nRifles\nHeavy Weapons\nProjectiles\nSpecial 1\nGifts\nSpecial 2\nSatchel Detonator", "Select", "Close");
  53. CreateDialog(19, DIALOG_STYLE_LIST, "Hand", "Fist\nBrassknuckle", "Select", "Close");
  54. CreateDialog(20, DIALOG_STYLE_LIST, "Melee", "Golfclub\nNightstick\nKnife\nBat\nShovel\nPoolstick\nKatana\nChainsaw", "Select", "Close");
  55. CreateDialog(21, DIALOG_STYLE_LIST, "handguns", "Colt 45\nColt 45 [Silenced]\nDeagle", "Select", "Close");
  56. CreateDialog(22, DIALOG_STYLE_LIST, "Shotguns", "Shotgun\nSawed-off\nCombat Shotgun", "Select", "Close");
  57. CreateDialog(23, DIALOG_STYLE_LIST, "Sub-Machine Guns", "Uzi\nMP5\nTec-9", "Select", "Close");
  58. CreateDialog(24, DIALOG_STYLE_LIST, "Assault Rifles", "AK-47\nM4", "Select", "Close");
  59. CreateDialog(25, DIALOG_STYLE_LIST, "Rifles", "Rifle\nSniper", "Select", "Close");
  60. CreateDialog(26, DIALOG_STYLE_LIST, "Heavy Weapons", "Rocket Launcher\nRocket Launcher HS\nFlamethrower\nMinigun", "Select", "Close");
  61. CreateDialog(27, DIALOG_STYLE_LIST, "Projectiles", "Grenade\nTeargas\nMolotov\nSatchel", "Select", "Close");
  62. CreateDialog(28, DIALOG_STYLE_LIST, "Special 1", "Spraycan\nFire Extinguisher\nCamera", "Select", "Close");
  63. CreateDialog(29, DIALOG_STYLE_LIST, "Gifts", "Dildo 1\nDildo 2\nVibrator\nFlower\nCane", "Select", "Close");
  64. CreateDialog(30, DIALOG_STYLE_LIST, "Special 2", "Nightvision\nInfrared\nParachute", "Select", "Close");
  65. CreateDialog(31, DIALOG_STYLE_LIST, "Satchel Detonator", "Bomb", "Select", "Close");
  66. return 1;
  67. }
  68.  
  69. #endif
  70.  
  71. //========================Commands========================
  72. CMD:menu(playerid, params[])
  73. {
  74. ShowPlayerDialog(playerid, 0);
  75. return 1;
  76. }
  77. //========================DialogResponse========================
  78. DIALOG:0(playerid, response, listitem, inputtext[])
  79. {
  80. if(response)
  81. {
  82. if(listitem == 0)
  83. {
  84. ShowPlayerDialog(playerid, 1);
  85. }
  86. if(listitem == 1)
  87. {
  88. ShowPlayerDialog(playerid, 18);
  89. }
  90. }
  91. return 1;
  92. }
  93. DIALOG:1(playerid, response, listitem, inputtext[])
  94. {
  95. if(response)
  96. {
  97. if(listitem == 0)
  98. {
  99. ShowPlayerDialog(playerid, 2);
  100. }
  101. if(listitem == 1)
  102. {
  103. ShowPlayerDialog(playerid, 3);
  104. }
  105. if(listitem == 2)
  106. {
  107. ShowPlayerDialog(playerid, 4);
  108. }
  109. if(listitem == 3)
  110. {
  111. ShowPlayerDialog(playerid, 5);
  112. }
  113. if(listitem == 4)
  114. {
  115. ShowPlayerDialog(playerid, 6);
  116. }
  117. if(listitem == 5)
  118. {
  119. ShowPlayerDialog(playerid, 7);
  120. }
  121. if(listitem == 6)
  122. {
  123. ShowPlayerDialog(playerid, 8);
  124. }
  125. if(listitem == 7)
  126. {
  127. ShowPlayerDialog(playerid, 9);
  128. }
  129. if(listitem == 8)
  130. {
  131. ShowPlayerDialog(playerid, 10);
  132. }
  133. if(listitem == 9)
  134. {
  135. ShowPlayerDialog(playerid, 11);
  136. }
  137. if(listitem == 10)
  138. {
  139. ShowPlayerDialog(playerid, 12);
  140. }
  141. if(listitem == 11)
  142. {
  143. ShowPlayerDialog(playerid, 13);
  144. }
  145. if(listitem == 12)
  146. {
  147. ShowPlayerDialog(playerid, 14);
  148. }
  149. if(listitem == 13)
  150. {
  151. ShowPlayerDialog(playerid, 15);
  152. }
  153. if(listitem == 14)
  154. {
  155. ShowPlayerDialog(playerid, 16);
  156. }
  157. if(listitem == 15)
  158. {
  159. ShowPlayerDialog(playerid, 17);
  160. }
  161. }
  162. return 1;
  163. }
  164. DIALOG:2(playerid, response, listitem, inputtext[])
  165. {
  166. if (response)
  167. {
  168. if (listitem == 0)
  169. {
  170. SpawnVehicleForPlayer(602, playerid);
  171. }
  172. if (listitem == 1)
  173. {
  174. SpawnVehicleForPlayer(496, playerid);
  175. }
  176. if (listitem == 2)
  177. {
  178. SpawnVehicleForPlayer(401, playerid);
  179. }
  180. if (listitem == 3)
  181. {
  182. SpawnVehicleForPlayer(518, playerid);
  183. }
  184. if (listitem == 4)
  185. {
  186. SpawnVehicleForPlayer(527, playerid);
  187. }
  188. if (listitem == 5)
  189. {
  190. SpawnVehicleForPlayer(589, playerid);
  191. }
  192. if (listitem == 6)
  193. {
  194. SpawnVehicleForPlayer(419, playerid);
  195. }
  196. if (listitem == 7)
  197. {
  198. SpawnVehicleForPlayer(587, playerid);
  199. }
  200. if (listitem == 8)
  201. {
  202. SpawnVehicleForPlayer(533, playerid);
  203. }
  204. if (listitem == 9)
  205. {
  206. SpawnVehicleForPlayer(526, playerid);
  207. }
  208. if (listitem == 10)
  209. {
  210. SpawnVehicleForPlayer(523, playerid);
  211. }
  212. if (listitem == 11)
  213. {
  214. SpawnVehicleForPlayer(474, playerid);
  215. }
  216. if (listitem == 12)
  217. {
  218. SpawnVehicleForPlayer(545, playerid);
  219. }
  220. if (listitem == 13)
  221. {
  222. SpawnVehicleForPlayer(517, playerid);
  223. }
  224. if (listitem == 14)
  225. {
  226. SpawnVehicleForPlayer(410, playerid);
  227. }
  228. if (listitem == 15)
  229. {
  230. SpawnVehicleForPlayer(600, playerid);
  231. }
  232. if (listitem == 15)
  233. {
  234. SpawnVehicleForPlayer(436, playerid);
  235. }
  236. if (listitem == 16)
  237. {
  238. SpawnVehicleForPlayer(439, playerid);
  239. }
  240. if (listitem == 17)
  241. {
  242. SpawnVehicleForPlayer(549, playerid);
  243. }
  244. if (listitem == 18)
  245. {
  246. SpawnVehicleForPlayer(491, playerid);
  247. }
  248. }
  249. return 1;
  250. }
  251. DIALOG:3(playerid, response, listitem, inputtext[])
  252. {
  253. if (response)
  254. {
  255. if (listitem == 0)
  256. {
  257. SpawnVehicleForPlayer(445, playerid);
  258. }
  259. if (listitem == 1)
  260. {
  261. SpawnVehicleForPlayer(604, playerid);
  262. }
  263. if (listitem == 2)
  264. {
  265. SpawnVehicleForPlayer(507, playerid);
  266. }
  267. if (listitem == 3)
  268. {
  269. SpawnVehicleForPlayer(585, playerid);
  270. }
  271. if (listitem == 4)
  272. {
  273. SpawnVehicleForPlayer(466, playerid);
  274. }
  275. if (listitem == 5)
  276. {
  277. SpawnVehicleForPlayer(492, playerid);
  278. }
  279. if (listitem == 6)
  280. {
  281. SpawnVehicleForPlayer(546, playerid);
  282. }
  283. if (listitem == 7)
  284. {
  285. SpawnVehicleForPlayer(551, playerid);
  286. }
  287. if (listitem == 8)
  288. {
  289. SpawnVehicleForPlayer(516, playerid);
  290. }
  291. if (listitem == 9)
  292. {
  293. SpawnVehicleForPlayer(467, playerid);
  294. }
  295. if (listitem == 10)
  296. {
  297. SpawnVehicleForPlayer(426, playerid);
  298. }
  299. if (listitem == 11)
  300. {
  301. SpawnVehicleForPlayer(547, playerid);
  302. }
  303. if (listitem == 12)
  304. {
  305. SpawnVehicleForPlayer(405, playerid);
  306. }
  307. if (listitem == 13)
  308. {
  309. SpawnVehicleForPlayer(580, playerid);
  310. }
  311. if (listitem == 14)
  312. {
  313. SpawnVehicleForPlayer(409, playerid);
  314. }
  315. if (listitem == 15)
  316. {
  317. SpawnVehicleForPlayer(550, playerid);
  318. }
  319. if (listitem == 16)
  320. {
  321. SpawnVehicleForPlayer(566, playerid);
  322. }
  323. if (listitem == 17)
  324. {
  325. SpawnVehicleForPlayer(540, playerid);
  326. }
  327. if (listitem == 18)
  328. {
  329. SpawnVehicleForPlayer(421, playerid);
  330. }
  331. if (listitem == 19)
  332. {
  333. SpawnVehicleForPlayer(529, playerid);
  334. }
  335. }
  336. return 1;
  337. }
  338. DIALOG:4(playerid, response, listitem, inputtext[])
  339. {
  340. if (response)
  341. {
  342. if (listitem == 0)
  343. {
  344. SpawnVehicleForPlayer(581, playerid);
  345. }
  346. if (listitem == 1)
  347. {
  348. SpawnVehicleForPlayer(509, playerid);
  349. }
  350. if (listitem == 2)
  351. {
  352. SpawnVehicleForPlayer(481, playerid);
  353. }
  354. if (listitem == 3)
  355. {
  356. SpawnVehicleForPlayer(462, playerid);
  357. }
  358. if (listitem == 4)
  359. {
  360. SpawnVehicleForPlayer(521, playerid);
  361. }
  362. if (listitem == 5)
  363. {
  364. SpawnVehicleForPlayer(463, playerid);
  365. }
  366. if (listitem == 6)
  367. {
  368. SpawnVehicleForPlayer(510, playerid);
  369. }
  370. if (listitem == 7)
  371. {
  372. SpawnVehicleForPlayer(522, playerid);
  373. }
  374. if (listitem == 8)
  375. {
  376. SpawnVehicleForPlayer(461, playerid);
  377. }
  378. if (listitem == 9)
  379. {
  380. SpawnVehicleForPlayer(448, playerid);
  381. }
  382. if (listitem == 10)
  383. {
  384. SpawnVehicleForPlayer(468, playerid);
  385. }
  386. if (listitem == 11)
  387. {
  388. SpawnVehicleForPlayer(586, playerid);
  389. }
  390. }
  391. return 1;
  392. }
  393. DIALOG:5(playerid, response, listitem, inputtext[])
  394. {
  395. if (response)
  396. {
  397. if (listitem == 0)
  398. {
  399. SpawnVehicleForPlayer(592, playerid);
  400. }
  401. if (listitem == 1)
  402. {
  403. SpawnVehicleForPlayer(577, playerid);
  404. }
  405. if (listitem == 2)
  406. {
  407. SpawnVehicleForPlayer(511, playerid);
  408. }
  409. if (listitem == 3)
  410. {
  411. SpawnVehicleForPlayer(512, playerid);
  412. }
  413. if (listitem == 4)
  414. {
  415. SpawnVehicleForPlayer(593, playerid);
  416. }
  417. if (listitem == 5)
  418. {
  419. SpawnVehicleForPlayer(520, playerid);
  420. }
  421. if (listitem == 6)
  422. {
  423. SpawnVehicleForPlayer(553, playerid);
  424. }
  425. if (listitem == 7)
  426. {
  427. SpawnVehicleForPlayer(476, playerid);
  428. }
  429. if (listitem == 8)
  430. {
  431. SpawnVehicleForPlayer(519, playerid);
  432. }
  433. if (listitem == 9)
  434. {
  435. SpawnVehicleForPlayer(460, playerid);
  436. }
  437. if (listitem == 10)
  438. {
  439. SpawnVehicleForPlayer(513, playerid);
  440. }
  441. }
  442. return 1;
  443. }
  444. DIALOG:6(playerid, response, listitem, inputtext[])
  445. {
  446. if (response)
  447. {
  448. if (listitem == 0)
  449. {
  450. SpawnVehicleForPlayer(548, playerid);
  451. }
  452. if (listitem == 1)
  453. {
  454. SpawnVehicleForPlayer(425, playerid);
  455. }
  456. if (listitem == 2)
  457. {
  458. SpawnVehicleForPlayer(417, playerid);
  459. }
  460. if (listitem == 3)
  461. {
  462. SpawnVehicleForPlayer(487, playerid);
  463. }
  464. if (listitem == 4)
  465. {
  466. SpawnVehicleForPlayer(488, playerid);
  467. }
  468. if (listitem == 5)
  469. {
  470. SpawnVehicleForPlayer(497, playerid);
  471. }
  472. if (listitem == 6)
  473. {
  474. SpawnVehicleForPlayer(563, playerid);
  475. }
  476. if (listitem == 7)
  477. {
  478. SpawnVehicleForPlayer(447, playerid);
  479. }
  480. if (listitem == 8)
  481. {
  482. SpawnVehicleForPlayer(469, playerid);
  483. }
  484. }
  485. return 1;
  486. }
  487. DIALOG:7(playerid, response, listitem, inputtext[])
  488. {
  489. if (response)
  490. {
  491. if (listitem == 0)
  492. {
  493. SpawnVehicleForPlayer(472, playerid);
  494. }
  495. if (listitem == 1)
  496. {
  497. SpawnVehicleForPlayer(473, playerid);
  498. }
  499. if (listitem == 2)
  500. {
  501. SpawnVehicleForPlayer(493, playerid);
  502. }
  503. if (listitem == 3)
  504. {
  505. SpawnVehicleForPlayer(595, playerid);
  506. }
  507. if (listitem == 4)
  508. {
  509. SpawnVehicleForPlayer(484, playerid);
  510. }
  511. if (listitem == 5)
  512. {
  513. SpawnVehicleForPlayer(430, playerid);
  514. }
  515. if (listitem == 6)
  516. {
  517. SpawnVehicleForPlayer(453, playerid);
  518. }
  519. if (listitem == 7)
  520. {
  521. SpawnVehicleForPlayer(452, playerid);
  522. }
  523. if (listitem == 8)
  524. {
  525. SpawnVehicleForPlayer(446, playerid);
  526. }
  527. if (listitem == 9)
  528. {
  529. SpawnVehicleForPlayer(454, playerid);
  530. }
  531. }
  532. return 1;
  533. }
  534. DIALOG:8(playerid, response, listitem, inputtext[])
  535. {
  536. if (response)
  537. {
  538. if (listitem == 0)
  539. {
  540. SpawnVehicleForPlayer(485, playerid);
  541. }
  542. if (listitem == 1)
  543. {
  544. SpawnVehicleForPlayer(431, playerid);
  545. }
  546. if (listitem == 2)
  547. {
  548. SpawnVehicleForPlayer(438, playerid);
  549. }
  550. if (listitem == 3)
  551. {
  552. SpawnVehicleForPlayer(437, playerid);
  553. }
  554. if (listitem == 4)
  555. {
  556. SpawnVehicleForPlayer(574, playerid);
  557. }
  558. if (listitem == 5)
  559. {
  560. SpawnVehicleForPlayer(420, playerid);
  561. }
  562. if (listitem == 6)
  563. {
  564. SpawnVehicleForPlayer(525, playerid);
  565. }
  566. if (listitem == 7)
  567. {
  568. SpawnVehicleForPlayer(408, playerid);
  569. }
  570. if (listitem == 8)
  571. {
  572. SpawnVehicleForPlayer(552, playerid);
  573. }
  574. }
  575. return 1;
  576. }
  577. DIALOG:9(playerid, response, listitem, inputtext[])
  578. {
  579. if (response)
  580. {
  581. if (listitem == 0)
  582. {
  583. SpawnVehicleForPlayer(416, playerid);
  584. }
  585. if (listitem == 1)
  586. {
  587. SpawnVehicleForPlayer(433, playerid);
  588. }
  589. if (listitem == 2)
  590. {
  591. SpawnVehicleForPlayer(427, playerid);
  592. }
  593. if (listitem == 3)
  594. {
  595. SpawnVehicleForPlayer(490, playerid);
  596. }
  597. if (listitem == 4)
  598. {
  599. SpawnVehicleForPlayer(528, playerid);
  600. }
  601. if (listitem == 5)
  602. {
  603. SpawnVehicleForPlayer(407, playerid);
  604. }
  605. if (listitem == 6)
  606. {
  607. SpawnVehicleForPlayer(544, playerid);
  608. }
  609. if (listitem == 7)
  610. {
  611. SpawnVehicleForPlayer(523, playerid);
  612. }
  613. if (listitem == 8)
  614. {
  615. SpawnVehicleForPlayer(470, playerid);
  616. }
  617. if (listitem == 9)
  618. {
  619. SpawnVehicleForPlayer(596, playerid);
  620. }
  621. if (listitem == 10)
  622. {
  623. SpawnVehicleForPlayer(598, playerid);
  624. }
  625. if (listitem == 11)
  626. {
  627. SpawnVehicleForPlayer(599, playerid);
  628. }
  629. if (listitem == 12)
  630. {
  631. SpawnVehicleForPlayer(597, playerid);
  632. }
  633. if (listitem == 13)
  634. {
  635. SpawnVehicleForPlayer(432, playerid);
  636. }
  637. if (listitem == 14)
  638. {
  639. SpawnVehicleForPlayer(601, playerid);
  640. }
  641. if (listitem == 15)
  642. {
  643. SpawnVehicleForPlayer(428, playerid);
  644. }
  645. }
  646. return 1;
  647. }
  648. DIALOG:10(playerid, response, listitem, inputtext[])
  649. {
  650. if (response)
  651. {
  652. if (listitem == 0)
  653. {
  654. SpawnVehicleForPlayer(499, playerid);
  655. }
  656. if (listitem == 1)
  657. {
  658. SpawnVehicleForPlayer(609, playerid);
  659. }
  660. if (listitem == 2)
  661. {
  662. SpawnVehicleForPlayer(498, playerid);
  663. }
  664. if (listitem == 3)
  665. {
  666. SpawnVehicleForPlayer(524, playerid);
  667. }
  668. if (listitem == 4)
  669. {
  670. SpawnVehicleForPlayer(532, playerid);
  671. }
  672. if (listitem == 5)
  673. {
  674. SpawnVehicleForPlayer(578, playerid);
  675. }
  676. if (listitem == 6)
  677. {
  678. SpawnVehicleForPlayer(486, playerid);
  679. }
  680. if (listitem == 7)
  681. {
  682. SpawnVehicleForPlayer(578, playerid);
  683. }
  684. if (listitem == 8)
  685. {
  686. SpawnVehicleForPlayer(486, playerid);
  687. }
  688. if (listitem == 9)
  689. {
  690. SpawnVehicleForPlayer(406, playerid);
  691. }
  692. if (listitem == 10)
  693. {
  694. SpawnVehicleForPlayer(573, playerid);
  695. }
  696. if (listitem == 11)
  697. {
  698. SpawnVehicleForPlayer(588, playerid);
  699. }
  700. if (listitem == 12)
  701. {
  702. SpawnVehicleForPlayer(403, playerid);
  703. }
  704. if (listitem == 13)
  705. {
  706. SpawnVehicleForPlayer(423, playerid);
  707. }
  708. if (listitem == 14)
  709. {
  710. SpawnVehicleForPlayer(414, playerid);
  711. }
  712. if (listitem == 15)
  713. {
  714. SpawnVehicleForPlayer(515, playerid);
  715. }
  716. if (listitem == 16)
  717. {
  718. SpawnVehicleForPlayer(514, playerid);
  719. }
  720. if (listitem == 17)
  721. {
  722. SpawnVehicleForPlayer(531, playerid);
  723. }
  724. if (listitem == 18)
  725. {
  726. SpawnVehicleForPlayer(456, playerid);
  727. }
  728. }
  729. return 1;
  730. }
  731. DIALOG:11(playerid, response, listitem, inputtext[])
  732. {
  733. if (response)
  734. {
  735. if (listitem == 0)
  736. {
  737. SpawnVehicleForPlayer(536, playerid);
  738. }
  739. if (listitem == 1)
  740. {
  741. SpawnVehicleForPlayer(575, playerid);
  742. }
  743. if (listitem == 2)
  744. {
  745. SpawnVehicleForPlayer(534, playerid);
  746. }
  747. if (listitem == 3)
  748. {
  749. SpawnVehicleForPlayer(567, playerid);
  750. }
  751. if (listitem == 4)
  752. {
  753. SpawnVehicleForPlayer(535, playerid);
  754. }
  755. if (listitem == 5)
  756. {
  757. SpawnVehicleForPlayer(576, playerid);
  758. }
  759. if (listitem == 6)
  760. {
  761. SpawnVehicleForPlayer(412, playerid);
  762. }
  763. }
  764. return 1;
  765. }
  766. DIALOG:12(playerid, response, listitem, inputtext[])
  767. {
  768. if (response)
  769. {
  770. if (listitem == 0)
  771. {
  772. SpawnVehicleForPlayer(402, playerid);
  773. }
  774. if (listitem == 1)
  775. {
  776. SpawnVehicleForPlayer(542, playerid);
  777. }
  778. if (listitem == 2)
  779. {
  780. SpawnVehicleForPlayer(603, playerid);
  781. }
  782. if (listitem == 3)
  783. {
  784. SpawnVehicleForPlayer(475, playerid);
  785. }
  786. }
  787. return 1;
  788. }
  789. DIALOG:13(playerid, response, listitem, inputtext[])
  790. {
  791. if (response)
  792. {
  793. if (listitem == 0)
  794. {
  795. SpawnVehicleForPlayer(429, playerid);
  796. }
  797. if (listitem == 1)
  798. {
  799. SpawnVehicleForPlayer(541, playerid);
  800. }
  801. if (listitem == 2)
  802. {
  803. SpawnVehicleForPlayer(480, playerid);
  804. }
  805. if (listitem == 3)
  806. {
  807. SpawnVehicleForPlayer(562, playerid);
  808. }
  809. if (listitem == 4)
  810. {
  811. SpawnVehicleForPlayer(565, playerid);
  812. }
  813. if (listitem == 5)
  814. {
  815. SpawnVehicleForPlayer(434, playerid);
  816. }
  817. if (listitem == 6)
  818. {
  819. SpawnVehicleForPlayer(494, playerid);
  820. }
  821. if (listitem == 7)
  822. {
  823. SpawnVehicleForPlayer(502, playerid);
  824. }
  825. if (listitem == 8)
  826. {
  827. SpawnVehicleForPlayer(503, playerid);
  828. }
  829. if (listitem == 9)
  830. {
  831. SpawnVehicleForPlayer(411, playerid);
  832. }
  833. if (listitem == 10)
  834. {
  835. SpawnVehicleForPlayer(403, playerid);
  836. }
  837. if (listitem == 11)
  838. {
  839. SpawnVehicleForPlayer(559, playerid);
  840. }
  841. if (listitem == 12)
  842. {
  843. SpawnVehicleForPlayer(561, playerid);
  844. }
  845. if (listitem == 13)
  846. {
  847. SpawnVehicleForPlayer(560, playerid);
  848. }
  849. if (listitem == 14)
  850. {
  851. SpawnVehicleForPlayer(506, playerid);
  852. }
  853. if (listitem == 15)
  854. {
  855. SpawnVehicleForPlayer(451, playerid);
  856. }
  857. if (listitem == 16)
  858. {
  859. SpawnVehicleForPlayer(558, playerid);
  860. }
  861. if (listitem == 17)
  862. {
  863. SpawnVehicleForPlayer(555, playerid);
  864. }
  865. if (listitem == 18)
  866. {
  867. SpawnVehicleForPlayer(477, playerid);
  868. }
  869. }
  870. return 1;
  871. }
  872. DIALOG:14(playerid, response, listitem, inputtext[])
  873. {
  874. if (response)
  875. {
  876. if (listitem == 0)
  877. {
  878. SpawnVehicleForPlayer(441, playerid);
  879. }
  880. if (listitem == 1)
  881. {
  882. SpawnVehicleForPlayer(464, playerid);
  883. }
  884. if (listitem == 2)
  885. {
  886. SpawnVehicleForPlayer(594, playerid);
  887. }
  888. if (listitem == 3)
  889. {
  890. SpawnVehicleForPlayer(501, playerid);
  891. }
  892. if (listitem == 4)
  893. {
  894. SpawnVehicleForPlayer(465, playerid);
  895. }
  896. if (listitem == 5)
  897. {
  898. SpawnVehicleForPlayer(564, playerid);
  899. }
  900. }
  901. return 1;
  902. }
  903. DIALOG:15(playerid, response, listitem, inputtext[])
  904. {
  905. if (response)
  906. {
  907. if (listitem == 0)
  908. {
  909. SpawnVehicleForPlayer(606, playerid);
  910. }
  911. if (listitem == 1)
  912. {
  913. SpawnVehicleForPlayer(607, playerid);
  914. }
  915. if (listitem == 2)
  916. {
  917. SpawnVehicleForPlayer(610, playerid);
  918. }
  919. if (listitem == 3)
  920. {
  921. SpawnVehicleForPlayer(584, playerid);
  922. }
  923. if (listitem == 4)
  924. {
  925. SpawnVehicleForPlayer(611, playerid);
  926. }
  927. if (listitem == 5)
  928. {
  929. SpawnVehicleForPlayer(608, playerid);
  930. }
  931. if (listitem == 6)
  932. {
  933. SpawnVehicleForPlayer(435, playerid);
  934. }
  935. if (listitem == 7)
  936. {
  937. SpawnVehicleForPlayer(450, playerid);
  938. }
  939. if (listitem == 8)
  940. {
  941. SpawnVehicleForPlayer(591, playerid);
  942. }
  943. }
  944. return 1;
  945. }
  946. DIALOG:16(playerid, response, listitem, inputtext[])
  947. {
  948. if (response)
  949. {
  950. if (listitem == 0)
  951. {
  952. SpawnVehicleForPlayer(590, playerid);
  953. }
  954. if (listitem == 1)
  955. {
  956. SpawnVehicleForPlayer(538, playerid);
  957. }
  958. if (listitem == 2)
  959. {
  960. SpawnVehicleForPlayer(570, playerid);
  961. }
  962. if (listitem == 3)
  963. {
  964. SpawnVehicleForPlayer(569, playerid);
  965. }
  966. if (listitem == 4)
  967. {
  968. SpawnVehicleForPlayer(537, playerid);
  969. }
  970. if (listitem == 5)
  971. {
  972. SpawnVehicleForPlayer(449, playerid);
  973. }
  974. }
  975. return 1;
  976. }
  977. DIALOG:17(playerid, response, listitem, inputtext[])
  978. {
  979. if (response)
  980. {
  981. if (listitem == 0)
  982. {
  983. SpawnVehicleForPlayer(568, playerid);
  984. }
  985. if (listitem == 1)
  986. {
  987. SpawnVehicleForPlayer(424, playerid);
  988. }
  989. if (listitem == 2)
  990. {
  991. SpawnVehicleForPlayer(504, playerid);
  992. }
  993. if (listitem == 3)
  994. {
  995. SpawnVehicleForPlayer(457, playerid);
  996. }
  997. if (listitem == 4)
  998. {
  999. SpawnVehicleForPlayer(483, playerid);
  1000. }
  1001. if (listitem == 5)
  1002. {
  1003. SpawnVehicleForPlayer(508, playerid);
  1004. }
  1005. if (listitem == 6)
  1006. {
  1007. SpawnVehicleForPlayer(571, playerid);
  1008. }
  1009. if (listitem == 7)
  1010. {
  1011. SpawnVehicleForPlayer(500, playerid);
  1012. }
  1013. if (listitem == 8)
  1014. {
  1015. SpawnVehicleForPlayer(444, playerid);
  1016. }
  1017. if (listitem == 9)
  1018. {
  1019. SpawnVehicleForPlayer(556, playerid);
  1020. }
  1021. if (listitem == 10)
  1022. {
  1023. SpawnVehicleForPlayer(557, playerid);
  1024. }
  1025. if (listitem == 11)
  1026. {
  1027. SpawnVehicleForPlayer(471, playerid);
  1028. }
  1029. if (listitem == 12)
  1030. {
  1031. SpawnVehicleForPlayer(495, playerid);
  1032. }
  1033. if (listitem == 13)
  1034. {
  1035. SpawnVehicleForPlayer(539, playerid);
  1036. }
  1037. }
  1038. return 1;
  1039. }
  1040. DIALOG:18(playerid, response, listitem, inputtext[])
  1041. {
  1042. if (response)
  1043. {
  1044. if (listitem == 0)
  1045. {
  1046. ShowPlayerDialog(playerid, 19);
  1047. }
  1048. if (listitem == 1)
  1049. {
  1050. ShowPlayerDialog(playerid, 20);
  1051. }
  1052. if (listitem == 2)
  1053. {
  1054. ShowPlayerDialog(playerid, 21);
  1055. }
  1056. if (listitem == 3)
  1057. {
  1058. ShowPlayerDialog(playerid, 22);
  1059. }
  1060. if (listitem == 4)
  1061. {
  1062. ShowPlayerDialog(playerid, 23);
  1063. }
  1064. if (listitem == 5)
  1065. {
  1066. ShowPlayerDialog(playerid, 24);
  1067. }
  1068. if (listitem == 6)
  1069. {
  1070. ShowPlayerDialog(playerid, 25);
  1071. }
  1072. if (listitem == 7)
  1073. {
  1074. ShowPlayerDialog(playerid, 26);
  1075. }
  1076. if (listitem == 8)
  1077. {
  1078. ShowPlayerDialog(playerid, 27);
  1079. }
  1080. if (listitem == 9)
  1081. {
  1082. ShowPlayerDialog(playerid, 28);
  1083. }
  1084. if (listitem == 10)
  1085. {
  1086. ShowPlayerDialog(playerid, 29);
  1087. }
  1088. if (listitem == 11)
  1089. {
  1090. ShowPlayerDialog(playerid, 30);
  1091. }
  1092. if (listitem == 12)
  1093. {
  1094. ShowPlayerDialog(playerid, 31);
  1095. }
  1096. }
  1097. return 1;
  1098. }
  1099. DIALOG:19(playerid, response, listitem, inputtext[])
  1100. {
  1101. if (response)
  1102. {
  1103. if (listitem == 1)
  1104. {
  1105. GivePlayerWeapon(playerid, 0, 9999);
  1106. }
  1107. if (listitem == 1)
  1108. {
  1109. GivePlayerWeapon(playerid, 1, 9999);
  1110. }
  1111. }
  1112. return 1;
  1113. }
  1114. DIALOG:20(playerid, response, listitem, inputtext[])
  1115. {
  1116. if (response)
  1117. {
  1118. if (listitem == 0)
  1119. {
  1120. GivePlayerWeapon(playerid, 2, 9999);
  1121. }
  1122. if (listitem == 1)
  1123. {
  1124. GivePlayerWeapon(playerid, 3, 9999);
  1125. }
  1126. if (listitem == 2)
  1127. {
  1128. GivePlayerWeapon(playerid, 4, 9999);
  1129. }
  1130. if (listitem == 3)
  1131. {
  1132. GivePlayerWeapon(playerid, 5, 9999);
  1133. }
  1134. if (listitem == 4)
  1135. {
  1136. GivePlayerWeapon(playerid, 6, 9999);
  1137. }
  1138. if (listitem == 5)
  1139. {
  1140. GivePlayerWeapon(playerid, 7, 9999);
  1141. }
  1142. if (listitem == 6)
  1143. {
  1144. GivePlayerWeapon(playerid, 8, 9999);
  1145. }
  1146. if (listitem == 7)
  1147. {
  1148. GivePlayerWeapon(playerid, 9, 9999);
  1149. }
  1150. }
  1151. return 1;
  1152. }
  1153. DIALOG:21(playerid, response, listitem, inputtext[])
  1154. {
  1155. if (response)
  1156. {
  1157. if (listitem == 0)
  1158. {
  1159. GivePlayerWeapon(playerid, 22, 9999);
  1160. }
  1161. if (listitem == 1)
  1162. {
  1163. GivePlayerWeapon(playerid, 23, 9999);
  1164. }
  1165. if (listitem == 2)
  1166. {
  1167. GivePlayerWeapon(playerid, 24, 9999);
  1168. }
  1169. }
  1170. return 1;
  1171. }
  1172. DIALOG:22(playerid, response, listitem, inputtext[])
  1173. {
  1174. if (response)
  1175. {
  1176. if (listitem == 0)
  1177. {
  1178. GivePlayerWeapon(playerid, 25, 9999);
  1179. }
  1180. if (listitem == 1)
  1181. {
  1182. GivePlayerWeapon(playerid, 26, 9999);
  1183. }
  1184. if (listitem == 2)
  1185. {
  1186. GivePlayerWeapon(playerid, 27, 9999);
  1187. }
  1188. }
  1189. return 1;
  1190. }
  1191. DIALOG:23(playerid, response, listitem, inputtext[])
  1192. {
  1193. if (response)
  1194. {
  1195. if (listitem == 0)
  1196. {
  1197. GivePlayerWeapon(playerid, 28, 9999);
  1198. }
  1199. if (listitem == 1)
  1200. {
  1201. GivePlayerWeapon(playerid, 29, 9999);
  1202. }
  1203. if (listitem == 2)
  1204. {
  1205. GivePlayerWeapon(playerid, 32, 9999);
  1206. }
  1207. }
  1208. return 1;
  1209. }
  1210. DIALOG:24(playerid, response, listitem, inputtext[])
  1211. {
  1212. if (response)
  1213. {
  1214. if (listitem == 0)
  1215. {
  1216. GivePlayerWeapon(playerid, 30, 9999);
  1217. }
  1218. if (listitem == 1)
  1219. {
  1220. GivePlayerWeapon(playerid, 31, 9999);
  1221. }
  1222. }
  1223. return 1;
  1224. }
  1225. DIALOG:25(playerid, response, listitem, inputtext[])
  1226. {
  1227. if (response)
  1228. {
  1229. if (listitem == 0)
  1230. {
  1231. GivePlayerWeapon(playerid, 33, 9999);
  1232. }
  1233. if (listitem == 1)
  1234. {
  1235. GivePlayerWeapon(playerid, 34, 9999);
  1236. }
  1237. }
  1238. return 1;
  1239. }
  1240. DIALOG:26(playerid, response, listitem, inputtext[])
  1241. {
  1242. if (response)
  1243. {
  1244. if (listitem == 0)
  1245. {
  1246. GivePlayerWeapon(playerid, 35, 9999);
  1247. }
  1248. if (listitem == 1)
  1249. {
  1250. GivePlayerWeapon(playerid, 36, 9999);
  1251. }
  1252. if (listitem == 2)
  1253. {
  1254. GivePlayerWeapon(playerid, 37, 9999);
  1255. }
  1256. if (listitem == 3)
  1257. {
  1258. GivePlayerWeapon(playerid, 38, 9999);
  1259. }
  1260. }
  1261. return 1;
  1262. }
  1263. DIALOG:27(playerid, response, listitem, inputtext[])
  1264. {
  1265. if (response)
  1266. {
  1267. if (listitem == 0)
  1268. {
  1269. GivePlayerWeapon(playerid, 16, 9999);
  1270. }
  1271. if (listitem == 1)
  1272. {
  1273. GivePlayerWeapon(playerid, 17, 9999);
  1274. }
  1275. if (listitem == 2)
  1276. {
  1277. GivePlayerWeapon(playerid, 18, 9999);
  1278. }
  1279. if (listitem == 3)
  1280. {
  1281. GivePlayerWeapon(playerid, 39, 9999);
  1282. }
  1283. }
  1284. return 1;
  1285. }
  1286.  
  1287. DIALOG:28(playerid, response, listitem, inputtext[])
  1288. {
  1289. if (response)
  1290. {
  1291. if (listitem == 0)
  1292. {
  1293. GivePlayerWeapon(playerid, 41, 9999);
  1294. }
  1295. if (listitem == 1)
  1296. {
  1297. GivePlayerWeapon(playerid, 42, 9999);
  1298. }
  1299. if (listitem == 2)
  1300. {
  1301. GivePlayerWeapon(playerid, 43, 9999);
  1302. }
  1303. }
  1304. return 1;
  1305. }
  1306. DIALOG:29(playerid, response, listitem, inputtext[])
  1307. {
  1308. if (response)
  1309. {
  1310. if (listitem == 0)
  1311. {
  1312. GivePlayerWeapon(playerid, 10, 9999);
  1313. }
  1314. if (listitem == 1)
  1315. {
  1316. GivePlayerWeapon(playerid, 11, 9999);
  1317. }
  1318. if (listitem == 2)
  1319. {
  1320. GivePlayerWeapon(playerid, 12, 9999);
  1321. }
  1322. if (listitem == 3)
  1323. {
  1324. GivePlayerWeapon(playerid, 14, 9999);
  1325. }
  1326. if (listitem == 4)
  1327. {
  1328. GivePlayerWeapon(playerid, 15, 9999);
  1329. }
  1330. }
  1331. return 1;
  1332. }
  1333. DIALOG:30(playerid, response, listitem, inputtext[])
  1334. {
  1335. if (response)
  1336. {
  1337. if (listitem == 0)
  1338. {
  1339. GivePlayerWeapon(playerid, 44, 9999);
  1340. }
  1341. if (listitem == 1)
  1342. {
  1343. GivePlayerWeapon(playerid, 45, 9999);
  1344. }
  1345. if (listitem == 2)
  1346. {
  1347. GivePlayerWeapon(playerid, 46, 9999);
  1348. }
  1349. }
  1350. return 1;
  1351. }
  1352.  
  1353. DIALOG:31(playerid, response, listitem, inputtext[])
  1354. {
  1355. if (response)
  1356. {
  1357. if (listitem == 0)
  1358. {
  1359. GivePlayerWeapon(playerid, 40, 9999);
  1360. }
  1361. }
  1362. return 1;
  1363. }
  1364.  
Add Comment
Please, Sign In to add comment