Resource Files not Downloading

I’ve been having problems with files downloading off and on but they don’t download whatsoever now.

Well I have in the init.lua as

[lua]include(“resourcesfolders.lua”)
include(“resources.lua”)
[/lua]

Resource Folder-
[lua]
resource.AddFile(“materials/VGUI/ttt/icon_halp.vmt”)
resource.AddFile(“materials/VGUI/ttt/icon_head.vmt”)
resource.AddFile(“materials/VGUI/ttt/icon_health.vmt”)
resource.AddFile(“materials/VGUI/ttt/icon_id.vmt”)
resource.AddFile(“materials/VGUI/ttt/icon_inno.vmt”)
resource.AddFile(“materials/VGUI/ttt/icon_knife.vmt”)
resource.AddFile(“materials/VGUI/ttt/icon_lastid.vmt”)
resource.AddFile(“materials/VGUI/ttt/icon_list.vmt”)
resource.AddFile(“materials/VGUI/ttt/icon_m16.vmt”)
resource.AddFile(“materials/VGUI/ttt/icon_m249.vmt”)
resource.AddFile(“materials/VGUI/ttt/icon_mac.vmt”)
resource.AddFile(“materials/VGUI/ttt/icon_nades.vmt”)
resource.AddFile(“materials/VGUI/ttt/icon_pistol.vmt”)
resource.AddFile(“materials/VGUI/ttt/icon_polter.vmt”)
resource.AddFile(“materials/VGUI/ttt/icon_radar.vmt”)
resource.AddFile(“materials/VGUI/ttt/icon_radio.vmt”)
resource.AddFile(“materials/VGUI/ttt/icon_rock.vmt”)
resource.AddFile(“materials/VGUI/ttt/icon_scout.vmt”)
resource.AddFile(“materials/VGUI/ttt/icon_shotgun.vmt”)
resource.AddFile(“materials/VGUI/ttt/icon_silenced.vmt”)
resource.AddFile(“materials/VGUI/ttt/icon_skull.vmt”)
resource.AddFile(“materials/VGUI/ttt/icon_splode.vmt”)
resource.AddFile(“materials/VGUI/ttt/icon_time.vmt”)
resource.AddFile(“materials/VGUI/ttt/icon_tport.vmt”)
resource.AddFile(“materials/VGUI/ttt/icon_traitor.vmt”)
resource.AddFile(“materials/VGUI/ttt/icon_wtester.vmt”)
resource.AddFile(“materials/VGUI/ttt/score_logo.vmt”)
resource.AddFile(“materials/VGUI/ttt/sprite_traitor.vmt”)
resource.Addfile(“materials/VGUI/ttt/icon_dmgstation.vmt”)
[/lua]

ResourceFolder -

[lua]
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.."/*")) do
	resource.AddFile(dir.."/"..v)
end

end

AddDir(“sound/LmaoLlama”)
[/lua]

put the file into lua/autorun/server instead.

Didn’t work, And now your banned. Great. <.<

Put the last one in lua/autorun/server, delete the first one, and add this to the last one:

[lua]
AddDir(“materials/VGUI/ttt/”)
[/lua]

[lua]
function AddDir(dir)
local list = file.FindDir("…/"…dir…"/*")
for _, fdir in pairs(list) do
if fdir != “.svn” then
AddDir(dir…"/"…fdir)
end
end

for k,v in pairs(file.Find("../"..dir.."/*")) do
	resource.AddFile(dir.."/"..v)
end

end

AddDir(“sound/LmaoLlama”)
AddDir(“materials/VGUI/ttt”)
[/lua]

Save to: lua/autorun/server/MyResourceHandler.lua