| Property | Value |
|---|---|
| Native Name | _INVENTORY_REMOVE_INVENTORY_ITEMS |
| Hash | 0x5D6182F3BCE1333B |
| Return Type | BOOL |
| Build | 1207 |
| API Set | client |
| Parameters | inventoryId (int), removeReason (Hash) |
Description: removeReason: REMOVE_REASON_DEFAULT (eRemoveItemReason) Example: INVENTORY::_0x5D6182F3BCE1333B(1, joaat("REMOVE_REASON_DEFAULT")); -> clears weapon wheel Only used in R* SP Scripts
Usage
Lua (Direct):
local result = InventoryRemoveInventoryItems(inventoryId, removeReason)
Lua (Hash):
local result = Citizen.InvokeNative(0x5D6182F3BCE1333B, inventoryId, removeReason)