I need help on making thins download for people

Hi all, im stuck witha problem. i have heard you can make a “Force Download” script for your server. This allows people to download files you manually put in. I typed this:
resource.AddFile(“models/weapons/v_chain_s.dx80.vtx”)
resource.AddFile(“models/weapons/v_chain_s.dx90.vtx”)
resource.AddFile(“models/weapons/v_chain_s.mdl”)
resource.AddFile(“models/weapons/v_chain_s.sw.vtx”)
resource.AddFile(“models/weapons/v_chain_s.vvd”)
resource.AddFile(“models/weapons/v_chain_s.xbox.vtx”)
resource.AddFile(“materials/models/weapons/v_models/d3_chainsaw/chain.vmt”)
resource.AddFile(“materials/models/weapons/v_models/d3_chainsaw/chain.vtf”)
resource.AddFile(“materials/models/weapons/v_models/d3_chainsaw/chainsaw.vmt”)
resource.AddFile(“materials/models/weapons/v_models/d3_chainsaw/chainsaw.vtf”)
resource.AddFile(“materials/models/weapons/v_models/d3_chainsaw/chainsaw_ref.vtf”)
resource.AddFile(“sound/weapons/doom_chainsaw/knife_deploy1.wav”)
resource.AddFile(“sound/weapons/doom_chainsaw/knife_deploy2.wav”)
resource.AddFile(“sound/weapons/doom_chainsaw/knife_hitwall1.wav”)
resource.AddFile(“sound/weapons/doom_chainsaw/knife_idle.wav”)
resource.AddFile(“sound/weapons/doom_chainsaw/knife_slash1.wav”)
resource.AddFile(“sound/weapons/doom_chainsaw/knife_stab1.wav”)
resource.AddFile(“sound/weapons/doom_chainsaw/knife_stab2.wav”)
resource.AddFile(“sound/weapons/doom_chainsaw/knife_stab3.wav”)

Whats wrong? the file i may say is in lua/autorun/server

Help me! Thanks!

[editline]07:21AM[/editline]

And yes i accedently forgot a G in Title. I do apologize XD

i think there is no problem.

Why wont it load? do i have to type it somewhere? lol I need help bad!

What’s the file called, as in does it end in .lua?

You don’t need to specify all of the model and material files, this is sufficient for one model and texture:
[lua]resource.AddFile( “models/weapons/v_chain_s.mdl” )
resource.AddFile( “materials/models/weapons/v_models/d3_chainsaw/chainsaw.vtf” )[/lua]
If you have a reason to specify every file anyway, use resource.AddSingleFile.

Take a look at This and see if it helps.