mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 06:28:54 +00:00
GetContainerFromSlot
This commit is contained in:
1 parent
14a361f192
commit
ef12574cc3
1 file changed
+10
@@ -0,0 +1,10 @@
|
|||||||
|
Returns the inventory associated with the container linked in the slot of the given inventory.
|
||||||
|
|
||||||
|
```lua
|
||||||
|
exports.ox_inventory:GetContainerFromSlot(inv, slotId)
|
||||||
|
```
|
||||||
|
|
||||||
|
- inv: `table` or `string` or `number`
|
||||||
|
- slotId: `number`
|
||||||
|
|
||||||
|
**Returns:** `table?`
|
||||||
Reference in new issue
Block a user