Item:getData

From Nutscript Developer Wiki


    Item:getData(key, default)

This function returns the value that stored in the item. (!!) Saving too many/long data to the item will result the corruption of the item data!

Arguments[edit]

  • String key
  • Variables defaultValue

Return Values[edit]

  • Variables

Stored Value.

Examples[edit]

none