Remove internal functions and move external ones

This commit is contained in:
Luke committed 2022-03-26 15:17:51 +01:00
1 parent 82518e769b
commit 49d5315d52
76 files changed
-3

No files matched your search

@@ -0,0 +1,16 @@
Removes the specified item from the specified inventory.
```lua
-- inv: string or table
-- item: table or string
-- count: number
-- metadata: table or string (optional)
-- slot: number (optional)
exports.ox_inventory:RemoveItem(inv, item, count, metadata, slot)
```
**Example:**
```lua
-- Removes 1 water from the inventory
exports.ox_inventory:RemoveItem(source, 'water', 1)
```