getPedWaypointDistance
GET_PED_WAYPOINT_DISTANCE0xE6A877C64CAF1BC5The GTA V native GET_PED_WAYPOINT_DISTANCE of the TASK namespace, as LS:MP client scripts call it: the global function getPedWaypointDistance, in JavaScript and in Lua.
getPedWaypointDistance(p0: any): numbergetPedWaypointDistance(p0: any): numberUsage
JavaScript
const value = getPedWaypointDistance(p0);Lua
local value = getPedWaypointDistance(p0)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
p0 | Any | any | any |
Returns
float JavaScript number, Lua numberReference
- Namespace
- Tasks TASK
- In the game
float GET_PED_WAYPOINT_DISTANCE(Any p0)- Hash
0xE6A877C64CAF1BC5