Discord
Steam
/
Garry's Mod
/
Developers
/
Surface Font
Login/Join
Event Log
Surface Font
4 replies, posted
Search
In This Thread
Hello, When I try to create a font I get "Attempt to index global 'surface' (a nil value)"
code?
surface.CreateFont( "ScoreboardDefault", { font = "arial", size = 25, weight = 800 })
when are you calling it?
I tried in the shared and in cl_init both game me errors.
Sorry, you need to
Log In
to post a reply to this thread.