HUD Help (Again)

I went ahead and tried to code an Ammo and Secondary Ammo HUD thing for my HUD but when I load it up, it’s not there? I coded it to be above my health and armor bar (which work fine) and it just doesn’t appear, there are no errors in the console and I’ve tried so many times but cannot see the error.

Here is my code:

Please try to fix it, thanks :smiley:

You must have your 'surface.CreateFont’s outside of the GM:HudPaint function; they only need to be made once, not every frame. I personally can’t test it because I am on a tablet right now, but it should work.

Why are you using a gamemode function to draw the HUD and then using a hook straight after?