11.05.2014, 14:16
hi, i followed a tutorial for a simple admin system, but on compiling i get this:
But it is...
Line of error:
Код:
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; }