GetContainerFromSlot

This commit is contained in:
Linden committed 2023-05-30 07:17:44 +10:00
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?`