TasksClient

requestWaypointRecording

REQUEST_WAYPOINT_RECORDING0x9EEFB62EB27B5792

The GTA V native REQUEST_WAYPOINT_RECORDING of the TASK namespace, as LS:MP client scripts call it: the global function requestWaypointRecording, in JavaScript and in Lua.

SignatureJavaScript
requestWaypointRecording(name: string): void
SignatureLua
requestWaypointRecording(name: string)

Usage

JavaScript
requestWaypointRecording(name);
Lua
requestWaypointRecording(name)

Parameters

ParameterTypeJavaScriptLua
namestringstringstring

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Full list of waypoint recordings by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/waypointRecordings.json
For a full list of the points, see here: goo.gl/wIH0vn

Max number of loaded recordings is 32.

Reference

Namespace
Tasks TASK
In the game
void REQUEST_WAYPOINT_RECORDING(const char* name)
Hash
0x9EEFB62EB27B5792

Open in the interactive natives reference