[Lua] Hud Custom Font

I have tried to put a custom font in hud and it just aint working can you help?

cl_hud



	surface.CreateFont( "Font", {
		font = "oldfont",
		extended = false,
		size = 30,
		weight = 500,
		blursize = 0,
		scanlines = 0,
		antialias = true,
		underline = false,
		italic = false,
		strikeout = false,
		symbol = false,
		rotary = false,
		shadow = false,
		additive = false,
		outline = true,
	} )

--[[---------------------------------------------------------
	Name: Players Name
-----------------------------------------------------------]]
	draw.SimpleText("Name: " ..LocalPlayer():Nick(), "Font", 30, ScrH() - ScrH() + 30,Color(255,255,255, 255),0, 1)
--[[---------------------------------------------------------
	Name: Players Money
-----------------------------------------------------------]]
if money == nil then
	draw.SimpleText("Wallet: ".."Uknown Amount","Font", 30,ScrH() - ScrH() + 60, Color(255,255,255,255), 0, 1)
else 

	draw.SimpleText("Wallet: ".. DarkRP.formatMoney(LocalPlayer():getDarkRPVar("money")), "Font", 30, ScrH() - ScrH() + 60,Color(255,255,255, 255),0, 1)
end



Screen Shot of were my font is
(resource/fonts/oldfont.ttf)

sv_textures



if ( SERVER ) then
	resource.AddFile("resource/fonts/oldfont.ttf")
end


Thanks,

What does the font look like when you open it in the font viewer? It might have a different name than just it’s filename

I think that may be it, i’ll try it now. Thanks