From 5e857372b97fd864f78a094cfbfa3fe3012d3827 Mon Sep 17 00:00:00 2001 From: BerkieBb <82737367+BerkieBb@users.noreply.github.com> Date: Wed, 24 Aug 2022 01:37:35 +0200 Subject: [PATCH] feat(ClearInventory): keep argument --- .../Functions/Server/Inventory/ClearInventory.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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