Category: Player
Since engine version: 1.0 OC
GetPlayerName
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.