Nut.char.create

From Nutscript Developer Wiki
Jump to: navigation, search
    nut.char.create(data, callback)

This function creates new character in the database of the server. You can create new character with this function. It's role is very differ to nut.char.new

Arguments[edit]

  • Table data
  • Function callback

Return Values[edit]

none. If you want to get the character class from the database, You need to go with the callback.

In the callback, database returns these data.

  • Table data
  • Integer charID

Examples[edit]

none.