update inventory server docs

This commit is contained in:
Luke committed 2022-11-17 11:59:10 +01:00
1 parent c013d3ff0c
commit 4dbd9dd4ab
21 files changed
+112 -91

No files matched your search

@@ -1,10 +1,10 @@
Returns true if the item swap is possible based on inventory weight.
```lua
-- inv: string or number
-- firstItem: string
-- firstItemCount: number
-- testItem: string
-- testItemCount: number
exports.ox_inventory:CanSwapItem(inv, firstItem, firstItemCount, testItem, testItemCount)
```
```
* inv: `string` or `number`
* firstItem: `string`
* firstItemCount: `number`
* testItem: `string`
* testItemCount: `number`