I've created a simple LCD style number font, I've put it in resource/fonts/lcd.ttf and used:
[lua]
surface.CreateFont("lcd", 14, 400, true, false, "SpeedFont")
[/lua]
However, it always shows as default, what am I doing wrong?
Make sure you're using "SpeedFont" for the font name rather than "lcd" when you do something like surface.SetFont. If you already are I don't know any other reason why it wouldn't work, other than your ttf being in the wrong location.
gm_clearfonts
[QUOTE=LauScript;31096697]gm_clearfonts[/QUOTE]
I've tried that, and restarting garrys mod. My font is located in resource/fonts/lcd.TTF
Make sure your using the font name, not the file name and make sure it is in the gamemode initialize hook
On the client?
Sorry, you need to Log In to post a reply to this thread.