mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 14:38:50 +00:00
15 lines
353 B
Markdown
15 lines
353 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
|
|
exports.ox_inventory:setStashTarget(id, owner)
|
|
```
|
|
* id: `string` or `number`
|
|
* Stash id.
|
|
* owner?: `string` or `number`
|
|
|
|
**Example:**
|
|
|
|
```lua
|
|
exports.ox_inventory:setStashTarget('motel5', 'bobsmith')
|
|
```
|