for(new i; i<=MAX_PLAYERS; i++){ new Float:X,Float:Y,Float:Z; GetPlayerPos(playerid, X,Y,Z); if(IsPlayerInRangeOfPoint(i, radius, X,Y,Z); { //do stuff here }}