GetPlrColorDw

Category: Player
Since engine version: 4.9.5.0 CE

Description

Determines the player color. The player color is used to identify various owned objects such as flags or clonks as well as his text messages.

Syntax

int GetPlrColorDw (int iPlr);

Parameter

iPlr:
Player to be checked

Example

Message("<c %x>%s</c> hat %d Punkte.", 0, GetPlrColorDw(0), GetPlayerName(0), GetScore(0));
Returns status information about the first player, highlighting the player's name in the player color.
See also: GetColorDw, SetColorDw
Sven2, Oktober 2003