Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define FILTERSCRIPT
- #include <a_samp>
- #include <zcmd>
- #include <gDialog>
- #if defined FILTERSCRIPT
- new SpawnedVehicle[MAX_PLAYERS];
- stock SpawnVehicleForPlayer(vehicleid, playerid)
- {
- if (SpawnedVehicle[playerid] != 0)
- {
- DestroyVehicle(SpawnedVehicle[playerid]);
- }
- new Float: X, Float: Y, Float: Z, Float: Angle;
- GetPlayerPos(playerid, Float: X, Float: Y, Float: Z);
- GetPlayerFacingAngle(playerid, Float: Angle);
- SpawnedVehicle[playerid] = CreateVehicle(vehicleid, X, Y, Z + 2.0, Angle + 90.0, -1, -1, 600);
- SetVehicleVirtualWorld(SpawnedVehicle[playerid], GetPlayerVirtualWorld(playerid));
- LinkVehicleToInterior(SpawnedVehicle[playerid], GetPlayerInterior(playerid));
- PutPlayerInVehicle(playerid, SpawnedVehicle[playerid], 0);
- }
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" Cars and Weapons Spawner System Loaded");
- print("--------------------------------------\n");
- //========================Dialogs=======================
- CreateDialog(0, DIALOG_STYLE_LIST, "menu", "Vehicles\nWeapons", "Select", "Close");
- /* Vehicles */
- 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");
- 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");
- 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");
- 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");
- CreateDialog(5, DIALOG_STYLE_LIST, "Airplanes", "Andromada\nAT-400\nBeagle\nCropduster\nDodo\nHydra\nNevada\nRustler\nShamal\nSkimmer\nStuntplane", "Select", "Close");
- CreateDialog(6, DIALOG_STYLE_LIST, "Helicopters", "Cargobob\nHunter\nLeviathan\nMaverick\nNews Chopper\nPolice Maverick\nRaindance\nSeasparrow\nSparrow", "Select", "Close");
- CreateDialog(7, DIALOG_STYLE_LIST, "Boats", "Coastguard\nDinghy\nJetmax\nLaunch\nMarquis\nPredator\nReefer\nSpeeder\nSqualo\nTropic", "Select", "Close");
- CreateDialog(8, DIALOG_STYLE_LIST, "Civil service", "Baggage\nBus\nCabbie\nCoach\nSweeper\nTaxi\nTowtruck\nTrashmaster\nUtility Van", "Select", "Close");
- 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");
- 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");
- CreateDialog(11, DIALOG_STYLE_LIST, "Lowriders", "Blade\nBroadway\nRemington\nSavanna\nSlamvan\nTornado\nVoodoo", "Select", "Close");
- CreateDialog(12, DIALOG_STYLE_LIST, "Muscle cars", "Buffalo\nClover\nPhoenix\nSabre", "Select", "Close");
- 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");
- CreateDialog(14, DIALOG_STYLE_LIST, "RC Vehicles", "RC Bandit\nRC Baron\nRC Cam\nRC Goblin\nRC Raider\nRC Tiger", "Select", "Close");
- 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");
- CreateDialog(16, DIALOG_STYLE_LIST, "Trains & Railroad cars", "Box Freight\nBrown Streak\nBrown Streak Carriage\nFlat Freight\nFreight\nTram", "Select", "Close");
- 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");
- /* Weapons */
- 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");
- CreateDialog(19, DIALOG_STYLE_LIST, "Hand", "Fist\nBrassknuckle", "Select", "Close");
- CreateDialog(20, DIALOG_STYLE_LIST, "Melee", "Golfclub\nNightstick\nKnife\nBat\nShovel\nPoolstick\nKatana\nChainsaw", "Select", "Close");
- CreateDialog(21, DIALOG_STYLE_LIST, "handguns", "Colt 45\nColt 45 [Silenced]\nDeagle", "Select", "Close");
- CreateDialog(22, DIALOG_STYLE_LIST, "Shotguns", "Shotgun\nSawed-off\nCombat Shotgun", "Select", "Close");
- CreateDialog(23, DIALOG_STYLE_LIST, "Sub-Machine Guns", "Uzi\nMP5\nTec-9", "Select", "Close");
- CreateDialog(24, DIALOG_STYLE_LIST, "Assault Rifles", "AK-47\nM4", "Select", "Close");
- CreateDialog(25, DIALOG_STYLE_LIST, "Rifles", "Rifle\nSniper", "Select", "Close");
- CreateDialog(26, DIALOG_STYLE_LIST, "Heavy Weapons", "Rocket Launcher\nRocket Launcher HS\nFlamethrower\nMinigun", "Select", "Close");
- CreateDialog(27, DIALOG_STYLE_LIST, "Projectiles", "Grenade\nTeargas\nMolotov\nSatchel", "Select", "Close");
- CreateDialog(28, DIALOG_STYLE_LIST, "Special 1", "Spraycan\nFire Extinguisher\nCamera", "Select", "Close");
- CreateDialog(29, DIALOG_STYLE_LIST, "Gifts", "Dildo 1\nDildo 2\nVibrator\nFlower\nCane", "Select", "Close");
- CreateDialog(30, DIALOG_STYLE_LIST, "Special 2", "Nightvision\nInfrared\nParachute", "Select", "Close");
- CreateDialog(31, DIALOG_STYLE_LIST, "Satchel Detonator", "Bomb", "Select", "Close");
- return 1;
- }
- #endif
- //========================Commands========================
- CMD:menu(playerid, params[])
- {
- ShowPlayerDialog(playerid, 0);
- return 1;
- }
- //========================DialogResponse========================
- DIALOG:0(playerid, response, listitem, inputtext[])
- {
- if(response)
- {
- if(listitem == 0)
- {
- ShowPlayerDialog(playerid, 1);
- }
- if(listitem == 1)
- {
- ShowPlayerDialog(playerid, 18);
- }
- }
- return 1;
- }
- DIALOG:1(playerid, response, listitem, inputtext[])
- {
- if(response)
- {
- if(listitem == 0)
- {
- ShowPlayerDialog(playerid, 2);
- }
- if(listitem == 1)
- {
- ShowPlayerDialog(playerid, 3);
- }
- if(listitem == 2)
- {
- ShowPlayerDialog(playerid, 4);
- }
- if(listitem == 3)
- {
- ShowPlayerDialog(playerid, 5);
- }
- if(listitem == 4)
- {
- ShowPlayerDialog(playerid, 6);
- }
- if(listitem == 5)
- {
- ShowPlayerDialog(playerid, 7);
- }
- if(listitem == 6)
- {
- ShowPlayerDialog(playerid, 8);
- }
- if(listitem == 7)
- {
- ShowPlayerDialog(playerid, 9);
- }
- if(listitem == 8)
- {
- ShowPlayerDialog(playerid, 10);
- }
- if(listitem == 9)
- {
- ShowPlayerDialog(playerid, 11);
- }
- if(listitem == 10)
- {
- ShowPlayerDialog(playerid, 12);
- }
- if(listitem == 11)
- {
- ShowPlayerDialog(playerid, 13);
- }
- if(listitem == 12)
- {
- ShowPlayerDialog(playerid, 14);
- }
- if(listitem == 13)
- {
- ShowPlayerDialog(playerid, 15);
- }
- if(listitem == 14)
- {
- ShowPlayerDialog(playerid, 16);
- }
- if(listitem == 15)
- {
- ShowPlayerDialog(playerid, 17);
- }
- }
- return 1;
- }
- DIALOG:2(playerid, response, listitem, inputtext[])
- {
- if (response)
- {
- if (listitem == 0)
- {
- SpawnVehicleForPlayer(602, playerid);
- }
- if (listitem == 1)
- {
- SpawnVehicleForPlayer(496, playerid);
- }
- if (listitem == 2)
- {
- SpawnVehicleForPlayer(401, playerid);
- }
- if (listitem == 3)
- {
- SpawnVehicleForPlayer(518, playerid);
- }
- if (listitem == 4)
- {
- SpawnVehicleForPlayer(527, playerid);
- }
- if (listitem == 5)
- {
- SpawnVehicleForPlayer(589, playerid);
- }
- if (listitem == 6)
- {
- SpawnVehicleForPlayer(419, playerid);
- }
- if (listitem == 7)
- {
- SpawnVehicleForPlayer(587, playerid);
- }
- if (listitem == 8)
- {
- SpawnVehicleForPlayer(533, playerid);
- }
- if (listitem == 9)
- {
- SpawnVehicleForPlayer(526, playerid);
- }
- if (listitem == 10)
- {
- SpawnVehicleForPlayer(523, playerid);
- }
- if (listitem == 11)
- {
- SpawnVehicleForPlayer(474, playerid);
- }
- if (listitem == 12)
- {
- SpawnVehicleForPlayer(545, playerid);
- }
- if (listitem == 13)
- {
- SpawnVehicleForPlayer(517, playerid);
- }
- if (listitem == 14)
- {
- SpawnVehicleForPlayer(410, playerid);
- }
- if (listitem == 15)
- {
- SpawnVehicleForPlayer(600, playerid);
- }
- if (listitem == 15)
- {
- SpawnVehicleForPlayer(436, playerid);
- }
- if (listitem == 16)
- {
- SpawnVehicleForPlayer(439, playerid);
- }
- if (listitem == 17)
- {
- SpawnVehicleForPlayer(549, playerid);
- }
- if (listitem == 18)
- {
- SpawnVehicleForPlayer(491, playerid);
- }
- }
- return 1;
- }
- DIALOG:3(playerid, response, listitem, inputtext[])
- {
- if (response)
- {
- if (listitem == 0)
- {
- SpawnVehicleForPlayer(445, playerid);
- }
- if (listitem == 1)
- {
- SpawnVehicleForPlayer(604, playerid);
- }
- if (listitem == 2)
- {
- SpawnVehicleForPlayer(507, playerid);
- }
- if (listitem == 3)
- {
- SpawnVehicleForPlayer(585, playerid);
- }
- if (listitem == 4)
- {
- SpawnVehicleForPlayer(466, playerid);
- }
- if (listitem == 5)
- {
- SpawnVehicleForPlayer(492, playerid);
- }
- if (listitem == 6)
- {
- SpawnVehicleForPlayer(546, playerid);
- }
- if (listitem == 7)
- {
- SpawnVehicleForPlayer(551, playerid);
- }
- if (listitem == 8)
- {
- SpawnVehicleForPlayer(516, playerid);
- }
- if (listitem == 9)
- {
- SpawnVehicleForPlayer(467, playerid);
- }
- if (listitem == 10)
- {
- SpawnVehicleForPlayer(426, playerid);
- }
- if (listitem == 11)
- {
- SpawnVehicleForPlayer(547, playerid);
- }
- if (listitem == 12)
- {
- SpawnVehicleForPlayer(405, playerid);
- }
- if (listitem == 13)
- {
- SpawnVehicleForPlayer(580, playerid);
- }
- if (listitem == 14)
- {
- SpawnVehicleForPlayer(409, playerid);
- }
- if (listitem == 15)
- {
- SpawnVehicleForPlayer(550, playerid);
- }
- if (listitem == 16)
- {
- SpawnVehicleForPlayer(566, playerid);
- }
- if (listitem == 17)
- {
- SpawnVehicleForPlayer(540, playerid);
- }
- if (listitem == 18)
- {
- SpawnVehicleForPlayer(421, playerid);
- }
- if (listitem == 19)
- {
- SpawnVehicleForPlayer(529, playerid);
- }
- }
- return 1;
- }
- DIALOG:4(playerid, response, listitem, inputtext[])
- {
- if (response)
- {
- if (listitem == 0)
- {
- SpawnVehicleForPlayer(581, playerid);
- }
- if (listitem == 1)
- {
- SpawnVehicleForPlayer(509, playerid);
- }
- if (listitem == 2)
- {
- SpawnVehicleForPlayer(481, playerid);
- }
- if (listitem == 3)
- {
- SpawnVehicleForPlayer(462, playerid);
- }
- if (listitem == 4)
- {
- SpawnVehicleForPlayer(521, playerid);
- }
- if (listitem == 5)
- {
- SpawnVehicleForPlayer(463, playerid);
- }
- if (listitem == 6)
- {
- SpawnVehicleForPlayer(510, playerid);
- }
- if (listitem == 7)
- {
- SpawnVehicleForPlayer(522, playerid);
- }
- if (listitem == 8)
- {
- SpawnVehicleForPlayer(461, playerid);
- }
- if (listitem == 9)
- {
- SpawnVehicleForPlayer(448, playerid);
- }
- if (listitem == 10)
- {
- SpawnVehicleForPlayer(468, playerid);
- }
- if (listitem == 11)
- {
- SpawnVehicleForPlayer(586, playerid);
- }
- }
- return 1;
- }
- DIALOG:5(playerid, response, listitem, inputtext[])
- {
- if (response)
- {
- if (listitem == 0)
- {
- SpawnVehicleForPlayer(592, playerid);
- }
- if (listitem == 1)
- {
- SpawnVehicleForPlayer(577, playerid);
- }
- if (listitem == 2)
- {
- SpawnVehicleForPlayer(511, playerid);
- }
- if (listitem == 3)
- {
- SpawnVehicleForPlayer(512, playerid);
- }
- if (listitem == 4)
- {
- SpawnVehicleForPlayer(593, playerid);
- }
- if (listitem == 5)
- {
- SpawnVehicleForPlayer(520, playerid);
- }
- if (listitem == 6)
- {
- SpawnVehicleForPlayer(553, playerid);
- }
- if (listitem == 7)
- {
- SpawnVehicleForPlayer(476, playerid);
- }
- if (listitem == 8)
- {
- SpawnVehicleForPlayer(519, playerid);
- }
- if (listitem == 9)
- {
- SpawnVehicleForPlayer(460, playerid);
- }
- if (listitem == 10)
- {
- SpawnVehicleForPlayer(513, playerid);
- }
- }
- return 1;
- }
- DIALOG:6(playerid, response, listitem, inputtext[])
- {
- if (response)
- {
- if (listitem == 0)
- {
- SpawnVehicleForPlayer(548, playerid);
- }
- if (listitem == 1)
- {
- SpawnVehicleForPlayer(425, playerid);
- }
- if (listitem == 2)
- {
- SpawnVehicleForPlayer(417, playerid);
- }
- if (listitem == 3)
- {
- SpawnVehicleForPlayer(487, playerid);
- }
- if (listitem == 4)
- {
- SpawnVehicleForPlayer(488, playerid);
- }
- if (listitem == 5)
- {
- SpawnVehicleForPlayer(497, playerid);
- }
- if (listitem == 6)
- {
- SpawnVehicleForPlayer(563, playerid);
- }
- if (listitem == 7)
- {
- SpawnVehicleForPlayer(447, playerid);
- }
- if (listitem == 8)
- {
- SpawnVehicleForPlayer(469, playerid);
- }
- }
- return 1;
- }
- DIALOG:7(playerid, response, listitem, inputtext[])
- {
- if (response)
- {
- if (listitem == 0)
- {
- SpawnVehicleForPlayer(472, playerid);
- }
- if (listitem == 1)
- {
- SpawnVehicleForPlayer(473, playerid);
- }
- if (listitem == 2)
- {
- SpawnVehicleForPlayer(493, playerid);
- }
- if (listitem == 3)
- {
- SpawnVehicleForPlayer(595, playerid);
- }
- if (listitem == 4)
- {
- SpawnVehicleForPlayer(484, playerid);
- }
- if (listitem == 5)
- {
- SpawnVehicleForPlayer(430, playerid);
- }
- if (listitem == 6)
- {
- SpawnVehicleForPlayer(453, playerid);
- }
- if (listitem == 7)
- {
- SpawnVehicleForPlayer(452, playerid);
- }
- if (listitem == 8)
- {
- SpawnVehicleForPlayer(446, playerid);
- }
- if (listitem == 9)
- {
- SpawnVehicleForPlayer(454, playerid);
- }
- }
- return 1;
- }
- DIALOG:8(playerid, response, listitem, inputtext[])
- {
- if (response)
- {
- if (listitem == 0)
- {
- SpawnVehicleForPlayer(485, playerid);
- }
- if (listitem == 1)
- {
- SpawnVehicleForPlayer(431, playerid);
- }
- if (listitem == 2)
- {
- SpawnVehicleForPlayer(438, playerid);
- }
- if (listitem == 3)
- {
- SpawnVehicleForPlayer(437, playerid);
- }
- if (listitem == 4)
- {
- SpawnVehicleForPlayer(574, playerid);
- }
- if (listitem == 5)
- {
- SpawnVehicleForPlayer(420, playerid);
- }
- if (listitem == 6)
- {
- SpawnVehicleForPlayer(525, playerid);
- }
- if (listitem == 7)
- {
- SpawnVehicleForPlayer(408, playerid);
- }
- if (listitem == 8)
- {
- SpawnVehicleForPlayer(552, playerid);
- }
- }
- return 1;
- }
- DIALOG:9(playerid, response, listitem, inputtext[])
- {
- if (response)
- {
- if (listitem == 0)
- {
- SpawnVehicleForPlayer(416, playerid);
- }
- if (listitem == 1)
- {
- SpawnVehicleForPlayer(433, playerid);
- }
- if (listitem == 2)
- {
- SpawnVehicleForPlayer(427, playerid);
- }
- if (listitem == 3)
- {
- SpawnVehicleForPlayer(490, playerid);
- }
- if (listitem == 4)
- {
- SpawnVehicleForPlayer(528, playerid);
- }
- if (listitem == 5)
- {
- SpawnVehicleForPlayer(407, playerid);
- }
- if (listitem == 6)
- {
- SpawnVehicleForPlayer(544, playerid);
- }
- if (listitem == 7)
- {
- SpawnVehicleForPlayer(523, playerid);
- }
- if (listitem == 8)
- {
- SpawnVehicleForPlayer(470, playerid);
- }
- if (listitem == 9)
- {
- SpawnVehicleForPlayer(596, playerid);
- }
- if (listitem == 10)
- {
- SpawnVehicleForPlayer(598, playerid);
- }
- if (listitem == 11)
- {
- SpawnVehicleForPlayer(599, playerid);
- }
- if (listitem == 12)
- {
- SpawnVehicleForPlayer(597, playerid);
- }
- if (listitem == 13)
- {
- SpawnVehicleForPlayer(432, playerid);
- }
- if (listitem == 14)
- {
- SpawnVehicleForPlayer(601, playerid);
- }
- if (listitem == 15)
- {
- SpawnVehicleForPlayer(428, playerid);
- }
- }
- return 1;
- }
- DIALOG:10(playerid, response, listitem, inputtext[])
- {
- if (response)
- {
- if (listitem == 0)
- {
- SpawnVehicleForPlayer(499, playerid);
- }
- if (listitem == 1)
- {
- SpawnVehicleForPlayer(609, playerid);
- }
- if (listitem == 2)
- {
- SpawnVehicleForPlayer(498, playerid);
- }
- if (listitem == 3)
- {
- SpawnVehicleForPlayer(524, playerid);
- }
- if (listitem == 4)
- {
- SpawnVehicleForPlayer(532, playerid);
- }
- if (listitem == 5)
- {
- SpawnVehicleForPlayer(578, playerid);
- }
- if (listitem == 6)
- {
- SpawnVehicleForPlayer(486, playerid);
- }
- if (listitem == 7)
- {
- SpawnVehicleForPlayer(578, playerid);
- }
- if (listitem == 8)
- {
- SpawnVehicleForPlayer(486, playerid);
- }
- if (listitem == 9)
- {
- SpawnVehicleForPlayer(406, playerid);
- }
- if (listitem == 10)
- {
- SpawnVehicleForPlayer(573, playerid);
- }
- if (listitem == 11)
- {
- SpawnVehicleForPlayer(588, playerid);
- }
- if (listitem == 12)
- {
- SpawnVehicleForPlayer(403, playerid);
- }
- if (listitem == 13)
- {
- SpawnVehicleForPlayer(423, playerid);
- }
- if (listitem == 14)
- {
- SpawnVehicleForPlayer(414, playerid);
- }
- if (listitem == 15)
- {
- SpawnVehicleForPlayer(515, playerid);
- }
- if (listitem == 16)
- {
- SpawnVehicleForPlayer(514, playerid);
- }
- if (listitem == 17)
- {
- SpawnVehicleForPlayer(531, playerid);
- }
- if (listitem == 18)
- {
- SpawnVehicleForPlayer(456, playerid);
- }
- }
- return 1;
- }
- DIALOG:11(playerid, response, listitem, inputtext[])
- {
- if (response)
- {
- if (listitem == 0)
- {
- SpawnVehicleForPlayer(536, playerid);
- }
- if (listitem == 1)
- {
- SpawnVehicleForPlayer(575, playerid);
- }
- if (listitem == 2)
- {
- SpawnVehicleForPlayer(534, playerid);
- }
- if (listitem == 3)
- {
- SpawnVehicleForPlayer(567, playerid);
- }
- if (listitem == 4)
- {
- SpawnVehicleForPlayer(535, playerid);
- }
- if (listitem == 5)
- {
- SpawnVehicleForPlayer(576, playerid);
- }
- if (listitem == 6)
- {
- SpawnVehicleForPlayer(412, playerid);
- }
- }
- return 1;
- }
- DIALOG:12(playerid, response, listitem, inputtext[])
- {
- if (response)
- {
- if (listitem == 0)
- {
- SpawnVehicleForPlayer(402, playerid);
- }
- if (listitem == 1)
- {
- SpawnVehicleForPlayer(542, playerid);
- }
- if (listitem == 2)
- {
- SpawnVehicleForPlayer(603, playerid);
- }
- if (listitem == 3)
- {
- SpawnVehicleForPlayer(475, playerid);
- }
- }
- return 1;
- }
- DIALOG:13(playerid, response, listitem, inputtext[])
- {
- if (response)
- {
- if (listitem == 0)
- {
- SpawnVehicleForPlayer(429, playerid);
- }
- if (listitem == 1)
- {
- SpawnVehicleForPlayer(541, playerid);
- }
- if (listitem == 2)
- {
- SpawnVehicleForPlayer(480, playerid);
- }
- if (listitem == 3)
- {
- SpawnVehicleForPlayer(562, playerid);
- }
- if (listitem == 4)
- {
- SpawnVehicleForPlayer(565, playerid);
- }
- if (listitem == 5)
- {
- SpawnVehicleForPlayer(434, playerid);
- }
- if (listitem == 6)
- {
- SpawnVehicleForPlayer(494, playerid);
- }
- if (listitem == 7)
- {
- SpawnVehicleForPlayer(502, playerid);
- }
- if (listitem == 8)
- {
- SpawnVehicleForPlayer(503, playerid);
- }
- if (listitem == 9)
- {
- SpawnVehicleForPlayer(411, playerid);
- }
- if (listitem == 10)
- {
- SpawnVehicleForPlayer(403, playerid);
- }
- if (listitem == 11)
- {
- SpawnVehicleForPlayer(559, playerid);
- }
- if (listitem == 12)
- {
- SpawnVehicleForPlayer(561, playerid);
- }
- if (listitem == 13)
- {
- SpawnVehicleForPlayer(560, playerid);
- }
- if (listitem == 14)
- {
- SpawnVehicleForPlayer(506, playerid);
- }
- if (listitem == 15)
- {
- SpawnVehicleForPlayer(451, playerid);
- }
- if (listitem == 16)
- {
- SpawnVehicleForPlayer(558, playerid);
- }
- if (listitem == 17)
- {
- SpawnVehicleForPlayer(555, playerid);
- }
- if (listitem == 18)
- {
- SpawnVehicleForPlayer(477, playerid);
- }
- }
- return 1;
- }
- DIALOG:14(playerid, response, listitem, inputtext[])
- {
- if (response)
- {
- if (listitem == 0)
- {
- SpawnVehicleForPlayer(441, playerid);
- }
- if (listitem == 1)
- {
- SpawnVehicleForPlayer(464, playerid);
- }
- if (listitem == 2)
- {
- SpawnVehicleForPlayer(594, playerid);
- }
- if (listitem == 3)
- {
- SpawnVehicleForPlayer(501, playerid);
- }
- if (listitem == 4)
- {
- SpawnVehicleForPlayer(465, playerid);
- }
- if (listitem == 5)
- {
- SpawnVehicleForPlayer(564, playerid);
- }
- }
- return 1;
- }
- DIALOG:15(playerid, response, listitem, inputtext[])
- {
- if (response)
- {
- if (listitem == 0)
- {
- SpawnVehicleForPlayer(606, playerid);
- }
- if (listitem == 1)
- {
- SpawnVehicleForPlayer(607, playerid);
- }
- if (listitem == 2)
- {
- SpawnVehicleForPlayer(610, playerid);
- }
- if (listitem == 3)
- {
- SpawnVehicleForPlayer(584, playerid);
- }
- if (listitem == 4)
- {
- SpawnVehicleForPlayer(611, playerid);
- }
- if (listitem == 5)
- {
- SpawnVehicleForPlayer(608, playerid);
- }
- if (listitem == 6)
- {
- SpawnVehicleForPlayer(435, playerid);
- }
- if (listitem == 7)
- {
- SpawnVehicleForPlayer(450, playerid);
- }
- if (listitem == 8)
- {
- SpawnVehicleForPlayer(591, playerid);
- }
- }
- return 1;
- }
- DIALOG:16(playerid, response, listitem, inputtext[])
- {
- if (response)
- {
- if (listitem == 0)
- {
- SpawnVehicleForPlayer(590, playerid);
- }
- if (listitem == 1)
- {
- SpawnVehicleForPlayer(538, playerid);
- }
- if (listitem == 2)
- {
- SpawnVehicleForPlayer(570, playerid);
- }
- if (listitem == 3)
- {
- SpawnVehicleForPlayer(569, playerid);
- }
- if (listitem == 4)
- {
- SpawnVehicleForPlayer(537, playerid);
- }
- if (listitem == 5)
- {
- SpawnVehicleForPlayer(449, playerid);
- }
- }
- return 1;
- }
- DIALOG:17(playerid, response, listitem, inputtext[])
- {
- if (response)
- {
- if (listitem == 0)
- {
- SpawnVehicleForPlayer(568, playerid);
- }
- if (listitem == 1)
- {
- SpawnVehicleForPlayer(424, playerid);
- }
- if (listitem == 2)
- {
- SpawnVehicleForPlayer(504, playerid);
- }
- if (listitem == 3)
- {
- SpawnVehicleForPlayer(457, playerid);
- }
- if (listitem == 4)
- {
- SpawnVehicleForPlayer(483, playerid);
- }
- if (listitem == 5)
- {
- SpawnVehicleForPlayer(508, playerid);
- }
- if (listitem == 6)
- {
- SpawnVehicleForPlayer(571, playerid);
- }
- if (listitem == 7)
- {
- SpawnVehicleForPlayer(500, playerid);
- }
- if (listitem == 8)
- {
- SpawnVehicleForPlayer(444, playerid);
- }
- if (listitem == 9)
- {
- SpawnVehicleForPlayer(556, playerid);
- }
- if (listitem == 10)
- {
- SpawnVehicleForPlayer(557, playerid);
- }
- if (listitem == 11)
- {
- SpawnVehicleForPlayer(471, playerid);
- }
- if (listitem == 12)
- {
- SpawnVehicleForPlayer(495, playerid);
- }
- if (listitem == 13)
- {
- SpawnVehicleForPlayer(539, playerid);
- }
- }
- return 1;
- }
- DIALOG:18(playerid, response, listitem, inputtext[])
- {
- if (response)
- {
- if (listitem == 0)
- {
- ShowPlayerDialog(playerid, 19);
- }
- if (listitem == 1)
- {
- ShowPlayerDialog(playerid, 20);
- }
- if (listitem == 2)
- {
- ShowPlayerDialog(playerid, 21);
- }
- if (listitem == 3)
- {
- ShowPlayerDialog(playerid, 22);
- }
- if (listitem == 4)
- {
- ShowPlayerDialog(playerid, 23);
- }
- if (listitem == 5)
- {
- ShowPlayerDialog(playerid, 24);
- }
- if (listitem == 6)
- {
- ShowPlayerDialog(playerid, 25);
- }
- if (listitem == 7)
- {
- ShowPlayerDialog(playerid, 26);
- }
- if (listitem == 8)
- {
- ShowPlayerDialog(playerid, 27);
- }
- if (listitem == 9)
- {
- ShowPlayerDialog(playerid, 28);
- }
- if (listitem == 10)
- {
- ShowPlayerDialog(playerid, 29);
- }
- if (listitem == 11)
- {
- ShowPlayerDialog(playerid, 30);
- }
- if (listitem == 12)
- {
- ShowPlayerDialog(playerid, 31);
- }
- }
- return 1;
- }
- DIALOG:19(playerid, response, listitem, inputtext[])
- {
- if (response)
- {
- if (listitem == 1)
- {
- GivePlayerWeapon(playerid, 0, 9999);
- }
- if (listitem == 1)
- {
- GivePlayerWeapon(playerid, 1, 9999);
- }
- }
- return 1;
- }
- DIALOG:20(playerid, response, listitem, inputtext[])
- {
- if (response)
- {
- if (listitem == 0)
- {
- GivePlayerWeapon(playerid, 2, 9999);
- }
- if (listitem == 1)
- {
- GivePlayerWeapon(playerid, 3, 9999);
- }
- if (listitem == 2)
- {
- GivePlayerWeapon(playerid, 4, 9999);
- }
- if (listitem == 3)
- {
- GivePlayerWeapon(playerid, 5, 9999);
- }
- if (listitem == 4)
- {
- GivePlayerWeapon(playerid, 6, 9999);
- }
- if (listitem == 5)
- {
- GivePlayerWeapon(playerid, 7, 9999);
- }
- if (listitem == 6)
- {
- GivePlayerWeapon(playerid, 8, 9999);
- }
- if (listitem == 7)
- {
- GivePlayerWeapon(playerid, 9, 9999);
- }
- }
- return 1;
- }
- DIALOG:21(playerid, response, listitem, inputtext[])
- {
- if (response)
- {
- if (listitem == 0)
- {
- GivePlayerWeapon(playerid, 22, 9999);
- }
- if (listitem == 1)
- {
- GivePlayerWeapon(playerid, 23, 9999);
- }
- if (listitem == 2)
- {
- GivePlayerWeapon(playerid, 24, 9999);
- }
- }
- return 1;
- }
- DIALOG:22(playerid, response, listitem, inputtext[])
- {
- if (response)
- {
- if (listitem == 0)
- {
- GivePlayerWeapon(playerid, 25, 9999);
- }
- if (listitem == 1)
- {
- GivePlayerWeapon(playerid, 26, 9999);
- }
- if (listitem == 2)
- {
- GivePlayerWeapon(playerid, 27, 9999);
- }
- }
- return 1;
- }
- DIALOG:23(playerid, response, listitem, inputtext[])
- {
- if (response)
- {
- if (listitem == 0)
- {
- GivePlayerWeapon(playerid, 28, 9999);
- }
- if (listitem == 1)
- {
- GivePlayerWeapon(playerid, 29, 9999);
- }
- if (listitem == 2)
- {
- GivePlayerWeapon(playerid, 32, 9999);
- }
- }
- return 1;
- }
- DIALOG:24(playerid, response, listitem, inputtext[])
- {
- if (response)
- {
- if (listitem == 0)
- {
- GivePlayerWeapon(playerid, 30, 9999);
- }
- if (listitem == 1)
- {
- GivePlayerWeapon(playerid, 31, 9999);
- }
- }
- return 1;
- }
- DIALOG:25(playerid, response, listitem, inputtext[])
- {
- if (response)
- {
- if (listitem == 0)
- {
- GivePlayerWeapon(playerid, 33, 9999);
- }
- if (listitem == 1)
- {
- GivePlayerWeapon(playerid, 34, 9999);
- }
- }
- return 1;
- }
- DIALOG:26(playerid, response, listitem, inputtext[])
- {
- if (response)
- {
- if (listitem == 0)
- {
- GivePlayerWeapon(playerid, 35, 9999);
- }
- if (listitem == 1)
- {
- GivePlayerWeapon(playerid, 36, 9999);
- }
- if (listitem == 2)
- {
- GivePlayerWeapon(playerid, 37, 9999);
- }
- if (listitem == 3)
- {
- GivePlayerWeapon(playerid, 38, 9999);
- }
- }
- return 1;
- }
- DIALOG:27(playerid, response, listitem, inputtext[])
- {
- if (response)
- {
- if (listitem == 0)
- {
- GivePlayerWeapon(playerid, 16, 9999);
- }
- if (listitem == 1)
- {
- GivePlayerWeapon(playerid, 17, 9999);
- }
- if (listitem == 2)
- {
- GivePlayerWeapon(playerid, 18, 9999);
- }
- if (listitem == 3)
- {
- GivePlayerWeapon(playerid, 39, 9999);
- }
- }
- return 1;
- }
- DIALOG:28(playerid, response, listitem, inputtext[])
- {
- if (response)
- {
- if (listitem == 0)
- {
- GivePlayerWeapon(playerid, 41, 9999);
- }
- if (listitem == 1)
- {
- GivePlayerWeapon(playerid, 42, 9999);
- }
- if (listitem == 2)
- {
- GivePlayerWeapon(playerid, 43, 9999);
- }
- }
- return 1;
- }
- DIALOG:29(playerid, response, listitem, inputtext[])
- {
- if (response)
- {
- if (listitem == 0)
- {
- GivePlayerWeapon(playerid, 10, 9999);
- }
- if (listitem == 1)
- {
- GivePlayerWeapon(playerid, 11, 9999);
- }
- if (listitem == 2)
- {
- GivePlayerWeapon(playerid, 12, 9999);
- }
- if (listitem == 3)
- {
- GivePlayerWeapon(playerid, 14, 9999);
- }
- if (listitem == 4)
- {
- GivePlayerWeapon(playerid, 15, 9999);
- }
- }
- return 1;
- }
- DIALOG:30(playerid, response, listitem, inputtext[])
- {
- if (response)
- {
- if (listitem == 0)
- {
- GivePlayerWeapon(playerid, 44, 9999);
- }
- if (listitem == 1)
- {
- GivePlayerWeapon(playerid, 45, 9999);
- }
- if (listitem == 2)
- {
- GivePlayerWeapon(playerid, 46, 9999);
- }
- }
- return 1;
- }
- DIALOG:31(playerid, response, listitem, inputtext[])
- {
- if (response)
- {
- if (listitem == 0)
- {
- GivePlayerWeapon(playerid, 40, 9999);
- }
- }
- return 1;
- }
Add Comment
Please, Sign In to add comment