From 0f67712561628a0a519243652245610723f67f05 Mon Sep 17 00:00:00 2001 From: Linden <65407488+thelindat@users.noreply.github.com> Date: Fri, 24 Feb 2023 13:49:56 +1100 Subject: [PATCH] Update SetMaxWeight.md --- docs/ox_inventory/Functions/Server/Inventory/SetMaxWeight.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/ox_inventory/Functions/Server/Inventory/SetMaxWeight.md b/docs/ox_inventory/Functions/Server/Inventory/SetMaxWeight.md index 030b322b..e6601c81 100644 --- a/docs/ox_inventory/Functions/Server/Inventory/SetMaxWeight.md +++ b/docs/ox_inventory/Functions/Server/Inventory/SetMaxWeight.md @@ -1,7 +1,7 @@ Sets the maximum weight available for an inventory. ```lua -exports.ox_inventory:SetSlotCount(inv, maxWeight) +exports.ox_inventory:SetMaxWeight(inv, maxWeight) ``` * inv: `string` or `number` or `table` @@ -13,5 +13,5 @@ exports.ox_inventory:SetSlotCount(inv, maxWeight) local ox_inventory = exports.ox_inventory -- Set the max weight for player 1's inventory to 20kg. -ox_inventory:maxWeight(1, 20000) +ox_inventory:SetMaxWeight(1, 20000) ```