D:\Server\gamemodes\gs.pwn(2273) : error 017: undefined symbol "PlayerInfo" D:\Server\gamemodes\gs.pwn(2273) : warning 215: expression has no effect D:\Server\gamemodes\gs.pwn(2273) : error 001: expected token: ";", but found "]" D:\Server\gamemodes\gs.pwn(2273) : error 029: invalid expression, assumed zero D:\Server\gamemodes\gs.pwn(2273) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. |
if(PlayerInfo[playerid][pAdmin] >= 5) |
enum pInfo
{
pAdmin
}
new
PlayerInfo[ MAX_PLAYERS ][ pInfo ];
if(pInfo[playerid][pAdmin] >= 5)
[Fu]This forum requires that you wait 120 seconds between posts. Please try again in 50 seconds.[Fu]
enum pData { pAdmin } new PlayerInfo[MAX_PLAYERS][pData];
enum pInfo
{
pAdmin
}
new PlayerInfo[MAX_PLAYERS][pInfo];
//example
CMD:blabla(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] >= 6)
{
//your code
}
return 1;
}