_INVENTORY_RELEASE_ITEM_COLLECTION
Max num of collections is 5, so release your unused ones.
Hash
0x42A2F33A1942E865Runtime name
InventoryReleaseItemCollectionNamespaceINVENTORY
SideClient
NameCommunity guess
Docs
Since build1207
Signature
BOOL _INVENTORY_RELEASE_ITEM_COLLECTION(int collectionId);Parameters
| Name | Type | Description |
|---|---|---|
collectionId | int | — |
Returns BOOL
Description
Max num of collections is 5, so release your unused ones.
Usage
local retval = InventoryReleaseItemCollection(collectionId)
-- always works, by hash
local retval = Citizen.InvokeNative(0x42A2F33A1942E865, collectionId, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = InventoryReleaseItemCollection(collectionId);
// by hash
const retval = Citizen.invokeNative('0x42A2F33A1942E865', collectionId, Citizen.returnResultAnyway());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
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.