Skip to main content

CreateCharacter

Function

WXPlayer:CreateCharacter(characterData)

characterData type

PropertyTypeDescription
firstNamestringThe first name of the character
lastNamestringThe last name of the character
dateOfBirthstringThe date of birth of the character
heightnumber or nilThe height of the character (If you wish to use it)
gendernumberGender of the character, 1 = male, 2 = female

Parameters

ParameterTypeDescription
characterDatacharacterDataThe character data

Returns

TypeDescription
tableA table of characters.