| Property | Value |
|---|---|
| Native Name | _INVENTORY_REMOVE_INVENTORY_ITEM_WITH_ITEMID |
| Hash | 0xB4158C8C9A3B5DCE |
| Return Type | BOOL |
| Build | 1207 |
| Parameters | inventoryId (int), item (Hash), quantity (int), removeReason (Hash) |
Parameters
inventoryId(int)item(Hash)quantity(int)removeReason(Hash)
Usage
Lua (Direct):
local result = InventoryRemoveInventoryItemWithItemid(inventoryId, item, quantity, removeReason)
Lua (Hash):
local result = Citizen.InvokeNative(0xB4158C8C9A3B5DCE, inventoryId, item, quantity, removeReason)