setExclusiveScenarioGroup
SET_EXCLUSIVE_SCENARIO_GROUP0x535E97E1F7FC0C6AThe GTA V native SET_EXCLUSIVE_SCENARIO_GROUP of the TASK namespace, as LS:MP client scripts call it: the global function setExclusiveScenarioGroup, in JavaScript and in Lua.
setExclusiveScenarioGroup(scenarioGroup: string): voidsetExclusiveScenarioGroup(scenarioGroup: string)Usage
JavaScript
setExclusiveScenarioGroup(scenarioGroup);Lua
setExclusiveScenarioGroup(scenarioGroup)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
scenarioGroup | string | string | string |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Full list of scenario groups used in scripts by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/scenarioGroupNames.json
Groups found in the scripts used with this native:
"AMMUNATION",
"QUARRY",
"Triathlon_1",
"Triathlon_2",
"Triathlon_3"
Reference
- Namespace
- Tasks TASK
- In the game
void SET_EXCLUSIVE_SCENARIO_GROUP(const char* scenarioGroup)- Hash
0x535E97E1F7FC0C6A