formatting and typos

This commit is contained in:
DokaDoka committed 2022-12-11 15:00:43 +11:00
1 parent 75698216e0
commit 724c7e356d
99 files changed
+515 -305

No files matched your search

@@ -3,6 +3,7 @@ Returns the item from the specified inventory.
```lua
exports.ox_inventory:GetItem(inv, item, metadata, returnsCount)
```
* inv: `string` or `number`
* item: `table` or `string`
* Can be items array.
@@ -15,6 +16,7 @@ how many times the item was found.
Otherwise returns the data related to the item _and_ it's total count found in the inventory.
**Example**:
```lua
local item = ox_inventory:GetItem(source, 'water', nil, false)