new inventory client exports

This commit is contained in:
Linden committed 2023-05-08 22:02:47 +10:00
1 parent 22edfded40
commit 1d8dd5c06d
10 files changed
+1945 -1760

No files matched your search

@@ -0,0 +1,12 @@
Get a slot id in the player's inventory matching the given name and metadata.
```lua
exports.ox_inventory:GetSlotIdWithItem(itemName, metadata, strict)
```
- itemName: `string`
- metadata?: `table`
- strict?: `boolean`
- Strictly match metadata properties, otherwise use partial matching.
**Returns:** `number?`