CLEAR_ROOM_FOR_ENTITY
Clears any room previously forced on the entity, letting the game resolve its interior room normally again.
Signature
void CLEAR_ROOM_FOR_ENTITY(Entity entity); // 0xA1762D5BBFCA13A8 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | entity | Entity |
Facts
| Name | CLEAR_ROOM_FOR_ENTITY |
|---|---|
| Hash | 0xA1762D5BBFCA13A8 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0xA1762D5BBFCA13A8, -- CLEAR_ROOM_FOR_ENTITY
PlayerPedId() -- Entity entity
)Citizen.invokeNative("0xA1762D5BBFCA13A8", // CLEAR_ROOM_FOR_ENTITY
PlayerPedId() // Entity entity
);Function.Call((Hash)0xA1762D5BBFCA13A8, // CLEAR_ROOM_FOR_ENTITY
API.PlayerPedId() // Entity entity
);Related INTERIOR natives
- CLEAR_ROOM_FOR_GAME_VIEWPORT
- FORCE_ROOM_FOR_ENTITY
- GET_KEY_FOR_ENTITY_IN_ROOM
- FORCE_ROOM_FOR_GAME_VIEWPORT
- GET_ROOM_KEY_FROM_ENTITY
- _IS_INTERIOR_ENTITY_SET_VALID
- ACTIVATE_INTERIOR_ENTITY_SET
- DEACTIVATE_INTERIOR_ENTITY_SET
- GET_INTERIOR_FROM_ENTITY
- IS_INTERIOR_ENTITY_SET_ACTIVE
- RETAIN_ENTITY_IN_INTERIOR
- _0x2533F2AB0EB9C6F9
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.