RedM Natives

_SET_SCENARIO_POINT_FLAG

Hash0x5AF19B6CC2115D34
Runtime nameSetScenarioPointFlag
NamespaceTASK
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_SCENARIO_POINT_FLAG(int scenario, int flag, BOOL value);

Parameters

NameTypeDescription
scenarioint—
flagint—
valueBOOL—

Returns void

Description

flag: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/CScenarioPointFlags__Flags

Usage

Lua
SetScenarioPointFlag(scenario, flag, value)

-- always works, by hash
Citizen.InvokeNative(0x5AF19B6CC2115D34, scenario, flag, value)
JavaScript and C#
JavaScript
SetScenarioPointFlag(scenario, flag, value);

// by hash
Citizen.invokeNative('0x5AF19B6CC2115D34', scenario, flag, value);
C#
Function.Call((Hash)0x5AF19B6CC2115D34, scenario, flag, value);
  • 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.

Enums and flags

Sources

alloc8or RDR3 NativeDB

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