# INVENTORY::_INVENTORY_RELEASE_ITEM_COLLECTION

- **Hash:** `0x42A2F33A1942E865`
- **Namespace:** INVENTORY
- **Runtime name (Lua/JS):** `InventoryReleaseItemCollection`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/INVENTORY/_INVENTORY_RELEASE_ITEM_COLLECTION

## Signature

```c
BOOL _INVENTORY_RELEASE_ITEM_COLLECTION(int collectionId);
```

## Parameters

- `collectionId` (`int`)

## Returns

`BOOL`

## Description

Max num of collections is 5, so release your unused ones.

## Usage

### Lua

```lua
local retval = InventoryReleaseItemCollection(collectionId)

-- always available, by hash
local retval = Citizen.InvokeNative(0x42A2F33A1942E865, collectionId, Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const retval = InventoryReleaseItemCollection(collectionId);

// by hash
const retval = Citizen.invokeNative('0x42A2F33A1942E865', collectionId, Citizen.returnResultAnyway());
```

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0x42A2F33A1942E865, collectionId);
```

- The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works.

*Sources: alloc8or RDR3 NativeDB.*
