GET_INDEXED_ITEM_IN_ITEMSET
Returns the handle stored at position index in itemset.
Iterate from 0 to GET_ITEMSET_SIZE minus one.
Signature
ScrHandle GET_INDEXED_ITEM_IN_ITEMSET(int index, ItemSet itemset); // 0x275A2E2C0FAB7612 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | index | int |
| 2 | itemset | ItemSet |
Facts
| Name | GET_INDEXED_ITEM_IN_ITEMSET |
|---|---|
| Hash | 0x275A2E2C0FAB7612 |
| Namespace | |
| Returns | ScrHandle |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local scrHandle = Citizen.InvokeNative(0x275A2E2C0FAB7612, -- GET_INDEXED_ITEM_IN_ITEMSET
0, -- int index
0, -- ItemSet itemset
Citizen.ResultAsInteger()
)
print(scrHandle)const scrHandle = Citizen.invokeNative("0x275A2E2C0FAB7612", // GET_INDEXED_ITEM_IN_ITEMSET
0, // int index
0, // ItemSet itemset
Citizen.resultAsInteger()
);
console.log(scrHandle)int scrHandle = Function.Call<int>((Hash)0x275A2E2C0FAB7612, // GET_INDEXED_ITEM_IN_ITEMSET
0, // int index
0 // ItemSet itemset
);Related ITEMSETS natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.