Return to site

How t change a derma skin in gmod

broken image
broken image

If you make a change to a surface.CreateFont function in a script while the game is running, you will need to run gm_clearfonts in order for the changes to your font(s) to show. This is a developer console command and should never be called from a mod/gamemode. However, you can call the console command gm_clearfonts to clear all of the known custom fonts.

broken image

Custom fonts persist even if the game server (local or network) is reloaded, so if the font 'MyFont' already exists then nothing will be created. Surface.CreateFont ( 'akbar', 48, 500, true, true, 'MyFont' ) Creating FontsĬustom fonts should be defined in the hook GM:Initialize, using the surface.CreateFont function.

broken image