The Lab
ITEMSETS native

GET_INDEXED_ITEM_IN_ITEMSET

returns ScrHandle2 paramsbuild 1207

Returns the handle stored at position index in itemset.

Iterate from 0 to GET_ITEMSET_SIZE minus one.

Signature

C
ScrHandle GET_INDEXED_ITEM_IN_ITEMSET(int index, ItemSet itemset); // 0x275A2E2C0FAB7612 b1207

Parameters

#NameType
1indexint
2itemsetItemSet

Facts

Facts about GET_INDEXED_ITEM_IN_ITEMSET
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.

Lua
local scrHandle = Citizen.InvokeNative(0x275A2E2C0FAB7612, -- GET_INDEXED_ITEM_IN_ITEMSET
  0, -- int index
  0, -- ItemSet itemset
  Citizen.ResultAsInteger()
)
print(scrHandle)
JavaScript
const scrHandle = Citizen.invokeNative("0x275A2E2C0FAB7612", // GET_INDEXED_ITEM_IN_ITEMSET
  0, // int index
  0, // ItemSet itemset
  Citizen.resultAsInteger()
);
console.log(scrHandle)
C#
int scrHandle = Function.Call<int>((Hash)0x275A2E2C0FAB7612, // GET_INDEXED_ITEM_IN_ITEMSET
  0, // int index
  0 // ItemSet itemset
);
All ITEMSETS natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.