02.04.2014, 05:46
pawn Код:
for(new i=0; i<MAX_PLAYERS; i++)
{
if(Variable[i] == 1 && GeneralVariable >= 4) // IsPlayerConnected(i) isn't necessary, for each player that has Variable[playerid] = 1; do GeneralVariable++; and if the player that had Variable[playerid] = 1; is then set to 0 do GeneralVariable--;
{
// Timer
}
}