RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. _CLEAR_VEHICLE_TASKS

_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 void

Parameters

NameTypeDescription
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

On this page

  • Signature
  • Parameters
  • Usage
  • Details