mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 22:22:46 +00:00
1 parent
a6c78245a6
commit
58a423ffb6
1 file changed
+2
-2
@@ -4,10 +4,10 @@ Searches the inventory for a specified item.
|
|||||||
-- search: string
|
-- search: string
|
||||||
-- item: table or string
|
-- item: table or string
|
||||||
-- metadata: table or string (optional)
|
-- metadata: table or string (optional)
|
||||||
expors.ox_inventory:Search(search, item, metadata)
|
exports.ox_inventory:Search(search, item, metadata)
|
||||||
```
|
```
|
||||||
If the `search` argument is defined as `'slots'` the return will be a table
|
If the `search` argument is defined as `'slots'` the return will be a table
|
||||||
of slots where the item was found at.
|
of slots where the item was found at.
|
||||||
|
|
||||||
Otherwise if the `search` argument is defined as `'count'` the return value
|
Otherwise if the `search` argument is defined as `'count'` the return value
|
||||||
will be the amount of the specified item in player's inventory.
|
will be the amount of the specified item in player's inventory.
|
||||||
Reference in new issue
Block a user