IS_SCENARIO_GROUP_ENABLED
Hash
0x367A09DED4E05B99Runtime name
IsScenarioGroupEnabledNamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x367A09DED4E05B99Signature
BOOL IS_SCENARIO_GROUP_ENABLED(const char* scenarioGroup);Parameters
| Name | Type | Description |
|---|---|---|
scenarioGroup | const char* | — |
Returns BOOL
Usage
local retval = IsScenarioGroupEnabled(scenarioGroup)
-- always works, by hash
local retval = Citizen.InvokeNative(0x367A09DED4E05B99, scenarioGroup, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsScenarioGroupEnabled(scenarioGroup);
// by hash
const retval = Citizen.invokeNative('0x367A09DED4E05B99', scenarioGroup, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x367A09DED4E05B99, scenarioGroup);See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.