04.06.2009, 03:47
pawn Код:
OnPlayerRequestSpawn(...)
{
if(IsPlayerLoggedIn[playerid] == 0)
{
return 0;
}
return 1;
}
and some sort of timer @ OnPlayerConnect..
I put this in my game mode and i get these errors
Код:
C:\Documents and Settings\sanandreas\Desktop\samp server\gamemodes\SF5GDM.pwn(490) : error 028: invalid subscript (not an array or too many subscripts): "IsPlayerLoggedIn" C:\Documents and Settings\sanandreas\Desktop\samp server\gamemodes\SF5GDM.pwn(490) : warning 215: expression has no effect C:\Documents and Settings\sanandreas\Desktop\samp server\gamemodes\SF5GDM.pwn(490) : error 001: expected token: ";", but found "]" C:\Documents and Settings\sanandreas\Desktop\samp server\gamemodes\SF5GDM.pwn(490) : error 029: invalid expression, assumed zero C:\Documents and Settings\sanandreas\Desktop\samp server\gamemodes\SF5GDM.pwn(490) : 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(IsPlayerLoggedIn[playerid] == 0)