mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 22:21:48 +00:00
9 lines
317 B
Markdown
9 lines
317 B
Markdown
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)
|
|
|
|
exports.ox_inventory:setStashTarget('motel5', 'bobsmith')
|
|
``` |