11.10.2012, 08:30
(
Последний раз редактировалось eclipses; 11.10.2012 в 08:35.
Причина: Red marked the problem line
)
Hello there, i have a problem with my vehicle storage system.
Could anyone assist me it would be great. Thanks.
Pawno compile errors
Vehicle Storage system
Redmarked the problem line.
Could anyone assist me it would be great. Thanks.
Pawno compile errors
Код:
C:\Users\Nick\Desktop\Nick's Ser\gamemodes\AMRP.pwn(47333) : error 029: invalid expression, assumed zero C:\Users\Nick\Desktop\Nick's Ser\gamemodes\AMRP.pwn(47333) : warning 215: expression has no effect C:\Users\Nick\Desktop\Nick's Ser\gamemodes\AMRP.pwn(47333) : warning 215: expression has no effect C:\Users\Nick\Desktop\Nick's Ser\gamemodes\AMRP.pwn(47333) : warning 215: expression has no effect C:\Users\Nick\Desktop\Nick's Ser\gamemodes\AMRP.pwn(47333) : warning 215: expression has no effect C:\Users\Nick\Desktop\Nick's Ser\gamemodes\AMRP.pwn(47333) : warning 215: expression has no effect C:\Users\Nick\Desktop\Nick's Ser\gamemodes\AMRP.pwn(47333) : error 001: expected token: ";", but found ")" C:\Users\Nick\Desktop\Nick's Ser\gamemodes\AMRP.pwn(47333) : error 029: invalid expression, assumed zero C:\Users\Nick\Desktop\Nick's Ser\gamemodes\AMRP.pwn(47333) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Код:
CMD:vstorage(playerid, params[]) { new vstring[1024]; for(new i; i < MAX_PLAYERVEHICLES; i++) { if(PlayerVehicleInfo[playerid][i][pvId] > INVALID_PLAYER_VEHICLE_ID) format(vstring, sizeof(vstring), "%s\n%s", vstring, VehicleName[PlayerVehicleInfo[playerid][i][pvModelId] - 400]); else if(PlayerVehicleInfo[playerid][i][pvImpounded] == 1) format(vstring, sizeof(vstring), "%s\n%s (impounded)", vstring, VehicleName[PlayerVehicleInfo[playerid][i][pvModelId] - 400]); else format(vstring, sizeof(vstring), "%s\nEmpty", vstring); } ShowPlayerDialog(playerid, VSTORAGE, DIALOG_STYLE_LIST, "OnStar Vehicle Storage", vstring, "(UN)Store", "Cancel"); return 1; }