# ITEMSETS::GET_INDEXED_ITEM_IN_ITEMSET

- **Hash:** `0x275A2E2C0FAB7612`
- **Namespace:** ITEMSETS
- **Runtime name (Lua/JS):** `GetIndexedItemInItemset`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/ITEMSETS/GET_INDEXED_ITEM_IN_ITEMSET

## Signature

```c
ScrHandle GET_INDEXED_ITEM_IN_ITEMSET(int index, ItemSet itemset);
```

## Parameters

- `index` (`int`)
- `itemset` (`ItemSet`)

## Returns

`ScrHandle`

## Usage

### Lua

```lua
local retval = GetIndexedItemInItemset(index, itemset)

-- always available, by hash
local retval = Citizen.InvokeNative(0x275A2E2C0FAB7612, index, itemset, Citizen.ResultAsInteger())
```

### JavaScript

```js
const retval = GetIndexedItemInItemset(index, itemset);

// by hash
const retval = Citizen.invokeNative('0x275A2E2C0FAB7612', index, itemset, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
```

### C#

```csharp
int retval = Function.Call<int>((Hash)0x275A2E2C0FAB7612, index, itemset);
```

*Sources: alloc8or RDR3 NativeDB.*
