RedM Natives

_START_GPS_CUSTOM_ROUTE_FROM_WAYPOINT_RECORDING_ROUTE

Hash0x6B44F13D888F770D
Runtime nameStartGpsCustomRouteFromWaypointRecordingRoute
NamespaceMAP
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _START_GPS_CUSTOM_ROUTE_FROM_WAYPOINT_RECORDING_ROUTE(const char* waypointRecording, int point, int numPoints, Hash colorNameHash, BOOL p4, BOOL p5);

Parameters

NameTypeDescription
waypointRecordingconst char*—
pointint—
numPointsint—
colorNameHashHash—
p4BOOL—
p5BOOL—

Returns void

Usage

Lua
StartGpsCustomRouteFromWaypointRecordingRoute(waypointRecording, point, numPoints, colorNameHash, p4, p5)

-- always works, by hash
Citizen.InvokeNative(0x6B44F13D888F770D, waypointRecording, point, numPoints, colorNameHash, p4, p5)
JavaScript and C#
JavaScript
StartGpsCustomRouteFromWaypointRecordingRoute(waypointRecording, point, numPoints, colorNameHash, p4, p5);

// by hash
Citizen.invokeNative('0x6B44F13D888F770D', waypointRecording, point, numPoints, colorNameHash, p4, p5);
C#
Function.Call((Hash)0x6B44F13D888F770D, waypointRecording, point, numPoints, colorNameHash, p4, p5);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

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