mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 06:28:54 +00:00
Update examples and descriptions for ox_inventory
This commit is contained in:
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')
|
||||
```
|
||||
Reference in new issue
Block a user