diff --git a/docs/ox_inventory/Functions/Server/Inventory/ClearInventory.md b/docs/ox_inventory/Functions/Server/Inventory/ClearInventory.md index 312ff72b..78c1ac81 100644 --- a/docs/ox_inventory/Functions/Server/Inventory/ClearInventory.md +++ b/docs/ox_inventory/Functions/Server/Inventory/ClearInventory.md @@ -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. -::: \ No newline at end of file