clearInteriorStateOfEntity
CLEAR_INTERIOR_STATE_OF_ENTITY0x85D5422B2039A70DThe GTA V native CLEAR_INTERIOR_STATE_OF_ENTITY of the INTERIOR namespace, as LS:MP client scripts call it: the global function clearInteriorStateOfEntity, in JavaScript and in Lua.
clearInteriorStateOfEntity(entity: Entity): voidclearInteriorStateOfEntity(entity: Entity)Usage
JavaScript
clearInteriorStateOfEntity(entity);Lua
clearInteriorStateOfEntity(entity)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity | Entity | number | integer |
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.
Immediately removes entity from an interior. Like sets entity to limbo room.
Reference
- Namespace
- Interior INTERIOR
- In the game
void CLEAR_INTERIOR_STATE_OF_ENTITY(Entity entity)- Hash
0x85D5422B2039A70D- Introduced
- Game build 2189 legacy numbering
- Formerly
_CLEAR_INTERIOR_FOR_ENTITY