mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 14:38:50 +00:00
new docs
This commit is contained in:
1 parent
3cebaf7fa5
commit
b5eba8423f
229 files changed
+6238
-10690
No files matched your search
@@ -0,0 +1,17 @@
|
||||
Sets the number of slots available for an inventory.
|
||||
|
||||
```lua
|
||||
exports.ox_inventory:SetSlotCount(inv, slots)
|
||||
```
|
||||
|
||||
* inv: `table` or `string` or `number`
|
||||
* slots: `number`
|
||||
|
||||
**Example:**
|
||||
|
||||
```lua
|
||||
local ox_inventory = exports.ox_inventory
|
||||
|
||||
-- Set the slot count for player 1's inventory to 10.
|
||||
ox_inventory:SetSlotCount(1, 10)
|
||||
```
|
||||
Reference in new issue
Block a user