Essentially what I've given you is the variable called "text" that contains the information you want.
The following line needs to be replaced using whatever KgPanels does to update the display with the information from this "text" variable.
-- do whatever KgPanels uses to update the display with "text"
if
self.text:SetText(gold .. "g " .. silver .. "s " .. m - (10000*gold) - (100*silver) .. "c")
worked with your gold display then try:
self.text:SetText(text)
Last edited by Fizzlemizz : 07-27-13 at 02:46 PM.
|