The Lab
TASK native

SET_SCENARIO_TYPE_ENABLED

returns void2 paramsbuild 1207

Enables or disables the scenario type scenarioType depending on toggle.

Signature

C
void SET_SCENARIO_TYPE_ENABLED(const char* scenarioType, BOOL toggle); // 0xEB47EC4E34FB7EE1 b1207

Parameters

#NameType
1scenarioTypeconst char*
2toggleBOOL

Facts

Facts about SET_SCENARIO_TYPE_ENABLED
Name
SET_SCENARIO_TYPE_ENABLED
Hash
0xEB47EC4E34FB7EE1
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(0xEB47EC4E34FB7EE1, -- SET_SCENARIO_TYPE_ENABLED
  "text", -- const char* scenarioType
  false -- BOOL toggle
)
JavaScript
Citizen.invokeNative("0xEB47EC4E34FB7EE1", // SET_SCENARIO_TYPE_ENABLED
  "text", // const char* scenarioType
  false // BOOL toggle
);
C#
Function.Call((Hash)0xEB47EC4E34FB7EE1, // SET_SCENARIO_TYPE_ENABLED
  "text", // const char* scenarioType
  false // BOOL toggle
);
All TASK natives

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