mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 14:38:50 +00:00
formatting and typos
This commit is contained in:
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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user