RedM Natives

GET_VEHICLE_WAYPOINT_PROGRESS

Hash0x9824CFF8FC66E159
Runtime nameGetVehicleWaypointProgress
NamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x9824CFF8FC66E159

Signature

int GET_VEHICLE_WAYPOINT_PROGRESS(Vehicle vehicle);

Parameters

NameTypeDescription
vehicleVehicle—

Returns int

Usage

Lua
local retval = GetVehicleWaypointProgress(vehicle)

-- always works, by hash
local retval = Citizen.InvokeNative(0x9824CFF8FC66E159, vehicle, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetVehicleWaypointProgress(vehicle);

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

Sources

alloc8or RDR3 NativeDB

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