zcmd.inc compiling problems
#10

Still these errors
pawn Код:
C:\PC\E\Express Gaming Roleplay Server - Copy\filterscripts\Vstorage.pwn(19) : error 017: undefined symbol "PlayerVehicleInfo"
C:\PC\E\Express Gaming Roleplay Server - Copy\filterscripts\Vstorage.pwn(19) : warning 215: expression has no effect
C:\PC\E\Express Gaming Roleplay Server - Copy\filterscripts\Vstorage.pwn(19) : error 001: expected token: ";", but found "]"
C:\PC\E\Express Gaming Roleplay Server - Copy\filterscripts\Vstorage.pwn(19) : error 029: invalid expression, assumed zero
C:\PC\E\Express Gaming Roleplay Server - Copy\filterscripts\Vstorage.pwn(19) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
and here are the codes
pawn Код:
#include <a_samp>
#include <zcmd>

#define MAX_PLAYERVEHICLES 5
#define VSTORAGE 19103
#define COLOR_YELLOW 0xFFFF00AA


public OnFilterScriptInit()
{
    return 1;
}
CMD:vstorage(playerid, params[])
{
    SendClientMessage(playerid, COLOR_YELLOW, "Command currently Disabled");
    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, "Vehicle Storage", vstring, "(De)Spawn", "Cancel");
    return 1;

}
Reply


Messages In This Thread
zcmd.inc compiling problems - by Red_Dragon. - 10.12.2012, 17:34
Re: zcmd.inc compiling problems - by LarzI - 10.12.2012, 17:36
Re: zcmd.inc compiling problems - by Red_Dragon. - 10.12.2012, 17:40
Re: zcmd.inc compiling problems - by LarzI - 10.12.2012, 18:00
Re: zcmd.inc compiling problems - by Red_Dragon. - 10.12.2012, 18:05
Re: zcmd.inc compiling problems - by DiGiTaL_AnGeL - 10.12.2012, 18:10
Re: zcmd.inc compiling problems - by LarzI - 10.12.2012, 18:11
Re: zcmd.inc compiling problems - by Red_Dragon. - 10.12.2012, 18:15
Re: zcmd.inc compiling problems - by LarzI - 10.12.2012, 18:22
Re: zcmd.inc compiling problems - by Red_Dragon. - 10.12.2012, 18:33

Forum Jump:


Users browsing this thread: 1 Guest(s)