master
AlmTech 5 years ago
parent c39250e5e4
commit 474685a4f8
  1. 2
      gamemode/engine/core/client/cl_fonts.lua
  2. 2
      gamemode/engine/core/client/cl_hud.lua
  3. 2
      gamemode/engine/derma/menus/menu_character.lua

@ -7,7 +7,7 @@
surface.CreateFont( "q_HUD", { surface.CreateFont( "q_HUD", {
font = "Arial", font = "Arial",
size = 38 * Quantum.Client.ResolutionScale, size = 30 * Quantum.Client.ResolutionScale,
antialias = true, antialias = true,
outline = true outline = true
}) })

@ -43,7 +43,7 @@ function GM:HUDPaint()
surface.SetTextColor( 255, 255, 255, 255 ) surface.SetTextColor( 255, 255, 255, 255 )
local hptxt = tostring( 100 * (hp/maxhp) .. "%" ) local hptxt = tostring( 100 * (hp/maxhp) .. "%" )
local txtW, txtH = surface.GetTextSize( hptxt ) local txtW, txtH = surface.GetTextSize( hptxt )
surface.SetTextPos( ( ( sw/2 - txtW/2 ) + padding/2 ), ( ( sh*0.9 - txtH/2 ) ) ) surface.SetTextPos( ( ( sw/2 - txtW/2 ) + padding/2 ), ( ( sh*0.9 - txtH/3 ) ) )
surface.DrawText( hptxt ) surface.DrawText( hptxt )
-- Crosshair -- Crosshair

@ -60,7 +60,7 @@ function menu.open( dt )
surface.SetDrawColor( 0, 0, 0, 190 ) surface.SetDrawColor( 0, 0, 0, 190 )
surface.DrawRect( 0, 0, w, h ) surface.DrawRect( 0, 0, w, h )
end end
f:IsDraggable( false ) f:SetDraggable( false )
f:MakePopup() f:MakePopup()
local char = pages.charCreate( f ) -- test local char = pages.charCreate( f ) -- test

Loading…
Cancel
Save