mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 14:38:50 +00:00
Remove internal functions and move external ones
This commit is contained in:
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)
|
||||
```
|
||||
Reference in new issue
Block a user