From 98494aa689d41950113d67a5a1cc66cadabdf4a9 Mon Sep 17 00:00:00 2001 From: Linden <65407488+thelindat@users.noreply.github.com> Date: Mon, 22 May 2023 07:43:18 +1000 Subject: [PATCH] ox_inventory 2.30.0 changes --- docs/ox_inventory/Functions/Client/closeInventory.md | 5 +++++ docs/ox_inventory/Getting Started/config.md | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 docs/ox_inventory/Functions/Client/closeInventory.md diff --git a/docs/ox_inventory/Functions/Client/closeInventory.md b/docs/ox_inventory/Functions/Client/closeInventory.md new file mode 100644 index 00000000..5f7e76d9 --- /dev/null +++ b/docs/ox_inventory/Functions/Client/closeInventory.md @@ -0,0 +1,5 @@ +Closes the player's inventory. + +```lua +exports.ox_inventory:closeInventory() +``` diff --git a/docs/ox_inventory/Getting Started/config.md b/docs/ox_inventory/Getting Started/config.md index 4a12f0d6..88954f8a 100644 --- a/docs/ox_inventory/Getting Started/config.md +++ b/docs/ox_inventory/Getting Started/config.md @@ -73,6 +73,8 @@ setr inventory:weaponmismatch true # Ignore weapon mismatch checks for the given weapon type (e.g. ['WEAPON_SHOVEL', 'WEAPON_HANDCUFFS']) setr inventory:ignoreweapons [] +# Suppress weapon and ammo pickups +setr inventory:suppresspickups 1 ### Server