CreateCharacter
Function
WXPlayer:CreateCharacter(characterData)
characterData type
Property | Type | Description |
---|---|---|
firstName | string | The first name of the character |
lastName | string | The last name of the character |
dateOfBirth | string | The date of birth of the character |
height | number or nil | The height of the character (If you wish to use it) |
gender | number | Gender of the character, 1 = male, 2 = female |
Parameters
Parameter | Type | Description |
---|---|---|
characterData | characterData | The character data |
Returns
Type | Description |
---|---|
table | A table of characters. |