• Is calling gm_clearfonts dangerous?
    3 replies, posted
I made it so any client who joins my server and changes resolution calls the concommand "gm_clearfonts", but the wiki says it leaks memory. Will the memory be released once Garry's Mod closes or something? Is there an alternative to this?
I wouldnt call it in a script, it's only good for resetting custom fonts, imo, as it clears EVERY font in gmod, mucking up a buncha shit.
Would it be better to make font sizes based on resolution? Resolution widths: 1680 1600 1440 1360 1280 1152 1024 800 720 640
Or use a scalable font.
Sorry, you need to Log In to post a reply to this thread.