27.04.2010, 19:55
Код:
stock ReturnServerPlayers()
{
new
countVariable;
for(new u = 0, u < GetMaxPlayers(); u++) // line 57
{
if(IsPlayerConnected(u)) countVariable++;
}
return countVariable;
}
Код:
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.

