Skip to content

Instantly share code, notes, and snippets.

@CapsAdmin
Created April 23, 2014 17:05
Show Gist options
  • Select an option

  • Save CapsAdmin/11223733 to your computer and use it in GitHub Desktop.

Select an option

Save CapsAdmin/11223733 to your computer and use it in GitHub Desktop.
hook.Remove("PostDrawTranslucentRenderables", "DrawBoard")
function DrawBoard()
local ply = LocalPlayer()
local pos, ang = LocalToWorld(Vector(32,0,0), Angle(5,0,0), ply:EyePos(), ply:EyeAngles())
cam.Start3D2D(pos, ang, 0.1)
draw.RoundedBox(0,0,0,400,20,Color(0,0,10,200))
draw.SimpleText("Server Name Yo","ScoreboardText",180,-200,Color(255,255,255,255),TEXT_ALIGN_LEFT,TEXT_ALIGN_LEFT)
for k,v in pairs(player.GetAll()) do
end
cam.End3D2D()
end
hook.Add("PostDrawTranslucentRenderables", "DrawBoard", DrawBoard)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment