InteriorClient

clearInteriorStateOfEntity

CLEAR_INTERIOR_STATE_OF_ENTITY0x85D5422B2039A70D

The 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.

SignatureJavaScript
clearInteriorStateOfEntity(entity: Entity): void
SignatureLua
clearInteriorStateOfEntity(entity: Entity)

Usage

JavaScript
clearInteriorStateOfEntity(entity);
Lua
clearInteriorStateOfEntity(entity)

Parameters

ParameterTypeJavaScriptLua
entityEntitynumberinteger

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

Open in the interactive natives reference