Nut.char.new

From Nutscript Developer Wiki
Jump to navigation Jump to search
    nut.char.new(data, id, client, steamID)

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
  • Integer charID
  • Player client
  • String SteamID

Return Values[edit]

  • Character

Loaded character. returns nil if there is no character loaded.

Examples[edit]

none.