Help with login before spawn ?
#1

pawn Код:
OnPlayerRequestSpawn(...)
{
  if(IsPlayerLoggedIn[playerid] == 0)
  {
    return 0;
  }
  return 1;
}
and some sort of timer @ OnPlayerConnect..
[/quote]

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)
This being line 490
Reply


Messages In This Thread
Help with login before spawn ? - by Mr_Finnigan - 04.06.2009, 03:47
Re: Help with login before spawn ? - by HuRRiCaNe - 04.06.2009, 03:51
Re: Help with login before spawn ? - by Mr_Finnigan - 04.06.2009, 04:02
Re: Help with login before spawn ? - by HuRRiCaNe - 04.06.2009, 04:06
Re: Help with login before spawn ? - by Mr_Finnigan - 04.06.2009, 04:08
Re: Help with login before spawn ? - by efeX - 04.06.2009, 08:36
Re: Help with login before spawn ? - by Drift_King786 - 04.06.2009, 09:04
Re: Help with login before spawn ? - by TheUllas - 04.06.2009, 09:49
Re: Help with login before spawn ? - by Mr_Finnigan - 04.06.2009, 14:18

Forum Jump:


Users browsing this thread: 1 Guest(s)