Fast download/ force dl help

i have a rp server with custom models and materials. I try fast download and it does not work i tried the resource.AddFile in lua/autorun/server and it still does not work. Please what else can i dont

post back here if you can help me or contact me on steam my username is brodie229

What exactly are you trying to do?

EDIT

If you are trying to resource.AddFile (“content”) that is in your addons folder on your server, that won’t work for some reason. I have encountered this problem before, and the solution is to put all the model files into the garrysmod/garrysmod/materials,models,sound,etc folders and resource.AddFile (“THOSE files”), instead of the ones in addons.

So, if you have a file in addons with directory (for example) garrysmod/garrysmod/addons/models/materials/carrot.vtf ,then you must put it in the corresponding directory:
garrysmod/garrysmod/models/materials/carrot.vtf (notice there is no addons.)

then put in lua/autorun/server:
resource.AddFile(“models/materials/carrot.vtf”)

no they are not in addons the files are in the propar directories. I have the files on my computer so i can see the models fine it is when players join i want them to download the files. So the files i want them to download are not in addons they are in the right directories (models/materials and so on)

Please post the files you want people to download, with directories.

here is a copy of the resource.AddFile.lua domument i have:

resource.AddFile(“materials\models\BILLYMAYS\arms.vmt”)
resource.AddFile(“materials\models\BILLYMAYS\arms.vtf”)
resource.AddFile(“materials\models\BILLYMAYS\citizen_sheet.vmt”)
resource.AddFile(“materials\models\BILLYMAYS\citizen_sheet.vtf”)
resource.AddFile(“materials\models\BILLYMAYS ed_facemap.vmt”)
resource.AddFile(“materials\models\BILLYMAYS ed_facemap.vtf”)
resource.AddFile(“materials\models\peterboi\masterchief\Masterchief_Armor.vmt”)
resource.AddFile(“materials\models\peterboi\masterchief\Masterchief_Armor.vtf”)
resource.AddFile(“materials\models\peterboi\masterchief\Masterchief_Armor_normal.vtf”)
resource.AddFile(“materials\models\peterboi\masterchief\Masterchief_Clothes.vmt”)
resource.AddFile(“materials\models\peterboi\masterchief\Masterchief_Clothes.vtf”)
resource.AddFile(“materials\models\peterboi\masterchief\Masterchief_Clothes_normal.vtf”)
resource.AddFile(“materials\models\peterboi\masterchief\Masterchief_Visor.vmt”)
resource.AddFile(“materials\models\peterboi\masterchief\Masterchief_Visor.vtf”)
resource.AddFile(“materials\models\peterboi\masterchief\Masterchief_Visor_normal.vtf”)
resource.AddFile(“materials\models\player\Billy\arms.vmt”)
resource.AddFile(“materials\models\player\Billy\arms.vtf”)
resource.AddFile(“materials\models\player\Billy\citizen_sheet.vmt”)
resource.AddFile(“materials\models\player\Billy\citizen_sheet.vtf”)
resource.AddFile(“materials\models\player\Billy ed_facemap.vmt”)
resource.AddFile(“materials\models\player\Billy ed_facemap.vtf”)
resource.AddFile(“materials\models\player
slow
anosuit\slow_nanosuit.vmt”)
resource.AddFile(“materials\models\player
slow
anosuit\slow_nanosuit.vtf”)
resource.AddFile(“materials\models\player
slow
anosuit\slow_nanosuit_bump.vtf”)
resource.AddFile(“materials\models\player
slow
anosuit\slow_nanosuit_helm.vmt”)
resource.AddFile(“materials\models\player
slow
anosuit\slow_nanosuit_helm.vtf”)
resource.AddFile(“materials\models\player
slow
anosuit\slow_nanosuit_helm_bump.vtf”)
resource.AddFile(“materials\models\player
slow
anosuit\slow_nanosuit_visir.vmt”)
resource.AddFile(“materials\models\player
slow
anosuit\slow_nanosuit_visir.vtf”)
resource.AddFile(“materials\models\player
slow
anosuit\slow_nanosuit_visir_bump.vtf”)
resource.AddFile(“materials\models\player\ssgabe\chairchrome01.vmt”)
resource.AddFile(“materials\models\player\ssgabe\chairchrome01.vtf”)
resource.AddFile(“materials\models\player\ssgabe\chairchrome01_ref.vtf”)
resource.AddFile(“materials\models\player\ssgabe\citizen_sheet.vmt”)
resource.AddFile(“materials\models\player\ssgabe\citizen_sheet.vtf”)
resource.AddFile(“materials\models\player\ssgabe\gabe_facemap.vmt”)
resource.AddFile(“materials\models\player\ssgabe\gabe_facemap.vtf”)
resource.AddFile(“materials\models\player\ssgabe\glasslens.vmt”)
resource.AddFile(“materials\models\player\ssgabe\glasslens.vtf”)
resource.AddFile(“materials\models\player\ssgabe\hair1.vmt”)
resource.AddFile(“materials\models\player\ssgabe\hair2.vmt”)
resource.AddFile(“materials\models\player\ssgabe\hair3.vmt”)
resource.AddFile(“materials\models\player\ssgabe\hair3.vtf”)
resource.AddFile(“materials\models\player\ssgabe\kanisha_facemap.vmt”)
resource.AddFile(“materials\models\player\ssgabe\kanisha_facemap.vtf”)
resource.AddFile(“materials\models\player\ssgabe\pupil.vmt”)
resource.AddFile(“materials\models\player\ssgabe\pupil.vtf”)
resource.AddFile(“materials\models\player\ssgabe\TerrorTemp.vmt”)
resource.AddFile(“materials\models\player\ssgabe\TerrorTemp.vtf”)
resource.AddFile(“materials\models\player\ssgabe\UrbanTemp.vmt”)
resource.AddFile(“materials\models\player\ssgabe\UrbanTemp.vtf”)
resource.AddFile(“materials\models\Combine_soldier\camouflage.vmt”)
resource.AddFile(“materials\models\Combine_soldier\camouflage.vtf”)
resource.AddFile(“materials\models\Combine_soldier\camouflage_normal.vtf”)
resource.AddFile(“materials\models\Combine_soldier\Combine_ArmoredElite_armor.vmt”)
resource.AddFile(“materials\models\Combine_soldier\Combine_ArmoredElite_armor.vtf”)
resource.AddFile(“materials\models\Combine_soldier\Combine_ArmoredElite_armor_normal.vtf”)
resource.AddFile(“materials\models\Combine_soldier\Combine_ArmoredElite_sheet.vmt”)
resource.AddFile(“materials\models\Combine_soldier\Combine_sniper.vmt”)
resource.AddFile(“materials\models\Combine_soldier\Combine_sniper.vtf”)
resource.AddFile(“materials\models\Combine_soldier\Combine_sniper_normal.vtf”)
resource.AddFile(“models\hitlr.dx80”)
resource.AddFile(“models\hitlr.dx90”)
resource.AddFile(“models\hitlr.mdl”)
resource.AddFile(“models\hitlr.phy”)
resource.AddFile(“models\hitlr.sw”)
resource.AddFile(“models\hitlr.vvd”)
resource.AddFile(“models\Combine_sniper.dx80”)
resource.AddFile(“models\Combine_sniper.dx90”)
resource.AddFile(“models\combine_sniper.mdl”)
resource.AddFile(“models\Combine_sniper.phy”)
resource.AddFile(“models\Combine_sniper.sw”)
resource.AddFile(“models\combine_sniper.vvd”)
resource.AddFile(“models\Combine_sniper.xbox”)
resource.AddFile(“models\humans\billymays.dx80”)
resource.AddFile(“models\humans\billymays.dx90”)
resource.AddFile(“models\humans\billymays.mdl”)
resource.AddFile(“models\humans\billymays.phy”)
resource.AddFile(“models\humans\billymays.sw”)
resource.AddFile(“models\humans\billymays.vvd”)
resource.AddFile(“models\player\billymays.dx80”)
resource.AddFile(“models\player\billymays.dx90”)
resource.AddFile(“models\player\billymays.mdl”)
resource.AddFile(“models\player\billymays.phy”)
resource.AddFile(“models\player\billymays.sw”)
resource.AddFile(“models\player\billymays.vvd”)
resource.AddFile(“models\player\slow
anosuit\slow_nanosuit.dx80”)
resource.AddFile(“models\player\slow
anosuit\slow_nanosuit.dx90”)
resource.AddFile(“models\player\slow
anosuit\slow_nanosuit.mdl”)
resource.AddFile(“models\player\slow
anosuit\slow_nanosuit.phy”)
resource.AddFile(“models\player\slow
anosuit\slow_nanosuit.sw”)
resource.AddFile(“models\player\slow
anosuit\slow_nanosuit.vvd”)
resource.AddFile(“models\player\slow
anosuit\slow_nanosuit.xbox”)
resource.AddFile(“models\peterboi\masterchief\masterchief.dx80”)
resource.AddFile(“models\peterboi\masterchief\masterchief.dx90”)
resource.AddFile(“models\peterboi\masterchief\masterchief.mdl”)
resource.AddFile(“models\peterboi\masterchief\masterchief.phy”)
resource.AddFile(“models\peterboi\masterchief\masterchief.sw”)
resource.AddFile(“models\peterboi\masterchief\masterchief.vvd”)
resource.AddFile(“models\Jason278-Players\Gabe_1.dx80”)
resource.AddFile(“models\Jason278-Players\Gabe_1.dx90”)
resource.AddFile(“models\Jason278-Players\gabe_1.mdl”)
resource.AddFile(“models\Jason278-Players\Gabe_1.phy”)
resource.AddFile(“models\Jason278-Players\Gabe_1.sw”)
resource.AddFile(“models\Jason278-Players\gabe_1.vvd”)
resource.AddFile(“models\Jason278-Players\Gabe_1.xbox”)

Which ones are you having problems with? Make sure ALL of them are in the directories specified in the lua file.

yes they are in those directories and i am having trouble with all of them

[editline]11:19PM[/editline]

could you please add me steam brodie229 and help me out

The fact that you’re having trouble with ALL of them means that something is wrong with the lua file.

Make sure the lua file in your lua/autorun/server isn’t titled resource.addfile.lua like you said, because that’ll mess it up. It should be titled something like Addfiles.lua, or something without multiple periods.

it is titled forcedl.lua

here is a link to the file. it is in lua/autorun/server and it is exactly like this on my server

http://ontarioregimentgaming.com/forcedl.lua

does anyone else have any solutions or can provide assistance

please can someone help me