Forces the secondary-inventory key to open the passed inventory. Can be useful to enable inventory access while standing inside a marker.
exports.ox_inventory:setStashTarget(id, owner)
- id:
string
ornumber
- Stash id.
- owner?:
string
ornumber
Example:
exports.ox_inventory:setStashTarget('motel5', 'bobsmith')