22.11.2016, 13:34
so trocar por essa:
PHP код:
stock GetTimePlayers()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(!IsPlayerConnected(i))
continue;
if(Player[i][pTime1] == 1)
return TotalTime1;
else if(Player[i][pTime2] == 1)
return TotalTime2;
}
return -1;
}