C4 Engine
C4 Engine API Documentation

Player::SetPlayerName

Defined in:  C4Messages.h
Sets the name of a player.
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

Player::GetPlayerName