IS_SCENARIO_GROUP_ENABLED
Returns true if the scenario group scenarioGroup is enabled.
Signature
BOOL IS_SCENARIO_GROUP_ENABLED(const char* scenarioGroup); // 0x367A09DED4E05B99 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | scenarioGroup | const char* |
Facts
| Name | IS_SCENARIO_GROUP_ENABLED |
|---|---|
| Hash | 0x367A09DED4E05B99 |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x367A09DED4E05B99, -- IS_SCENARIO_GROUP_ENABLED
"text" -- const char* scenarioGroup
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x367A09DED4E05B99", // IS_SCENARIO_GROUP_ENABLED
"text", // const char* scenarioGroup
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x367A09DED4E05B99, // IS_SCENARIO_GROUP_ENABLED
"text" // const char* scenarioGroup
);Related TASK natives
- IS_SCENARIO_TYPE_ENABLED
- _IS_SCENARIO_GROUP_ENABLED_HASH
- IS_SCENARIO_OCCUPIED
- _SET_SCENARIO_GROUP_ENABLED_HASH
- SET_SCENARIO_GROUP_ENABLED
- IS_PED_ACTIVE_IN_SCENARIO
- IS_PED_EXITING_SCENARIO
- IS_PED_SCENARIO_REACT_LOOKING
- _DOES_SCENARIO_GROUP_EXIST_HASH
- _GET_SCENARIO_POINT_PED_IS_USING
- _GET_SCENARIO_POINT_TYPE_PED_IS_USING
- _IS_SCENARIO_IN_USE
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.