ESX.Game.GetVehiclesInArea¶
1 | ESX.Game.GetVehiclesInArea(coords, maxDistance) |
This function gets all vehicles 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 |