mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 14:38:50 +00:00
Remove internal functions and move external ones
This commit is contained in:
1 parent
82518e769b
commit
49d5315d52
76 files changed
-3
No files matched your search
@@ -0,0 +1,12 @@
|
||||
Searches an inventory for a specified item.
|
||||
|
||||
```lua
|
||||
-- inv: string or number
|
||||
-- search: string
|
||||
-- item: table or string
|
||||
-- metadata: table or string (optional)
|
||||
exports.ox_inventory:Search(inv, search, item, metadata)
|
||||
```
|
||||
|
||||
`search` can be either `'slots'` or `'count'`, where slots will return a table of data
|
||||
and count will return the found amount of the specified item.
|
||||
Reference in new issue
Block a user