10.08.2010, 06:54
A for loop, which checks every player, if it is in the range of the point. (In this case, the point is the position of the player who sends the message.)
for (i=0; while i<MAX_PLAYERS){
if (IsPlayerInRangeOfPoint(i)) SendTheMessage();
}
for (i=0; while i<MAX_PLAYERS){
if (IsPlayerInRangeOfPoint(i)) SendTheMessage();
}

