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) ```