Force download problems

Okay so i want people who join to download some custom models

I created a lua file inside lua/autorun/server with this

function AddDir(dir) // recursively adds everything in a directory to be downloaded by client
    local list = file.FindDir("../"..dir.."/*")
    for _, fdir in pairs(list) do
        if fdir != ".svn" then // don't spam people with useless .svn folders
    for k,v in pairs(file.Find("../"..dir.."/*")) do
 //This will force the joining players to download everything in the addons folder of the server. 
 //replace addons with other folders or copy the code and insert the paths in the copiesi. 

But when they join the files they downloaded are still errors, and when they leave and join back they have to download again. Im using xenon servers fast dl

Any help appreciated

Make sure the files are in /models and not /addons/ADDON/models

So for drugs mod take the models and materials folder out of the addons folder and put them into gmod/gmod/ models or materials?

[editline]23rd July 2011[/editline]

k thanks ill give it a go

Same problem here. I Hope this works. Sorry if this was bumped.

can someone help me on team veiwer with this