Faster way to add materials/models to fastdl ?

Currently, I have a script that i have to manually add each and every material/model to for it to be added to fastDL:

resource.AddFile( “models/weapons/w_pist_m9.dx90.vtx” )
resource.AddFile( “models/weapons/w_pist_m9.mdl” )
resource.AddFile( “models/weapons/w_pist_m9.phy” )

Is there any faster / more efficient way of doing this? Because right now, it takes a LONG time to add big addons’ materials to the server.

I may not be correct, but I was told or read somewhere that if you add a .mdl file, any associated files will be added too and the same goes for VMT/VTF.

You can use something like Fox-Warriors Resource Generator to generate the lua for you also.

You should switch to Workshop DL since you won’t need to bother adding individual files and the speeds are much quicker.

http://fox-warrior.com/RAG/downloads.html
Thank me later.

Edit: Sorry didn’t see the above post XD