mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 06:28:54 +00:00
13 lines
323 B
Plaintext
13 lines
323 B
Plaintext
Get all slot ids in the player's inventory matching the given name and metadata.
|
|
|
|
```lua
|
|
exports.ox_inventory:GetSlotIdsWithItem(itemName, metadata, strict)
|
|
```
|
|
|
|
- itemName: `string`
|
|
- metadata?: `table`
|
|
- strict?: `boolean`
|
|
- Strictly match metadata properties, otherwise use partial matching.
|
|
|
|
**Returns:** `number[]?`
|