Hey, i'm trying to convert an addon, but i don't know whats wrong with this.
surface.SetFont("HUDNumber1")
[ERROR] addons/voiceradio/lua/entities/radio_microphone/cl_init.lua:48: 'HUDNumber1' isn't a valid font
[QUOTE=thejjokerr;41390891]HUDNumber1 is not a valid font, it says it right there in the error.
Solution: create a font with that name.[/QUOTE]
This. Almost all the old gmod 12 fonts were removed. The way to create a new font would be
[CODE]
surface.CreateFont( "HUDNumber1",
{
font = "Trebuchet MS",
size = 41,
weight = 900
})[/CODE]
[url]http://gmodwiki.net/Fonts[/url]
there's a list of all the working fonts in gm13
Sorry, you need to Log In to post a reply to this thread.