GetClosestPedToCoords
Returns the closest dialogue ped to a specified coords.
- coords:
vector3
- maxRange:
number
- onlyStreamed:
boolean
Returns PedEntry
| nil
exports["resource_name"]:GetClosestPedToCoords(coords, maxRange, onlyStreamed)
Returns the closest dialogue ped to a specified coords.
vector3
number
boolean
Returns PedEntry
| nil
exports["resource_name"]:GetClosestPedToCoords(coords, maxRange, onlyStreamed)