• Trouble sending fonts to client joining the server
    4 replies, posted
I created a new hud for a server i help out and im having trouble sending the client the custom fonts for the hud The code i use to send client the font(I do have fast DL working with other stuff resource.AddFile("/garrysmod/resource/fonts/CrashLandingBB.ttf") I have this code in lua/autorun in a folder called resource
The file should be in lua/autorun/server, and the path should be "resource/fonts/CrashLandingBB.ttf"
And as code_gs just stated you should call: [CODE] resource.AddFile("resource/fonts/CrashLandingBB.ttf") [/CODE] instead of [CODE] resource.AddFile("/garrysmod/resource/fonts/CrashLandingBB.ttf") [/CODE]
[QUOTE=geferon;50950543]you should call: [CODE] resource.AddFile("/resource/fonts/CrashLandingBB.ttf") [/CODE][/QUOTE] His resource folder isn't called '/resource' [editline]26th August 2016[/editline] Probably doesn't make a difference though
[QUOTE=MPan1;50950548]His resource folder isn't called '/resource' [editline]26th August 2016[/editline] Probably doesn't make a difference though[/QUOTE] What do you mean with that? Is it because of the "/"? I forgot to remove it in the post.
Sorry, you need to Log In to post a reply to this thread.