# PlayerColorName

FlagsNative

# Arguments

  • int — inColor

Returns — text

native text PlayerColorName(int inColor);

Category: Unclassified

# Examples

# mods/core.sc2mod

DebugAI.galaxy

// L26
PlayerColorName(PlayerGetColorIndex(player, false))
// L26
PlayerColorName(PlayerGetColorIndex(player, false))

# mods/warcoop/warmeleeai.sc2mod

DebugAIWar3.galaxy

// L26
PlayerColorName(PlayerGetColorIndex(player, false))