Garrys Mod TTT Help

On my TTT server, I currently have a working pointshop (kind of). I made a lua script so that I can add a rainbow trail to my server. I then went into resources.lua and this is what I put.

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

end

AddDir(“addons/pointshop”)
AddDir(“addons/trail/trail/materials/trails”)
AddDir(“addons/pointshop-extras-master”)
AddDir(“materials/trails”)

That would make it so that they will download the vmt and vmf files for the trail. When i join the server though, nothing downloads. Is there something wrong with the resource.lua because the rainbow trail shows up as pink and black checkered in the pointshop. Please help this is the only problem I am having on my server.

Your code is outdated.

Linox, can you add me on steam and give me the newest?

You can add me,
Ficdy1995