The Lab
INVENTORY native

_INVENTORY_RELEASE_ITEM_COLLECTION

returns BOOL1 parambuild 1207

Releases the item collection collectionId. Returns true on success.

Signature

C
BOOL _INVENTORY_RELEASE_ITEM_COLLECTION(int collectionId); // 0x42A2F33A1942E865 b1207

Parameters

#NameType
1collectionIdint

Facts

Facts about _INVENTORY_RELEASE_ITEM_COLLECTION
Name
_INVENTORY_RELEASE_ITEM_COLLECTION
Hash
0x42A2F33A1942E865
Namespace
Returns
BOOL
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0x42A2F33A1942E865, -- _INVENTORY_RELEASE_ITEM_COLLECTION
  0 -- int collectionId
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x42A2F33A1942E865", // _INVENTORY_RELEASE_ITEM_COLLECTION
  0, // int collectionId
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x42A2F33A1942E865, // _INVENTORY_RELEASE_ITEM_COLLECTION
  0 // int collectionId
);
All INVENTORY natives

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