The Lab
STREAMING native

LOAD_SCENE_START_SPHERE

returns BOOL5 paramsbuild 1207

Starts loading the scene in a sphere of radius around the given coordinates. Returns true if the load was started.

Poll IS_LOAD_SCENE_LOADED, then call LOAD_SCENE_STOP.

Signature

C
BOOL LOAD_SCENE_START_SPHERE(float x, float y, float z, float radius, Any p4); // 0x513F8AA5BF2F17CF b1207

Parameters

#NameType
1xfloat
2yfloat
3zfloat
4radiusfloat
5p4Any

Facts

Facts about LOAD_SCENE_START_SPHERE
Name
LOAD_SCENE_START_SPHERE
Hash
0x513F8AA5BF2F17CF
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(0x513F8AA5BF2F17CF, -- LOAD_SCENE_START_SPHERE
  0.0, -- float x
  0.0, -- float y
  0.0, -- float z
  0.0, -- float radius
  0 -- Any p4
)
if result then
  -- ...
end
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
const result = Citizen.invokeNative("0x513F8AA5BF2F17CF", // LOAD_SCENE_START_SPHERE
  0.0, // float x
  0.0, // float y
  0.0, // float z
  0.0, // float radius
  0, // Any p4
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x513F8AA5BF2F17CF, // LOAD_SCENE_START_SPHERE
  0.0f, // float x
  0.0f, // float y
  0.0f, // float z
  0.0f, // float radius
  0 // Any p4
);
All STREAMING natives

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