The Lab
SCRIPT native

REQUEST_SCRIPT

returns void1 parambuild 1207

Starts loading the script scriptName into memory.

Wait for HAS_SCRIPT_LOADED, then launch it with START_NEW_SCRIPT.

Signature

C
void REQUEST_SCRIPT(const char* scriptName); // 0x46ED607DDD40D7FE b1207

Parameters

#NameType
1scriptNameconst char*

Facts

Facts about REQUEST_SCRIPT
Name
REQUEST_SCRIPT
Hash
0x46ED607DDD40D7FE
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x46ED607DDD40D7FE, -- REQUEST_SCRIPT
  "text" -- const char* scriptName
)
JavaScript
Citizen.invokeNative("0x46ED607DDD40D7FE", // REQUEST_SCRIPT
  "text" // const char* scriptName
);
C#
Function.Call((Hash)0x46ED607DDD40D7FE, // REQUEST_SCRIPT
  "text" // const char* scriptName
);
All SCRIPT natives

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