Files
overextended.github.io/pages/ox_inventory/Functions/Server/Inventory/GetItemSlots.mdx
T
2023-06-04 15:15:21 +02:00

10 lines
264 B
Plaintext

Returns the number of slots the specified item is in, the item's total count and the remaining empty slots.
```lua
exports.ox_inventory:GetItemSlots(inv, item, metadata)
```
* inv: `table` or `string` or `number`
* item: `table` or `string`
* metadata?: `table`