mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 14:38:50 +00:00
feat(ClearInventory): keep argument
This commit is contained in:
1 parent
91ac1ab406
commit
5e857372b9
1 file changed
+2
-6
@@ -1,11 +1,7 @@
|
||||
Clears the specified inventory.
|
||||
Clears the specified inventory. The `keep` argument is either a string or an array of strings containing the name(s) of the item(s) to keep in the inventory after clearing.
|
||||
|
||||
```lua
|
||||
-- inv: string or number
|
||||
-- keep: nil
|
||||
-- keep:? string or string[]
|
||||
exports.ox_inventory:ClearInventory(inv, keep)
|
||||
```
|
||||
:::caution
|
||||
|
||||
The `keep` argument is still unsupported and won't do anyting.
|
||||
:::
|
||||
Reference in new issue
Block a user