# GetTaggedPlayerName

Player
4.9.6.0 CR
string
int player Number of the player whose name to get.
Returns the name of a player, including color markup using the player color. 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.
The markup color is chosen so the player name will be readable on black background. Dark player names are brightened up.
protected func Activate(clonk) { Log("%s hat das Objekt aktiviert!", GetTaggedPlayerName(GetController(clonk))); return(1); }
Object script: When activated, a message will be shown which draws attention to the player.
GetPlayerName
Sven2
2006-03