RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. _CREATE_MISSION_TRAIN

_CREATE_MISSION_TRAIN

configHash: https://alloc8or.re/rdr3/doc/enums/eTrainConfig.txt For more information, see trainconfigs.ymt To make the train AI controlled, set conductor to true and set the speed once.

VEHICLEBuild 1207

Signature

lua
CreateMissionTrain(GetHashKey("..."), 0.0, 0.0, 0.0, true, true, true, true)
-- returns Vehicle

Parameters

NameTypeDescription
Hash—
float—
float—
float—
BOOL—
BOOL—
BOOL—
BOOL—

Usage

lua
CreateMissionTrain(GetHashKey("..."), 0.0, 0.0, 0.0, true, true, true, true)

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