The Lab
STREAMING native

IS_LOAD_SCENE_ACTIVE

returns BOOL0 paramsbuild 1207

Returns true while a load scene started with LOAD_SCENE_START is active.

Signature

C
BOOL IS_LOAD_SCENE_ACTIVE(); // 0xCF45DF50C7775F2A b1207

Parameters

This native takes no parameters.

Facts

Facts about IS_LOAD_SCENE_ACTIVE
Name
IS_LOAD_SCENE_ACTIVE
Hash
0xCF45DF50C7775F2A
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(0xCF45DF50C7775F2A) -- IS_LOAD_SCENE_ACTIVE
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xCF45DF50C7775F2A", // IS_LOAD_SCENE_ACTIVE
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xCF45DF50C7775F2A); // IS_LOAD_SCENE_ACTIVE
All STREAMING natives

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