First off, im not good at this, but i keep on trying ;>
I have been sitting for hours trying to find some information on alot of homepages, but i must admit that i failed at that, so here i am.
Basically i need some help with getting the Fubar text for my JP/HP addon to work correctly and I'm hoping that someone here could share some light on it for me.
What i would like for it to be on the text would be something like this;
HP: <amount> - JP: <amount>
but with codes i have been trying i can only get it to show one amount (which doesn't show unless you click show text: off/on).
Posted some of my code (not all) so you get the idea of what im working with.
So if someone could hit me with the nub bat i would be a happy camper.
function PointsFu:OnUpdateFuBarText() self:SetFuBarText(HonorPointsCount) end function PointsFu:OnUpdateFuBarTooltip() for i=1, GetCurrencyListSize() do local name, _, _, _, _, count = GetCurrencyListInfo(i) string.find(name, "Justice Points") string.find(name, "Honor Points") if name == "Justice Points" then JusticePointsCount = count elseif name == "Honor Points" then HonorPointsCount = count end end local cat = Tablet:AddCategory( 'columns', 4, 'child_textR', 1, 'child_textG', 1, 'child_textB', 0, 'child_text2R', 1, 'child_text2G', 1, 'child_text2B', 0 ) cat:AddLine( 'text', " ", 'text2', "Honor", 'text3', "Justice") cat:AddLine( 'text', " ", 'text2', HonorPointsCount, 'text3', JusticePointsCount) -- Tablet:SetHint("Hint removed for now.") end