RedM Natives

WAYPOINT_RECORDING_GET_SPEED_AT_POINT

Hash0x005622AEBC33ACA9
Runtime nameWaypointRecordingGetSpeedAtPoint
NamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x005622AEBC33ACA9

Signature

float WAYPOINT_RECORDING_GET_SPEED_AT_POINT(const char* waypointRecording, int point);

Parameters

NameTypeDescription
waypointRecordingconst char*—
pointint—

Returns float

Usage

Lua
local retval = WaypointRecordingGetSpeedAtPoint(waypointRecording, point)

-- always works, by hash
local retval = Citizen.InvokeNative(0x005622AEBC33ACA9, waypointRecording, point, Citizen.ResultAsFloat())
JavaScript and C#
JavaScript
const retval = WaypointRecordingGetSpeedAtPoint(waypointRecording, point);

// by hash
const retval = Citizen.invokeNative('0x005622AEBC33ACA9', waypointRecording, point, Citizen.returnResultAnyway(), Citizen.resultAsFloat());
C#
float retval = Function.Call<float>((Hash)0x005622AEBC33ACA9, waypointRecording, point);

Sources

alloc8or RDR3 NativeDB

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