General > Developers Corner
HUD Code Makes Me Crash
JamminR:
Did you try "Dog's" code, not using a custom font?
If not, try that.
If that works, investigate to see if a font can/should be created outside of HUDPaint, then used within it.
I would imagine creating a font every frame draw, even the same one, might not be the proper way to do it.
(Again, I'm inexperienced here...I've never worked with GUI in Gmod)
An Error Has Occurred!
array_keys(): Argument #1 ($array) must be of type array, null given
[0] Board index
Go to full version