new bool:EstaNoElevador[MAX_PLAYERS];for(new i=0; i < MAX_PLAYERS; i++){ if(IsPlayerInRangeOfPoint(i, range, ....) { if(!EstaNoElevador[i]) { MoveObject... } }}