Hud surface shit
public text v1 · immutable surface.SetFont( "ScoreboardSub" )
local gstatus = GetStatusString( HNS_GAMESTATUS )
local h, w = surface.GetTextSize( gstatus )
w = w + 10 -- add some padding
h = h + 10
local x = hud_status_x - ( w / 2 )
surface.SetDrawColor( hud_bg )
surface.DrawRect( x, hud_status_y, w, h )
surface.SetDrawColor( hud_fg )
surface.DrawOutlinedRect( x, hud_status_y, w, h )
surface.SetTextColor( hud_tint )
surface.SetTextPos( x + 5, hud_status_y + 5 )
surface.DrawText( gstatus )