#include <a_samp>new Text:Textdraw0;new Text:Textdraw1;#define SZIN_PIROS 0xfa0d0dAA#define SZIN_FEHER 0xfafafaAA#define SZIN_ZOLD 0x17d123AA#define SZIN_CIAN 0x05fad9A#define SZIN_LILA 0xd905faAA#define SZIN_ROZSASZIN 0xfa05d5AA#define SZIN_KEK 0x0000ffAA#define SZIN_FEKETE 0x000000AA#define SZIN_NARANCS 0xfa8100AA#define SZIN_CITROM 0xfafa00AA#define SZIN_PPFS 0xff6f00AA#if defined FILTERSCRIPTpublic OnFilterScriptInit(){print(\"\\n================================\");print(\"Alap Mod\");print(\"================================\\n\");return 1;}public OnFilterScriptExit(){return 1;}#elsemain(){print(\"\\n================================\");print(\"Alap Mod\");print(\"================================\\n\");}#endifpublic OnGameModeInit(){Textdraw0 = TextDrawCreate(413.000000, 421.000000, \"Szöveg\");TextDrawBackgroundColor(Textdraw0, 255);TextDrawFont(Textdraw0, 1);TextDrawLetterSize(Textdraw0, 0.629998, 2.699999);TextDrawColor(Textdraw0, 3454143);TextDrawSetOutline(Textdraw0, 0);TextDrawSetProportional(Textdraw0, 1);TextDrawSetShadow(Textdraw0, 1);Textdraw1 = TextDrawCreate(7.000000, 427.000000, \"Szöveg\");TextDrawBackgroundColor(Textdraw1, 255);TextDrawFont(Textdraw1, 1);TextDrawLetterSize(Textdraw1, 0.509999, 1.800000);TextDrawColor(Textdraw1, 9454143);TextDrawSetOutline(Textdraw1, 0);TextDrawSetProportional(Textdraw1, 1);TextDrawSetShadow(Textdraw1, 1);for(new i; i < MAX_PLAYERS; i ++){if(IsPlayerConnected(i)){TextDrawShowForPlayer(i, Textdraw0);TextDrawShowForPlayer(i, Textdraw1);}}SetGameModeText(\"[HUN] Teszt szerver!!\");AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(1, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(2, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(7, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(8, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(9, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(10, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(11, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(12, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(13, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(14, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(15, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(16, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(17, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(18, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(19, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(20, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(21, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(22, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(23, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(24, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(25, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(26, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(27, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(27, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(29, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(30, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(31, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(32, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(33, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(34, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(35, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(36, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(37, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(38, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(39, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(40, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(41, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(42, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(43, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(44, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(45, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(46, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(47, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(48, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(49, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(50, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(51, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(52, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(53, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(54, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(55, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(56, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(57, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(58, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(59, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(60, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(61, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(62, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(63, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(64, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(65, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(66, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(67, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(68, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(69, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(70, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(71, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(72, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(73, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(74, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(75, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(76, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(299, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);AddPlayerClass(105, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);return 1;}public OnGameModeExit(){TextDrawHideForAll(Textdraw0);TextDrawDestroy(Textdraw0);TextDrawHideForAll(Textdraw1);TextDrawDestroy(Textdraw1);return 1;}public OnPlayerRequestClass(playerid, classid){SetPlayerPos(playerid, 1954.5426,1342.9369,15.3746);SetPlayerCameraPos(playerid, 1959.6799,1343.1836,15.3746);SetPlayerCameraLookAt(playerid, 1951.7332,1342.8486,15.3746);return 1;} public OnPlayerConnect(playerid){SendClientMessage(playerid, 0xfafa00AA, \"Üdv a Szerverren!\");SendClientMessage(playerid, 0xfafa00AA, \"A szerver folyamatos karbantartás alatt! Kellemes játékot!\");SendClientMessage(playerid, 0xfafa00AA, \"Hamarosan weboldalunk: WWW.HEADSHOT.HU\");return 1;}public OnPlayerDisconnect(playerid, reason){return 1;} public OnPlayerSpawn(playerid){TextDrawShowForPlayer(playerid, Textdraw0);TextDrawShowForPlayer(playerid, Textdraw1);return 1;}public OnPlayerDeath(playerid, killerid, reason){new playercash;if(killerid == INVALID_PLAYER_ID) {SendDeathMessage(INVALID_PLAYER_ID,playerid,reason);ResetPlayerMoney(playerid);} else {SendDeathMessage(killerid,playerid,reason);SetPlayerScore(killerid,GetPlayerScore(killerid)+1);playercash = GetPlayerMoney(playerid);if (playercash > 0) {GivePlayerMoney(killerid, playercash);ResetPlayerMoney(playerid);}else{}}return 1;}public OnVehicleSpawn(vehicleid){return 1;}public OnVehicleDeath(vehicleid, killerid){return 1;}public OnPlayerText(playerid, text[]){return 1;}public OnPlayerCommandText(playerid, cmdtext[]){//help=================================================if (strcmp(cmdtext, \"/help\", true)==0){ShowPlayerDialog(playerid, 10000, DIALOG_STYLE_MSGBOX, \"Parancsaink:\", \"Hamarosan...\", \"OKE\", \"Kilepes\");// PlayerPlaySound(playerid, 1133, 0.0, 0.0, 10.0);return 1;}//Info=================================================if (strcmp(cmdtext, \"/info\", true)==0){ShowPlayerDialog(playerid, 10410, DIALOG_STYLE_MSGBOX, \"Informácíó:\", \"A szervert az slhosting.eu szolgáltatja!\", \"RENDBEN\", \"Kilepes\");return 1;}//Parancsok============================================if(strcmp(cmdtext, \"/ejtoernyo\", true) == 0){GivePlayerWeapon(playerid, 46, 1);SendClientMessage(playerid, 0x00BFFFFF, \"Ejtõernyõ Lekérve\");return 1;}if (strcmp(cmdtext, \"/fel\", true)==0){new VehicleID, Float:X, Float:Y, Float:Z;GetPlayerPos(playerid, X, Y, Z);VehicleID = GetPlayerVehicleID(playerid);SetVehiclePos(VehicleID, X, Y, Z);SetVehicleZAngle(VehicleID, 0);SendClientMessage(playerid, 0x00BFFFFF, \"Jármû felálítva\");return 1;}if (strcmp(cmdtext, \"/elet\", true)==0){SetPlayerHealth(playerid,100);SendClientMessage(playerid, 0x00BFFFFF, \"Életed feltöltve!\");return 1;}if(strcmp(\"/halal\", cmdtext, true, 10) == 0) {SetPlayerHealth(playerid, 000.0);return 1;}if (strcmp(\"/inf\", cmdtext, true, 10) == 0) if (strcmp(\"/inf\", cmdtext, true, 10) == 0){new vehicleid;new Float:X,Float:Y,Float:Z,Float:Angle;GetPlayerPos(playerid,X,Y,Z);GetPlayerFacingAngle(playerid,Angle);GetPlayerVehicleID(playerid);vehicleid = CreateVehicle(411,X,Y,Z,Angle,-1,-1,600);vehicleid = PutPlayerInVehicle(playerid, vehicleid, 0);return 1;}//Teleportok============================================================if(strcmp(cmdtext, \"/stunt\", true) == 0) {if(IsPlayerInAnyVehicle(playerid)) {new Float:X;new Float:Y;new Float:Z;new VehicleID;GetPlayerPos(playerid, X, Y, Z);VehicleID = GetPlayerVehicleID(playerid);SetVehiclePos(VehicleID,402.9187,2534.1477,16.5455);} else {new Float:X;new Float:Y;new Float:Z;GetPlayerPos(playerid, X, Y, Z);SetPlayerPos(playerid,402.9187,2534.1477,16.5455);//GivePlayerWeapon(playerid, 46, 200);}return 1;}if(strcmp(cmdtext, \"/race\", true) == 0) {if(IsPlayerInAnyVehicle(playerid)) {new Float:X;new Float:Y;new Float:Z; new VehicleID;GetPlayerPos(playerid, X, Y, Z);VehicleID = GetPlayerVehicleID(playerid);SetVehiclePos(VehicleID,-2944.8975,436.2000,2.9612);} else {new Float:X;new Float:Y;new Float:Z;GetPlayerPos(playerid, X, Y, Z);SetPlayerPos(playerid,-2944.8975,436.2000,2.9612);}return 1;}if(strcmp(cmdtext, \"/jizzy\", true) == 0) {if(IsPlayerInAnyVehicle(playerid)) {new Float:X;new Float:Y;new Float:Z;new VehicleID;GetPlayerPos(playerid, X, Y, Z);VehicleID = GetPlayerVehicleID(playerid);SetVehiclePos(VehicleID,-2597.4902,1388.0292,7.1798);} else {new Float:X;new Float:Y;new Float:Z;GetPlayerPos(playerid, X, Y, Z);SetPlayerPos(playerid,-2597.4902,1388.0292,7.1798);}return 1;}if(strcmp(cmdtext, \"/ls\", true) == 0) {if(IsPlayerInAnyVehicle(playerid)) {new Float:X;new Float:Y;new Float:Z;new VehicleID;GetPlayerPos(playerid, X, Y, Z);VehicleID = GetPlayerVehicleID(playerid);SetVehiclePos(VehicleID,2782.5522,-2020.2609,13.5620);} else {new Float:X;new Float:Y;new Float:Z;GetPlayerPos(playerid, X, Y, Z);SetPlayerPos(playerid,2782.5522,-2020.2609,13.5620);}return 1;}if(strcmp(cmdtext, \"/lv\", true) == 0) {if(IsPlayerInAnyVehicle(playerid)) {new Float:X;new Float:Y;new Float:Z;new VehicleID;GetPlayerPos(playerid, X, Y, Z);VehicleID = GetPlayerVehicleID(playerid);SetVehiclePos(VehicleID,2320.2126,1390.6610,42.8853);} else {new Float:X;new Float:Y;new Float:Z;GetPlayerPos(playerid, X, Y, Z);SetPlayerPos(playerid,2320.2126,1390.6610,42.8853);}return 1;}if(strcmp(cmdtext, \"/sf\", true) == 0) {if(IsPlayerInAnyVehicle(playerid)) {new Float:X;new Float:Y;new Float:Z;new VehicleID;GetPlayerPos(playerid, X, Y, Z);VehicleID = GetPlayerVehicleID(playerid);SetVehiclePos(VehicleID,-1918.1754,292.3517,41.0469);} else {new Float:X;new Float:Y;new Float:Z;GetPlayerPos(playerid, X, Y, Z);SetPlayerPos(playerid,-1918.1754,292.3517,41.0469);}return 1;}return SendClientMessage(playerid,0x74E80099,\"Ez a parancs nem létezik!\");}public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger){return 1;}public OnPlayerExitVehicle(playerid, vehicleid){return 1;}public OnPlayerStateChange(playerid, newstate, oldstate){return 1;}public OnPlayerEnterCheckpoint(playerid){return 1;}public OnPlayerLeaveCheckpoint(playerid){return 1;}public OnPlayerEnterRaceCheckpoint(playerid){return 1;}public OnPlayerLeaveRaceCheckpoint(playerid){return 1;}public OnRconCommand(cmd[]){return 1;}public OnPlayerRequestSpawn(playerid){return 1;}public OnObjectMoved(objectid){return 1;}public OnPlayerObjectMoved(playerid, objectid){return 1;}public OnPlayerPickUpPickup(playerid, pickupid){return 1;}public OnVehicleMod(playerid, vehicleid, componentid){return 1;}public OnVehiclePaintjob(playerid, vehicleid, paintjobid){return 1;}public OnVehicleRespray(playerid, vehicleid, color1, color2){return 1;}public OnPlayerSelectedMenuRow(playerid, row){return 1;}public OnPlayerExitedMenu(playerid){return 1;}public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid){return 1;}public OnPlayerKeyStateChange(playerid, newkeys, oldkeys){return 1;}public OnRconLoginAttempt(ip[], password[], success){return 1;}public OnPlayerUpdate(playerid){return 1;}public OnPlayerStreamIn(playerid, forplayerid){return 1;}public OnPlayerStreamOut(playerid, forplayerid){return 1;}public OnVehicleStreamIn(vehicleid, forplayerid){return 1;}public OnVehicleStreamOut(vehicleid, forplayerid){return 1;}public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){return 1;}public OnPlayerClickPlayer(playerid, clickedplayerid, source){return 1;}
Itt vannak a cuccok kocsi rendszer http://sampforum.hu/index.php?topic=34296admin rendszer http://sampforum.hu/index.php?topic=13885munka scriptek vagy ami kell van itt minden féle munkahttp://sampforum.hu/index.php?page=scripts&to=&by=&sn=munka
Parancsolj Evecer itt van a admin rendszert majd bele építem csak most kevés idõm van.http://pastebin.com/KS4jD7T5Ha bármi hibát észlelsz bátran szólj!Üdvözlettel: Raidon Itt vannak a cuccok kocsi rendszer http://sampforum.hu/index.php?topic=34296admin rendszer http://sampforum.hu/index.php?topic=13885munka scriptek vagy ami kell van itt minden féle munkahttp://sampforum.hu/index.php?page=scripts&to=&by=&sn=munka OFF: :facepalm: :facepalm: Õ most azt kérte linkeld be neki?? amúgy se jó a laadmin, azt kérte hogy építse bele valaki a módba amiket kért... [/quote]
Nekem most a szerveren van egy alap mod, azt szerkesztgetem. Segítenétek abban, hogy hogyan tehetek be a játékba kocsikat?
Köszi, jó lett! A 2 bõl összehoztam. UI: Akkor valaki nem tenne a fenti kódba egy jármûlehívó akármit? Nagyon megköszönném!
CMD:v(playerid,params[]){ ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, \"Válassz kategóriát!\", \"Repülõk\\nKocsik\\nMotorok\", \"Kiválaszt\", \"Mégse\"); return 1;}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){if(response) {switch(dialogid) { case 1: { switch(listitem) { case 0:// 1. { ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, \"Repülõk\", \"Leviathan\\nSeasparrow\\nSkimmer\\nStuntplane\\nSparrow\\nRustler\\nMaverick\\nPoliceMaverick\\nBeagle\\nCropduster\\nShamal\\nCargobob\\nNevada\\nRaindance\\nDodo\", \"Kiválaszt\", \"Mégse\"); } case 1: // 2. { ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, \"Kocsik\", \"Landstalker\\nBravura\\nBuffalo\\nPerenniel\\nSentinel\\nDumper\\nStretch\\nManana\\nInfernus\\nVoodoo\\nPony\\nCheetah\\nEsperanto\\nWashington\\nBobcat\\nPremier\\nBanshee\\nHotknife\\nPrevion\\nStallion\\nRomero\\nPacker\\nAdmiral\\nTurismo\\nSolair\\nGlendale\\nHermes\\nSabre\\nZR-350\\nComet\\nSultan\", \"Kiválaszt\", \"Mégse\"); } case 2: // 3. { ShowPlayerDialog(playerid, 4, DIALOG_STYLE_LIST, \"Motorok\", \"Pizzaboy\\nPCJ-600\\nFaggio\\nFreeway\\nSanchez\\nQuad\\nFCR-900\\nNRG-500\\nHPV-1000\\nBF-400\", \"Kiválaszt\", \"Mégse\"); } } } case 2: { switch(listitem) { case 0: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(417, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 1: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(447, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 2: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(460, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 3: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(513, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 4: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(469, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 5: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(476, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 6: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(487, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 7: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(497, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 8: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(511, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 9: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(512, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 10: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(519, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 11: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(548, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 12: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(553, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 13: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(563, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 14: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(593, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } } } case 3: { switch(listitem) { case 0: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(400, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 1: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(401, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 2: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(402, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 3: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(44, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 4: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(405, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 5: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(406, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 6: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(409, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 7: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(410, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 8: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(411, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 9: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(412, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 10: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(413, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 11: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(415, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 12: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(419, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 13: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(421, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 14: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(422, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 15: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(426, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 16: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(429, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 17: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(434, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 18: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(436, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 19: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(439, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 20: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(442, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 21: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(443, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 22: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(445, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 23: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(451, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 24: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(458, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 25: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(466, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 26: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(474, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 27: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(475, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 28: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(477, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 29: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(422, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 30: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(560, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } } } case 4: { switch(listitem) { case 0: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(448, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 1: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(461, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 2: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(462, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 3: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(463, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 4: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(468, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 5: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(471, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 6: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(521, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 7: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(522, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 8: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(523, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 9: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(581, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } } } } } return 1;}
Köszi, jó lett! A 2 bõl összehoztam. UI: Akkor valaki nem tenne a fenti kódba egy jármûlehívó akármit? Nagyon megköszönném! Szia.Én nem rég írtam egy ilyet a modomba, most ezt megosztom veletek is akkor ha szükségetek van rá Ez pontosabban egy dialogos jármû lekérõ script!Parancs: CMD:v(playerid,params[]){ ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, \"Válassz kategóriát!\", \"Repülõk\\nKocsik\\nMotorok\", \"Kiválaszt\", \"Mégse\"); return 1;} Dialog: public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){if(response) {switch(dialogid) { case 1: { switch(listitem) { case 0:// 1. { ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, \"Repülõk\", \"Leviathan\\nSeasparrow\\nSkimmer\\nStuntplane\\nSparrow\\nRustler\\nMaverick\\nPoliceMaverick\\nBeagle\\nCropduster\\nShamal\\nCargobob\\nNevada\\nRaindance\\nDodo\", \"Kiválaszt\", \"Mégse\"); } case 1: // 2. { ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, \"Kocsik\", \"Landstalker\\nBravura\\nBuffalo\\nPerenniel\\nSentinel\\nDumper\\nStretch\\nManana\\nInfernus\\nVoodoo\\nPony\\nCheetah\\nEsperanto\\nWashington\\nBobcat\\nPremier\\nBanshee\\nHotknife\\nPrevion\\nStallion\\nRomero\\nPacker\\nAdmiral\\nTurismo\\nSolair\\nGlendale\\nHermes\\nSabre\\nZR-350\\nComet\\nSultan\", \"Kiválaszt\", \"Mégse\"); } case 2: // 3. { ShowPlayerDialog(playerid, 4, DIALOG_STYLE_LIST, \"Motorok\", \"Pizzaboy\\nPCJ-600\\nFaggio\\nFreeway\\nSanchez\\nQuad\\nFCR-900\\nNRG-500\\nHPV-1000\\nBF-400\", \"Kiválaszt\", \"Mégse\"); } } } case 2: { switch(listitem) { case 0: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(417, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 1: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(447, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 2: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(460, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 3: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(513, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 4: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(469, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 5: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(476, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 6: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(487, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 7: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(497, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 8: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(511, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 9: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(512, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 10: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(519, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 11: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(548, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 12: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(553, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 13: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(563, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 14: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(593, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } } } case 3: { switch(listitem) { case 0: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(400, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 1: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(401, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 2: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(402, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 3: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(44, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 4: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(405, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 5: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(406, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 6: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(409, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 7: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(410, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 8: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(411, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 9: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(412, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 10: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(413, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 11: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(415, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 12: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(419, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 13: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(421, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 14: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(422, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 15: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(426, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 16: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(429, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 17: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(434, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 18: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(436, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 19: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(439, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 20: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(442, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 21: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(443, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 22: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(445, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 23: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(451, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 24: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(458, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 25: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(466, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 26: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(474, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 27: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(475, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 28: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(477, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 29: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(422, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 30: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(560, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } } } case 4: { switch(listitem) { case 0: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(448, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 1: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(461, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 2: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(462, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 3: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(463, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 4: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(468, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 5: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(471, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 6: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(521, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 7: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(522, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 8: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(523, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } case 9: { new Float:x,Float:y,Float:z,kocsi; GetPlayerPos(playerid,x,y,z); kocsi = AddStaticVehicleEx(581, x , y, z, 82.2873, 0, 1, 60); PutPlayerInVehicle(playerid,kocsi,0); } } } } } return 1;} Ha sikerült megcsinálni akkor nincs mit Üdv: Energetic [/quote]