20.12.2009, 09:34
In your command, first get the position of playerid.
Then use a loop.
In that loop do a check with IsPlayerInRangeOfPoint.
If that is true, send the message, if not, return false. Altough I recommend you to use foreach.
pawn Код:
GetPlayerPos(playerid, X, Y, Z)
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
pawn Код:
if(IsPlayerInRangeOfPoint(i, 10.0, X, Y, Z)

