This commit is contained in:
Luke committed 2023-06-04 15:15:21 +02:00
1 parent 3cebaf7fa5
commit b5eba8423f
229 files changed
+6238 -10690

No files matched your search

@@ -0,0 +1,17 @@
Sets the maximum weight available for an inventory.
```lua
exports.ox_inventory:SetMaxWeight(inv, maxWeight)
```
* inv: `table` or `string` or `number`
* maxWeight: `number`
**Example:**
```lua
local ox_inventory = exports.ox_inventory
-- Set the max weight for player 1's inventory to 20kg.
ox_inventory:SetMaxWeight(1, 20000)
```