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(pClonk)
{
// Begrüßen
Message("Moin, %s. Was macht %s?", this(), GetName(pClonk), GetPlayerName(GetOwner(pClonk)));
// Fertig
return(1);
}
Object script: when activated, the clonk asks what the player is doing.