RedM Natives

GET_VEHICLE_WAYPOINT_TARGET_POINT

Hash0x416B62AC8B9E5BBD
Runtime nameGetVehicleWaypointTargetPoint
NamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x416B62AC8B9E5BBD

Signature

int GET_VEHICLE_WAYPOINT_TARGET_POINT(Vehicle vehicle);

Parameters

NameTypeDescription
vehicleVehicle—

Returns int

Usage

Lua
local retval = GetVehicleWaypointTargetPoint(vehicle)

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

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

Sources

alloc8or RDR3 NativeDB

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