player_name

Contains the name of the client in a multiplayer game.

Type:

STRING*

Remarks:

Can be given through the -pl command line option; otherwise a unique name is generated automatically. When using session_connect, player_name can also be set by script before.

Example:

TEXT mp_info
{
  strings = 6;
  string = level_name, app_name, player_name, server_name, server_ip, session_name;

}

See also:

level_name, app_name, level_load, -pl, server_name, server_ip, session_name