Am inceput sa fac un sistem de neon de la 0, ok nicio problema, in gm nicio erroare la compilari.
Dar pe game, nu functioneaza comanda cand selectez un neon in changeneon, aveti codurile mai jos!
Comanda /changeneon
CMD:changeneon(playerid, params[]){if(gPlayerLogged[playerid]==0)returnSendClientMessage(playerid, COLOR_LIGHTRED,"Trebuie sa te loghezi prima data.");if(!IsPlayerInAnyVehicle(playerid))return SCM(playerid,COLOR_RED,"Nu esti intr-un vehicul.");new veh =GetPlayerVehicleID(playerid);if(OwnedVeh(veh)==-1)returnError(playerid,"Nu esti intr-un vehiculul personal care iti apartine.");new cct =OwnedVeh(veh);if(CarInfo[cct][cOwned]!=PlayerInfo[playerid][pSQLID])returnError(playerid,"Nu este vehiculul tau.");if(CarInfo[cct][cVip]==false)returnError(playerid,"Vehiculul in care te afli nu este unul VIP.");if(CarInfo[cct][cNeon]==0)returnError(playerid,"Vehiculul in care te aflii nu detine System Neon!");{ShowPlayerDialog(playerid, DIALOG_CHANGENEON, DIALOG_STYLE_LIST,"Change Neon","Neon -{FF0000} Rosu{FFFFFF}\nNeon -{0088FF} Albastru{FFFFFF}\n Neon -{167400} Verde{FFFFFF}","Select","Cancel");}return1;}
Question
VAurel
Salut, am si eu o problemuta.
Am inceput sa fac un sistem de neon de la 0, ok nicio problema, in gm nicio erroare la compilari.
Dar pe game, nu functioneaza comanda cand selectez un neon in changeneon, aveti codurile mai jos!
Comanda /changeneon
Dialog_Changeneon :
YouTube : https://www.youtube.com/channel/UCqHZo0HCgfmW5R5d6b5cnxw
10 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now