[Help] Error in a FilterScript of Tutorial
#1

Код:
public OnPlayerConnect(playerid)
{
  for(new i = 0;i < MAX_PLAYERS; i++)
  {
	PlayerInfo[playerid][pTut] = 0;
	TutTime[playerid] = 0;
	return 1;
}
C:\Documents and Settings\Administrator\Desktop\Outros\Tutorial.pwn (46) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\Administrator\Desktop\Outros\Tutorial.pwn (46) : warning 215: expression has no effect
C:\Documents and Settings\Administrator\Desktop\Outros\Tutorial.pwn (46) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Administrator\Desktop\Outros\Tutorial.pwn (46) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Desktop\Outros\Tutorial.pwn (46) : fatal error 107: too many error messages on one line
Reply
#2

Код:
public OnPlayerConnect(playerid)
{
  for(new i = 0;i < MAX_PLAYERS; i++)
  {
	PlayerInfo[playerid][pTut] = 0;
	TutTime[playerid] = 0;
  }
	return 1;
}
Reply
#3

no results
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)