• Font problem
    1 replies, posted
Hi, after one year away from keyboard, I'm trying to restart coding an old gamemode. Garry's Mod has updated and my gamemode is now totally fucked so I need to correct my errors one by one. I'm stocked on this one: [CODE] [ERROR] lua/includes/modules/draw.lua:70: 'Trebuchet22' isn't a valid font 1. SetFont - [C]:-1 2. SimpleText - lua/includes/modules/draw.lua:70 3. unknown - gamemodes/madcows_gasland/gamemode/cl_hud.lua:73 [/CODE] This is the line: [CODE] draw.SimpleText("HEALTH", "Trebuchet22", x + 10, y - 30, Color(27, 255, 129, 245), 0)[/CODE] I don't get it. I tryed to put "Arial", but it didn't fix the problem. Thank you for your help.
Try to put font in garrysmod/resource/fonts
Sorry, you need to Log In to post a reply to this thread.