# GetPlayerName

Player
4.6.5.0 CP
string
int player Number of the player whose name to get.
Returns the name of a player. If the specified player number is invalid, 0 is returned. Thus this function can also be used to determine whether a player of a given number exists.
protected func Activate(clonk) { // Begrüßen Message("Moin, %s. Was macht %s?", GetName(clonk), GetPlayerName(GetOwner(clonk))); // Fertig return(1); }
Object script: when activated, the clonk asks what the player is doing.
GetTaggedPlayerName
GetPlayerByName
GetPlayerCount
GetName
GetOwner
Sven2
2002-08