for(new i = 0, j = GetPlayerPoolSize(); i <= j; i ++){ if(!IsPlayerConnected(i)) { continue; } // ...}