SET_SCENARIO_TYPE_ENABLED
Enables or disables the scenario type scenarioType depending on toggle.
Signature
void SET_SCENARIO_TYPE_ENABLED(const char* scenarioType, BOOL toggle); // 0xEB47EC4E34FB7EE1 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | scenarioType | const char* |
| 2 | toggle | BOOL |
Facts
| 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.
Citizen.InvokeNative(0xEB47EC4E34FB7EE1, -- SET_SCENARIO_TYPE_ENABLED
"text", -- const char* scenarioType
false -- BOOL toggle
)Citizen.invokeNative("0xEB47EC4E34FB7EE1", // SET_SCENARIO_TYPE_ENABLED
"text", // const char* scenarioType
false // BOOL toggle
);Function.Call((Hash)0xEB47EC4E34FB7EE1, // SET_SCENARIO_TYPE_ENABLED
"text", // const char* scenarioType
false // BOOL toggle
);Related TASK natives
- SET_SCENARIO_GROUP_ENABLED
- _SET_SCENARIO_TYPE_ENABLED_HASH
- _SET_SCENARIO_GROUP_ENABLED_HASH
- IS_SCENARIO_TYPE_ENABLED
- _GET_SCENARIO_POINT_TYPE
- _GET_SCENARIO_POINT_TYPE_PED_IS_USING
- _IS_SCENARIO_GROUP_ENABLED_HASH
- _IS_SCENARIO_POINT_FLAG_SET
- _SET_CARRIABLE_CONFIG_PROMPT_ENABLED
- _SET_RANSACK_SCENARIO_CONTAINER_OPENING_STATE
- _SET_SCENARIO_POINT_ACTIVE
- _SET_SCENARIO_POINT_COORDS
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.