for( new iClient = 1; iClient <= MaxClients; iClient++ ) if( IsClientInGame( iClient ) ) { // do it }