• Custom Scoreboard Animations
    4 replies, posted
I'm trying to get the ranks to flash on my scoreboard, using the math.abs+math.sin function(s) Pretty much wanting to do the same thing to the rank (in this case [Owner] ) as im currently doing with the background bar. [preview of bar] [IMG]http://gyazo.com/0f2c4a684d96e7b2beb93ef4d369c4cc.gif[/IMG] trying to use this: [lua] self.Rank:SetTextColor( Color(255,255,255,math.abs(math.sin(CurTime()*4)*255)) ) //whats currently working for the box draw.RoundedBox( 4, 0, 0, w, h, Color(30,30,30,math.abs(math.sin(CurTime()*6)*255)) ) [/lua]
Matt?
So what's the problem? You have achieved what you wanted.
[QUOTE=Robotboy655;43568251]So what's the problem? You have achieved what you wanted.[/QUOTE] He wants just the "[Owner]" text to flash.
Use draw.SimpleText instead of DLabel.
Sorry, you need to Log In to post a reply to this thread.