RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. _GET_SCENARIO_CONTAINER_NUM_OPEN_COMPARTMENTS

_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 int

Parameters

NameTypeDescription
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

On this page

  • Signature
  • Parameters
  • Usage
  • Details