# PlayerColorName
Flags —
Native
# Arguments
int
— inColor
Returns — text
native text PlayerColorName(int inColor);
# Related
Category: Unclassified
# Examples
mods/core.sc2mod — base.sc2data/TriggerLibs/DebugAI.galaxy:26
1,
StringToText("[") +
PlayerColorName(PlayerGetColorIndex(player, false)) +
StringToText("] ") +
StringToText(s),
mods/core.stormmod — base.stormdata/TriggerLibs/DebugAI.galaxy:26
1,
StringToText("[") +
PlayerColorName(PlayerGetColorIndex(player, false)) +
StringToText("] ") +
StringToText(s),
mods/warcoop/warmeleeai.sc2mod — base.sc2data/TriggerLibs/DebugAIWar3.galaxy:26
1,
StringToText("[") +
PlayerColorName(PlayerGetColorIndex(player, false)) +
StringToText("] ") +
StringToText(s),