InteriorClient

isInteriorEntitySetActive

IS_INTERIOR_ENTITY_SET_ACTIVE0x35F7DD45E8C0A16D

The GTA V native IS_INTERIOR_ENTITY_SET_ACTIVE of the INTERIOR namespace, as LS:MP client scripts call it: the global function isInteriorEntitySetActive, in JavaScript and in Lua.

SignatureJavaScript
isInteriorEntitySetActive(interior: Interior, entitySetName: string): boolean
SignatureLua
isInteriorEntitySetActive(interior: Interior, entitySetName: string): boolean

Usage

JavaScript
const result = isInteriorEntitySetActive(interior, entitySetName);
Lua
local result = isInteriorEntitySetActive(interior, entitySetName)

Parameters

ParameterTypeJavaScriptLua
interiorInteriornumberinteger
entitySetNamestringstringstring

Returns

BOOL JavaScript boolean, Lua boolean

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Full list of IPLs and interior entity sets by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/ipls.json

Reference

Namespace
Interior INTERIOR
In the game
BOOL IS_INTERIOR_ENTITY_SET_ACTIVE(Interior interior, const char* entitySetName)
Hash
0x35F7DD45E8C0A16D
Formerly
_IS_INTERIOR_PROP_ENABLED

Open in the interactive natives reference