From ef12574cc3956c8486705b9c021e0d6326234902 Mon Sep 17 00:00:00 2001 From: Linden <65407488+thelindat@users.noreply.github.com> Date: Tue, 30 May 2023 07:17:44 +1000 Subject: [PATCH] GetContainerFromSlot --- .../Functions/Server/Inventory/GetContainerFromSlot.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 docs/ox_inventory/Functions/Server/Inventory/GetContainerFromSlot.md diff --git a/docs/ox_inventory/Functions/Server/Inventory/GetContainerFromSlot.md b/docs/ox_inventory/Functions/Server/Inventory/GetContainerFromSlot.md new file mode 100644 index 00000000..8e5f8af3 --- /dev/null +++ b/docs/ox_inventory/Functions/Server/Inventory/GetContainerFromSlot.md @@ -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?`