RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. _RETURN_TRAIN_INFO_FROM_HANDLE

_RETURN_TRAIN_INFO_FROM_HANDLE

Outputs track hash and junction index on given train vehicle handle. _RESET_VEHICLE_* (?)

VEHICLEBuild 1207

Signature

lua
ReturnTrainInfoFromHandle(GetVehiclePedIsIn(PlayerPedId(), false), trainTrack, junctionIndex)
-- returns BOOL

Parameters

NameTypeDescription
Vehicle—
Hash*—
int*—

Usage

lua
ReturnTrainInfoFromHandle(GetVehiclePedIsIn(PlayerPedId(), false), trainTrack, junctionIndex)

Details

Hash
Source
VORPCORE/RDR3natives

Source: VORPCORE/RDR3natives

On this page

  • Signature
  • Parameters
  • Usage
  • Details