C:\Users\Luc\Documents\Samp server\filterscripts\registers.pwn(85) : error 017: undefined symbol "PInfo" C:\Users\Luc\Documents\Samp server\filterscripts\registers.pwn(85) : warning 215: expression has no effect C:\Users\Luc\Documents\Samp server\filterscripts\registers.pwn(85) : error 001: expected token: ";", but found "]" C:\Users\Luc\Documents\Samp server\filterscripts\registers.pwn(85) : error 029: invalid expression, assumed zero C:\Users\Luc\Documents\Samp server\filterscripts\registers.pwn(85) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
new PInfo[MAX_PLAYERS][Playerinfo]; //Variable that stores enumerator above
public OnPlayerDisconnect(playerid,reason) { PInfo[playerid][Logged] = 0;//Setting the logged in variable to 0. return 1; }
new PInfo[MAX_PLAYERS][Playerinfo];
new PInfo[MAX_PLAYERS][Playerinfo]; //Variable that stores enumerator above enum PlayerInfo { Logged,//To check if the player is logged in Level,//To check the player's admin level }
PInfo[playerid][Logged] = 0;//Setting the logged in variable to 0.
enum PlayerInfo
{
Logged,
Level
};
new PInfo[MAX_PLAYERS][PlayerInfo];
// Code below that uses PInfo..
enum PlayerInfo { Logged, Level }; new PInfo[MAX_PLAYERS][PlayerInfo];
This is what i have now
Код:
enum PlayerInfo { Logged, Level }; new PInfo[MAX_PLAYERS][PlayerInfo]; same errors on compile ;o |
C:\Users\Luc\Documents\Samp server\filterscripts\registers.pwn(85) : error 017: undefined symbol "PInfo" C:\Users\Luc\Documents\Samp server\filterscripts\registers.pwn(85) : warning 215: expression has no effect C:\Users\Luc\Documents\Samp server\filterscripts\registers.pwn(85) : error 001: expected token: ";", but found "]" C:\Users\Luc\Documents\Samp server\filterscripts\registers.pwn(85) : error 029: invalid expression, assumed zero C:\Users\Luc\Documents\Samp server\filterscripts\registers.pwn(85) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.