_GET_SCENARIO_CONTAINER_NUM_OPEN_COMPARTMENTS
Returns the number of currently open compartments for the specified scenario container entity if the container has closeable compartments (like drawers), this will return how many of them are currently open if the container is not closeable (like a chest or safe that cannot be closed again), it will return 0
TASKBuild 1207
Signature
lua
GetScenarioContainerNumOpenCompartments(entity)
-- returns intParameters
| Name | Type | Description |
|---|---|---|
| Entity | — |
Usage
lua
GetScenarioContainerNumOpenCompartments(entity)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
