SET_SCENARIO_TYPE_ENABLED
Hash
0xEB47EC4E34FB7EE1Runtime name
SetScenarioTypeEnabledNamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xEB47EC4E34FB7EE1Signature
void SET_SCENARIO_TYPE_ENABLED(const char* scenarioType, BOOL toggle);Parameters
| Name | Type | Description |
|---|---|---|
scenarioType | const char* | — |
toggle | BOOL | — |
Returns void
Usage
SetScenarioTypeEnabled(scenarioType, toggle)
-- always works, by hash
Citizen.InvokeNative(0xEB47EC4E34FB7EE1, scenarioType, toggle)JavaScript and C#
SetScenarioTypeEnabled(scenarioType, toggle);
// by hash
Citizen.invokeNative('0xEB47EC4E34FB7EE1', scenarioType, toggle);Function.Call((Hash)0xEB47EC4E34FB7EE1, scenarioType, toggle);See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.