stock GetNextPlayerID(id){ for(new i = (id + 1), j = GetPlayerPoolSize(); i <= j; i ++) { if(!IsPlayerConnected(i)) { continue; } return i; } return INVALID_PLAYER_ID;}