CapsAdmin

Untitled

Aug 5th, 2013
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.45 KB | None | 0 0
  1. hook.Add("HUDPaint",1,function()
  2.     local w, h = ScrW(), ScrH()
  3.     local t = RealTime() * 50
  4.    
  5.     local mat = Matrix()
  6.     mat:Translate(Vector(w/2, h/2))
  7.     mat:Rotate(Angle(0,t,0))
  8.     mat:Scale(Vector(1,1,1) * math.sin(t/100) *10)
  9.     mat:Translate(-Vector(w/2, h/2))
  10.    
  11.     surface.SetFont("DermaDefault")
  12.     surface.SetDrawColor(255, 255, 255, 255)
  13.     surface.SetTextPos(w/2, h/2)
  14.     cam.PushModelMatrix(mat)
  15.         surface.DrawText("LOLLOLOLOL")
  16.     cam.PopModelMatrix()   
  17. end)
Advertisement
Add Comment
Please, Sign In to add comment