clearRoomForEntity
CLEAR_ROOM_FOR_ENTITY0xB365FC0C4E27FFA7The 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.
clearRoomForEntity(entity: Entity): voidclearRoomForEntity(entity: Entity)Usage
JavaScript
clearRoomForEntity(entity);Lua
clearRoomForEntity(entity)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity | Entity | number | integer |
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