mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 22:21:48 +00:00
317 B
317 B
Get a slot id in the player's inventory matching the given name and metadata.
exports.ox_inventory:GetSlotIdWithItem(itemName, metadata, strict)
- itemName:
string - metadata?:
table - strict?:
boolean- Strictly match metadata properties, otherwise use partial matching.
Returns: number?