Files
overextended.github.io/docs/ox_inventory/Functions/Client/setStashTarget.md
T
2022-12-11 15:00:43 +11:00

354 B

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 or number
    • Stash id.
  • owner?: string or number

Example:

exports.ox_inventory:setStashTarget('motel5', 'bobsmith')