RedM Natives

_INVENTORY_RELEASE_ITEM_COLLECTION

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

Hash0x42A2F33A1942E865
Runtime nameInventoryReleaseItemCollection
NamespaceINVENTORY
SideClient
NameCommunity guess
Docs
Since build1207

Signature

BOOL _INVENTORY_RELEASE_ITEM_COLLECTION(int collectionId);

Parameters

NameTypeDescription
collectionIdint—

Returns BOOL

Description

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

Usage

Lua
local retval = InventoryReleaseItemCollection(collectionId)

-- always works, by hash
local retval = Citizen.InvokeNative(0x42A2F33A1942E865, collectionId, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = InventoryReleaseItemCollection(collectionId);

// by hash
const retval = Citizen.invokeNative('0x42A2F33A1942E865', collectionId, Citizen.returnResultAnyway());
C#
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

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.