Player:transferItem
The moving player must be marked as a viewer on server and be within range of both inventories!
boolean Player:transferItem(oldStorage, oldSlot)
Locally transfers an item from an inventory to any other open inventory and sends a validation request to the server.
Parameters
| Type | Name | Description | Optional |
|---|---|---|---|
| Storage | oldStorage | No description | |
| number | oldSlot | No description |
Returns
| Type | Description |
|---|---|
| boolean | Local move was successful |