GetPlayerName

Category: Player
Since engine version: 1.0 OC

Description

Returns the name of a player. If the specified player number is invalid, nil is returned. Thus this function can also be used to determine whether a player of a given number exists.

Syntax

string GetPlayerName(int player);

Parameter

player:
Number of the player whose name to get.
See also: GetName, GetOwner, GetPlayerByName, GetPlayerCount, GetTaggedPlayerName
Sven2, 2002-08