The Lab
INTERIOR native

GET_INTERIOR_FROM_PRIMARY_VIEW

returns Interior0 paramsbuild 1207

Returns the interior the main game camera is currently in, or 0 when outside.

Signature

C
Interior GET_INTERIOR_FROM_PRIMARY_VIEW(); // 0xBC8A281FF125C655 b1207

Parameters

This native takes no parameters.

Facts

Facts about GET_INTERIOR_FROM_PRIMARY_VIEW
Name
GET_INTERIOR_FROM_PRIMARY_VIEW
Hash
0xBC8A281FF125C655
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(0xBC8A281FF125C655, -- GET_INTERIOR_FROM_PRIMARY_VIEW
  Citizen.ResultAsInteger()
)
print(interior)
JavaScript
const interior = Citizen.invokeNative("0xBC8A281FF125C655", // GET_INTERIOR_FROM_PRIMARY_VIEW
  Citizen.resultAsInteger()
);
console.log(interior)
C#
int interior = Function.Call<int>((Hash)0xBC8A281FF125C655); // GET_INTERIOR_FROM_PRIMARY_VIEW
All INTERIOR natives

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