mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 06:28:54 +00:00
Update examples and descriptions for ox_inventory
This commit is contained in:
1 parent
2a931c887a
commit
ee76abb4db
10 files changed
+114
-125
No files matched your search
@@ -1,7 +1,11 @@
|
||||
Opens the passed inventory with passed data.
|
||||
Opens an inventory using on the passed data.
|
||||
|
||||
```lua
|
||||
-- inv: string
|
||||
-- data: table (optional)
|
||||
exports.ox_inventory:openInventory(inv, data)
|
||||
-- data: any
|
||||
exports.ox_inventory:openInventory(invType, data)
|
||||
|
||||
exports.ox_inventory:openInventory('player', 1)
|
||||
exports.ox_inventory:openInventory('stash', 1)
|
||||
exports.ox_inventory:openInventory('shop', { type = 'PoliceArmoury', id = 1 })
|
||||
```
|
||||
Reference in new issue
Block a user