Vehicle storage problem
#1

i have that command in a filterscript but i got these errors while compiling
pawn Код:
C:\PC\E\Express Gaming Roleplay Server - Copy\filterscripts\Vstorage.pwn(1) : warning 203: symbol is never used: "vstorage"
C:\PC\E\Express Gaming Roleplay Server - Copy\filterscripts\Vstorage.pwn(1 -- 22) : error 013: no entry point (no public functions)
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
and this is the code
pawn Код:
CMD:vstorage(playerid, params[])
{
    new vstring[1024];
    for(new i, iModelID; i < MAX_PLAYERVEHICLES; i++) {
        if((iModelID = PlayerVehicleInfo[playerid][i][pvModelId] - 400) >= 0) {
            if(PlayerVehicleInfo[playerid][i][pvImpounded]) {
                format(vstring, sizeof(vstring), "%s\n%s (impounded)", vstring, VehicleName[iModelID]);
            }
            else if(PlayerVehicleInfo[playerid][i][pvDisabled]) {
                format(vstring, sizeof(vstring), "%s\n%s (disabled)", vstring, VehicleName[iModelID]);
            }
            else if(!PlayerVehicleInfo[playerid][i][pvSpawned]) {
                format(vstring, sizeof(vstring), "%s\n%s (stored)", vstring, VehicleName[iModelID]);
            }
            else format(vstring, sizeof(vstring), "%s\n%s (spawned)", vstring, VehicleName[iModelID]);
        }
        else strcat(vstring, "\nEmpty");
    }
    ShowPlayerDialog(playerid, VSTORAGE, DIALOG_STYLE_LIST, "Vehicle storage", vstring, "(De)spawn", "Cancel");
    return 1;
}
Reply


Messages In This Thread
Vehicle storage problem - by Red_Dragon. - 06.12.2012, 12:15
Re: Vehicle storage problem - by Windrush - 06.12.2012, 12:24
Re: Vehicle storage problem - by XStormiest - 06.12.2012, 12:26
Re: Vehicle storage problem - by Red_Dragon. - 06.12.2012, 12:33
Re: Vehicle storage problem - by Red_Dragon. - 09.12.2012, 17:00
Re: Vehicle storage problem - by deb014 - 09.12.2012, 18:04
Re: Vehicle storage problem - by Red_Dragon. - 09.12.2012, 18:23

Forum Jump:


Users browsing this thread: 1 Guest(s)