DOES_SCENARIO_GROUP_EXIST
Returns true if the scenario group scenarioGroup exists.
Signature
BOOL DOES_SCENARIO_GROUP_EXIST(const char* scenarioGroup); // 0xF9034C136C9E00D3 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | scenarioGroup | const char* |
Facts
| Name | DOES_SCENARIO_GROUP_EXIST |
|---|---|
| Hash | 0xF9034C136C9E00D3 |
| 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(0xF9034C136C9E00D3, -- DOES_SCENARIO_GROUP_EXIST
"text" -- const char* scenarioGroup
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xF9034C136C9E00D3", // DOES_SCENARIO_GROUP_EXIST
"text", // const char* scenarioGroup
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xF9034C136C9E00D3, // DOES_SCENARIO_GROUP_EXIST
"text" // const char* scenarioGroup
);Related TASK natives
- DOES_SCENARIO_EXIST_IN_AREA
- DOES_SCENARIO_OF_TYPE_EXIST_IN_AREA_HASH
- DOES_SCENARIO_POINT_EXIST
- _DOES_SCENARIO_GROUP_EXIST_HASH
- DOES_SCRIPTED_COVER_POINT_EXIST_AT_COORDS
- _DOES_SCENARIO_POINT_HAVE_PROPS
- _IS_SCENARIO_GROUP_ENABLED_HASH
- _SET_SCENARIO_GROUP_ENABLED_HASH
- FORCE_SCENARIO_GROUP_PRIORITY
- IS_SCENARIO_GROUP_ENABLED
- SET_SCENARIO_GROUP_ENABLED
- TASK_USE_RANDOM_SCENARIO_IN_GROUP
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.