Inventory:getItemByID

From Nutscript Developer Wiki
Jump to navigation Jump to search


   Inventory:getItemByID(id, onlyMain)

This function finds and returns the Item Class which has certain Item ID. This function will return single Item.

Arguments[edit]

  • Integer id
  • Boolean onlyScanMain

Return Values[edit]

  • Item

Examples[edit]

none