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