USE_WAYPOINT_RECORDING_AS_ASSISTED_MOVEMENT_ROUTE
Hash
0x5A353B8E6B1095B5Runtime name
UseWaypointRecordingAsAssistedMovementRouteNamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x5A353B8E6B1095B5Signature
void USE_WAYPOINT_RECORDING_AS_ASSISTED_MOVEMENT_ROUTE(const char* waypointRecording, BOOL p1, float p2, float p3, BOOL p4);Parameters
| Name | Type | Description |
|---|---|---|
waypointRecording | const char* | — |
p1 | BOOL | — |
p2 | float | — |
p3 | float | — |
p4 | BOOL | — |
Returns void
Usage
UseWaypointRecordingAsAssistedMovementRoute(waypointRecording, p1, p2, p3, p4)
-- always works, by hash
Citizen.InvokeNative(0x5A353B8E6B1095B5, waypointRecording, p1, p2, p3, p4)JavaScript and C#
UseWaypointRecordingAsAssistedMovementRoute(waypointRecording, p1, p2, p3, p4);
// by hash
Citizen.invokeNative('0x5A353B8E6B1095B5', waypointRecording, p1, p2 + 0.0000001, p3 + 0.0000001, p4);Function.Call((Hash)0x5A353B8E6B1095B5, waypointRecording, p1, p2, p3, p4);- Float parameters: Lua integers (
10, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write10.0orvalue + 0.0. The generated JS wrappers add0.0000001to non-zero floats for the same reason.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.