InteriorClient

clearRoomForEntity

CLEAR_ROOM_FOR_ENTITY0xB365FC0C4E27FFA7

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

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

Usage

JavaScript
clearRoomForEntity(entity);
Lua
clearRoomForEntity(entity)

Parameters

ParameterTypeJavaScriptLua
entityEntitynumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Interior INTERIOR
In the game
void CLEAR_ROOM_FOR_ENTITY(Entity entity)
Hash
0xB365FC0C4E27FFA7

Open in the interactive natives reference