RedM Natives

GET_PED_WAYPOINT_PROGRESS

Hash0x2720AAA75001E094
Runtime nameGetPedWaypointProgress
NamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x2720AAA75001E094

Signature

int GET_PED_WAYPOINT_PROGRESS(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns int

Usage

Lua
local retval = GetPedWaypointProgress(ped)

-- always works, by hash
local retval = Citizen.InvokeNative(0x2720AAA75001E094, ped, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetPedWaypointProgress(ped);

// by hash
const retval = Citizen.invokeNative('0x2720AAA75001E094', ped, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x2720AAA75001E094, ped);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.