for(new i = 0; i <= GetMaxPlayers(); i++){ if(IsPlayerConnected(i) && ClubInfo[idorg][pMember][i]) { //... } else { //... }}