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.
vector3numberbooleanReturns PedEntry | nil
exports["resource_name"]:GetClosestPedToCoords(coords, maxRange, onlyStreamed)