Item:transfer

From Nutscript Developer Wiki
Jump to navigation Jump to search


    Item:transfer(invID, x, y, client, noReplication, isLogical)

This function transfers the item to other inventory. You can move the item to the logical inventory. Moving the item to the logical inventory means item is actually exists but not assigned in any inventory. You still can call and interact with the item but there is no receiver unless you set the receiver by the manual. This is one of the most used function in the framework.

Arguments[edit]

  • Integer inventoryID
  • Integer slotX
  • Integer slotY
  • Player client
  • Boolean noReplication
  • Boolean isLogical

Return Values[edit]

  • Boolean

Success of the item transaction.

Examples[edit]

none