I need some help with srcds "GMOD"..

Ok soo i got a Garry’s Mod Srcds server as you might have noticed,

Ive installed a custom player model, But its an error, Because clients dont download it,
And ive tried 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
			AddDir(dir.."/"..fdir)
		end
	end
 
	for k,v in pairs(file.Find(dir.."/*", true)) do
		resource.AddFile(dir.."/"..v)
	end
end
 
AddDir("materials/cable/")
AddDir("materials/models/")
AddDir("materials/models/cop")
AddDir("materials/models/baton")
AddDir("materials/models/cloud")
AddDir("materials/models/copcar")
AddDir("materials/models/copcarru")
AddDir("materials/models/enforcer")
AddDir("materials/models/humans/NYPD")
AddDir("materials/models/gman")
AddDir("materials/models/nypdhat")
AddDir("materials/models/player/NYPD")
AddDir("materials/models/player/po")
AddDir("materials/models/player/swattb")
AddDir("materials/models/player/swattya")
AddDir("materials/models/player/swattyac")
AddDir("materials/models/player/swattyd")
AddDir("materials/models/swat4a")
AddDir("materials/models/weapons/v_models/anic_tub_skif")
AddDir("materials/models/weapons/w_models/w_anic_tub_skif")
AddDir("materials/icons/")
AddDir("materials/katharsmodels/handcuffs/")
AddDir("materials/katharsmodels/key/")
AddDir("materials/VGUI/entities/")
AddDir("models/player/nypd/")
AddDir("models/player/")
AddDir("models/weapons/")
AddDir("models/nypdhat/")
AddDir("models/katharsmodels/handcuffs/")
AddDir("models/katharsmodels/key/")
AddDir("models/humans/NYPD/")
AddDir("models/Cloud/swat/")
AddDir("models/Characters/")
AddDir("models/baton/")
function AddDirLua(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
			AddDir(dir.."/"..fdir)
		end
	end
 
	for k,v in pairs(file.Find(dir.."/*", true)) do
		resource.AddCSLuaFile(dir.."/"..v)
	end
end

It makes me download 400+ files for one/five player models srsly??..

People should’nt be downloading 400+ files for 5Player Skins?.
And also ive tried with cars they’re also errors?.

Oh yea and the player models are still Errors/Pink-Black models??


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
			AddDir(dir.."/"..fdir)
		end
	end
 
	for k,v in pairs(file.Find(dir.."/*", true)) do
		resource.AddFile(dir.."/"..v)
	end
end
 
AddDir("materials/cable/")  -- Get rid of this, it won't work.
AddDir("materials/models/")   -- This already forces all the materials below.
AddDir("materials/models/cop")
AddDir("materials/models/baton")
AddDir("materials/models/cloud")
AddDir("materials/models/copcar")
AddDir("materials/models/copcarru")
AddDir("materials/models/enforcer")
AddDir("materials/models/humans/NYPD")
AddDir("materials/models/gman")
AddDir("materials/models/nypdhat")
AddDir("materials/models/player/NYPD")
AddDir("materials/models/player/po")
AddDir("materials/models/player/swattb")
AddDir("materials/models/player/swattya")
AddDir("materials/models/player/swattyac")
AddDir("materials/models/player/swattyd")
AddDir("materials/models/swat4a")
AddDir("materials/models/weapons/v_models/anic_tub_skif")
AddDir("materials/models/weapons/w_models/w_anic_tub_skif")
AddDir("materials/icons/")
AddDir("materials/katharsmodels/handcuffs/")
AddDir("materials/katharsmodels/key/")
AddDir("materials/VGUI/entities/")
AddDir("models/player/nypd/")
AddDir("models/player/")
AddDir("models/weapons/")
AddDir("models/nypdhat/")
AddDir("models/katharsmodels/handcuffs/")
AddDir("models/katharsmodels/key/")
AddDir("models/humans/NYPD/")
AddDir("models/Cloud/swat/")
AddDir("models/Characters/")
AddDir("models/baton/")
function AddDirLua(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
			AddDir(dir.."/"..fdir)
		end
	end
 
	for k,v in pairs(file.Find(dir.."/*", true)) do
		resource.AddCSLuaFile(dir.."/"..v)
	end
end

This pack is easily well over 400 files.

Ok, But how can 5PlayerModels be freaking 400+Files? O.O

This is more than just 5 playermodels.
This is also 15+ props.