The Lab
STREAMING native

LOAD_SCENE_START

returns BOOL8 paramsbuild 1207

Starts loading the scene at the given position and direction within radius. Returns true if the load was started.

Poll IS_LOAD_SCENE_LOADED, then call LOAD_SCENE_STOP.

Signature

C
BOOL LOAD_SCENE_START(float posX, float posY, float posZ, float offsetX, float offsetY, float offsetZ, float radius, int p7); // 0x387AD749E3B69B70 b1207

Parameters

#NameType
1posXfloat
2posYfloat
3posZfloat
4offsetXfloat
5offsetYfloat
6offsetZfloat
7radiusfloat
8p7int

Facts

Facts about LOAD_SCENE_START
Name
LOAD_SCENE_START
Hash
0x387AD749E3B69B70
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(0x387AD749E3B69B70, -- LOAD_SCENE_START
  0.0, -- float posX
  0.0, -- float posY
  0.0, -- float posZ
  0.0, -- float offsetX
  0.0, -- float offsetY
  0.0, -- float offsetZ
  0.0, -- float radius
  0 -- int p7
)
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("0x387AD749E3B69B70", // LOAD_SCENE_START
  0.0, // float posX
  0.0, // float posY
  0.0, // float posZ
  0.0, // float offsetX
  0.0, // float offsetY
  0.0, // float offsetZ
  0.0, // float radius
  0, // int p7
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x387AD749E3B69B70, // LOAD_SCENE_START
  0.0f, // float posX
  0.0f, // float posY
  0.0f, // float posZ
  0.0f, // float offsetX
  0.0f, // float offsetY
  0.0f, // float offsetZ
  0.0f, // float radius
  0 // int p7
);
All STREAMING natives

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