Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- surface.CreateFont( "font1", {
- font = "Impact",
- size = 30,
- weight = 800,
- antialias = true
- } )
- surface.CreateFont( "font2", {
- font = "Arial",
- size = 20,
- weight = 800,
- antialias = true
- } )
- hook.Add("HUDPaint","supportalert",function()
- switch = math.sin(CurTime()*3)*(175/2)+(175/2)
- switch2 = math.sin(CurTime()*3)*(255/2)+(255/2)
- for i = 0, 8, 1 do
- r = math.sin(CurTime()*i + 0)*(127)+(128)
- g = math.sin(CurTime()*i + 2)*(127)+(128)
- b = math.sin(CurTime()*i + 4)*(127)+(128)
- end
- draw.RoundedBox(5,ScrW()-275,500,250,75,Color(255, 140, 0,switch))
- draw.RoundedBox(5,ScrW()-280,495,260,85,Color(166, 14, 0,switch2))
- draw.SimpleText([[Es gibt noch Supports]],"font1",ScrW()-265,518,Color(r,g,b,switch2))
- draw.SimpleText([[!supportadmin]],"font2",ScrW()-210,550,Color(r,g,b,switch2))
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement