_SET_SCENARIO_TYPE_ENABLED_HASH
Hash
0xD00E50E673802D71Runtime name
SetScenarioTypeEnabledHashNamespaceTASK
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _SET_SCENARIO_TYPE_ENABLED_HASH(Hash scenarioType, BOOL toggle);Parameters
| Name | Type | Description |
|---|---|---|
scenarioType | Hash | — |
toggle | BOOL | — |
Returns void
Usage
SetScenarioTypeEnabledHash(scenarioType, toggle)
-- always works, by hash
Citizen.InvokeNative(0xD00E50E673802D71, scenarioType, toggle)JavaScript and C#
SetScenarioTypeEnabledHash(scenarioType, toggle);
// by hash
Citizen.invokeNative('0xD00E50E673802D71', scenarioType, toggle);Function.Call((Hash)0xD00E50E673802D71, scenarioType, toggle);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`. - The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.