Nut.char.create

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

 * Table data
 * Function callback

Return Values
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
nut.char.create({	name   = "John",	desc    = "Default description",	model   = "models/humans/group01/male_01.mdl",	steamID = client:SteamID64,	faction = nut.faction.indices[2] and nut.faction.indices[2].uniqueID,	money   = 50	}, function(id) print("The character ID is " .. id) end)