#define FILTERSCRIPT#define COLOR_WHITE 0xFFFFFFAA#include <a_samp>#define NEON 1337 // Dialogid#if defined FILTERSCRIPTpublic OnFilterScriptInit(){print(\"\\n--------------------------------------\");print(\" Neon System By AlexzzPro\");print(\"--------------------------------------\\n\");return 1;}#endifpublic OnPlayerCommandText(playerid, cmdtext[]){if (strcmp(\"/neon\", cmdtext, true, 10) == 0){if(IsPlayerInAnyVehicle(playerid)) { if(GetPlayerState(playerid) == PLAYER_STATE_PASSENGER) { SendClientMessage(playerid, COLOR_WHITE, \" Nem ülsz jármûben!\"); return 1; } ShowPlayerDialog(playerid, NEON, DIALOG_STYLE_LIST, \"Válassz neon szint.\",\"Kék\\nZöld\\nCitrom Sárga\\nFehér\\nRózsaszín\\nNeon levétele\",\"Választ\",\"Kilép\");}else{ SendClientMessage(playerid, COLOR_WHITE, \" Nem ülsz jármûben!\");}return 1;}return 0;}public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){if(dialogid == NEON){if(response){ if(listitem == 0) { SetPVarInt(playerid, \"neon\", 1); SetPVarInt(playerid, \"kék\", CreateObject(18648,0,0,0,0,0,0)); SetPVarInt(playerid, \"kék1\", CreateObject(18648,0,0,0,0,0,0)); AttachObjectToVehicle(GetPVarInt(playerid, \"kék\"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0); AttachObjectToVehicle(GetPVarInt(playerid, \"kék1\"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0); GameTextForPlayer(playerid, \"~b~ Kék ~w~Neonszint választottad.\",3500,5); } if(listitem == 1) { SetPVarInt(playerid, \"neon\", 1); SetPVarInt(playerid, \"zöld\", CreateObject(18649,0,0,0,0,0,0)); SetPVarInt(playerid, \"zöld1\", CreateObject(18649,0,0,0,0,0,0)); AttachObjectToVehicle(GetPVarInt(playerid, \"zöld\"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0); AttachObjectToVehicle(GetPVarInt(playerid, \"zöld1\"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0); GameTextForPlayer(playerid, \"~g~Zöld ~w~Neonszint választottad.\",3500,5); } if(listitem == 2) { SetPVarInt(playerid, \"neon\", 1); SetPVarInt(playerid, \"citromsárga\", CreateObject(18650,0,0,0,0,0,0)); SetPVarInt(playerid, \"citromsárga1\", CreateObject(18650,0,0,0,0,0,0)); AttachObjectToVehicle(GetPVarInt(playerid, \"citromsárga\"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0); AttachObjectToVehicle(GetPVarInt(playerid, \"citromsárga1\"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0); GameTextForPlayer(playerid, \"~y~Citromsárga~w~ Neonszint választottad.\",3500,5); } if(listitem == 3) { SetPVarInt(playerid, \"neon\", 1); SetPVarInt(playerid, \"fehér\", CreateObject(18652,0,0,0,0,0,0)); SetPVarInt(playerid, \"fehér1\", CreateObject(18652,0,0,0,0,0,0)); AttachObjectToVehicle(GetPVarInt(playerid, \"fehér\"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0); AttachObjectToVehicle(GetPVarInt(playerid, \"fehér1\"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0); GameTextForPlayer(playerid, \"~w~Fehér~w~ Neonszint választottad.\",3500,5); } if(listitem == 4) { SetPVarInt(playerid, \"neon\", 1); SetPVarInt(playerid, \"rózsaszín\", CreateObject(18651,0,0,0,0,0,0)); SetPVarInt(playerid, \"rózsaszín1\", CreateObject(18651,0,0,0,0,0,0)); AttachObjectToVehicle(GetPVarInt(playerid, \"rózsaszín\"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0); AttachObjectToVehicle(GetPVarInt(playerid, \"rózsaszín1\"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0); GameTextForPlayer(playerid, \"~p~Rózsaszín~w~ Neonszint választottad.\",3500,5); } if(listitem == 5) { DestroyObject(GetPVarInt(playerid, \"kék\")); DeletePVar(playerid, \"neon\"); DestroyObject(GetPVarInt(playerid, \"kék1\")); DeletePVar(playerid, \"neon\"); DestroyObject(GetPVarInt(playerid, \"zöld\")); DeletePVar(playerid, \"neon\"); DestroyObject(GetPVarInt(playerid, \"zöld1\")); DeletePVar(playerid, \"neon\"); DestroyObject(GetPVarInt(playerid, \"citromsárga\")); DeletePVar(playerid, \"neon\"); DestroyObject(GetPVarInt(playerid, \"citromsárga1\")); DeletePVar(playerid, \"neon\"); DestroyObject(GetPVarInt(playerid, \"fehér\")); DeletePVar(playerid, \"neon\"); DestroyObject(GetPVarInt(playerid, \"fehér1\")); DeletePVar(playerid, \"neon\"); DestroyObject(GetPVarInt(playerid, \"rózsaszín\")); DeletePVar(playerid, \"neon\"); DestroyObject(GetPVarInt(playerid, \"rózsaszín1\")); DeletePVar(playerid, \"neon\"); GameTextForPlayer(playerid, \"~g~Levetted a neont a jármûvedrõl.\",3500,5); }}}return 1;}