RedM Natives

IS_INTERIOR_SCENE

Hash0x4200F14D6F840A9A
Runtime nameIsInteriorScene
NamespaceINTERIOR
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xBC72B5D7A1CBD54D

Signature

BOOL IS_INTERIOR_SCENE();

Returns BOOL

Usage

Lua
local retval = IsInteriorScene()

-- always works, by hash
local retval = Citizen.InvokeNative(0x4200F14D6F840A9A, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsInteriorScene();

// by hash
const retval = Citizen.invokeNative('0x4200F14D6F840A9A', Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x4200F14D6F840A9A);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.