The Lab
ENTITY native

_FORCE_TRAIN_WAGON_POPULATION

returns void2 paramsbuild 1207

Forces or stops ambient population inside the given train wagon.

Signature

C
void _FORCE_TRAIN_WAGON_POPULATION(Entity trainWagon, BOOL toggle); // 0x119A5714578F4E05 b1207

Parameters

#NameType
1trainWagonEntity
2toggleBOOL

Facts

Facts about _FORCE_TRAIN_WAGON_POPULATION
Name
_FORCE_TRAIN_WAGON_POPULATION
Hash
0x119A5714578F4E05
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x119A5714578F4E05, -- _FORCE_TRAIN_WAGON_POPULATION
  PlayerPedId(), -- Entity trainWagon
  false -- BOOL toggle
)
JavaScript
Citizen.invokeNative("0x119A5714578F4E05", // _FORCE_TRAIN_WAGON_POPULATION
  PlayerPedId(), // Entity trainWagon
  false // BOOL toggle
);
C#
Function.Call((Hash)0x119A5714578F4E05, // _FORCE_TRAIN_WAGON_POPULATION
  API.PlayerPedId(), // Entity trainWagon
  false // BOOL toggle
);
All ENTITY natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.