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"))