Hey guys,
Im a complete noob when it comes to Lua code but recently I have been working on upgrading my ui. I have been using pitbull unitframes and have them set to exactly how I want them, apart from one thing;
I want the name text to be displayed as class colour. The current code I am using is a custom code -
local abbr = Name(unit)
if abbr:len() > 20 and abbr:find(" ") then
abbr = abbr:gsub("([^ ]+) +",
function(text)
return text:sub(1,1) .. ". "
end)
end
return "%s", abbr;
What do I need to change to make the name text display as class colour? Thanks in advance
---------- Post added 2012-09-04 at 03:53 PM ----------
Still require some assistance on this matter. Any help would be greatly appreciated