RedM Natives

GET_INDEXED_SCENARIO_POINT_INDEX_IN_ITEMSET

Hash0x9FC3CDB5CE815901
Runtime nameGetIndexedScenarioPointIndexInItemset
NamespaceITEMSETS
SideClient
NameOfficial
Docs
Since build1207

Signature

Any GET_INDEXED_SCENARIO_POINT_INDEX_IN_ITEMSET(int index, ItemSet itemset);

Parameters

NameTypeDescription
indexint—
itemsetItemSet—

Returns Any

Usage

Lua
local retval = GetIndexedScenarioPointIndexInItemset(index, itemset)

-- always works, by hash
local retval = Citizen.InvokeNative(0x9FC3CDB5CE815901, index, itemset, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetIndexedScenarioPointIndexInItemset(index, itemset);

// by hash
const retval = Citizen.invokeNative('0x9FC3CDB5CE815901', index, itemset, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x9FC3CDB5CE815901, index, itemset);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.