CapsAdmin

Untitled

Aug 8th, 2011
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.60 KB | None | 0 0
  1. hook.Remove("PostDrawTranslucentRenderables", "DrawBoard")
  2.  
  3. function DrawBoard()
  4.     local ply = LocalPlayer()
  5.    
  6.     local pos, ang = LocalToWorld(Vector(32,0,0), Angle(5,0,0), ply:EyePos(), ply:EyeAngles())
  7.    
  8.     cam.Start3D2D(pos, ang, 0.1)
  9.  
  10.         draw.RoundedBox(0,0,0,400,20,Color(0,0,10,200))
  11.         draw.SimpleText("Server Name Yo","ScoreboardText",180,-200,Color(255,255,255,255),TEXT_ALIGN_LEFT,TEXT_ALIGN_LEFT)
  12.        
  13.         for k,v in pairs(player.GetAll()) do
  14.            
  15.         end
  16.     cam.End3D2D()
  17. end
  18.  
  19. hook.Add("PostDrawTranslucentRenderables", "DrawBoard", DrawBoard)
Advertisement
Add Comment
Please, Sign In to add comment