VLM Posted November 27, 2017 Report Share Posted November 27, 2017 Imi zice invalid expression, assumed zero(eroare). Cod sursa: https://pastebin.com/vK1TrFXT Quote #retras Link to comment Share on other sites More sharing options...
0 InceMan Posted November 27, 2017 Report Share Posted November 27, 2017 Acum 50 minute, VLM a spus: Imi zice invalid expression, assumed zero(eroare). Cod sursa: https://pastebin.com/vK1TrFXT Salut, oate sistem-ul tau nu iti permite -1 sau cum ai devinit tu incearca si asa sa vezi ce zice if(CarInfo[OwnedVeh(vehicleid)][cVIP] == 0)return SCM(playerid, CULOATEA_TA_PREFERATA, "Acesta nu este un vehicul VIP."); Quote FiveGame Lands Pawno Developer, Mapping , Scripter Since 2016 Link to comment Share on other sites More sharing options...
0 VLM Posted November 28, 2017 Author Report Share Posted November 28, 2017 error 029: invalid expression, assumed zero La fel imi da.. 18 hours ago, Geani said: Salut, oate sistem-ul tau nu iti permite -1 sau cum ai devinit tu incearca si asa sa vezi ce zice if(CarInfo[OwnedVeh(vehicleid)][cVIP] == 0)return SCM(playerid, CULOATEA_TA_PREFERATA, "Acesta nu este un vehicul VIP."); Quote #retras Link to comment Share on other sites More sharing options...
0 InceMan Posted November 28, 2017 Report Share Posted November 28, 2017 Acum 4 ore, VLM a spus: error 029: invalid expression, assumed zero La fel imi da.. off cultura asta pai unde am scris CULOATEA_TA_PREFERATA pui ce culoare vrei tu deasta iti da acea eroare Incearca asa if(CarInfo[OwnedVeh(vehicleid)][cVIP] == 0)return SCM(playerid, COLOR_GREEN, "Acesta nu este un vehicul VIP."); Quote FiveGame Lands Pawno Developer, Mapping , Scripter Since 2016 Link to comment Share on other sites More sharing options...
0 VLM Posted November 28, 2017 Author Report Share Posted November 28, 2017 1 hour ago, Geani said: off cultura asta pai unde am scris CULOATEA_TA_PREFERATA pui ce culoare vrei tu deasta iti da acea eroare Incearca asa if(CarInfo[OwnedVeh(vehicleid)][cVIP] == 0)return SCM(playerid, COLOR_GREEN, "Acesta nu este un vehicul VIP."); Ma crezi prost ba ? Am scris COLOR_WHITE acolo. La fel iti da CMD:vipwheels(playerid, params[]) { new vehicleid = GetPlayerVehicleID(playerid); if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER && GetPlayerState(playerid) == PLAYER_STATE_PASSENGER) return SCM(playerid, COLOR_WHITE, "Nu esti intr-un vehicul."); if(vehicleid == personalcar[0][playerid] || vehicleid == personalcar[1][playerid] || vehicleid == personalcar[2][playerid] || vehicleid == personalcar[3][playerid] || vehicleid == personalcar[4][playerid] || vehicleid == personalcar[5][playerid]) { if(CarInfo[OwnedVeh(vehicleid)][cVIP] == 0)return SCM(playerid, COLOR_GREEN, "Acesta nu este un vehicul VIP."); ShowPlayerDialog(playerid, DIALOG_VIPWHEELS, DIALOG_STYLE_LIST, "VIP Wheels", "Gold Wheels\nDollar Wheels\nShadow Wheels", "Set", "Cancel"); } return 1; } Toata comanda, poate iti dai seama.. Quote #retras Link to comment Share on other sites More sharing options...
0 ASGOOD Posted November 29, 2017 Report Share Posted November 29, 2017 CMD:vipwheels(playerid, params[]) { new vehicleid = GetPlayerVehicleID(playerid); if(vehicleid == personalcar[0][playerid] || vehicleid == personalcar[1][playerid] || vehicleid == personalcar[2][playerid] || vehicleid == personalcar[3][playerid] || vehicleid == personalcar[4][playerid] || vehicleid == personalcar[5][playerid]) if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER && GetPlayerState(playerid) == PLAYER_STATE_PASSENGER) { if(CarInfo[OwnedVeh(vehicleid)][cVIP] == 0)return SCM(playerid, COLOR_GREEN, "Acesta nu este un vehicul VIP."); ShowPlayerDialog(playerid, DIALOG_VIPWHEELS, DIALOG_STYLE_LIST, "VIP Wheels", "Gold Wheels\nDollar Wheels\nShadow Wheels", "Set", "Cancel"); } else return SendClientMessage(playerid, -1, "Nu esti intr-un vehicul."); return 1; } Incearca asa sau mergi acolo unde ai creeat variabila personalcar si modifica in personalcar[MAX_PLAYERS][7] Quote Link to comment Share on other sites More sharing options...
0 VLM Posted November 29, 2017 Author Report Share Posted November 29, 2017 personalcar[MAX_PVEHS][MAX_PLAYERS], Este deja, am incercat codul tau, la fel imi da, problema e pe aici: if(CarInfo[OwnedVeh(vehicleid)][cVIP] == 0) Quote #retras Link to comment Share on other sites More sharing options...
Question
VLM
Imi zice invalid expression, assumed zero(eroare).
Cod sursa: https://pastebin.com/vK1TrFXT
#retras
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.