new Entering[MAX_PLAYERS]; ... /enter Entering[playerid] = 1; ... /exit if(Entering[playerid] == 1) { ... }