mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 22:21:48 +00:00
12 lines
307 B
Plaintext
12 lines
307 B
Plaintext
Returns true if the item swap is possible based on inventory weight.
|
|
|
|
```lua
|
|
exports.ox_inventory:CanSwapItem(inv, firstItem, firstItemCount, testItem, testItemCount)
|
|
```
|
|
|
|
* inv: `table` or `string` or `number`
|
|
* firstItem: `string`
|
|
* firstItemCount: `number`
|
|
* testItem: `string`
|
|
* testItemCount: `number`
|