Ez a szekció lehetővé teszi a felhasználó által írt összes hozzászólás megtekintését. Vedd figyelembe, hogy csak azokba a fórumokba írt hozzászólásokat látod, amelyekhez hozzáférésed van.
Üzenetek - Torma2015
1
« Dátum: 2013. november 23. - 13:05:23 »
és azt hol tudom beírni a script-be? milyen szöveget keressek?
2
« Dátum: 2013. november 23. - 03:15:30 »
Van egy tuningscriptem, és amikor ráteszem a cuccokat tökéletes minden, de ha újra belépek, vagy /park-ot nyomok, avagy egy idõ után nekem visszateszi a leparkolt helyre a jármûvet..na olyankor már nincs rajta a tuningolt alkatrész, mi okból lehet? megköszönném a választ
3
« Dátum: 2013. november 23. - 00:56:16 »
Ez a Script lehetõvé teszi, hogy a játékban lévõ jármûveket tuningold a \"/tune\" nevû parancsal. Ezzel a tuning scriptel tudod tuningolni az egyedibb jármûveket IS mint pl: Sandking, Tractor, Tank,..ha mást nem is..nitrót, és kereket..akár hidraulikát is tudsz tenni bele! A SCRIPT ANGOL TULAJDONOSTÓL VAN, ÉN CSAK FORDÍTOTTAM !! és módosítottam, hogy mûködjön, ugyanis mûködés képtelen volt a script, tesztelve van, mûködik ! pár képet teszek fel a hitelesítés érdekében ! Használjátok egészséggel ! Az EREDETI ANGOL Tuning Scriptet itt találod : http://pastebin.com/SDjBcVHg#A MAGYAROSÍTOTT Tuning Scriptet itt találod: http://pastebin.com/5JCHe8weKépeket itt találod : http://www.imagebanana.com/view/pli7vqgp/sandking.jpghttp://www.imagebanana.com/view/dec7m5fp/huntley.jpghttp://www.imagebanana.com/view/rkx3rsl6/hotknife.jpghttp://www.imagebanana.com/view/ufjw4mhv/traktorfbirancher.jpghttp://www.imagebanana.com/view/cs57amlt/tank.jpg
4
« Dátum: 2013. november 23. - 00:38:34 »
megvan..mûködik, csináltam pár bizonyítékot a kételkedõknek... hoyg létezik ilyen és fel is teszem a scriptet
5
« Dátum: 2013. november 23. - 00:05:11 »
Az enyém is angol Script, magyarosítottam...de egy GetVehicleColor.inc-et kéne szereznem :/ talán még fel is tenném, ilyen script még úgysincs az oldalon Dupla hozzászólás automatikusan összefûzve. ( 2013. november 23. - 00:05:34 )
hozzáteszem..még a tank kerekét is cserélni tudod
6
« Dátum: 2013. november 23. - 00:03:05 »
nem találok sehol egy használható GetVehicleColor.inc-et..nincs valakinek esetleg aki át is küldené? fontos lenne. köszöntem
7
« Dátum: 2013. november 22. - 23:50:35 »
az oké...de hol találok egy használható getvehiclecolor.inc-et??
8
« Dátum: 2013. november 22. - 23:37:17 »
Egy Tuning Scriptet szeretnék betenni, de ez a hiba fogad ! próbáltam többféle GetVehicleColor.inc-et de mindegyiknél error warning..tele van :/ de gondolom hiányzik az include mappából a GetVehicleColor C:\\Users\\Torma2015\\Desktop\\GTA SZERVER\\filterscripts\\tuning.pwn(4) : fatal error 100: cannot read from file: \"GetVehicleColor\" Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
9
« Dátum: 2013. november 22. - 23:35:49 »
találtam egy olyan tuning scriptet, de van vele egy gondd...ezt a hibakódot dobja ki...próbáltam többféle getvehiclecolor inc-et de egyiksem volt jó..tele volt erroral meg warningal :/ C:\\Users\\Torma2015\\Desktop\\GTA SZERVER\\filterscripts\\tuning.pwn(4) : fatal error 100: cannot read from file: \"GetVehicleColor\" Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 1 Error.
10
« Dátum: 2013. november 22. - 21:51:40 »
tudtok olyan scriptet amiben lehet a sandkingnek a kerekét cserélni???
11
« Dátum: 2013. november 22. - 13:59:28 »
Nemtudm hova tegyem a rádió scriptemet a módon belül, mert filterscriptbe behozza a menüt, de nemjátszik le semmit, ha elõre raktam a sorban a filterscriptek közt, akkor kiírja, hogy mit hallgatsz de nemszól semmi, a linkek jók ! ezért maradt az hogy a módba teszem bele, de nemtudom hogyan kell..segísetek pls
12
« Dátum: 2013. november 20. - 21:07:41 »
kicseréltem pawnot és úgy sikerült error meg warning nélkül betenni a rádió scriptet,aztán most behozza a rádió menüt, de nem játszik le semmit, a linkek elvileg jók, rákattintok pl rádió1-re és semmi..nem ír ki semmit..nem játszik semmit..mi lehet a gondd?
13
« Dátum: 2013. november 20. - 18:32:17 »
a módban nincs olyan, nem találok sehol...a PPC_playercommands.inc ben megnézem még Dupla hozzászólás automatikusan összefûzve. ( 2013. november 20. - 18:36:36 )
// Make sure you don\'t get warnings about tabsize #pragma tabsize 0 // ******************************************************************************************************************** // Set default gamemode name // ******************************************************************************************************************** #define GameModeName \"[HUN]2013(NEW)Kamionozz és Dolgozz(NEW)2013[HUN]\" // ******************************************************************************************************************** // Limit the amount of cops with a value greater than 0 // Setting this to \"3\" would mean: // - having 3 normal players (non-cop players) before the first cop can join the server // - having 6 normal players before 2 cops can be active // - having 9 normal players before the third cop can join and so on // Leaving this at 0 disables the police-limitation, so anyone can choose the police class anytime // ******************************************************************************************************************** new PlayersBeforePolice = 0; // ******************************************************************************************************************** // ******************************************************************************************************************** // Include default files #include #include #include #include #include // Include all define-statements and custom-type declarations and the arrays which use them // These files need to be included before the functions get included, because the functions use the defines, custom types and the arrays // Also include the defined loads (for truckers, military, mafia, ...) and locations arrays #include #include #include #include #include #include #include #include #include // Include functions for this gamemode #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include // The main function (used only once when the server loads) main() { // Print some standard lines to the server\'s console print(\"\\n----------------------------------\"); print(GameModeName); print(\"----------------------------------\\n\"); } // This callback gets called when the server initializes the gamemode public OnGameModeInit() { new HostCommand[128]; // Change the hostname format(HostCommand, 128, \"Felhasználónév %s\", GameModeName); SendRconCommand(HostCommand); SetGameModeText(GameModeName); // Set the Mode of the gamemode, which appears in the list of servers GameModeInit_VehiclesPickups(); // Add all static vehicles and pickups when the server starts that are required (also load the houses) GameModeInit_Classes(); // Add character models to the class-selection (without weapons) Convoys_Init(); // Setup textdraws and default data for convoys ShowPlayerMarkers(1); // Show players on the entire map (and on the radar) ShowNameTags(1); // Show player names (and health) above their head ManualVehicleEngineAndLights(); // Let the server control the vehicle\'s engine and lights EnableStuntBonusForAll(0); // Disable stunt bonus for all players DisableInteriorEnterExits(); // Removes all building-entrances in the game UsePlayerPedAnims(); // Use CJ\'s walking animation // Start the timer that will show timed messages every 2 minutes SetTimer(\"Timer_TimedMessages\", 1000 * 60 * 2, true); // Start the timer that will show a random bonus mission for truckers every 5 minutes SetTimer(\"ShowRandomBonusMission\", 1000 * 60 * 5, true); // Start the timer that checks the toll-gates SetTimer(\"Toll\", 1000, true); // Fix the bugged houses (after fixing the houses, you can remove this line, as it\'s not needed anymore) FixHouses(); // While the gamemode starts, start the global timer, and run it every second SetTimer(\"GlobalTimer\", 1000, true); return 1; } // This callback gets called when a player connects to the server public OnPlayerConnect(playerid) { // Always allow NPC\'s to login without password or account if (IsPlayerNPC(playerid)) return 1; // Setup local variables new Name[MAX_PLAYER_NAME], NewPlayerMsg[128], HouseID; // Setup a PVar to allow cross-script money-transfers (only from filterscript to this mainscript) and scorepoints SetPVarInt(playerid, \"PVarMoney\", 0); SetPVarInt(playerid, \"PVarScore\", 0); // Get the playername GetPlayerName(playerid, Name, sizeof(Name)); // Also store this name for the player GetPlayerName(playerid, APlayerData[playerid][PlayerName], 24); // Send a message to all players to let them know somebody else joined the server format(NewPlayerMsg, 128, \"Üdvözöllek az új Szerveren (még fordítás alatt van, ha kérdésed van nyugodtan jelezz e-mailben ([email protected])\", Name, playerid); SendClientMessageToAll(0xFFFFFFFF, NewPlayerMsg); // Try to load the player\'s datafile (\"PlayerFile_Load\" returns \"1\" is the file has been read, \"0\" when the file cannot be read) if (PlayerFile_Load(playerid) == 1) { // Check if the player is still banned if (APlayerData[playerid][banTime] < gettime()) // Player ban-time is passed ShowPlayerDialog(playerid, DialogLogin, DIALOG_STYLE_INPUT, TXT_DialogLoginTitle, TXT_DialogLoginMsg, TXT_DialogLoginButton1, TXT_DialogButtonCancel); else // Player is still banned { ShowRemainingBanTime(playerid); // Show the remaining ban-time to the player is days, hours, minutes, seconds Kick(playerid); // Kick the player } } else ShowPlayerDialog(playerid, DialogRegister, DIALOG_STYLE_INPUT, TXT_DialogRegisterTitle, TXT_DialogRegisterMsg, TXT_DialogRegisterButton1, TXT_DialogButtonCancel); // The houses have been loaded but not the cars, so load all vehicles assigned to the player\'s houses for (new HouseSlot; HouseSlot < MAX_HOUSESPERPLAYER; HouseSlot++) { // Get the HouseID from this slot HouseID = APlayerData[playerid][Houses][HouseSlot]; // Check if there is a house in this slot if (HouseID != 0) HouseFile_Load(HouseID, true); // Load the cars of the house } // Speedometer setup Speedometer_Setup(playerid); // MissionText TextDraw setup APlayerData[playerid][MissionText] = TextDrawCreate(320.0, 430.0, \" \"); // Setup the missiontext at the bottom of the screen TextDrawAlignment(APlayerData[playerid][MissionText], 2); // Align the missiontext to the center TextDrawUseBox(APlayerData[playerid][MissionText], 1); // Set the missiontext to display inside a box TextDrawBoxColor(APlayerData[playerid][MissionText], 0x00000066); // Set the box color of the missiontext // Display a message if the player hasn\'t accepted the rules yet if (APlayerData[playerid][RulesRead] == false) SendClientMessage(playerid, 0xFFFFFFFF, \"{FF0000}Fogadd el a szabályzatot{FFFF00}/rules{FF0000}\"); return 1; } // This function shows the player how long his ban still is when he tries to login (in days, hours, minutes, seconds) ShowRemainingBanTime(playerid) { // Setup local variables new TotalBanTime, Days, Hours, Minutes, Seconds, Msg[128]; // Get the total ban-time TotalBanTime = APlayerData[playerid][banTime] - gettime(); // Calculate days if (TotalBanTime >= 86400) { Days = TotalBanTime / 86400; TotalBanTime = TotalBanTime - (Days * 86400); } // Calculate hours if (TotalBanTime >= 3600) { Hours = TotalBanTime / 3600; TotalBanTime = TotalBanTime - (Hours * 3600); } // Calculate minutes if (TotalBanTime >= 60) { Minutes = TotalBanTime / 60; TotalBanTime = TotalBanTime - (Minutes * 60); } // Calculate seconds Seconds = TotalBanTime; // Display the remaining ban-time for this player SendClientMessage(playerid, 0xFFFFFFFF, TXT_StillBanned); format(Msg, 128, TXT_BannedDuration, Days, Hours, Minutes, Seconds); SendClientMessage(playerid, 0xFFFFFFFF, Msg); } // This callback gets called when a player disconnects from the server public OnPlayerDisconnect(playerid, reason) { // Always allow NPC\'s to logout without password or account if (IsPlayerNPC(playerid)) return 1; // Setup local variables new Name[24], Msg[128], HouseID; // Get the playername GetPlayerName(playerid, Name, sizeof(Name)); // Stop spectate mode for all players who are spectating this player for (new i; i < MAX_PLAYERS; i++) if (IsPlayerConnected(i)) // Check if the player is connected if (GetPlayerState(i) == PLAYER_STATE_SPECTATING) // Check if this player is spectating somebody if (APlayerData[spectateID] == playerid) // Check if this player is spectating me { TogglePlayerSpectating(i, 0); // Turn off spectate-mode APlayerData[spectateID] = INVALID_PLAYER_ID; APlayerData[spectateType] = ADMIN_SPEC_TYPE_NONE; SendClientMessage(i, 0xFFFFFFFF, \"{FF0000}A játékos kilépett a szerverrõl\"); } // Send a message to all players to let them know somebody left the server format(Msg, 128, \"kiléptél a szerverrõl\", Name, playerid); SendClientMessageToAll(0xFFFFFFFF, Msg); // If the player entered a proper password (the player has an account) if (strlen(APlayerData[playerid][PlayerPassword]) != 0) { // Save the player data and his houses PlayerFile_Save(playerid); } // Stop any job that may have started (this also clears all mission data) switch (APlayerData[playerid][PlayerClass]) { case ClassTruckDriver: Trucker_EndJob(playerid); // Stop any trucker job case ClassBusDriver: BusDriver_EndJob(playerid); // Stop any busdriver job case ClassPilot: Pilot_EndJob(playerid); // Stop any pilot job case ClassPolice: Police_EndJob(playerid); // Stop any police job case ClassMafia: Mafia_EndJob(playerid); // Stop any mafia job case ClassAssistance: Assistance_EndJob(playerid); case ClassRoadWorker: Roadworker_EndJob(playerid); } // If the player is part of a convoy, kick him from it Convoy_Leave(playerid); // Unload all the player\'s house-vehicles to make room for other player\'s vehicles for (new HouseSlot; HouseSlot < MAX_HOUSESPERPLAYER; HouseSlot++) { // Get the HouseID from this slot HouseID = APlayerData[playerid][Houses][HouseSlot]; // Check if there is a house in this slot if (HouseID != 0) { // Unload the cars of the house House_RemoveVehicles(HouseID); // Set the house so it cannot be entered by anyone (close the house) AHouseData[HouseID][HouseOpened] = false; } } // Clear the data in the APlayerData array to make sure the next player with the same id doesn\'t hold wrong data APlayerData[playerid][spectateID] = -1; APlayerData[playerid][spectateVehicle] = -1; APlayerData[playerid][spectateType] = ADMIN_SPEC_TYPE_NONE; APlayerData[playerid][LoggedIn] = false; APlayerData[playerid][AssistanceNeeded] = false; APlayerData[playerid][PlayerPassword] = 0; APlayerData[playerid][PlayerLevel] = 0; APlayerData[playerid][PlayerJailed] = 0; APlayerData[playerid][PlayerFrozen] = 0; // Clearing this variable automatically kills the frozentimer APlayerData[playerid][bans] = 0; APlayerData[playerid][banTime] = 0; APlayerData[playerid][Muted] = false; APlayerData[playerid][RulesRead] = false; APlayerData[playerid][AutoReportTime] = 0; APlayerData[playerid][TruckerLicense] = 0; APlayerData[playerid][busLicense] = 0; APlayerData[playerid][PlayerClass] = 0; APlayerData[playerid][Warnings] = 0; APlayerData[playerid][PlayerMoney] = 0; APlayerData[playerid][PlayerScore] = 0; for (new HouseSlot; HouseSlot < MAX_HOUSESPERPLAYER; HouseSlot++) APlayerData[playerid][Houses][HouseSlot] = 0; for (new BusSlot; BusSlot < MAX_BUSINESSPERPLAYER; BusSlot++) APlayerData[playerid][business][busSlot] = 0; APlayerData[playerid][CurrentHouse] = 0; // Clear bank account info APlayerData[playerid][bankPassword] = 0; APlayerData[playerid][bankLoggedIn] = false; APlayerData[playerid][bankMoney] = 0; // Clear stats APlayerData[playerid][statsTruckerJobs] = 0; APlayerData[playerid][statsConvoyJobs] = 0; APlayerData[playerid][statsBusDriverJobs] = 0; APlayerData[playerid][statsPilotJobs] = 0; APlayerData[playerid][statsMafiaJobs] = 0; APlayerData[playerid][statsMafiaStolen] = 0; APlayerData[playerid][statsPoliceFined] = 0; APlayerData[playerid][statsPoliceJailed] = 0; APlayerData[playerid][statsCourierJobs] = 0; APlayerData[playerid][statsRoadworkerJobs] = 0; APlayerData[playerid][statsAssistance] = 0; APlayerData[playerid][statsMetersDriven] = 0.0; // Clear police warnings APlayerData[playerid][PoliceCanJailMe] = false; APlayerData[playerid][PoliceWarnedMe] = false; APlayerData[playerid][Value_PoliceCanJailMe] = 0; // Make sure the jailtimer has been destroyed KillTimer(APlayerData[playerid][PlayerJailedTimer]); KillTimer(APlayerData[playerid][Timer_PoliceCanJailMe]); // Destroy the speedometer TextDraw for this player and the timer, also set the speed to 0 Speedometer_Cleanup(playerid); // Also destroy the missiontext TextDraw for this player TextDrawDestroy(APlayerData[playerid][MissionText]); // Destroy a rented vehicle is the player had any if (APlayerData[playerid][RentedVehicleID] != 0) { // Clear the data for the already rented vehicle AVehicleData[APlayerData[playerid][RentedVehicleID]][Model] = 0; AVehicleData[APlayerData[playerid][RentedVehicleID]][Fuel] = 0; AVehicleData[APlayerData[playerid][RentedVehicleID]][Owned] = false; AVehicleData[APlayerData[playerid][RentedVehicleID]][Owner] = 0; AVehicleData[APlayerData[playerid][RentedVehicleID]][PaintJob] = 0; for (new j; j < 14; j++) { AVehicleData[APlayerData[playerid][RentedVehicleID]][Components][j] = 0; } // Destroy the vehicle DestroyVehicle(APlayerData[playerid][RentedVehicleID]); // Clear the RentedVehicleID APlayerData[playerid][RentedVehicleID] = 0; } return 1; } // This callback gets called whenever a player uses the chat-box public OnPlayerText(playerid, text[]) { // Block the player\'s text if he has been muted if (APlayerData[playerid][Muted] == true) { // Let the player know he\'s still muted SendClientMessage(playerid, 0xFFFFFFFF, \"{FF0000}Le vagy némítva\"); // Don\'t allow his text to be sent to the chatbox return 0; } return 1; } // This callback gets called when a player interacts with a dialog public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { // Select the proper dialog to process switch (dialogid) { case DialogRegister: Dialog_Register(playerid, response, inputtext); // The \"Register\"-dialog case DialogLogin: Dialog_Login(playerid, response, inputtext); // The \"Login\"-dialog case DialogStatsOtherPlayer: Dialog_StatsOtherPlayer(playerid, response, listitem); case DialogStatsHouse: Dialog_StatsHouse(playerid, response, listitem); case DialogStatsGoHouse: Dialog_StatsGoHouse(playerid, response, listitem); case DialogStatsGoBusiness: Dialog_StatsGoBusiness(playerid, response, listitem); case DialogRescue: Dialog_Rescue(playerid, response, listitem); // The rescue-dialog case DialogBuyLicenses: Dialog_BuyLicenses(playerid, response, listitem); // The license-dialog (allows the player to buy trucker/busdriver licenses) case DialogRules: Dialog_Rules(playerid, response); case DialogTruckerJobMethod: Dialog_TruckerSelectJobMethod(playerid, response, listitem); // The work-dialog for truckers (shows the loads he can carry and lets the player choose the load) case DialogTruckerSelectLoad: Dialog_TruckerSelectLoad(playerid, response, listitem); // The load-selection dialog for truckers (shows the startlocations for the selected load and let the player choose his startlocation) case DialogTruckerStartLoc: Dialog_TruckerSelectStartLoc(playerid, response, listitem); // The start-location dialog for truckers (shows the endlocations for the selected load and let the player choose his endlocation) case DialogTruckerEndLoc: Dialog_TruckerSelectEndLoc(playerid, response, listitem); // The end-location dialog for truckers (processes the selected endlocation and starts the job) case DialogBusJobMethod: Dialog_BusSelectJobMethod(playerid, response, listitem); // The work-dialog for busdrivers (process the options to choose own busroute or auto-assigned busroute) case DialogBusSelectRoute: Dialog_BusSelectRoute(playerid, response, listitem); // Choose the busroute and start the job case DialogCourierSelectQuant: Dialog_CourierSelectQuant(playerid, response, listitem); case DialogBike: Dialog_Bike(playerid, response, listitem); // The bike-dialog case DialogCar: Dialog_Car(playerid, response, listitem); // The car-dialog (which uses a split dialog structure) case DialogPlane: Dialog_Plane(playerid, response, listitem); // The plane-dialog (which uses a split dialog structure) case DialogTrailer: Dialog_Trailer(playerid, response, listitem); // The trailer-dialog (which uses a split dialog structure) case DialogBoat: Dialog_Boat(playerid, response, listitem); // The boat-dialog case DialogNeon: Dialog_Neon(playerid, response, listitem); // The neon-dialog case DialogRentCarClass: Dialog_RentProcessClass(playerid, response, listitem); // The player chose a vehicleclass from where he can rent a vehicle case DialogRentCar: Dialog_RentCar(playerid, response, listitem); // The player chose a vehicle from the list of vehicles from the vehicleclass he chose before case DialogPlayerCommands: Dialog_PlayerCommands(playerid, response, listitem); // Displays all commands in a split-dialog structure case DialogPrimaryCarColor: Dialog_PrimaryCarColor(playerid, response, listitem); case DialogSedundaryCarColor: Dialog_SedundaryCarColor(playerid, response, listitem); case DialogWeather: Dialog_Weather(playerid, response, listitem); // The weather dialog case DialogCarOption: Dialog_CarOption(playerid, response, listitem); // The caroption dialog case DialogSelectConvoy: Dialog_SelectConvoy(playerid, response, listitem); case DialogHouseMenu: Dialog_HouseMenu(playerid, response, listitem); // Process the main housemenu case DialogUpgradeHouse: Dialog_UpgradeHouse(playerid, response, listitem); // Process the house-upgrade menu case DialogGoHome: Dialog_GoHome(playerid, response, listitem); // Port to one of your houses case DialogHouseNameChange: Dialog_ChangeHouseName(playerid, response, inputtext); // Change the name of your house case DialogSellHouse: Dialog_SellHouse(playerid, response); // Sell the house case DialogBuyCarClass: Dialog_BuyCarClass(playerid, response, listitem); // The player chose a vehicleclass from where he can buy a vehicle case DialogBuyCar: Dialog_BuyCar(playerid, response, listitem); // The player chose a vehicle from the list of vehicles from the vehicleclass he chose before case DialogSellCar: Dialog_SellCar(playerid, response, listitem); case DialogBuyInsurance: Dialog_BuyInsurance(playerid, response); case DialogGetCarSelectHouse: Dialog_GetCarSelectHouse(playerid, response, listitem); case DialogGetCarSelectCar: Dialog_GetCarSelectCar(playerid, response, listitem); case DialogUnclampVehicles: Dialog_UnclampVehicles(playerid, response); case DialogCreateBusSelType: Dialog_CreateBusSelType(playerid, response, listitem); case DialogBusinessMenu: Dialog_BusinessMenu(playerid, response, listitem); case DialogGoBusiness: Dialog_GoBusiness(playerid, response, listitem); case DialogBusinessNameChange: Dialog_ChangeBusinessName(playerid, response, inputtext); // Change the name of your business case DialogSellBusiness: Dialog_SellBusiness(playerid, response); // Sell the business case DialogBankPasswordRegister: Dialog_BankPasswordRegister(playerid, response, inputtext); case DialogBankPasswordLogin: Dialog_BankPasswordLogin(playerid, response, inputtext); case DialogBankOptions: Dialog_BankOptions(playerid, response, listitem); case DialogBankDeposit: Dialog_BankDeposit(playerid, response, inputtext); case DialogBankWithdraw: Dialog_BankWithdraw(playerid, response, inputtext); case DialogBankTransferMoney: Dialog_BankTransferMoney(playerid, response, inputtext); case DialogBankTransferName: Dialog_BankTransferName(playerid, response, inputtext); case DialogBankCancel: Dialog_BankCancel(playerid, response); case DialogHelpItemChosen: Dialog_HelpItemChosen(playerid, response, listitem); case DialogHelpItem: Dialog_HelpItem(playerid, response); case DialogOldPassword: Dialog_OldPassword(playerid, response, inputtext); case DialogNewPassword: Dialog_NewPassword(playerid, response, inputtext); case DialogConfirmPassword: Dialog_ConfirmPassword(playerid, response); } return 1; } // this callback gets called when a player clicks on another player on the scoreboard public OnPlayerClickPlayer(playerid, clickedplayerid, source) { // Check if the player is an admin of at least level 1 if (APlayerData[playerid][PlayerLevel] >= 1) { // Setup local variables new Name[24], DialogTitle[128], PlayerStatList[3000], PlayerIP[16], NumHouses, NumBusinesses; // Construct the dialog-title GetPlayerName(clickedplayerid, Name, sizeof(Name)); format(DialogTitle, 128, \"Játékos statisztikája: %s\", Name); // Add the IP of the player to the list GetPlayerIp(clickedplayerid, PlayerIP, sizeof(PlayerIP)); format(PlayerStatList, sizeof(PlayerStatList), \"%s{FFFFFF}Játékos-IP: {00FF00}%s\\n\", PlayerStatList, PlayerIP); // Add the level of the player to the list format(PlayerStatList, sizeof(PlayerStatList), \"%s{FFFFFF}Admin-szint: {00FF00}%i\\n\", PlayerStatList, APlayerData[clickedplayerid][PlayerLevel]); // Add the class of the player to the list switch(APlayerData[clickedplayerid][PlayerClass]) { case ClassTruckDriver: format(PlayerStatList, sizeof(PlayerStatList), \"%s{FFFFFF}Class: {00FF00}Kamionos\\n\", PlayerStatList); case ClassBusDriver: format(PlayerStatList, sizeof(PlayerStatList), \"%s{FFFFFF}Class: {00FF00}Buszvezetõ\\n\", PlayerStatList); case ClassPilot: format(PlayerStatList, sizeof(PlayerStatList), \"%s{FFFFFF}Class: {00FF00}Pilóta\\n\", PlayerStatList); case ClassPolice: format(PlayerStatList, sizeof(PlayerStatList), \"%s{FFFFFF}Class: {00FF00}Rendõr\\n\", PlayerStatList); case ClassMafia: format(PlayerStatList, sizeof(PlayerStatList), \"%s{FFFFFF}Class: {00FF00}Maffia\\n\", PlayerStatList); case ClassCourier: format(PlayerStatList, sizeof(PlayerStatList), \"%s{FFFFFF}Class: {00FF00}Futár\\n\", PlayerStatList); case ClassAssistance: format(PlayerStatList, sizeof(PlayerStatList), \"%s{FFFFFF}Class: {00FF00}Karbantartó\\n\", PlayerStatList); } // Add money and score of the player to the list format(PlayerStatList, sizeof(PlayerStatList), \"%s{FFFFFF}Pénz: {00FF00}%i\\n\", PlayerStatList, APlayerData[clickedplayerid][PlayerMoney]); format(PlayerStatList, sizeof(PlayerStatList), \"%s{FFFFFF}Pont: {00FF00}%i\\n\", PlayerStatList, APlayerData[clickedplayerid][PlayerScore]); // Add wanted-level of the player to the list format(PlayerStatList, sizeof(PlayerStatList), \"%s{FFFFFF}Körözési szint: {00FF00}%i\\n\", PlayerStatList, GetPlayerWantedLevel(clickedplayerid)); // Add truckerlicense and busdriver license of the player to the list if (APlayerData[clickedplayerid][TruckerLicense] == 1) format(PlayerStatList, sizeof(PlayerStatList), \"%s{FFFFFF}Kamion jogosítvány: {00FF00}Yes\\n\", PlayerStatList); else format(PlayerStatList, sizeof(PlayerStatList), \"%s{FFFFFF}Kamion jogosítvány: {00FF00}No\\n\", PlayerStatList); if (APlayerData[clickedplayerid][busLicense] == 1) format(PlayerStatList, sizeof(PlayerStatList), \"%s{FFFFFF}Busz jogosítvány: {00FF00}Yes\\n\", PlayerStatList); else format(PlayerStatList, sizeof(PlayerStatList), \"%s{FFFFFF}Busz jogosítvány: {00FF00}No\\n\", PlayerStatList); format(PlayerStatList, sizeof(PlayerStatList), \"%s{FFFFFF}Befejezted a Kamionos munkát: {00FF00}%i\\n\", PlayerStatList, APlayerData[clickedplayerid][statsTruckerJobs]); format(PlayerStatList, sizeof(PlayerStatList), \"%s{FFFFFF}A Convoy célba ért: {00FF00}%i\\n\", PlayerStatList, APlayerData[clickedplayerid][statsConvoyJobs]); format(PlayerStatList, sizeof(PlayerStatList), \"%s{FFFFFF}Befejezted a munkát: {00FF00}%i\\n\", PlayerStatList, APlayerData[clickedplayerid][statsBusDriverJobs]); format(PlayerStatList, sizeof(PlayerStatList), \"%s{FFFFFF}Sikeres landolás: {00FF00}%i\\n\", PlayerStatList, APlayerData[clickedplayerid][statsPilotJobs]); format(PlayerStatList, sizeof(PlayerStatList), \"%s{FFFFFF}Befejezted a Maffia melót: {00FF00}%i\\n\", PlayerStatList, APlayerData[clickedplayerid][statsMafiaJobs]); format(PlayerStatList, sizeof(PlayerStatList), \"%s{FFFFFF}Lopott rakomány töltve: {00FF00}%i\\n\", PlayerStatList, APlayerData[clickedplayerid][statsMafiaStolen]); format(PlayerStatList, sizeof(PlayerStatList), \"%s{FFFFFF}Megbírságolták: {00FF00}%i\\n\", PlayerStatList, APlayerData[clickedplayerid][statsPoliceFined]); format(PlayerStatList, sizeof(PlayerStatList), \"%s{FFFFFF}Börtönbe van: {00FF00}%i\\n\", PlayerStatList, APlayerData[clickedplayerid][statsPoliceJailed]); format(PlayerStatList, sizeof(PlayerStatList), \"%s{FFFFFF}Leszállítottad a csomagokat: {00FF00}%i\\n\", PlayerStatList, APlayerData[clickedplayerid][statsCourierJobs]); format(PlayerStatList, sizeof(PlayerStatList), \"%s{FFFFFF}Befejezted a munkát: {00FF00}%i\\n\", PlayerStatList, APlayerData[clickedplayerid][statsRoadworkerJobs]); format(PlayerStatList, sizeof(PlayerStatList), \"%s{FFFFFF}Támogatott: {00FF00}%i\\n\", PlayerStatList, APlayerData[clickedplayerid][statsAssistance]); format(PlayerStatList, sizeof(PlayerStatList), \"%s{FFFFFF}Megtett méter: {00FF00}%f\\n\", PlayerStatList, APlayerData[clickedplayerid][statsMetersDriven]); // Count the number of houses/businesses that the player has and add them to the list for (new i; i < MAX_HOUSESPERPLAYER; i++) if (APlayerData[clickedplayerid][Houses] != 0) NumHouses++; for (new i; i < MAX_BUSINESSPERPLAYER; i++) if (APlayerData[clickedplayerid][business] != 0) NumBusinesses++; format(PlayerStatList, sizeof(PlayerStatList), \"%s{FFFFFF}Házak: {00FF00}%i (kattints duplán)\\n\", PlayerStatList, NumHouses); format(PlayerStatList, sizeof(PlayerStatList), \"%s{FFFFFF}Üzletek: {00FF00}%i (kattints duplán)\\n\", PlayerStatList, NumBusinesses); // Store the player-id of the other player so the other dialogs can display his statistics further (houses, businesses, cars) APlayerData[playerid][DialogOtherPlayer] = clickedplayerid; // Show the statistics of the other player ShowPlayerDialog(playerid, DialogStatsOtherPlayer, DIALOG_STYLE_LIST, DialogTitle, PlayerStatList, TXT_DialogButtonSelect, TXT_DialogButtonCancel); // Let the player buy a license } return 1; } // This callback gets called when a player picks up any pickup public OnPlayerPickUpPickup(playerid, pickupid) { // If the player picks up the Buy_License pickup at the driving school in Doherty if (pickupid == Pickup_License) // Ask the player which license he wants to buy ShowPlayerDialog(playerid, DialogBuyLicenses, DIALOG_STYLE_LIST, TXT_DialogLicenseTitle, TXT_DialogLicenseList, TXT_DialogButtonBuy, TXT_DialogButtonCancel); // Let the player buy a license return 1; } // This callback gets called when a player spawns somewhere public OnPlayerSpawn(playerid) { // Always allow NPC\'s to spawn without logging in if (IsPlayerNPC(playerid)) return 1; // Check if the player properly logged in by typing his password if (APlayerData[playerid][LoggedIn] == false) { SendClientMessage(playerid, 0xFFFFFFFF, TXT_FailedLoginProperly); Kick(playerid); // Kick the player if he didn\'t log in properly } // Setup local variables new missiontext[200]; // Spawn the player in the global world (where everybody plays the game) SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); // Also set a variable that tracks in which house the player currently is APlayerData[playerid][CurrentHouse] = 0; // Disable the clock TogglePlayerClock(playerid, 0); // Delete all weapons from the player ResetPlayerWeapons(playerid); // Set the missiontext based on the chosen class switch (APlayerData[playerid][PlayerClass]) { case ClassTruckDriver: // Truck-driver class { format(missiontext, sizeof(missiontext), Trucker_NoJobText); // Preset the missiontext SetPlayerColor(playerid, ColorClassTruckDriver); // Set the playercolor (chatcolor for the player and color on the map) } case ClassBusDriver: // Bus-driver class { format(missiontext, sizeof(missiontext), BusDriver_NoJobText); // Preset the missiontext SetPlayerColor(playerid, ColorClassBusDriver); // Set the playercolor (chatcolor for the player and color on the map) } case ClassPilot: // Pilot class { format(missiontext, sizeof(missiontext), Pilot_NoJobText); // Preset the missiontext SetPlayerColor(playerid, ColorClassPilot); // Set the playercolor (chatcolor for the player and color on the map) } case ClassPolice: // Police class { format(missiontext, sizeof(missiontext), Police_NoJobText); // Preset the missiontext SetPlayerColor(playerid, ColorClassPolice); // Set the playercolor (chatcolor for the player and color on the map) // Start the PlayerCheckTimer to scan for wanted players (be sure the timer has been destroyed first) KillTimer(APlayerData[playerid][PlayerCheckTimer]); APlayerData[playerid][PlayerCheckTimer] = SetTimerEx(\"Rendõrség ellenõrzést tart\", 1000, true, \"i\", playerid); // Check if the police player can get weapons if (PoliceGetsWeapons == true) { // Give up to 12 weapons to the player for (new i; i < 12; i++) GivePlayerWeapon(playerid, APoliceWeapons, PoliceWeaponsAmmo); } } case ClassMafia: // Mafia class { format(missiontext, sizeof(missiontext), Mafia_NoJobText); // Preset the missiontext SetPlayerColor(playerid, ColorClassMafia); // Set the playercolor (chatcolor for the player and color on the map) // Start the PlayerCheckTimer to scan for players that carry mafia-loads (be sure the timer has been destroyed first) KillTimer(APlayerData[playerid][PlayerCheckTimer]); APlayerData[playerid][PlayerCheckTimer] = SetTimerEx(\"Ellenõrizd a Maffia rakományt\", 1000, true, \"i\", playerid); } case ClassCourier: // Courier class { format(missiontext, sizeof(missiontext), Courier_NoJobText); // Preset the missiontext SetPlayerColor(playerid, ColorClassCourier); // Set the playercolor (chatcolor for the player and color on the map) } case ClassAssistance: // Assistance class { format(missiontext, sizeof(missiontext), Assistance_NoJobText); // Preset the missiontext SetPlayerColor(playerid, ColorClassAssistance); // Set the playercolor (chatcolor for the player and color on the map) // Start the PlayerCheckTimer to scan for players who need assistance (be sure the timer has been destroyed first) KillTimer(APlayerData[playerid][PlayerCheckTimer]); APlayerData[playerid][PlayerCheckTimer] = SetTimerEx(\"Karbantartó ellenõrzés\", 1000, true, \"i\", playerid); } case ClassRoadWorker: // Roadworker class { format(missiontext, sizeof(missiontext), RoadWorker_NoJobText); // Preset the missiontext SetPlayerColor(playerid, ColorClassRoadWorker); // Set the playercolor (chatcolor for the player and color on the map) } } // Set the missiontext TextDrawSetString(APlayerData[playerid][MissionText], missiontext); // Show the missiontext for this player TextDrawShowForPlayer(playerid, APlayerData[playerid][MissionText]); // If the player spawns and his jailtime hasn\'t passed yet, put him back in jail if (APlayerData[playerid][PlayerJailed] != 0) Police_JailPlayer(playerid, APlayerData[playerid][PlayerJailed]); return 1; } // This callback gets called whenever a player enters a checkpoint public OnPlayerEnterCheckpoint(playerid) { // Check the player\'s class switch (APlayerData[playerid][PlayerClass]) { case ClassTruckDriver: // Truckdriver class Trucker_OnPlayerEnterCheckpoint(playerid); // Process the checkpoint (load or unload goods) case ClassBusDriver: // BusDriver class { GameTextForPlayer(playerid, \"küldetést teljesítetted\", 3000, 4); // Show a message to let the player know he finished his job BusDriver_EndJob(playerid); // End the current mission } case ClassPilot: // Pilot class Pilot_OnPlayerEnterCheckpoint(playerid); // Process the checkpoint (load or unload) case ClassMafia: // Mafia class Mafia_OnPlayerEnterCheckpoint(playerid); case ClassCourier: // Courier class Courier_OnPlayerEnterCheckpoint(playerid); case ClassRoadWorker: // Roadworker class { // Only end the mission when doing \"repair-speedcamera\" jobtype (checkpoint is the base of the roadworker) if (APlayerData[playerid][JobID] == 1) // Repairing speedcamera\'s { GameTextForPlayer(playerid, \"sikeres küldetés\", 3000, 4); // Show a message to let the player know he finished his job Roadworker_EndJob(playerid); // End the current mission } if (APlayerData[playerid][JobID] == 2) // Towing broken vehicle to shredder Roadworker_EnterCheckpoint(playerid); } } return 1; } // This callback gets called when a player enters a race-checkpoint public OnPlayerEnterRaceCheckpoint(playerid) { // Check the player\'s class switch (APlayerData[playerid][PlayerClass]) { case ClassBusDriver: // BusDriver class Bus_EnterRaceCheckpoint(playerid); // Process the checkpoint case ClassRoadWorker: // Roadworker class Roadworker_EnterRaceCheckpoint(playerid); } return 1; } // This callback gets called whenever a player dies public OnPlayerDeath(playerid, killerid, reason) { // Setup local variables new VictimName[24], KillerName[24], Msg[128]; // Clear the missiontext TextDrawSetString(APlayerData[playerid][MissionText], \" \"); // Hide the missiontext for this player (when the player is choosing a class, it\'s not required to show any mission-text) TextDrawHideForPlayer(playerid, APlayerData[playerid][MissionText]); // Stop any job that may have started switch (APlayerData[playerid][PlayerClass]) { case ClassTruckDriver: Trucker_EndJob(playerid); case ClassBusDriver: BusDriver_EndJob(playerid); case ClassPilot: Pilot_EndJob(playerid); case ClassPolice: Police_EndJob(playerid); case ClassMafia: Mafia_EndJob(playerid); case ClassCourier: Courier_EndJob(playerid); case ClassAssistance: Assistance_EndJob(playerid); case ClassRoadWorker: Roadworker_EndJob(playerid); } // If the player is part of a convoy, kick him from it Convoy_Leave(playerid); // If another player kills you, he\'ll get an extra star of his wanted level if (killerid != INVALID_PLAYER_ID) { // Increase the wanted level of the killer by one star SetPlayerWantedLevel(killerid, GetPlayerWantedLevel(killerid) + 1); // Get the name of the killed player and the killer GetPlayerName(playerid, VictimName, sizeof(VictimName)); GetPlayerName(killerid, KillerName, sizeof(KillerName)); // Let the killed know the police are informed about the kill format(Msg, 128, \"{FF0000}Megölted {FFFF00}%s{FF0000}, ezért a rendõrség köröz\", VictimName); SendClientMessage(killerid, 0xFFFFFFFF, Msg); // Inform all police players about the kill format(Msg, 128, \"{00FF00}Játékos {FFFF00}%s{00FF00} meghalt {FFFF00}%s{00FF00}, Találd meg\", KillerName, VictimName); Police_SendMessage(Msg); } return 1; } // This callback gets called when the player is selecting a class (but hasn\'t clicked \"Spawn\" yet) public OnPlayerRequestClass(playerid, classid) { SetPlayerInterior(playerid,14); SetPlayerPos(playerid,258.4893,-41.4008,1002.0234); SetPlayerFacingAngle(playerid, 270.0); SetPlayerCameraPos(playerid,256.0815,-43.0475,1004.0234); SetPlayerCameraLookAt(playerid,258.4893,-41.4008,1002.0234); // Display a short message to inform the player about the class he\'s about to choose switch (classid) { case 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15: // Classes that will be truckdrivers { // Display the name of the class GameTextForPlayer(playerid, TXT_ClassTrucker, 3000, 4); // Store the class for the player (truckdriver) APlayerData[playerid][PlayerClass] = ClassTruckDriver; } case 16, 17, 18, 19, 20: // Classes that will be bus-drivers { // Display the name of the class GameTextForPlayer(playerid, TXT_ClassBusDriver, 3000, 4); // Store the class for the player (busdriver) APlayerData[playerid][PlayerClass] = ClassBusDriver; } case 21, 22, 23, 24, 25: // Classes that will be Pilot { // Display the name of the class GameTextForPlayer(playerid, TXT_ClassPilot, 3000, 4); // Store the class for the player (pilot) APlayerData[playerid][PlayerClass] = ClassPilot; } case 26, 27, 28, 29, 30, 31, 32, 33: // Classes that will be police { // Display the name of the class GameTextForPlayer(playerid, TXT_ClassPolice, 3000, 4); // Store the class for the player (police) APlayerData[playerid][PlayerClass] = ClassPolice; } case 34, 35, 36, 37, 38, 39, 40, 41, 42: // Classes that will be mafia { // Display the name of the class GameTextForPlayer(playerid, TXT_ClassMafia, 3000, 4); // Store the class for the player (mafia) APlayerData[playerid][PlayerClass] = ClassMafia; } case 43, 44, 45, 46, 47, 48, 49, 50: // Classes that will be courier { // Display the name of the class GameTextForPlayer(playerid, TXT_ClassCourier, 3000, 4); // Store the class for the player (courier) APlayerData[playerid][PlayerClass] = ClassCourier; } case 51: // Classes that will be assistance { // Display the name of the class GameTextForPlayer(playerid, TXT_ClassAssistance, 3000, 4); // Store the class for the player (assistance) APlayerData[playerid][PlayerClass] = ClassAssistance; } case 52, 53, 54: // Classes that will be roadworker { // Display the name of the class GameTextForPlayer(playerid, TXT_ClassRoadWorker, 3000, 4); // Store the class for the player (roadworker) APlayerData[playerid][PlayerClass] = ClassRoadWorker; } } return 1; } // This callback is called when the player attempts to spawn via class-selection public OnPlayerRequestSpawn(playerid) { new Index, Float:x, Float:y, Float:z, Float:Angle, Name[24], Msg[128]; // Get the player\'s name GetPlayerName(playerid, Name, sizeof(Name)); // Choose a random spawnlocation based on the player\'s class switch (APlayerData[playerid][PlayerClass]) { case ClassTruckDriver: { Index = random(sizeof(ASpawnLocationsTrucker)); // Get a random array-index to chose a random spawnlocation x = ASpawnLocationsTrucker[index][spawnX]; // Get the X-position for the spawnlocation y = ASpawnLocationsTrucker[index][spawnY]; // Get the Y-position for the spawnlocation z = ASpawnLocationsTrucker[index][spawnZ]; // Get the Z-position for the spawnlocation Angle = ASpawnLocationsTrucker[index][spawnAngle]; // Get the rotation-angle for the spawnlocation format(Msg, 128, \"{00FF00}Player {FFFF00}%s{00FF00} csatlakozott {FFFF00}a kamionosokhoz\", Name); } case ClassBusDriver: { Index = random(sizeof(ASpawnLocationsBusDriver)); x = ASpawnLocationsBusDriver[index][spawnX]; // Get the X-position for the spawnlocation y = ASpawnLocationsBusDriver[index][spawnY]; // Get the Y-position for the spawnlocation z = ASpawnLocationsBusDriver[index][spawnZ]; // Get the Z-position for the spawnlocation Angle = ASpawnLocationsBusDriver[index][spawnAngle]; // Get the rotation-angle for the spawnlocation format(Msg, 128, \"{00FF00}Player {FFFF00}%s{00FF00} csatlakozott {FFFF00}a Buszvezetõkhöz\", Name); } case ClassPilot: { Index = random(sizeof(ASpawnLocationsPilot)); x = ASpawnLocationsPilot[index][spawnX]; // Get the X-position for the spawnlocation y = ASpawnLocationsPilot[index][spawnY]; // Get the Y-position for the spawnlocation z = ASpawnLocationsPilot[index][spawnZ]; // Get the Z-position for the spawnlocation Angle = ASpawnLocationsPilot[index][spawnAngle]; // Get the rotation-angle for the spawnlocation format(Msg, 128, \"{00FF00}Player {FFFF00}%s{00FF00} csatlakozott {FFFF00}a pilótákhoz\", Name); } case ClassPolice: { // Count the number of normal players (all classes except police) and count the amount of police players new NormalPlayers, PolicePlayers, bool:CanSpawnAsCop = false; // Block this check if PlayersBeforePolice is set to 0 (this allows anyone to join as police) if (PlayersBeforePolice > 0) { // Loop through all players for (new pid; pid < MAX_PLAYERS; pid++) { // Exclude this player, as he doesn\'t have a class yet, he\'s still choosing here if (pid != playerid) { // Also exclude all players who are still in the class-selection screen, as they don\'t have a class selected yet if (GetPlayerInterior(pid) != 14) { // Check if this player is logged in if (APlayerData[pid][LoggedIn] == true) { // Count the amount of normal players and police players switch (APlayerData[pid][PlayerClass]) { case ClassPolice: PolicePlayers++; case ClassTruckDriver, ClassBusDriver, ClassPilot, ClassMafia, ClassCourier, ClassAssistance, ClassRoadWorker: NormalPlayers++; } } } } } // Check if there are less police players than allowed if (PolicePlayers < (NormalPlayers / PlayersBeforePolice)) CanSpawnAsCop = true; // There are less police players than allowed, so the player can choose this class else CanSpawnAsCop = false; // The maximum amount of police players has been reached, the player can\'t choose to be a cop // Check if the player isn\'t allowed to spawn as police if (CanSpawnAsCop == false) { // Let the player know the maximum amount of cops has been reached GameTextForPlayer(playerid, \"A Rendõr poszt megtelt\", 5000, 4); SendClientMessage(playerid, 0xFFFFFFFF, \"{FF0000}A maximum rendõrlehetõség betelt, kérlek válassz másik melót\"); return 0; // Don\'t allow the player to spawn as police player } } // If the player has less than 300 scorepoints if (APlayerData[playerid][PlayerScore] < 300) { // Let the player know he needs 100 scorepoints GameTextForPlayer(playerid, \"Az elvárt 300pont nincs meg\", 5000, 4); SendClientMessage(playerid, 0xFFFFFFFF, \"{FF0000}Megkell legyen a 300pontod hogy rendõr lehess\"); return 0; // Don\'t allow the player to spawn as police player } // If the player has a wanted level if (GetPlayerWantedLevel(playerid) > 0) { // Let the player know he cannot have a wanted level to join police GameTextForPlayer(playerid, \"Nem választhatod, hiszen köröznek\", 5000, 4); SendClientMessage(playerid, 0xFFFFFFFF, \"{FF0000}A fekete listáról kerülj le, és lehetsz rendõr\"); return 0; // Don\'t allow the player to spawn as police player } Index = random(sizeof(ASpawnLocationsPolice)); x = ASpawnLocationsPolice[index][spawnX]; // Get the X-position for the spawnlocation y = ASpawnLocationsPolice[index][spawnY]; // Get the Y-position for the spawnlocation z = ASpawnLocationsPolice[index][spawnZ]; // Get the Z-position for the spawnlocation Angle = ASpawnLocationsPolice[index][spawnAngle]; // Get the rotation-angle for the spawnlocation format(Msg, 128, \"{00FF00}Player {FFFF00}%s{00FF00} csatlakozott {FFFF00}Rendõrnek\", Name); } case ClassMafia: { Index = random(sizeof(ASpawnLocationsMafia)); x = ASpawnLocationsMafia[index][spawnX]; // Get the X-position for the spawnlocation y = ASpawnLocationsMafia[index][spawnY]; // Get the Y-position for the spawnlocation z = ASpawnLocationsMafia[index][spawnZ]; // Get the Z-position for the spawnlocation Angle = ASpawnLocationsMafia[index][spawnAngle]; // Get the rotation-angle for the spawnlocation format(Msg, 128, \"{00FF00}Player {FFFF00}%s{00FF00} csatlakozott {FFFF00}Maffiának\", Name); } case ClassCourier: { Index = random(sizeof(ASpawnLocationsCourier)); x = ASpawnLocationsCourier[index][spawnX]; // Get the X-position for the spawnlocation y = ASpawnLocationsCourier[index][spawnY]; // Get the Y-position for the spawnlocation z = ASpawnLocationsCourier[index][spawnZ]; // Get the Z-position for the spawnlocation Angle = ASpawnLocationsCourier[index][spawnAngle]; // Get the rotation-angle for the spawnlocation format(Msg, 128, \"{00FF00}Player {FFFF00}%s{00FF00} csatlakozott {FFFF00}Futárnak\", Name); } case ClassAssistance: { Index = random(sizeof(ASpawnLocationsAssistance)); x = ASpawnLocationsAssistance[index][spawnX]; // Get the X-position for the spawnlocation y = ASpawnLocationsAssistance[index][spawnY]; // Get the Y-position for the spawnlocation z = ASpawnLocationsAssistance[index][spawnZ]; // Get the Z-position for the spawnlocation Angle = ASpawnLocationsAssistance[index][spawnAngle]; // Get the rotation-angle for the spawnlocation format(Msg, 128, \"{00FF00}Player {FFFF00}%s{00FF00} csatlakozott {FFFF00}Karbantartónak\", Name); } case ClassRoadWorker: { Index = random(sizeof(ASpawnLocationsRoadWorker)); x = ASpawnLocationsRoadWorker[index][spawnX]; // Get the X-position for the spawnlocation y = ASpawnLocationsRoadWorker[index][spawnY]; // Get the Y-position for the spawnlocation z = ASpawnLocationsRoadWorker[index][spawnZ]; // Get the Z-position for the spawnlocation Angle = ASpawnLocationsRoadWorker[index][spawnAngle]; // Get the rotation-angle for the spawnlocation format(Msg, 128, \"{00FF00}Player {FFFF00}%s{00FF00} csatlakozott {FFFF00}Útjavítónak\", Name); } } // Spawn the player with his chosen skin at a random location based on his class SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), x, y, z, Angle, 0, 0, 0, 0, 0, 0); // Send the message to all players (who joined which class) SendClientMessageToAll(0xFFFFFFFF, Msg); return 1; } // This callback gets called when a vehicle respawns at it\'s spawn-location (where it was created) public OnVehicleSpawn(vehicleid) { // Set the vehicle as not-wanted by the mafia AVehicleData[vehicleid][MafiaLoad] = false; // Also reset the fuel to maximum (only for non-owned vehicles) if (AVehicleData[vehicleid][Owned] == false) AVehicleData[vehicleid][Fuel] = MaxFuel; // Re-apply the paintjob (if any was applied) if (AVehicleData[vehicleid][PaintJob] != 0) { // Re-apply the paintjob ChangeVehiclePaintjob(vehicleid, AVehicleData[vehicleid][PaintJob] - 1); } // Also update the car-color ChangeVehicleColor(vehicleid, AVehicleData[vehicleid][Color1], AVehicleData[vehicleid][Color2]); // Re-add all components that were installed (if they were there) for (new i; i < 14; i++) { // Remove all mods from the vehicle (all added mods applied by hackers will hopefully be removed this way when the vehicle respawns) RemoveVehicleComponent(vehicleid, GetVehicleComponentInSlot(vehicleid, i)); // Check if the componentslot has a valid component-id if (AVehicleData[vehicleid][Components] != 0) AddVehicleComponent(vehicleid, AVehicleData[vehicleid][Components]); // Add the component to the vehicle } return 1; } // This callback is called when the vehicle leaves a mod shop public OnVehicleRespray(playerid, vehicleid, color1, color2) { // Let the player pay $150 for changing the color (if they have been changed) if ((AVehicleData[vehicleid][Color1] != color1) || (AVehicleData[vehicleid][Color2] != color2)) { RewardPlayer(playerid, -150, 0); SendClientMessage(playerid, 0xFFFFFFFF, \"{00FF00}A jármû színét megváltoztattad ez 150$ került neked\"); } // Save the colors AVehicleData[vehicleid][Color1] = color1; AVehicleData[vehicleid][Color2] = color2; // If the primary color is black, remove the paintjob if (color1 == 0) AVehicleData[vehicleid][PaintJob] = 0; return 1; } // This callback gets called when a player enters or exits a mod-shop public OnEnterExitModShop(playerid, enterexit, interiorid) { return 1; } // This callback gets called whenever a player mods his vehicle public OnVehicleMod(playerid, vehicleid, componentid) { // When the player changes a component of his vehicle, reduce the price of the component from the player\'s money APlayerData[playerid][PlayerMoney] = APlayerData[playerid][PlayerMoney] - AVehicleModPrices[componentid - 1000]; // Store the component in the AVehicleData array AVehicleData[vehicleid][Components][GetVehicleComponentType(componentid)] = componentid; return 1; } // This callback gets called whenever a player VIEWS at a paintjob in a mod garage (viewing automatically applies it) public OnVehiclePaintjob(playerid, vehicleid, paintjobid) { // Store the paintjobid for the vehicle (add 1 to the value, otherwise checking for an applied paintjob is difficult) AVehicleData[vehicleid][PaintJob] = paintjobid + 1; return 1; } // This callback gets called whenever a player enters a vehicle public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { // Setup local variables new engine, lights, alarm, doors, bonnet, boot, objective; // Check if the vehicle has fuel if (AVehicleData[vehicleid][Fuel] > 0) { // Start the engine and turn on the lights GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective); SetVehicleParamsEx(vehicleid, 1, 1, alarm, doors, bonnet, boot, objective); } // Store the player\'s current location and interior-id, otherwise anti-airbreak hack code could kick you GetPlayerPos(playerid, APlayerData[playerid][PreviousX], APlayerData[playerid][PreviousY], APlayerData[playerid][PreviousZ]); APlayerData[playerid][PreviousInt] = GetPlayerInterior(playerid); return 1; } // This callback gets called when a player exits his vehicle public OnPlayerExitVehicle(playerid, vehicleid) { // Setup local variables new engine, lights, alarm, doors, bonnet, boot, objective; // Check if the player is the driver of the vehicle if (GetPlayerVehicleSeat(playerid) == 0) { // Turn off the lights and engine GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective); SetVehicleParamsEx(vehicleid, 0, 0, alarm, doors, bonnet, boot, objective); } // Chech if the player is a pilot if (APlayerData[playerid][PlayerClass] == ClassPilot) { // If the pilot started a job --> as soon as a pilot leaves his plane while doing a job, he fails his mission if (APlayerData[playerid][JobStarted] == true) { // End the job (clear data) Pilot_EndJob(playerid); // Inform the player that he failed the mission GameTextForPlayer(playerid, TXT_FailedMission, 5000, 4); // Reduce the player\'s cash by 1000 RewardPlayer(playerid, -1000, 0); } } return 1; } // This callback gets called whenever a vehicle enters the water or is destroyed (explodes) public OnVehicleDeath(vehicleid) { // Get the houseid to which this vehicle belongs new HouseID = AVehicleData[vehicleid][belongsToHouse]; // Check if this vehicle belongs to a house if (HouseID != 0) { // If the house doesn\'t have insurance for it\'s vehicles if (AHouseData[HouseID][insurance] == 0) { // Delete the vehicle, clear the data and remove it from the house it belongs to Vehicle_Delete(vehicleid); // Save the house (and linked vehicles) HouseFile_Save(HouseID); } } return 1; } // This callback gets called when the player changes state public OnPlayerStateChange(playerid,newstate,oldstate) { // Setup local variables new vid, Name[24], Msg[128], engine, lights, alarm, doors, bonnet, boot, objective; switch (newstate) { case PLAYER_STATE_DRIVER: // Player became the driver of a vehicle { // Get the ID of the player\'s vehicle vid = GetPlayerVehicleID(playerid); // Get the player\'s name (the one who is trying to enter the vehicle) GetPlayerName(playerid, Name, sizeof(Name)); // Check if the vehicle is owned if (AVehicleData[vid][Owned] == true) { // Check if the vehicle is owned by somebody else (strcmp will not be 0) if (strcmp(AVehicleData[vid][Owner], Name, false) != 0) { // Force the player out of the vehicle RemovePlayerFromVehicle(playerid); // Turn off the lights and engine GetVehicleParamsEx(vid, engine, lights, alarm, doors, bonnet, boot, objective); SetVehicleParamsEx(vid, 0, 0, alarm, doors, bonnet, boot, objective); // Let the player know he cannot use somebody else\'s vehicle format(Msg, 128, TXT_SpeedometerCannotUseVehicle, AVehicleData[vid][Owner]); SendClientMessage(playerid, 0xFFFFFFFF, Msg); } // Check if the vehicle is clamped if (AVehicleData[vid][Clamped] == true) { // Force the player out of the vehicle RemovePlayerFromVehicle(playerid); // Turn off the lights and engine GetVehicleParamsEx(vid, engine, lights, alarm, doors, bonnet, boot, objective); SetVehicleParamsEx(vid, 0, 0, alarm, doors, bonnet, boot, objective); // Let the player know he cannot use a clamped vehicle format(Msg, 128, TXT_SpeedometerClampedVehicle); SendClientMessage(playerid, 0xFFFFFFFF, Msg); format(Msg, 128, TXT_SpeedometerClampedVehicle2); SendClientMessage(playerid, 0xFFFFFFFF, Msg); } } // Check if the player is not a cop if (APlayerData[playerid][PlayerClass] != ClassPolice) { // First check if the vehicle is a static vehicle (player can still use a bought cop-car that he bought in his house, // as a bought vehicle isn\'t static) if (AVehicleData[vid][staticVehicle] == true) { // Check if the entered vehicle is a cop vehicle switch (GetVehicleModel(vid)) { case VehiclePoliceLSPD, VehiclePoliceSFPD, VehiclePoliceLVPD, VehicleHPV1000, VehiclePoliceRanger: { // Force the player out of the vehicle RemovePlayerFromVehicle(playerid); // Turn off the lights and engine GetVehicleParamsEx(vid, engine, lights, alarm, doors, bonnet, boot, objective); SetVehicleParamsEx(vid, 0, 0, alarm, doors, bonnet, boot, objective); // Let the player know he cannot use a cop car SendClientMessage(playerid, 0xFFFFFFFF, \"{FF0000}Nem használhatod a rendõrség jármûvét\"); } } } } // Check if the player is not a pilot if (APlayerData[playerid][PlayerClass] != ClassPilot) { // First check if the vehicle is a static vehicle (player can still use a bought plane that he bought in his house, // as a bought vehicle isn\'t static) if (AVehicleData[vid][staticVehicle] == true) { // Check if the entered vehicle is a plane or helicopter vehicle switch (GetVehicleModel(vid)) { case VehicleShamal, VehicleNevada, VehicleStuntPlane, VehicleDodo, VehicleMaverick, VehicleCargobob: { // Force the player out of the vehicle RemovePlayerFromVehicle(playerid); // Turn off the lights and engine GetVehicleParamsEx(vid, engine, lights, alarm, doors, bonnet, boot, objective); SetVehicleParamsEx(vid, 0, 0, alarm, doors, bonnet, boot, objective); // Let the player know he cannot use a cop car SendClientMessage(playerid, 0xFFFFFFFF, \"{FF0000}Nem használhatod a repülõgépet\"); } } } } } } return 1; } // This callback gets called whenever a player presses a key public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { // Debug the keypresses // DebugKeys(playerid, newkeys, oldkeys); // **************************************************************************************** // NOTE: the keys are messed up, so the code may look strange when testing for certain keys // **************************************************************************************** // Fining and jailing players when you\'re police and press the correct keys // Check the class of the player switch (APlayerData[playerid][PlayerClass]) { case ClassPolice: { // If the police-player pressed the RMB key (AIM key) when OUTSIDE his vehicle if (((newkeys & KEY_HANDBRAKE) && !(oldkeys & KEY_HANDBRAKE)) && (GetPlayerVehicleID(playerid) == 0)) Police_FineNearbyPlayers(playerid); // If the police-player pressed the LCTRL (SECUNDAIRY key) key when INSIDE his vehicle if (((newkeys & KEY_ACTION) && !(oldkeys & KEY_ACTION)) && (GetPlayerVehicleID(playerid) != 0)) Police_WarnNearbyPlayers(playerid); } case ClassAssistance: { // If the assistance-player pressed the RMB key (AIM key) when OUTSIDE his vehicle if (((newkeys & KEY_HANDBRAKE) && !(oldkeys & KEY_HANDBRAKE)) && (GetPlayerVehicleID(playerid) == 0)) Assistance_FixVehicle(playerid); // If the police-player pressed the LCTRL (SECUNDAIRY key) key when INSIDE his vehicle if (((newkeys & KEY_ACTION) && !(oldkeys & KEY_ACTION)) && (GetPlayerVehicleID(playerid) != 0)) Assistance_FixOwnVehicle(playerid); } } // Trying to attach the closest vehicle to the towtruck when the player pressed FIRE when inside a towtruck // Check if the player is inside a towtruck if(GetVehicleModel(GetPlayerVehicleID(playerid)) == VehicleTowTruck) { // Check if the player pushed the fire-key if(newkeys & KEY_FIRE) { // Get the vehicle-id of the closest vehicle new closest = GetClosestVehicle(playerid); if(VehicleToPlayer(playerid, closest) < 10) // Check if the closest vehicle is within 10m from the player AttachTrailerToVehicle(closest, GetPlayerVehicleID(playerid)); // Attach the vehicle to the towtruck } } // Refuel a vehicle when driving a vehicle and pressing the HORN key // Check if the player presses the HORN key if ((newkeys & KEY_CROUCH) && !(oldkeys & KEY_CROUCH)) { // Check if the player is driving a vehicle if (GetPlayerVehicleSeat(playerid) == 0) { // Loop through all ARefuelPickups for (new i; i < sizeof(ARefuelPickups); i++) { // Check if the player is in range of a refuelpickup if(IsPlayerInRangeOfPoint(playerid, 2.5, ARefuelPickups[pux], ARefuelPickups[puy], ARefuelPickups[puz])) { // Show a message that the player\'s vehicle is refuelling GameTextForPlayer(playerid, \"Tankolas folyik\", 3000, 4); // Don\'t allow the player to move again (the timer will allow it after refuelling) TogglePlayerControllable(playerid, 0); // Start a timer (let the player wait until the vehicle is refuelled) SetTimerEx(\"RefuelVehicle\", 5000, false, \"i\", playerid); // Stop the search break; } } } } return 1; } forward VehicleToPlayer(playerid,vehicleid); // Get the distance between the vehicle and the player public VehicleToPlayer(playerid, vehicleid) { // Setup local variables new Float:pX, Float:pY, Float:pZ, Float:cX, Float:cY, Float:cZ, Float:distance; // Get the player position GetPlayerPos(playerid, pX, pY, pZ); // Get the vehicle position GetVehiclePos(vehicleid, cX, cY, cZ); // Calculate the distance distance = floatsqroot(floatpower(floatabs(floatsub(cX, pX)), 2) + floatpower(floatabs(floatsub(cY, pY)), 2) + floatpower(floatabs(floatsub(cZ, pZ)), 2)); // Return the distance to the calling routine return floatround(distance); } forward GetClosestVehicle(playerid); // Find the vehicle closest to the player public GetClosestVehicle(playerid) { // Setup local variables new Float:distance = 99999.000+1, Float:distance2, result = -1; // Loop through all vehicles for(new i = 0; i < MAX_VEHICLES; i++) { // First check if the player isn\'t driving the current vehicle that needs to be checked for it\'s distance to the player if (GetPlayerVehicleID(playerid) != i) { // Get the distance between player and vehicle distance2 = VehicleToPlayer(playerid, i); // Check if the distance is smaller than the previous distance if(distance2 < distance) { // Store the distance distance = distance2; // Store the vehicle-id result = i; } } } // Return the vehicle-id of the closest vehicle return result; } // This function is used to debug the key-presses stock DebugKeys(playerid, newkeys, oldkeys) { // Debug keys if ((newkeys & KEY_FIRE) && !(oldkeys & KEY_FIRE)) SendClientMessage(playerid, 0x0000FFFF, \"You pressed the KEY_FIRE key\"); if ((newkeys & KEY_ACTION) && !(oldkeys & KEY_ACTION)) SendClientMessage(playerid, 0x0000FFFF, \"You pressed the KEY_ACTION key\"); if ((newkeys & KEY_CROUCH) && !(oldkeys & KEY_CROUCH)) SendClientMessage(playerid, 0x0000FFFF, \"You pressed the KEY_CROUCH key\"); if ((newkeys & KEY_SPRINT) && !(oldkeys & KEY_SPRINT)) SendClientMessage(playerid, 0x0000FFFF, \"You pressed the KEY_SPRINT key\"); if ((newkeys & KEY_SECONDARY_ATTACK) && !(oldkeys & KEY_SECONDARY_ATTACK)) SendClientMessage(playerid, 0x0000FFFF, \"You pressed the KEY_SECONDARY_ATTACK key\"); if ((newkeys & KEY_JUMP) && !(oldkeys & KEY_JUMP)) SendClientMessage(playerid, 0x0000FFFF, \"You pressed the KEY_JUMP key\"); if ((newkeys & KEY_LOOK_RIGHT) && !(oldkeys & KEY_LOOK_RIGHT)) SendClientMessage(playerid, 0x0000FFFF, \"You pressed the KEY_LOOK_RIGHT key\"); if ((newkeys & KEY_HANDBRAKE) && !(oldkeys & KEY_HANDBRAKE)) SendClientMessage(playerid, 0x0000FFFF, \"You pressed the KEY_HANDBRAKE key\"); if ((newkeys & KEY_LOOK_LEFT) && !(oldkeys & KEY_LOOK_LEFT)) SendClientMessage(playerid, 0x0000FFFF, \"You pressed the KEY_LOOK_LEFT key\"); if ((newkeys & KEY_SUBMISSION) && !(oldkeys & KEY_SUBMISSION)) SendClientMessage(playerid, 0x0000FFFF, \"You pressed the KEY_SUBMISSION key\"); if ((newkeys & KEY_LOOK_BEHIND) && !(oldkeys & KEY_LOOK_BEHIND)) SendClientMessage(playerid, 0x0000FFFF, \"You pressed the KEY_LOOK_BEHIND key\"); if ((newkeys & KEY_WALK) && !(oldkeys & KEY_WALK)) SendClientMessage(playerid, 0x0000FFFF, \"You pressed the KEY_WALK key\"); if ((newkeys & KEY_ANALOG_UP) && !(oldkeys & KEY_ANALOG_UP)) SendClientMessage(playerid, 0x0000FFFF, \"You pressed the KEY_ANALOG_UP key\"); if ((newkeys & KEY_ANALOG_DOWN) && !(oldkeys & KEY_ANALOG_DOWN)) SendClientMessage(playerid, 0x0000FFFF, \"You pressed the KEY_ANALOG_DOWN key\"); if ((newkeys & KEY_ANALOG_LEFT) && !(oldkeys & KEY_ANALOG_LEFT)) SendClientMessage(playerid, 0x0000FFFF, \"You pressed the KEY_ANALOG_LEFT key\"); if ((newkeys & KEY_ANALOG_RIGHT) && !(oldkeys & KEY_ANALOG_RIGHT)) SendClientMessage(playerid, 0x0000FFFF, \"You pressed the KEY_ANALOG_RIGHT key\"); if ((newkeys & KEY_UP) && !(oldkeys & KEY_UP)) SendClientMessage(playerid, 0x0000FFFF, \"You pressed the KEY_UP key\"); if ((newkeys & KEY_DOWN) && !(oldkeys & KEY_DOWN)) SendClientMessage(playerid, 0x0000FFFF, \"You pressed the KEY_DOWN key\"); if ((newkeys & KEY_LEFT) && !(oldkeys & KEY_LEFT)) SendClientMessage(playerid, 0x0000FFFF, \"You pressed the KEY_LEFT key\"); if ((newkeys & KEY_RIGHT) && !(oldkeys & KEY_RIGHT)) SendClientMessage(playerid, 0x0000FFFF, \"You pressed the KEY_RIGHT key\"); return 1; }
itt az egész mód
14
« Dátum: 2013. november 20. - 18:25:54 »
public OnPlayerText(playerid, text[]) { // Block the player\'s text if he has been muted if (APlayerData[playerid][Muted] == true) { // Let the player know he\'s still muted SendClientMessage(playerid, 0xFFFFFFFF, \"{FF0000}Le vagy némítva\"); // Don\'t allow his text to be sent to the chatbox return 0; } return 1; } ezt találtam a módban Dupla hozzászólás automatikusan összefûzve. ( 2013. november 20. - 18:28:47 )
de ez a muted..mást nem találtam a módban
15
« Dátum: 2013. november 20. - 17:20:36 »
// EMenu By Etch //fordította: kadaradam #include #define COLOR_YELLOW 0xFFFF00AA #pragma tabsize 0 #define DIALOGID 3577 #define COLOR_RED 0xAA3333AA //Variables static pmodelid[MAX_PLAYERS]; static pvehicleid[MAX_PLAYERS]; //Fowards forward ModCar(playerid); new Float:X, Float:Y, Float:Z, Float:Angle; #if defined FILTERSCRIPT public OnFilterScriptInit() { print(\"\\n--------------------------------------\"); print(\"EMenu By Etch Loaded\"); print(\"--------------------------------------\\n\"); return 1; } public OnFilterScriptExit() { print(\"\\n--------------------------------------\"); print(\"EMenu By Etch Unloaded\"); print(\"--------------------------------------\\n\"); return 1; } #else main() { } #endif public OnPlayerConnect(playerid) { return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if(strcmp(cmdtext, \"/tuning\", true) == 0) { new playerstate = GetPlayerState(playerid); if(playerstate == PLAYER_STATE_DRIVER) { return ModCar(playerid); } else { return SendClientMessage(playerid, COLOR_RED, \"[Hiba]: Muszáj kocsiban lenned!.\"); } } return 0; } public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { GetPlayerPos(playerid, X,Y,Z); GetPlayerFacingAngle(playerid,Angle); GetPlayerPos(playerid,X,Y,Z); if(dialogid == DIALOGID) { if(response) { if(listitem == 0) //Paintjobs { ShowPlayerDialog(playerid, DIALOGID+1, DIALOG_STYLE_LIST, \"Válassz fényezést \", \"Fényezés 1\\nFényezés 2\\nFényezés 3\\nVissza\", \"Kiválasztás\", \"Kilépés\"); } if(listitem == 1) //Colors { ShowPlayerDialog(playerid, DIALOGID+2, DIALOG_STYLE_LIST, \"Válassz színt\", \"Fekete\\nFehér\\nPiros\\nKék\\nZöld\\nSárga\\nRózsaszín\\nBarna\\nLila\\nVissza\", \"Kiválasztás\", \"Kilépés\"); } if(listitem == 2) //Exhausts { ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, \"Válassz kipufogót\", \"Wheel Arch Alien Kipufogó\\nWheel Arch X-Flow Kipufogó\\nLocos Low Chromer Kipufogó\\nLocos Low Slamin Kipufogó\\nVissza\", \"Kiválasztás\", \"Kilépés\"); } if(listitem == 3) //Front Bumpers { ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, \"Válassz hátsó lökhárítót\", \"Wheel Arch Alien lökhárító\\nWheel Arch X-Flow lökhárító\\nLocos Low Chromer lökhárító\\nLocos Low Slamin lökhárító\\nVissza\", \"Kiválasztás\", \"Kilépés\"); } if(listitem == 4) //Rear Bumpers { ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, \"Válassz elsõ lökhárítót\", \"Wheel Arch Alien lökhárító\\nWheel Arch X-Flow lökhárító\\nLocos Low Chromer lökhárító\\nLocos Low Slamin lökhárító\\nVissza\", \"Kiválasztás\", \"Kilépés\"); } if(listitem == 5) //Roofs { ShowPlayerDialog(playerid, DIALOGID+6, DIALOG_STYLE_LIST, \"Válassz tetõt\", \"Wheel Arch Alien tetõ\\nWheel Arch X-Flow tetõ\\nLocos Low Hardtop tetõ\\nLocos Low Softtop tetõ\\nVissza\", \"Kiválasztás\", \"Kilépés\"); } if(listitem == 6) //Spoilers { ShowPlayerDialog(playerid, DIALOGID+7, DIALOG_STYLE_LIST, \"Válassz Spoiler-t\", \"Alien Spoiler\\nX-Flow Spoiler\\nBACK\", \"Kiválasztás\", \"Kilépés\"); } if(listitem == 7) //SideSkirts { ShowPlayerDialog(playerid, DIALOGID+8, DIALOG_STYLE_LIST, \"Válassz oldalsó küszöböt\", \"Wheel Arch Alien küszöb\\nWheel Arch X-Flow küszöb\\nLocos Low Chrome Strip\\nLocos Low Chrome Flames\\nLocos Low Chrome Arches\\nLocos Low Chrome Trim\\nLocos Low Wheelcovers\\nVissza\", \"Kiválasztás\", \"Kilépés\"); } if(listitem == //Bullbars { ShowPlayerDialog(playerid, DIALOGID+9, DIALOG_STYLE_LIST, \"Válassz BullBart\", \"Locos Low Chrome Grill\\nLocos Low Chrome Bars\\nLocos Low Chrome Lights\\nLocos Low Chrome Bullbar\\nVissza\", \"Kiválasztás\", \"Kilépés\"); } if(listitem == 9) //Wheels { ShowPlayerDialog(playerid, DIALOGID+10, DIALOG_STYLE_LIST, \"Válassz felnit\", \"Offroad\\nMega\\nWires\\nTwist\\nGrove\\nImport\\nAtomic\\nAhab\\nVirtual\\nAccess\\nKövetkezõ oldal\\nVissza\", \"Kiválasztás\", \"Kilépés\"); } if(listitem == 10) //Car stereo { ShowPlayerDialog(playerid, DIALOGID+11, DIALOG_STYLE_LIST, \"Válassz autóhifit.\", \"Bass Boost\\nSuper Bass Boost\\nUltra Bass Boost\\nKing Bass Boost\\nVissza\", \"Kiválasztás\", \"Kilépés\"); } if(listitem == 11) //Tune car menu 2 { ShowPlayerDialog(playerid, DIALOGID+12, DIALOG_STYLE_LIST, \"Egyéb opciók\", \"Hidraulika\\nNitro x10\\nJavítás\\nVissza\", \"Kiválasztás\", \"Kilépés\"); } if(listitem == 12) //Wheels2 { ShowPlayerDialog(playerid, DIALOGID+13, DIALOG_STYLE_LIST, \"Válassz felnit(2)\", \"Trance\\nShadow\\nRimshine\\nClassic\\nCutter\\nSwitch\\nDollar\\nVissza\", \"Kiválasztás\", \"Kilépés\"); } } } if(dialogid == DIALOGID+1) //Paintjobs { if(response) { if(listitem == 0) { if(pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560 || pmodelid[playerid] == 575 || pmodelid[playerid] == 534 || pmodelid[playerid] == 567 || pmodelid[playerid] == 536 || pmodelid[playerid] == 535 || pmodelid[playerid] == 576 || pmodelid[playerid] == 558) { new car = GetPlayerVehicleID(playerid); ChangeVehiclePaintjob(car,0); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Sikeresen átfestetted az autódat.\"); ShowPlayerDialog(playerid, DIALOGID+1, DIALOG_STYLE_LIST, \"Válassz fényezést \", \"Fényezés 1\\nFényezés 2\\nFényezés 3\\nVissza\", \"Kiválasztás\", \"Kilépés\"); } else { SendClientMessage(playerid,COLOR_RED,\"[Hiba]: Ez a szín csak a Wheel Arch Angel és Loco Low Co. kocsiknak van engedélyezve!\"); ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, \"Tuning menu\",\"Fényezés\\nSzín\\nKipufogó\\nHátsó lökhárító\\nElsõ lökhárító\\nTetõ\\nSpoilerek\\nOldalsó küszöbök\\nBullbarok\\nFelnik\\nAutóhifi\\nKövetkezõ oldal\", \"Kiválaszt\", \"Kilépés\"); } } if(listitem == 1) { if(pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560 || pmodelid[playerid] == 575 || pmodelid[playerid] == 534 || pmodelid[playerid] == 567 || pmodelid[playerid] == 536 || pmodelid[playerid] == 535 || pmodelid[playerid] == 576 || pmodelid[playerid] == 558) { new car = GetPlayerVehicleID(playerid); ChangeVehiclePaintjob(car,1); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Sikeresen átfestetted az autódat..\"); ShowPlayerDialog(playerid, DIALOGID+1, DIALOG_STYLE_LIST, \"Válassz fényezést \", \"Fényezés 1\\nFényezés 2\\nFényezés 3\\nVissza\", \"Kiválasztás\", \"Kilépés\"); } else { SendClientMessage(playerid,COLOR_RED,\"[ERROR]: Ez a szín csak a Wheel Arch Angel és Loco Low Co. kocsiknak van engedélyezve!\"); ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, \"Tuning menu\",\"Fényezés\\nSzín\\nKipufogó\\nHátsó lökhárító\\nElsõ lökhárító\\nTetõ\\nSpoilerek\\nOldalsó küszöbök\\nBullbarok\\nFelnik\\nAutóhifi\\nKövetkezõ oldal\", \"Kiválaszt\", \"Kilépés\"); } } if(listitem == 2) { if(pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560 || pmodelid[playerid] == 575 || pmodelid[playerid] == 534 || pmodelid[playerid] == 567 || pmodelid[playerid] == 536 || pmodelid[playerid] == 535 || pmodelid[playerid] == 576 || pmodelid[playerid] == 558) { new car = GetPlayerVehicleID(playerid); ChangeVehiclePaintjob(car,2); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Sikeresen átfestetted az autódat.\"); ShowPlayerDialog(playerid, DIALOGID+1, DIALOG_STYLE_LIST, \"Válassz fényezést \", \"Fényezés 1\\nFényezés 2\\nFényezés 3\\nVissza\", \"Kiválasztás\", \"Kilépés\"); } else { SendClientMessage(playerid,COLOR_RED,\"[ERROR]: Ez a szín csak a Wheel Arch Angel és Loco Low Co. kocsiknak van engedélyezve!\"); ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, \"Tuning menu\",\"Fényezés\\nSzín\\nKipufogó\\nHátsó lökhárító\\nElsõ lökhárító\\nTetõ\\nSpoilerek\\nOldalsó küszöbök\\nBullbarok\\nFelnik\\nAutóhifi\\nKövetkezõ oldal\", \"Kiválaszt\", \"Kilépés\"); } } if(listitem == 3) { ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, \"Tuning menu\",\"Fényezés\\nSzín\\nKipufogó\\nHátsó lökhárító\\nElsõ lökhárító\\nTetõ\\nSpoilerek\\nOldalsó küszöbök\\nBullbarok\\nFelnik\\nAutóhifi\\nKövetkezõ oldal\", \"Kiválaszt\", \"Kilépés\"); } } } if(dialogid == DIALOGID+2) //Colours { if(response) { if(listitem == 0) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car,0,0);//Black PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Átfestetted az autódat, színe:Fekete\"); ShowPlayerDialog(playerid, DIALOGID+2, DIALOG_STYLE_LIST, \"Válassz színt\", \"Fekete\\nFehér\\nPiros\\nKék\\nZöld\\nSárga\\nRózsaszín\\nBarna\\nLila\\nVissza\", \"Kiválasztás\", \"Kilépés\"); } if(listitem == 1) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car,1,1);//White PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Átfestetted az autódat, színe:Fehér.\"); ShowPlayerDialog(playerid, DIALOGID+2, DIALOG_STYLE_LIST, \"Válassz színt\", \"Fekete\\nFehér\\nPiros\\nKék\\nZöld\\nSárga\\nRózsaszín\\nBarna\\nLila\\nVissza\", \"Kiválasztás\", \"Kilépés\"); } if(listitem == 2) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car,3,3);//Red PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Átfestetted az autódat, színe:Piros\"); ShowPlayerDialog(playerid, DIALOGID+2, DIALOG_STYLE_LIST, \"Válassz színt\", \"Fekete\\nFehér\\nPiros\\nKék\\nZöld\\nSárga\\nRózsaszín\\nBarna\\nLila\\nVissza\", \"Kiválasztás\", \"Kilépés\"); } if(listitem == 3) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car,79,79); //Blue PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Átfestetted az autódat, színe:Kék.\"); ShowPlayerDialog(playerid, DIALOGID+2, DIALOG_STYLE_LIST, \"Válassz színt\", \"Fekete\\nFehér\\nPiros\\nKék\\nZöld\\nSárga\\nRózsaszín\\nBarna\\nLila\\nVissza\", \"Kiválasztás\", \"Kilépés\"); } if(listitem == 4) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car,86,86);//Green PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Átfestetted az autódat, színe:Zöld\"); ShowPlayerDialog(playerid, DIALOGID+2, DIALOG_STYLE_LIST, \"Válassz színt\", \"Fekete\\nFehér\\nPiros\\nKék\\nZöld\\nSárga\\nRózsaszín\\nBarna\\nLila\\nVissza\", \"Kiválasztás\", \"Kilépés\"); } if(listitem == 5) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car,6,6);//Yellow PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Átfestetted az autódat, színe:Sárga\"); ShowPlayerDialog(playerid, DIALOGID+2, DIALOG_STYLE_LIST, \"Válassz színt\", \"Fekete\\nFehér\\nPiros\\nKék\\nZöld\\nSárga\\nRózsaszín\\nBarna\\nLila\\nVissza\", \"Kiválasztás\", \"Kilépés\"); } if(listitem == 6) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car,126,126);//Pink PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Átfestetted az autódat, színe:Rózsaszín.\"); ShowPlayerDialog(playerid, DIALOGID+2, DIALOG_STYLE_LIST, \"Válassz színt\", \"Fekete\\nFehér\\nPiros\\nKék\\nZöld\\nSárga\\nRózsaszín\\nBarna\\nLila\\nVissza\", \"Kiválasztás\", \"Kilépés\"); } if(listitem == 7) { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car,66,66);//Brown PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Átfestetted az autódat, színe:Barna\"); ShowPlayerDialog(playerid, DIALOGID+2, DIALOG_STYLE_LIST, \"Válassz színt\", \"Fekete\\nFehér\\nPiros\\nKék\\nZöld\\nSárga\\nRózsaszín\\nBarna\\nLila\\nVissza\", \"Kiválasztás\", \"Kilépés\"); } if(listitem == { new car = GetPlayerVehicleID(playerid); ChangeVehicleColor(car,175,175);//Brown PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Átfestetted az autódat, színe:Lila\"); ShowPlayerDialog(playerid, DIALOGID+2, DIALOG_STYLE_LIST, \"Válassz színt\", \"Fekete\\nFehér\\nPiros\\nKék\\nZöld\\nSárga\\nRózsaszín\\nBarna\\nLila\\nVissza\", \"Kiválasztás\", \"Kilépés\"); } if(listitem == 9) { ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, \"Tuning menu\",\"Fényezés\\nSzín\\nKipufogó\\nHátsó lökhárító\\nElsõ lökhárító\\nTetõ\\nSpoilerek\\nOldalsó küszöbök\\nBullbarok\\nFelnik\\nAutóhifi\\nKövetkezõ oldal\", \"Kiválaszt\", \"Kilépés\"); } } } if(dialogid == DIALOGID+3) //Exhausts { if(response) { if(listitem == 0)//Wheel Arch Cars Alien Exausts { if(pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560) { new car = GetPlayerVehicleID(playerid); if(pmodelid[playerid] == 562) { AddVehicleComponent(car,1034); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Sikeresen ráraktad a Wheel Arch Alien kipufogót egy Elegy-re.\"); ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, \"Válassz kipufogót\", \"Wheel Arch Alien Kipufogó\\nWheel Arch X-Flow Kipufogó\\nLocos Low Chromer Kipufogó\\nLocos Low Slamin Kipufogó\\nVissza\", \"Kiválasztás\", \"Kilépés\"); } else if(pmodelid[playerid] == 565) { AddVehicleComponent(car,1046); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Sikeresen ráraktad a Wheel Arch Alien kipufogótFlash-re.\"); ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, \"Válassz kipufogót\", \"Wheel Arch Alien Kipufogó\\nWheel Arch X-Flow Kipufogó\\nLocos Low Chromer Kipufogó\\nLocos Low Slamin Kipufogó\\nVissza\", \"Kiválasztás\", \"Kilépés\"); } else if(pmodelid[playerid] == 559) { AddVehicleComponent(car,1065); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Sikeresen ráraktad a Wheel Arch Alien kipufogót Jetser-re.\"); ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, \"Válassz kipufogót\", \"Wheel Arch Alien Kipufogó\\nWheel Arch X-Flow Kipufogó\\nLocos Low Chromer Kipufogó\\nLocos Low Slamin Kipufogó\\nVissza\", \"Kiválasztás\", \"Kilépés\"); } else if(pmodelid[playerid] == 561) { AddVehicleComponent(car,1064); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Sikeresen ráraktad a Wheel Arch Alien kipufogót Stratum-ra.\"); ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, \"Válassz kipufogót\", \"Wheel Arch Alien Kipufogó\\nWheel Arch X-Flow Kipufogó\\nLocos Low Chromer Kipufogó\\nLocos Low Slamin Kipufogó\\nVissza\", \"Kiválasztás\", \"Kilépés\"); } else if(pmodelid[playerid] == 560) { AddVehicleComponent(car,1028); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Sikeresen ráraktad a Wheel Arch Alien kipufogót Sultan-ra.\"); ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, \"Válassz kipufogót\", \"Wheel Arch Alien Kipufogó\\nWheel Arch X-Flow Kipufogó\\nLocos Low Chromer Kipufogó\\nLocos Low Slamin Kipufogó\\nVissza\", \"Kiválasztás\", \"Kilépés\"); } else if(pmodelid[playerid] == 558) { AddVehicleComponent(car,1089); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Sikeresen ráraktad a Wheel Arch Alien kipufogót Uranus-ra.\"); ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, \"Válassz kipufogót\", \"Wheel Arch Alien Kipufogó\\nWheel Arch X-Flow Kipufogó\\nLocos Low Chromer Kipufogó\\nLocos Low Slamin Kipufogó\\nVissza\", \"Kiválasztás\", \"Kilépés\"); } } else { SendClientMessage(playerid,COLOR_RED,\"[ERROR]: Ezeket csak a Wheel Arch Angels autóira tudod rárakni!\"); ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, \"Tune car menu\",\"Paint Jobs\\nColors\\nExhausts\\nFront Bumper\\nRear Bumper\\nRoof\\nSpoilers\\nSide Skirts\\nBullbars\\nWheels\\nCar Stereo\\nNext page\", \"Select\", \"Exit\"); } } if(listitem == 1)//Wheel Arch Cars X-Flow Exausts { if(pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560) { new car = GetPlayerVehicleID(playerid); if(pmodelid[playerid] == 562) { AddVehicleComponent(car,1037); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Sikeresen ráraktad a Wheel Arch X-Flow kipufogót egy Elegy-re.\"); ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, \"Válassz kipufogót\", \"Wheel Arch Alien Kipufogó\\nWheel Arch X-Flow Kipufogó\\nLocos Low Chromer Kipufogó\\nLocos Low Slamin Kipufogó\\nVissza\", \"Kiválasztás\", \"Kilépés\"); } else if(pmodelid[playerid] == 565) { AddVehicleComponent(car,1045); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Sikeresen ráraktad a Wheel Arch X-Flow kipufogót egy Flash-ra.\"); ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, \"Select a Exhaust\", \"Wheel Arch Alien Exhaust\\nWheel Arch X-Flow Exhaust\\nLocos Low Chromer Exhaust\\nLocos Low Slamin Exhaust\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 559) { AddVehicleComponent(car,1066); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Sikeresen ráraktad a Wheel Arch X-Flow kipufogót egy Jester-re.\"); ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, \"Select a Exhaust\", \"Wheel Arch Alien Exhaust\\nWheel Arch X-Flow Exhaust\\nLocos Low Chromer Exhaust\\nLocos Low Slamin Exhaust\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 561) { AddVehicleComponent(car,1059); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Sikeresen ráraktad a Wheel Arch X-Flow kipufogót egy Stratum-ra.\"); ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, \"Select a Exhaust\", \"Wheel Arch Alien Exhaust\\nWheel Arch X-Flow Exhaust\\nLocos Low Chromer Exhaust\\nLocos Low Slamin Exhaust\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 560) { AddVehicleComponent(car,1029); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Sikeresen ráraktad a Wheel Arch X-Flow kipufogót egyn Sultan-ra.\"); ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, \"Select a Exhaust\", \"Wheel Arch Alien Exhaust\\nWheel Arch X-Flow Exhaust\\nLocos Low Chromer Exhaust\\nLocos Low Slamin Exhaust\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 558) { AddVehicleComponent(car,1092); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Sikeresen ráraktad a Wheel Arch X-Flow kipufogót egy Uranus-ra.\"); ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, \"Select a Exhaust\", \"Wheel Arch Alien Exhaust\\nWheel Arch X-Flow Exhaust\\nLocos Low Chromer Exhaust\\nLocos Low Slamin Exhaust\\nBACK\", \"Select\", \"Exit\"); } } else { SendClientMessage(playerid,COLOR_RED,\"[ERROR]: Ezeket csak a Wheel Arch Angels autóira tudod rárakni!\"); ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, \"Tuning menu\",\"Fényezés\\nSzín\\nKipufogó\\nHátsó lökhárító\\nElsõ lökhárító\\nTetõ\\nSpoilerek\\nOldalsó küszöbök\\nBullbarok\\nFelnik\\nAutóhifi\\nKövetkezõ oldal\", \"Kiválaszt\", \"Kilépés\"); } } if(listitem == 2)//Locos Low Co. Cars Chromer Exausts { if(pmodelid[playerid] == 575 || pmodelid[playerid] == 534 || pmodelid[playerid] == 567 || pmodelid[playerid] == 536 || pmodelid[playerid] == 576 || pmodelid[playerid] == 535) { new car = GetPlayerVehicleID(playerid); if(pmodelid[playerid] == 575) { AddVehicleComponent(car,1044); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Sikeresen ráraktad a Locos Low Chromer kipufogót egy Brodway-re.\"); ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, \"Select a Exhaust\", \"Wheel Arch Alien Exhaust\\nWheel Arch X-Flow Exhaust\\nLocos Low Chromer Exhaust\\nLocos Low Slamin Exhaust\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 534) { AddVehicleComponent(car,1126); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Sikeresen ráraktad a Locos Low Chromer kipufogót egy Remington-ra.\"); ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, \"Select a Exhaust\", \"Wheel Arch Alien Exhaust\\nWheel Arch X-Flow Exhaust\\nLocos Low Chromer Exhaust\\nLocos Low Slamin Exhaust\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 567) { AddVehicleComponent(car,1129); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Sikeresen ráraktad a Locos Low Chromer kipufogót egy Savanna-ra.\"); ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, \"Select a Exhaust\", \"Wheel Arch Alien Exhaust\\nWheel Arch X-Flow Exhaust\\nLocos Low Chromer Exhaust\\nLocos Low Slamin Exhaust\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 536) { AddVehicleComponent(car,1104); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Sikeresen ráraktad a Locos Low Chromer kipufogót egy Blade-re.\"); ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, \"Select a Exhaust\", \"Wheel Arch Alien Exhaust\\nWheel Arch X-Flow Exhaust\\nLocos Low Chromer Exhaust\\nLocos Low Slamin Exhaust\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 535) { AddVehicleComponent(car,1113); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Sikeresen ráraktad a Locos Low Chromer kipufogót egy Slamvan-ra.\"); ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, \"Select a Exhaust\", \"Wheel Arch Alien Exhaust\\nWheel Arch X-Flow Exhaust\\nLocos Low Chromer Exhaust\\nLocos Low Slamin Exhaust\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 576) { AddVehicleComponent(car,1136); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Sikeresen ráraktad a Locos Low Chromer kipufogót egy Tornado-ra.\"); ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, \"Select a Exhaust\", \"Wheel Arch Alien Exhaust\\nWheel Arch X-Flow Exhaust\\nLocos Low Chromer Exhaust\\nLocos Low Slamin Exhaust\\nBACK\", \"Select\", \"Exit\"); } } else { SendClientMessage(playerid,COLOR_RED,\"[ERROR]: Ezeket csak Locos Low Car-ra rakhatod !\"); ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, \"Tuning menu\",\"Fényezés\\nSzín\\nKipufogó\\nHátsó lökhárító\\nElsõ lökhárító\\nTetõ\\nSpoilerek\\nOldalsó küszöbök\\nBullbarok\\nFelnik\\nAutóhifi\\nKövetkezõ oldal\", \"Kiválaszt\", \"Kilépés\"); } } if(listitem == 3)//Locos Low Co. Cars Salmin Exausts { if(pmodelid[playerid] == 575 || pmodelid[playerid] == 534 || pmodelid[playerid] == 567 || pmodelid[playerid] == 536 || pmodelid[playerid] == 576 || pmodelid[playerid] == 535) { new car = GetPlayerVehicleID(playerid); if(pmodelid[playerid] == 575) { AddVehicleComponent(car,1043); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO] Sikeresen ráraktál egy kipufogót egy Brodway-ra.\"); ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, \"Select a Exhaust\", \"Wheel Arch Alien Exhaust\\nWheel Arch X-Flow Exhaust\\nLocos Low Chromer Exhaust\\nLocos Low Slamin Exhaust\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 534) { AddVehicleComponent(car,1127); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO] Sikeresen ráraktál egy kipufogót egy Remingon-ra.\"); ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, \"Select a Exhaust\", \"Wheel Arch Alien Exhaust\\nWheel Arch X-Flow Exhaust\\nLocos Low Chromer Exhaust\\nLocos Low Slamin Exhaust\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 567) { AddVehicleComponent(car,1132); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO] Sikeresen ráraktál egy kipufogót egy Savanna-ra.\"); ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, \"Select a Exhaust\", \"Wheel Arch Alien Exhaust\\nWheel Arch X-Flow Exhaust\\nLocos Low Chromer Exhaust\\nLocos Low Slamin Exhaust\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 536) { AddVehicleComponent(car,1105); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO] Sikeresen ráraktál egy kipufogót egy Blade-re.\"); ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, \"Select a Exhaust\", \"Wheel Arch Alien Exhaust\\nWheel Arch X-Flow Exhaust\\nLocos Low Chromer Exhaust\\nLocos Low Slamin Exhaust\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 535) { AddVehicleComponent(car,1114); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO] Sikeresen ráraktál egy kipufogót egy Slamvan-ra.\"); ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, \"Select a Exhaust\", \"Wheel Arch Alien Exhaust\\nWheel Arch X-Flow Exhaust\\nLocos Low Chromer Exhaust\\nLocos Low Slamin Exhaust\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 576) { AddVehicleComponent(car,1135); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO] Sikeresen ráraktál egy kipufogót egy Tornado-ra.\"); ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, \"Select a Exhaust\", \"Wheel Arch Alien Exhaust\\nWheel Arch X-Flow Exhaust\\nLocos Low Chromer Exhaust\\nLocos Low Slamin Exhaust\\nBACK\", \"Select\", \"Exit\"); } } else { SendClientMessage(playerid,COLOR_RED,\"[ERROR]: Ezeket csak Locos Low autókra rakhatod!\"); ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, \"Tuning menu\",\"Fényezés\\nSzín\\nKipufogó\\nHátsó lökhárító\\nElsõ lökhárító\\nTetõ\\nSpoilerek\\nOldalsó küszöbök\\nBullbarok\\nFelnik\\nAutóhifi\\nKövetkezõ oldal\", \"Kiválaszt\", \"Kilépés\"); } } if(listitem == 4)//BACK { ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, \"Tuning menu\",\"Fényezés\\nSzín\\nKipufogó\\nHátsó lökhárító\\nElsõ lökhárító\\nTetõ\\nSpoilerek\\nOldalsó küszöbök\\nBullbarok\\nFelnik\\nAutóhifi\\nKövetkezõ oldal\", \"Kiválaszt\", \"Kilépés\"); } } } if(dialogid == DIALOGID+4)//Front Bumpers { if(response) { if(listitem == 0)//Wheel Arch Cars Alien Front Bumper { if(pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560) { new car = GetPlayerVehicleID(playerid); if(pmodelid[playerid] == 562) { AddVehicleComponent(car,1171); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Sikeresen ráraktál egy Bumpert egy Elegy-re.\"); ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, \"Select a Front Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 565) { AddVehicleComponent(car,1153); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Sikeresen ráraktál egy Bumpert egy Flash-re.\"); ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, \"Select a Front Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 559) { AddVehicleComponent(car,1160); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Sikeresen ráraktál egy Bumpert egy Jester-re.\"); ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, \"Select a Front Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 561) { AddVehicleComponent(car,1155); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Sikeresen ráraktál egy Bumpert egy Stratum-ra.\"); ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, \"Select a Front Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 560) { AddVehicleComponent(car,1169); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Sikeresen ráraktál egy Bumpert egy Sultan-ra.\"); ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, \"Select a Front Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 558) { AddVehicleComponent(car,1166); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Sikeresen ráraktál egy Bumpert egy Uraus-ra.\"); ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, \"Select a Front Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } } else { SendClientMessage(playerid,COLOR_RED,\"[ERROR]: Ezeket csak a Wheel Arch Angels autóira rakhatod rá!\"); ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, \"Tuning menu\",\"Fényezés\\nSzín\\nKipufogó\\nHátsó lökhárító\\nElsõ lökhárító\\nTetõ\\nSpoilerek\\nOldalsó küszöbök\\nBullbarok\\nFelnik\\nAutóhifi\\nKövetkezõ oldal\", \"Kiválaszt\", \"Kilépés\"); } } if(listitem == 1)//Wheel Arch Cars X-Flow Front Bumper { if(pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560) { new car = GetPlayerVehicleID(playerid); if(pmodelid[playerid] == 562) { AddVehicleComponent(car,1172); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Wheel Arch X-Flow hátsó lökhárító felrakva.\"); ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, \"Select a Front Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 565) { AddVehicleComponent(car,1152); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Wheel Arch X-Flow hátsó lökhárító felrakva.\"); ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, \"Select a Front Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 559) { AddVehicleComponent(car,1173); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Wheel Arch X-Flow hátsó lökhárító felrakva.\"); ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, \"Select a Front Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 561) { AddVehicleComponent(car,1157); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Wheel Arch X-Flow hátsó lökhárító felrakva.\"); ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, \"Select a Front Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 560) { AddVehicleComponent(car,1170); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Wheel Arch X-Flow hátsó lökhárító felrakva.\"); ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, \"Select a Front Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 558) { AddVehicleComponent(car,1165); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Wheel Arch X-Flow hátsó lökhárító felrakva.\"); ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, \"Select a Front Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } } else { SendClientMessage(playerid,COLOR_RED,\"[ERROR]: Ezeket csak Wheel Arch Angels autókra rakhatod rá!\"); ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, \"Tuning menu\",\"Fényezés\\nSzín\\nKipufogó\\nHátsó lökhárító\\nElsõ lökhárító\\nTetõ\\nSpoilerek\\nOldalsó küszöbök\\nBullbarok\\nFelnik\\nAutóhifi\\nKövetkezõ oldal\", \"Kiválaszt\", \"Kilépés\"); } } if(listitem == 2)//Locos Low Co. Car Chromer Front Bumper { if(pmodelid[playerid] == 575 || pmodelid[playerid] == 534 || pmodelid[playerid] == 567 || pmodelid[playerid] == 536 || pmodelid[playerid] == 576 || pmodelid[playerid] == 535) { new car = GetPlayerVehicleID(playerid); if(pmodelid[playerid] == 575) { AddVehicleComponent(car,1174); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Low Chromer hátsó lökhárító felrakva.\"); ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, \"Tuning menu\",\"Fényezés\\nSzín\\nKipufogó\\nHátsó lökhárító\\nElsõ lökhárító\\nTetõ\\nSpoilerek\\nOldalsó küszöbök\\nBullbarok\\nFelnik\\nAutóhifi\\nKövetkezõ oldal\", \"Kiválaszt\", \"Kilépés\"); } else if(pmodelid[playerid] == 534) { AddVehicleComponent(car,1179); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Low Chromer hátsó lökhárító felrakva.\"); ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, \"Select a Front Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 567) { AddVehicleComponent(car,1189); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]:Low Chromer hátsó lökhárító felrakva.\"); ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, \"Select a Front Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 536) { AddVehicleComponent(car,1182); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Low Chromer hátsó lökhárító felrakva.\"); ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, \"Select a Front Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 535) { AddVehicleComponent(car,1115); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Low Chromer hátsó lökhárító felrakva.\"); ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, \"Select a Front Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 576) { AddVehicleComponent(car,1191); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Low Chromer hátsó lökhárító felrakva.\"); ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, \"Select a Front Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } } else { SendClientMessage(playerid,COLOR_RED,\"[ERROR]: Ezeket csak Locos Low autókra rakhatod rá!\"); ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, \"Tuning menu\",\"Fényezés\\nSzín\\nKipufogó\\nHátsó lökhárító\\nElsõ lökhárító\\nTetõ\\nSpoilerek\\nOldalsó küszöbök\\nBullbarok\\nFelnik\\nAutóhifi\\nKövetkezõ oldal\", \"Kiválaszt\", \"Kilépés\"); } } if(listitem == 3)//Locos Low Co. Salmin Front Bumper { if(pmodelid[playerid] == 575 || pmodelid[playerid] == 534 || pmodelid[playerid] == 567 || pmodelid[playerid] == 536 || pmodelid[playerid] == 576 || pmodelid[playerid] == 576) { new car = GetPlayerVehicleID(playerid); if(pmodelid[playerid] == 575) { AddVehicleComponent(car,1175); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Locos Low Slamin hátsó lökhárító felrakva.\"); ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, \"Select a Front Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 534) { AddVehicleComponent(car,1185); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Locos Low Slamin hátsó lökhárító felrakva.\"); ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, \"Select a Front Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 567) { AddVehicleComponent(car,1188); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Locos Low Slamin hátsó lökhárító felrakva.\"); ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, \"Select a Front Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 536) { AddVehicleComponent(car,1181); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Locos Low Slamin hátsó lökhárító felrakva.\"); ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, \"Select a Front Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 535) { AddVehicleComponent(car,1116); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Locos Low Slamin hátsó lökhárító felrakva.\"); ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, \"Select a Front Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 576) { AddVehicleComponent(car,1190); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Locos Low Slamin hátsó lökhárító felrakva.\"); ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, \"Select a Front Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } } else { SendClientMessage(playerid,COLOR_RED,\"[ERROR]: Ezeket csak Locos Low autókra rakhatod rá!\"); ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, \"Tuning menu\",\"Fényezés\\nSzín\\nKipufogó\\nHátsó lökhárító\\nElsõ lökhárító\\nTetõ\\nSpoilerek\\nOldalsó küszöbök\\nBullbarok\\nFelnik\\nAutóhifi\\nKövetkezõ oldal\", \"Kiválaszt\", \"Kilépés\"); } } if(listitem == 4)//BACK { ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, \"Tuning menu\",\"Fényezés\\nSzín\\nKipufogó\\nHátsó lökhárító\\nElsõ lökhárító\\nTetõ\\nSpoilerek\\nOldalsó küszöbök\\nBullbarok\\nFelnik\\nAutóhifi\\nKövetkezõ oldal\", \"Kiválaszt\", \"Kilépés\"); } } } if(dialogid == DIALOGID+5)//Rear Bumpers { if(response) { if(listitem == 0)//Wheel Arch Cars Alien Rear Bumper { if(pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560) { new car = GetPlayerVehicleID(playerid); if(pmodelid[playerid] == 562) { AddVehicleComponent(car,1149); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Wheel Arch Alien hátsó lökhárító felrakva.\"); ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, \"Select a Rear Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 565) { AddVehicleComponent(car,1150); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Wheel Arch Alien hátsó lökhárító felrakva.\"); ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, \"Select a Rear Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 559) { AddVehicleComponent(car,1159); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Wheel Arch Alien hátsó lökhárító felrakva.\"); ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, \"Select a Rear Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 561) { AddVehicleComponent(car,1154); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Wheel Arch Alien hátsó lökhárító felrakva.\"); ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, \"Select a Rear Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 560) { AddVehicleComponent(car,1141); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Wheel Arch Alien hátsó lökhárító felrakva.\"); ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, \"Select a Rear Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 558) { AddVehicleComponent(car,1168); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Wheel Arch Alien hátsó lökhárító felrakva.\"); ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, \"Select a Rear Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } } else { SendClientMessage(playerid,COLOR_RED,\"[ERROR]: Ezeket csak Wheel Arch Angels autókra rakhatod rá!\"); ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, \"Tuning menu\",\"Fényezés\\nSzín\\nKipufogó\\nHátsó lökhárító\\nElsõ lökhárító\\nTetõ\\nSpoilerek\\nOldalsó küszöbök\\nBullbarok\\nFelnik\\nAutóhifi\\nKövetkezõ oldal\", \"Kiválaszt\", \"Kilépés\"); } } if(listitem == 1)//Wheel Arch Cars X-Flow Rear Bumper { if(pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560) { new car = GetPlayerVehicleID(playerid); if(pmodelid[playerid] == 562) { AddVehicleComponent(car,1148); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Wheel Arch X-Flow hátsó lökhárító felrakva.\"); ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, \"Select a Rear Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 565) { AddVehicleComponent(car,1151); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Wheel Arch X-Flow hátsó lökhárító felrakva.\"); ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, \"Select a Rear Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 559) { AddVehicleComponent(car,1161); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Wheel Arch X-Flow hátsó lökhárító felrakva.\"); ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, \"Select a Rear Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 561) { AddVehicleComponent(car,1156); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Wheel Arch X-Flow hátsó lökhárító felrakva.\"); ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, \"Select a Rear Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 560) { AddVehicleComponent(car,1140); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Wheel Arch X-Flow hátsó lökhárító felrakva.\"); ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, \"Select a Rear Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 558) { AddVehicleComponent(car,1167); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Wheel Arch X-Flow hátsó lökhárító felrakva.\"); ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, \"Select a Rear Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } } else { SendClientMessage(playerid,COLOR_RED,\"[ERROR]: Ezeket csak Wheel Arch Angels autókra rakhatod rá!\"); ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, \"Tuning menu\",\"Fényezés\\nSzín\\nKipufogó\\nHátsó lökhárító\\nElsõ lökhárító\\nTetõ\\nSpoilerek\\nOldalsó küszöbök\\nBullbarok\\nFelnik\\nAutóhifi\\nKövetkezõ oldal\", \"Kiválaszt\", \"Kilépés\"); } } if(listitem == 2)//Locos Low Co. Cars Chromer Rear Bumper { if(pmodelid[playerid] == 575 || pmodelid[playerid] == 534 || pmodelid[playerid] == 567 || pmodelid[playerid] == 536 || pmodelid[playerid] == 576 || pmodelid[playerid] == 535) { new car = GetPlayerVehicleID(playerid); if(pmodelid[playerid] == 575) { AddVehicleComponent(car,1176); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Locos Low Chromer elsõ lökhárító felrakva.\"); ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, \"Select a Rear Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 534) { AddVehicleComponent(car,1180); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Locos Low Chromer elsõ lökhárító felrakva.\"); ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, \"Select a Rear Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 567) { AddVehicleComponent(car,1187); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Locos Low Chromer elsõ lökhárító felrakva.\"); ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, \"Select a Rear Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 536) { AddVehicleComponent(car,1184); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Locos Low Chromer elsõ lökhárító felrakva.\"); ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, \"Select a Rear Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 535) { AddVehicleComponent(car,1109); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Locos Low Chromer elsõ lökhárító felrakva.\"); ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, \"Select a Rear Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 576) { AddVehicleComponent(car,1192); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: Locos Low Chromer elsõ lökhárító felrakva.\"); ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, \"Select a Rear Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } } else { SendClientMessage(playerid,COLOR_RED,\"[ERROR]: Ezeket csak Locos Low autókra rakhatod rá!\"); ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, \"Tuning menu\",\"Fényezés\\nSzín\\nKipufogó\\nHátsó lökhárító\\nElsõ lökhárító\\nTetõ\\nSpoilerek\\nOldalsó küszöbök\\nBullbarok\\nFelnik\\nAutóhifi\\nKövetkezõ oldal\", \"Kiválaszt\", \"Kilépés\"); } } if(listitem == 3)//Locos Low Co. Cars Salmin Rear Bumper { if(pmodelid[playerid] == 575 || pmodelid[playerid] == 534 || pmodelid[playerid] == 567 || pmodelid[playerid] == 536 || pmodelid[playerid] == 576 || pmodelid[playerid] == 535) { new car = GetPlayerVehicleID(playerid); if(pmodelid[playerid] == 575) { AddVehicleComponent(car,1177); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: You have succesfully added Locos Low Slamin rear bumper component on Brodway.\"); ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, \"Select a Rear Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 534) { AddVehicleComponent(car,1178); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: You have succesfully added Locos Low Slamin rear bumper component on Remington.\"); ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, \"Select a Rear Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 567) { AddVehicleComponent(car,1186); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: You have succesfully added Locos Low Slamin rear bumper component on Savanna.\"); ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, \"Select a Rear Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 536) { AddVehicleComponent(car,1183); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: You have succesfully added Locos Low Slamin rear bumper component on Blade.\"); ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, \"Select a Rear Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 535) { AddVehicleComponent(car,1110); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: You have succesfully added Locos Low Slamin rear bumper component on Slamvan.\"); ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, \"Select a Rear Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 576) { AddVehicleComponent(car,1193); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: You have succesfully added Locos Low Slamin rear bumper component on Tornado.\"); ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, \"Select a Rear Bumper\", \"Wheel Arch Alien bumper\\nWheel Arch X-Flow bumper\\nLocos Low Chromer bumper\\nLocos Low Slamin bumper\\nBACK\", \"Select\", \"Exit\"); } } else { SendClientMessage(playerid,COLOR_RED,\"[ERROR]: Ezeket csak Locos Low autókra rakhatod rá!\"); ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, \"Tune car menu\",\"Paint Jobs\\nColors\\nExhausts\\nFront Bumper\\nRear Bumper\\nRoof\\nSpoilers\\nSide Skirts\\nBullbars\\nWheels\\nCar Stereo\\nNext page\", \"Select\", \"Exit\"); } } if(listitem == 4)//BACK { ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, \"Tuning menu\",\"Fényezés\\nSzín\\nKipufogó\\nHátsó lökhárító\\nElsõ lökhárító\\nTetõ\\nSpoilerek\\nOldalsó küszöbök\\nBullbarok\\nFelnik\\nAutóhifi\\nKövetkezõ oldal\", \"Kiválaszt\", \"Kilépés\"); } } } if(dialogid == DIALOGID+6)//Roofs { if(response) { if(listitem == 0)//Wheel Arch Cars Alien Roof Vent { if(pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560) { new car = GetPlayerVehicleID(playerid); if(pmodelid[playerid] == 562) { AddVehicleComponent(car,1035); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: You have succesfully added Wheel Arch Alien roof vent component on Elegy.\"); ShowPlayerDialog(playerid, DIALOGID+6, DIALOG_STYLE_LIST, \"Select a Roof\", \"Wheel Arch Alien Roof Vent\\nWheel Arch X-Flow Roof Vent\\nLocos Low Hardtop Roof\\nLocos Low Softtop Roof\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 565) { AddVehicleComponent(car,1054); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: You have succesfully added Wheel Arch Alien roof vent component on Flash.\"); ShowPlayerDialog(playerid, DIALOGID+6, DIALOG_STYLE_LIST, \"Select a Roof\", \"Wheel Arch Alien Roof Vent\\nWheel Arch X-Flow Roof Vent\\nLocos Low Hardtop Roof\\nLocos Low Softtop Roof\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 559) { AddVehicleComponent(car,1067); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: You have succesfully added Wheel Arch Alien roof vent component on Jester.\"); ShowPlayerDialog(playerid, DIALOGID+6, DIALOG_STYLE_LIST, \"Select a Roof\", \"Wheel Arch Alien Roof Vent\\nWheel Arch X-Flow Roof Vent\\nLocos Low Hardtop Roof\\nLocos Low Softtop Roof\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 561) { AddVehicleComponent(car,1055); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: You have succesfully added Wheel Arch Alien roof vent component on Stratum.\"); ShowPlayerDialog(playerid, DIALOGID+6, DIALOG_STYLE_LIST, \"Select a Roof\", \"Wheel Arch Alien Roof Vent\\nWheel Arch X-Flow Roof Vent\\nLocos Low Hardtop Roof\\nLocos Low Softtop Roof\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 560) { AddVehicleComponent(car,1032); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: You have succesfully added Wheel Arch Alien roof vent component on Sultan.\"); ShowPlayerDialog(playerid, DIALOGID+6, DIALOG_STYLE_LIST, \"Select a Roof\", \"Wheel Arch Alien Roof Vent\\nWheel Arch X-Flow Roof Vent\\nLocos Low Hardtop Roof\\nLocos Low Softtop Roof\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 558) { AddVehicleComponent(car,1088); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: You have succesfully added Wheel Arch Alien roof vent component on Uranus.\"); ShowPlayerDialog(playerid, DIALOGID+6, DIALOG_STYLE_LIST, \"Select a Roof\", \"Wheel Arch Alien Roof Vent\\nWheel Arch X-Flow Roof Vent\\nLocos Low Hardtop Roof\\nLocos Low Softtop Roof\\nBACK\", \"Select\", \"Exit\"); } } else { SendClientMessage(playerid,COLOR_RED,\"[ERROR]: Ezeket csak Wheel Arch Angels autókra rakhatod rá!\"); ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, \"Tuning menu\",\"Fényezés\\nSzín\\nKipufogó\\nHátsó lökhárító\\nElsõ lökhárító\\nTetõ\\nSpoilerek\\nOldalsó küszöbök\\nBullbarok\\nFelnik\\nAutóhifi\\nKövetkezõ oldal\", \"Kiválaszt\", \"Kilépés\"); } } if(listitem == 1)//Wheel Arch Cars X-Flow Roof Vent { if(pmodelid[playerid] == 562 || pmodelid[playerid] == 565 || pmodelid[playerid] == 559 || pmodelid[playerid] == 561 || pmodelid[playerid] == 560) { new car = GetPlayerVehicleID(playerid); if(pmodelid[playerid] == 562) { AddVehicleComponent(car,1035); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: You have succesfully added Wheel Arch X-Flow roof vent component on Elegy.\"); ShowPlayerDialog(playerid, DIALOGID+6, DIALOG_STYLE_LIST, \"Select a Roof\", \"Wheel Arch Alien Roof Vent\\nWheel Arch X-Flow Roof Vent\\nLocos Low Hardtop Roof\\nLocos Low Softtop Roof\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 565) { AddVehicleComponent(car,1053); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: You have succesfully added Wheel Arch X-Flow roof vent component on Flash.\"); ShowPlayerDialog(playerid, DIALOGID+6, DIALOG_STYLE_LIST, \"Select a Roof\", \"Wheel Arch Alien Roof Vent\\nWheel Arch X-Flow Roof Vent\\nLocos Low Hardtop Roof\\nLocos Low Softtop Roof\\nBACK\", \"Select\", \"Exit\"); } else if(pmodelid[playerid] == 559) { AddVehicleComponent(car,1068); PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0); SendClientMessage(playerid,COLOR_YELLOW,\"[iNFO]: You have succesfully added Wheel Arch X-Flow roof vent component on Jester.\"); ShowPlayerDialog(playerid, DIALOGID+6, DIALO [
|