GetPlayersInArea
ESX.Game.GetPlayersInArea(coords, maxDistance)
This function gets all players within the max distance of a coord.
Arguments
Argument | Data Type | Optional | Default Value | Explanation |
---|---|---|---|---|
coords | table&vector3 | Yes | (your player ped coords) | The coords to search at |
maxDistance | number | No | - | The maxmimum search distance |