RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. TASK_VEHICLE_DRIVE_TO_COORD

TASK_VEHICLE_DRIVE_TO_COORD

stopRange: how close vehicle will get to destination before stopping, default 4.0 straightLineDist: distance at which AI switches to heading for target directly instead of following nodes, default -1

TASKBuild 1207

Signature

lua
TaskVehicleDriveToCoord(PlayerPedId(), GetVehiclePedIsIn(PlayerPedId(), false), 0.0, 0.0, 0.0, 0.0, style, GetHashKey("..."), 0, 0.0, 0.0)
-- returns void

Parameters

NameTypeDescription
Ped—
Vehicle—
float—
float—
float—
float—
Any—
Hash—
int—
float—
float—

Usage

lua
TaskVehicleDriveToCoord(PlayerPedId(), GetVehiclePedIsIn(PlayerPedId(), false), 0.0, 0.0, 0.0, 0.0, style, GetHashKey("..."), 0, 0.0, 0.0)

Generated from the native name, hash, and parameter list. Add a real example.

Details

Hash
Joaat hash
Source
VORPCORE/RDR3natives

Source: VORPCORE/RDR3natives

On this page

  • Signature
  • Parameters
  • Usage
  • Details