Files
overextended.github.io/pages/ox_inventory/Functions/Client/setStashTarget.mdx
T
2023-06-04 15:15:21 +02:00

16 lines
354 B
Plaintext

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')
```