# PlayerColorName

FlagsNative

# Arguments

  • int — inColor

Returns — text

native text PlayerColorName(int inColor);

Category: Unclassified

# Examples

mods/core.sc2modbase.sc2data/TriggerLibs/DebugAI.galaxy:26

            1,
            StringToText("[") +
            PlayerColorName(PlayerGetColorIndex(player, false)) +
            StringToText("] ") +
            StringToText(s),

mods/core.stormmodbase.stormdata/TriggerLibs/DebugAI.galaxy:26

            1,
            StringToText("[") +
            PlayerColorName(PlayerGetColorIndex(player, false)) +
            StringToText("] ") +
            StringToText(s),

mods/warcoop/warmeleeai.sc2modbase.sc2data/TriggerLibs/DebugAIWar3.galaxy:26

            1,
            StringToText("[") +
            PlayerColorName(PlayerGetColorIndex(player, false)) +
            StringToText("] ") +
            StringToText(s),