activateInteriorEntitySet
ACTIVATE_INTERIOR_ENTITY_SET0x55E86AF2712B36A1The GTA V native ACTIVATE_INTERIOR_ENTITY_SET of the INTERIOR namespace, as LS:MP client scripts call it: the global function activateInteriorEntitySet, in JavaScript and in Lua.
activateInteriorEntitySet(interior: Interior, entitySetName: string): voidactivateInteriorEntitySet(interior: Interior, entitySetName: string)Usage
JavaScript
activateInteriorEntitySet(interior, entitySetName);Lua
activateInteriorEntitySet(interior, entitySetName)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
interior | Interior | number | integer |
entitySetName | string | string | string |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
More info: https://gtaforums.com/topic/836367-adding-props-to-interiors/
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
void ACTIVATE_INTERIOR_ENTITY_SET(Interior interior, const char* entitySetName)- Hash
0x55E86AF2712B36A1- Formerly
_ENABLE_INTERIOR_PROP