Skip to main content

client Player:transferItem

info

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

TypeNameDescriptionOptional
StorageoldStorageNo description
numberoldSlotNo description

Returns

TypeDescription
booleanLocal move was successful