RedM Natives

IS_RENDERED_SCENE_LOADED

Hash0x45BF3A6239A576B7
Runtime nameIsRenderedSceneLoaded
NamespaceSTREAMING
SideClient
NameOfficial
Docs
Since build1207

Signature

BOOL IS_RENDERED_SCENE_LOADED();

Returns BOOL

Usage

Lua
local retval = IsRenderedSceneLoaded()

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

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

Sources

alloc8or RDR3 NativeDB

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