xPlayer.setName

1
xPlayer.setName(newName)

This function sets the player name.

参数

参数 数据类型 数据类型 默认值 说明
newName string No - New player name