Forcing a player to download files from a server help!

I’ve looked around at a bunch of tutorials and just can’t seem to get it to work. I’ve tried.
[lua]if SERVER then
resource.AddFile( “/models/gmod_tower/catears.dx90.vtx” )
resource.AddFile( “/models/gmod_tower/catears.mdl” )
resource.AddFile( “/models/gmod_tower/catears.sw.vtx” )
resource.AddFile( “/models/gmod_tower/catears.vvd” )
resource.AddFile( “/materials/models/gmod_tower/catears.vmt” )
resource.AddFile( “/materials/models/gmod_tower/catears.vtf” )
end
[/lua]
That’s just an example for a Gmod Tower hat addon for Pointshop.

I’ve even tried this http://www.wiremod.com/forum/off-topic/18560-fox-warriors-resources-generator.html and the one similar to this I found on Facepunch while searching.

I’m not sure what to do, any help would be appreciated. Thanks!

If you have ULX admin mod you can try going to garrysmod/data/downloads.txt (create it if it is not there) and put the file path there, so in the gmod-tower case you would put this:

Make sure those files are on the server, and if sv_downloadurl is set, on the download server aswell. Also make sure that the script you showed us is being executed, i.e. it is an autorun script or is included by another script.