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

13 lines
320 B
Plaintext

Get data for a slot in the player's inventory matching the given name and metadata.
```lua
exports.ox_inventory:GetSlotWithItem(itemName, metadata, strict)
```
- itemName: `string`
- metadata?: `table`
- strict?: `boolean`
- Strictly match metadata properties, otherwise use partial matching.
**Returns:** `table?`