GET_INTERIOR_FROM_ENTITY
Returns the interior the entity is currently in, or 0 when it is outside.
Signature
Interior GET_INTERIOR_FROM_ENTITY(Entity entity); // 0xB417689857646F61 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | entity | Entity |
Facts
| Name | GET_INTERIOR_FROM_ENTITY |
|---|---|
| Hash | 0xB417689857646F61 |
| Namespace | |
| Returns | Interior |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local interior = Citizen.InvokeNative(0xB417689857646F61, -- GET_INTERIOR_FROM_ENTITY
PlayerPedId(), -- Entity entity
Citizen.ResultAsInteger()
)
print(interior)const interior = Citizen.invokeNative("0xB417689857646F61", // GET_INTERIOR_FROM_ENTITY
PlayerPedId(), // Entity entity
Citizen.resultAsInteger()
);
console.log(interior)int interior = Function.Call<int>((Hash)0xB417689857646F61, // GET_INTERIOR_FROM_ENTITY
API.PlayerPedId() // Entity entity
);Related INTERIOR natives
- GET_INTERIOR_FROM_COLLISION
- GET_INTERIOR_FROM_PRIMARY_VIEW
- GET_INTERIOR_AT_COORDS
- GET_INTERIOR_AT_COORDS_WITH_TYPE
- GET_INTERIOR_AT_COORDS_WITH_TYPEHASH
- GET_INTERIOR_LOCATION_AND_NAMEHASH
- GET_ROOM_KEY_FROM_ENTITY
- GET_KEY_FOR_ENTITY_IN_ROOM
- _GET_INTERIOR_MINIMAP_HASH
- _GET_INTERIOR_POSITION
- _IS_INTERIOR_ENTITY_SET_VALID
- ACTIVATE_INTERIOR_ENTITY_SET
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.