Player::SetPlayerName
Defined in:
Sets the name of a player.
C4Messages.h
Prototype
void SetPlayerName(const char *name);
Parameters
name |
A pointer to the name of the player. |
Description
The SetPlayerName
function sets the name of the player to the string specified by the name
parameter. The length of the text string is truncated to the maximum player name length defined by the constant kMaxPlayerNameLength
.
See Also