Advertisement
Guest User

Untitled

a guest
Nov 26th, 2015
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.81 KB | None | 0 0
  1. local ply = LocalPlayer()
  2. local slot = {}
  3. local ourMat = Material("monalisa.png")
  4. local host = GetHostName()
  5.  
  6. hook.Add( "PostDrawOpaqueRenderables", "Examplefdsofsda", function( ply )
  7.     local pos = Vector( 1765.711182, -49.370796, -11364.702148 )-- Get the position AKA Vector
  8.     local ang = Angle( 89.000000, 177.870239, 0.000000 ) -- Get the angle, store both in a variable.
  9.     cam.Start3D2D( pos, ang, .5 )
  10.  
  11.     ang:RotateAroundAxis( pos, 180 )
  12.  
  13.         draw.RoundedBox( 6, 0, 0, 100, 1000, Color( 0, 0, 230, 255 ) )
  14.  
  15.         surface.SetFont( "Trebuchet24" )
  16.         surface.SetTextColor( 255, 255, 255, 255 )
  17.         surface.SetTextPos( 0, 0 )
  18.         surface.DrawText( host )
  19.  
  20.         for k,v in pairs( player.GetAll() ) do
  21.             draw.SimpleText( LocalPlayer():Nick(), "Trebuchet24", 0, slot.x, Color( 255, 255, 255, 255 ) )
  22.         end
  23.  
  24.     cam.End3D2D()
  25. end )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement