19.03.2011, 11:00
Hey guys, i get this erros:
On this litle code:
Thanks
Код:
C:\Users\Ricardo\Desktop\adminric.pwn(87) : error 017: undefined symbol "gLogged" C:\Users\Ricardo\Desktop\adminric.pwn(87) : warning 215: expression has no effect C:\Users\Ricardo\Desktop\adminric.pwn(87) : error 001: expected token: ";", but found "]" C:\Users\Ricardo\Desktop\adminric.pwn(87) : error 029: invalid expression, assumed zero C:\Users\Ricardo\Desktop\adminric.pwn(87) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
pawn Код:
public OnPlayerConnect(playerid)
{
if(gLogged[playerid] == 0)
{
SendClientMessage(playerid, COLOR, "SERVER: You have not logged in yet.");
Kick(playerid);
return 1;
}
}