Questions
#6

Код:
stock ReturnServerPlayers()
{
  new
  	countVariable;
  for(new u = 0, u < GetMaxPlayers(); u++) // line 57
  {
    if(IsPlayerConnected(u)) countVariable++;
  }
  return countVariable;
}
Errors:

Код:
C:\Documents and Settings\Administrator\Desktop\Server\gamemodes\Roleplay.pwn(57) : error 021: symbol already defined: "u"
C:\Documents and Settings\Administrator\Desktop\Server\gamemodes\Roleplay.pwn(57) : error 001: expected token: ")", but found ";"
C:\Documents and Settings\Administrator\Desktop\Server\gamemodes\Roleplay.pwn(57) : warning 204: symbol is assigned a value that is never used: "u"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Reply


Messages In This Thread
Questions - by Lajko1 - 27.04.2010, 18:49
Re: Questions - by Hiddos - 27.04.2010, 18:51
Re: Questions - by Correlli - 27.04.2010, 18:53
Re: Questions - by Lajko1 - 27.04.2010, 19:17
Re: Questions - by Correlli - 27.04.2010, 19:20
Re: Questions - by Lajko1 - 27.04.2010, 19:55
Re: Questions - by Correlli - 27.04.2010, 20:13
Re: Questions - by Lajko1 - 27.04.2010, 20:41
Re: Questions - by Correlli - 27.04.2010, 21:07

Forum Jump:


Users browsing this thread: 1 Guest(s)