08.11.2012, 14:36
A simple look at https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint would give you the answer to your question.
Float:range The furthest distance the player can be to be in range.
Float:range The furthest distance the player can be to be in range.