Font Question

Hello guys, i just take this font:

from my computer, renamed it to zombie.otf ( otf is the font extension ) , added it to resource/fonts + the fastdl… and when i join the game I’ve tried the font by creating it like this:

surface.CreateFont(‘Zombie’, { font = ‘zombie’, size = 14, weight = 1 })

then call it somewhere and i get this error

‘zombie’ isn’t a valid font

If someone know what can i do to fix this? Thanks

If ONLY you’d open the wiki page for this function:

“The font source. This must be the actual name of the font, not a file name.
Font files are stored in resource/fonts/”