TASK_VEHICLE_TEMP_ACTION
Makes driver perform the temporary driving action with vehicle for time milliseconds, such as braking or turning.
Signature
void TASK_VEHICLE_TEMP_ACTION(Ped driver, Vehicle vehicle, int action, int time); // 0xC429DCEEB339E129 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | driver | Ped |
| 2 | vehicle | Vehicle |
| 3 | action | int |
| 4 | time | int |
Facts
| Name | TASK_VEHICLE_TEMP_ACTION |
|---|---|
| Hash | 0xC429DCEEB339E129 |
| 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(0xC429DCEEB339E129, -- TASK_VEHICLE_TEMP_ACTION
PlayerPedId(), -- Ped driver
0, -- Vehicle vehicle
0, -- int action
0 -- int time
)Citizen.invokeNative("0xC429DCEEB339E129", // TASK_VEHICLE_TEMP_ACTION
PlayerPedId(), // Ped driver
0, // Vehicle vehicle
0, // int action
0 // int time
);Function.Call((Hash)0xC429DCEEB339E129, // TASK_VEHICLE_TEMP_ACTION
API.PlayerPedId(), // Ped driver
0, // Vehicle vehicle
0, // int action
0 // int time
);Related TASK natives
- 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
- TASK_VEHICLE_FOLLOW_WAYPOINT_RECORDING
- TASK_VEHICLE_GOTO_NAVMESH
- TASK_VEHICLE_MISSION
- TASK_VEHICLE_MISSION_PED_TARGET
- TASK_VEHICLE_SHOOT_AT_COORD
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.