hook.Add( "HUDPaint", "SimplicityHUD", function() local me = LocalPlayer() if (not me:KeyDown(IN_WALK)) then return end SW = surface.ScreenWidth() SH = surface.ScreenHeight() surface.SetDrawColor( 0, 0, 0, 255 ) surface.DrawOutlinedRect( 15, 15, SW - 30, SH - 30 ) local H = 600 --local TR = util.TraceLine({start = me:GetPos() + Vector(0, 0, 70), endpos = me:GetPos() + Vector(0, 0, H)}) local camd = {} camd.angles = Angle( 90, 0, 0 ) camd.origin = LocalPlayer():GetPos() + Vector( 0, 0, H ) camd.x = 16 camd.y = 16 camd.w = SW - 32 camd.h = SH - 32 camd.fov = 120 camd.dopostprocess = false camd.drawhud = false camd.drawviewmodel = false camd.zfar = 1000 camd.ortho = true camd.ortholeft = 600 camd.orthoright = 600 camd.orthotop = 600 camd.orthobottom = 10000 render.RenderView( camd ) surface.SetDrawColor( 255, 255, 255, 255 ) surface.SetTexture( surface.GetTextureID( "gui/silkicons/user" ) ) surface.DrawTexturedRect(SW / 2 - 16, SH / 2 - 16, 32, 32) end) hook.Add( "HUDShouldDraw", "SimplicityHUD", function( v ) --if v == "CHudHealth" or v == "CHudBattery" or v == "CHudAmmo" or v == "CHudSecondaryAmmo" then -- return false --end return true end )