The Lab
INTERIOR native

GET_INTERIOR_FROM_ENTITY

returns Interior1 parambuild 1207

Returns the interior the entity is currently in, or 0 when it is outside.

Signature

C
Interior GET_INTERIOR_FROM_ENTITY(Entity entity); // 0xB417689857646F61 b1207

Parameters

#NameType
1entityEntity

Facts

Facts about GET_INTERIOR_FROM_ENTITY
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.

Lua
local interior = Citizen.InvokeNative(0xB417689857646F61, -- GET_INTERIOR_FROM_ENTITY
  PlayerPedId(), -- Entity entity
  Citizen.ResultAsInteger()
)
print(interior)
JavaScript
const interior = Citizen.invokeNative("0xB417689857646F61", // GET_INTERIOR_FROM_ENTITY
  PlayerPedId(), // Entity entity
  Citizen.resultAsInteger()
);
console.log(interior)
C#
int interior = Function.Call<int>((Hash)0xB417689857646F61, // GET_INTERIOR_FROM_ENTITY
  API.PlayerPedId() // Entity entity
);
All INTERIOR natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.