Update examples and descriptions for ox_inventory

This commit is contained in:
Linden committed 2022-03-02 19:18:34 +11:00
1 parent 2a931c887a
commit ee76abb4db
10 files changed
+114 -125

No files matched your search

@@ -1,11 +1,9 @@
---
title: setStashTarget
---
Sets the stash target to open.
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
exports.ox_inventory:setStashTaget(id, owner)
-- owner: string or number (optional)
exports.ox_inventory:setStashTarget(id, owner)
exports.ox_inventory:setStashTarget('motel5', 'bobsmith')
```