RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. _FORCE_TRAIN_WAGON_POPULATION

_FORCE_TRAIN_WAGON_POPULATION

Enables or disables automatic passenger population on a specific train wagon (carriage). When toggle == true, the game keeps this wagon filled with ambient passengers. If a passenger ped is deleted or removed from the wagon, a new ped is spawned almost immediately to occupy that seat. When toggle == false, the engine stops auto-filling this wagon. After you delete or remove the existing passengers, no new peds will spawn for that wagon until you enable it again with true.

ENTITYBuild 1207

Signature

lua
ForceTrainWagonPopulation(carriage, true)
-- returns void

Parameters

NameTypeDescription
Entity—
BOOL—

Usage

lua
ForceTrainWagonPopulation(carriage, 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