Inventory:getItemsByUniqueID

From Nutscript Developer Wiki
Jump to: navigation, search


   Inventory:getItemsByUniqueID(uniqueID, onlyMain)

This function returns the number of items that existing in the inventory. This function returns list of items that fulfills the condition.

Arguments[edit]

  • String uniqueID
  • Boolean onlySearchMain

Return Values[edit]

  • Table

A List of the items

Examples[edit]

none