_CLEAR_VEHICLE_TASKS
Clears all active tasks assigned to the specified vehicle This cancels ongoing behaviors such as TASK_VEHICLE_DRIVE_TO_DESTINATION_2, or even tasks triggered by horses pulling the vehicle when they start moving due to gunfire etc. in the decompiles seems to always be paired with `0xEBA2081E0A5F4D17`
TASKBuild 1207
Signature
lua
ClearVehicleTasks(GetVehiclePedIsIn(PlayerPedId(), false))
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| Vehicle | — |
Usage
lua
ClearVehicleTasks(GetVehiclePedIsIn(PlayerPedId(), false))Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
