Get a slot id in an inventory matching the given name and metadata.
exports.ox_inventory:GetSlotIdWithItem(inv, itemName, metadata, strict)
- inv:
table
orstring
ornumber
- itemName:
string
- metadata?:
table
- strict?:
boolean
- Strictly match metadata properties, otherwise use partial matching.
Returns: number?