This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
local bar, isNew = lib.NewCounterBar(self, name, text, value, maxVal, icon, self.orientation, nil, self.height, isTimer)
local bar, isNew = lib.NewCounterBar(self, name, text, value, maxVal, icon, self.orientation, self:GetWidth(), self:GetHeight(), isTimer)
should be
as for one, self.height is never set, and secondly nil is being passed as the width.
Cheers,
Oridan