CanItemBeTransferd

From Nutscript Developer Wiki
Jump to navigation Jump to search
   GM:CanItemBeTransferd(itemObject, curInv, inventory)

Description[edit]

This function determinds whether player can transfer items to specific inventory. Inventory could be anything. It could be the storage, it could be player to player, it could be player to world (virtual inventory.) To use this hook properly, You should be informed and keep in mind the thing on the above.

Arguments[edit]

  • Item itemObject
  • Inventory curInv
  • Inventory inventory

Return Values[edit]

return boolean Can Item be transferd to target inventory?

Examples[edit]

none.