RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. _TASK_VEHICLE_HAS_DESTINATION

_TASK_VEHICLE_HAS_DESTINATION

Returns true if the vehicle’s has a destination set previously set with `_TASK_VEHICLE_DRIVE_TO_DESTINATION_2` clear using `_CLEAR_VEHICLE_TASKS`

TASKBuild 1207

Signature

lua
TaskVehicleHasDestination(GetVehiclePedIsIn(PlayerPedId(), false), 0.0, 0.0, 0.0)
-- returns BOOL

Parameters

NameTypeDescription
Vehicle—
float—
float—
float—

Usage

lua
TaskVehicleHasDestination(GetVehiclePedIsIn(PlayerPedId(), false), 0.0, 0.0, 0.0)

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