TASK_VEHICLE_FOLLOW_WAYPOINT_RECORDING
Tasks ped to drive vehicle along the waypoint recording waypointRecording.
Signature
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); // 0x3123FAA6DB1CF7ED b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | vehicle | Vehicle |
| 3 | waypointRecording | const char* |
| 4 | drivingMode | int |
| 5 | p4 | Any |
| 6 | eWaypoint | int |
| 7 | flag | int |
| 8 | p7 | float |
| 9 | p8 | BOOL |
| 10 | stoppingDist | float |
| 11 | p10 | Any |
Facts
| Name | TASK_VEHICLE_FOLLOW_WAYPOINT_RECORDING |
|---|---|
| Hash | 0x3123FAA6DB1CF7ED |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0x3123FAA6DB1CF7ED, -- TASK_VEHICLE_FOLLOW_WAYPOINT_RECORDING
PlayerPedId(), -- Ped ped
0, -- Vehicle vehicle
"text", -- const char* waypointRecording
0, -- int drivingMode
0, -- Any p4
0, -- int eWaypoint
0, -- int flag
0.0, -- float p7
false, -- BOOL p8
0.0, -- float stoppingDist
0 -- Any p10
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x3123FAA6DB1CF7ED", // TASK_VEHICLE_FOLLOW_WAYPOINT_RECORDING
PlayerPedId(), // Ped ped
0, // Vehicle vehicle
"text", // const char* waypointRecording
0, // int drivingMode
0, // Any p4
0, // int eWaypoint
0, // int flag
0.0, // float p7
false, // BOOL p8
0.0, // float stoppingDist
0 // Any p10
);Function.Call((Hash)0x3123FAA6DB1CF7ED, // TASK_VEHICLE_FOLLOW_WAYPOINT_RECORDING
API.PlayerPedId(), // Ped ped
0, // Vehicle vehicle
"text", // const char* waypointRecording
0, // int drivingMode
0, // Any p4
0, // int eWaypoint
0, // int flag
0.0f, // float p7
false, // BOOL p8
0.0f, // float stoppingDist
0 // Any p10
);Related TASK natives
- _TASK_VEHICLE_FOLLOW_WAYPOINT_RECORDING_2
- TASK_FOLLOW_ENTITY_ALONG_WAYPOINT_RECORDING_AT_OFFSET
- TASK_FOLLOW_WAYPOINT_RECORDING
- TASK_FOLLOW_WAYPOINT_RECORDING_ADVANCED
- TASK_FOLLOW_WAYPOINT_RECORDING_AT_OFFSET
- TASK_VEHICLE_AIM_AT_COORD
- TASK_VEHICLE_AIM_AT_PED
- TASK_VEHICLE_DRIVE_STRAIGHT_TO_POINT
- TASK_VEHICLE_DRIVE_TO_COORD
- TASK_VEHICLE_DRIVE_TO_DESTINATION
- TASK_VEHICLE_DRIVE_WANDER
- TASK_VEHICLE_ESCORT
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.