Thread: stun addon help
View Single Post
03-24-11, 02:57 PM   #8
daylesan
A Fallenroot Satyr
Join Date: Feb 2011
Posts: 22
lua Code:
  1. if (expires == nil) then
  2.    sbBarStatus:SetValue(0)
  3.    sbBar:Hide()
  4.  end

If I'm reading this right, the above is why you can't see the bar. The variable expires is nil because, being a local, it doesn't carry over into your OnUpdate function.

Last edited by daylesan : 03-24-11 at 03:08 PM.
  Reply With Quote