The Lab
INTERIOR native

IS_INTERIOR_SCENE

returns BOOL0 paramsbuild 1207

Returns true if the current rendered scene is an interior.

Signature

C
BOOL IS_INTERIOR_SCENE(); // 0x4200F14D6F840A9A b1207

Parameters

This native takes no parameters.

Facts

Facts about IS_INTERIOR_SCENE
Name
IS_INTERIOR_SCENE
Hash
0x4200F14D6F840A9A
Namespace
Returns
BOOL
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0x4200F14D6F840A9A) -- IS_INTERIOR_SCENE
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x4200F14D6F840A9A", // IS_INTERIOR_SCENE
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x4200F14D6F840A9A); // IS_INTERIOR_SCENE
All INTERIOR natives

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