mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 14:38:50 +00:00
new inventory client exports
This commit is contained in:
1 parent
22edfded40
commit
1d8dd5c06d
10 files changed
+1945
-1760
No files matched your search
@@ -0,0 +1,12 @@
|
||||
Get the total item count for all items in the player's inventory with the given name and metadata.
|
||||
|
||||
```lua
|
||||
exports.ox_inventory:GetItemCount(itemName, metadata, strict)
|
||||
```
|
||||
|
||||
- itemName: `string`
|
||||
- metadata?: `table`
|
||||
- strict?: `boolean`
|
||||
- Strictly match metadata properties, otherwise use partial matching.
|
||||
|
||||
**Returns:** `number?`
|
||||
Reference in new issue
Block a user