GET_PED_WAYPOINT_DISTANCE
Hash
0xE6A877C64CAF1BC5Runtime name
GetPedWaypointDistanceNamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xE6A877C64CAF1BC5Signature
float GET_PED_WAYPOINT_DISTANCE(Ped ped);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
Returns float
Usage
local retval = GetPedWaypointDistance(ped)
-- always works, by hash
local retval = Citizen.InvokeNative(0xE6A877C64CAF1BC5, ped, Citizen.ResultAsFloat())JavaScript and C#
const retval = GetPedWaypointDistance(ped);
// by hash
const retval = Citizen.invokeNative('0xE6A877C64CAF1BC5', ped, Citizen.returnResultAnyway(), Citizen.resultAsFloat());float retval = Function.Call<float>((Hash)0xE6A877C64CAF1BC5, ped);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.