GET_INDEXED_ITEM_IN_ITEMSET
Hash
0x275A2E2C0FAB7612Runtime name
GetIndexedItemInItemsetNamespaceITEMSETS
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x7A197E2521EE2BABSignature
ScrHandle GET_INDEXED_ITEM_IN_ITEMSET(int index, ItemSet itemset);Parameters
| Name | Type | Description |
|---|---|---|
index | int | — |
itemset | ItemSet | — |
Returns ScrHandle
Usage
local retval = GetIndexedItemInItemset(index, itemset)
-- always works, by hash
local retval = Citizen.InvokeNative(0x275A2E2C0FAB7612, index, itemset, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetIndexedItemInItemset(index, itemset);
// by hash
const retval = Citizen.invokeNative('0x275A2E2C0FAB7612', index, itemset, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x275A2E2C0FAB7612, index, itemset);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.