Trouble sending fonts to client joining the server

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:



resource.AddFile("resource/fonts/CrashLandingBB.ttf")


instead of



resource.AddFile("/garrysmod/resource/fonts/CrashLandingBB.ttf")


His resource folder isn’t called ‘/resource’

[editline]26th August 2016[/editline]

Probably doesn’t make a difference though

What do you mean with that? Is it because of the “/”?
I forgot to remove it in the post.