mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 06:28:54 +00:00
inventory client new properties style update
This commit is contained in:
1 parent
5d2f3e22ff
commit
c013d3ff0c
7 files changed
+40
-32
No files matched your search
@@ -1,9 +1,14 @@
|
||||
Forces the secondary-inventory key to open the passed inventory. Can be useful to enable inventory access while standing inside a marker.
|
||||
|
||||
```lua
|
||||
-- id: string or number
|
||||
-- owner: string or number (optional)
|
||||
exports.ox_inventory:setStashTarget(id, owner)
|
||||
```
|
||||
* id: `string` or `number`
|
||||
* Stash id.
|
||||
* owner?: `string` or `number`
|
||||
|
||||
**Example:**
|
||||
|
||||
```lua
|
||||
exports.ox_inventory:setStashTarget('motel5', 'bobsmith')
|
||||
```
|
||||
```
|
||||
Reference in new issue
Block a user