_IS_TRAIN_INTERIOR_LOADED
Checks whether the entity's interior is currently loaded by the game engine. This is mainly used for train carriages. When the player is far away or not standing on the train, the game unloads interiors of distant carriages as an optimization. If the interior of the entity is currently loaded, this native returns true
ENTITYBuild 1207
Signature
lua
IsTrainInteriorLoaded(entity)
-- returns BOOLParameters
| Name | Type | Description |
|---|---|---|
| Entity | — |
Usage
lua
IsTrainInteriorLoaded(entity)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
