Remove internal functions and move external ones

This commit is contained in:
Luke committed 2022-03-26 15:17:51 +01:00
1 parent 82518e769b
commit 49d5315d52
76 files changed
-3

No files matched your search

@@ -0,0 +1,13 @@
Searches the inventory for a specified item.
```lua
-- search: string
-- item: table or string
-- metadata: table or string (optional)
expors.ox_inventory:Search(search, item, metadata)
```
If the `search` argument is defined as `'slots'` the return will be a table
of slots where the item was found at.
Otherwise if the `search` argument is defined as `'count'` the return value
will be the amount of the specified item in player's inventory.