29.12.2015, 12:47
Код:
warning 219: local variable "count" shadows a variable at a preceding level
PHP код:
stock GetPlayersOnServer()
{
new count; //This line
for(new x=0; x< MAX_PLAYERS; x++)
{
if(IsPlayerConnected(x))
{
count++;
}
}
return count;
}