View Single Post
11-26-17, 08:53 AM   #3
RammounZ
A Defias Bandit
Join Date: Nov 2017
Posts: 3
Thanks for reply. Yes, one dude suggest me this code, but he doesnt work

Code:
local function getPlayerColors(unit)
    local c = RAID_CLASS_COLORS[select(2,UnitClass(unit))]
    return c.r, c.g, c.b
end

PlayerName:SetTextColor(getPlayerColors("player"))
TargetFrameTextureFrameName:SetTextColor(getPlayerColors("target"))
FocusFrameTextureFrameName:SetTextColor(getPlayerColors("focus"))
  Reply With Quote