TASK_VEHICLE_FOLLOW_WAYPOINT_RECORDING
Hash
0x3123FAA6DB1CF7EDRuntime name
TaskVehicleFollowWaypointRecordingNamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x3123FAA6DB1CF7EDSignature
void TASK_VEHICLE_FOLLOW_WAYPOINT_RECORDING(Ped ped, Vehicle vehicle, const char* waypointRecording, int drivingMode, Any p4, int eWaypoint, int flag, float p7, BOOL p8, float stoppingDist, Any p10);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
vehicle | Vehicle | — |
waypointRecording | const char* | — |
drivingMode | int | — |
p4 | Any | — |
eWaypoint | int | — |
flag | int | — |
p7 | float | — |
p8 | BOOL | — |
stoppingDist | float | — |
p10 | Any | — |
Returns void
Usage
TaskVehicleFollowWaypointRecording(ped, vehicle, waypointRecording, drivingMode, p4, eWaypoint, flag, p7, p8, stoppingDist, p10)
-- always works, by hash
Citizen.InvokeNative(0x3123FAA6DB1CF7ED, ped, vehicle, waypointRecording, drivingMode, p4, eWaypoint, flag, p7, p8, stoppingDist, p10)JavaScript and C#
TaskVehicleFollowWaypointRecording(ped, vehicle, waypointRecording, drivingMode, p4, eWaypoint, flag, p7, p8, stoppingDist, p10);
// by hash
Citizen.invokeNative('0x3123FAA6DB1CF7ED', ped, vehicle, waypointRecording, drivingMode, p4, eWaypoint, flag, p7 + 0.0000001, p8, stoppingDist + 0.0000001, p10);Function.Call((Hash)0x3123FAA6DB1CF7ED, ped, vehicle, waypointRecording, drivingMode, p4, eWaypoint, flag, p7, p8, stoppingDist, p10);- 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.