The Lab
SCRIPT native

REQUEST_SCRIPT_WITH_NAME_HASH

returns void1 parambuild 1207

Starts loading the script whose name hash is scriptHash into memory.

Signature

C
void REQUEST_SCRIPT_WITH_NAME_HASH(Hash scriptHash); // 0xF6B9CE3F8D5B9B74 b1207

Parameters

#NameType
1scriptHashHash

Facts

Facts about REQUEST_SCRIPT_WITH_NAME_HASH
Name
REQUEST_SCRIPT_WITH_NAME_HASH
Hash
0xF6B9CE3F8D5B9B74
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(0xF6B9CE3F8D5B9B74, -- REQUEST_SCRIPT_WITH_NAME_HASH
  GetHashKey("name") -- Hash scriptHash
)
JavaScript
Citizen.invokeNative("0xF6B9CE3F8D5B9B74", // REQUEST_SCRIPT_WITH_NAME_HASH
  GetHashKey("name") // Hash scriptHash
);
C#
Function.Call((Hash)0xF6B9CE3F8D5B9B74, // REQUEST_SCRIPT_WITH_NAME_HASH
  (uint)API.GetHashKey("name") // Hash scriptHash
);
All SCRIPT natives

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