RedM Natives

_RESET_SCENARIO_SCRIPT

Hash0x5A40040BB5AE3EA2
Runtime nameResetScenarioScript
NamespaceTASK
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _RESET_SCENARIO_SCRIPT(int scenario);

Parameters

NameTypeDescription
scenarioint—

Returns void

Usage

Lua
ResetScenarioScript(scenario)

-- always works, by hash
Citizen.InvokeNative(0x5A40040BB5AE3EA2, scenario)
JavaScript and C#
JavaScript
ResetScenarioScript(scenario);

// by hash
Citizen.invokeNative('0x5A40040BB5AE3EA2', scenario);
C#
Function.Call((Hash)0x5A40040BB5AE3EA2, scenario);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.