can i get a detailed tutorial on how to add custom models?

I am trying to add custom player models to my pointshop and I got them in there just only I can actually see them people have said I am either invisible or I am an error to them I setup a fastdl and the maps are downloading just fine just, at least I think they are cause people in my server have gotten into every map that’s loaded on my server, I have all the material files and model files in my dropbox which is what I set up for fastdl and I have the resource.AddFile setup for all the .mdl’s for the models this is the .lua file I have for the player models (its basically the same for every .lua just names and prices were changed)


ITEM.Name = 'Ghost'
ITEM.Price = 65000000
ITEM.Model = 'models/codmw2/codmw2m.mdl'

function ITEM:OnEquip(ply, modifications)
 if not ply._OldModel then
 ply._OldModel = ply:GetModel()
 end

 timer.Simple(1, function() ply:SetModel(self.Model) end)
 end

 function ITEM:OnHolster(ply)
 if ply._OldModel then
 ply:SetModel(ply._OldModel)
 end
 end

and this is the lua for the addon that I downloaded for these models




local function AddPlayerModel( name, model )

    list.Set( "PlayerOptionsModel", name, model )
    player_manager.AddValidModel( name, model )

end

AddPlayerModel( "CODMW2 Guy", "models/codmw2/CODMW2.mdl" ) 
AddPlayerModel( "CODMW2 Guy 2", "models/codmw2/CODMW2H.mdl" )
AddPlayerModel( "CODMW2 Guy 3", "models/codmw2/CODMW2HE.mdl" )
AddPlayerModel( "CODMW2 Guy 4", "models/codmw2/CODMW2HEXE.mdl" )
AddPlayerModel( "CODMW2 Guy 5", "models/codmw2/CODMW2M.mdl" )
AddPlayerModel( "CODMW2 Guy 6", "models/codmw2/T_CODM.mdl" )
AddPlayerModel( "CODMW2 Guy 7", "models/codmw2/T_CODMW2.mdl" )
AddPlayerModel( "CODMW2 Guy 8", "models/codmw2/T_CODMW2H.mdl" )

--// File Generated By Fox-Warrior's Resources Generator Version 2.05 \\--

if (SERVER) then
	resource.AddFile( "models/codmw2/codmw2.dx80.vtx" )
	resource.AddFile( "models/codmw2/codmw2.dx90.vtx" )
	resource.AddFile( "models/codmw2/codmw2.mdl" )
	resource.AddFile( "models/codmw2/codmw2.phy" )
	resource.AddFile( "models/codmw2/codmw2.sw.vtx" )
	resource.AddFile( "models/codmw2/codmw2.vvd" )
	resource.AddFile( "models/codmw2/codmw2.xbox.vtx" )
	resource.AddFile( "models/codmw2/codmw2h.dx80.vtx" )
	resource.AddFile( "models/codmw2/codmw2h.dx90.vtx" )
	resource.AddFile( "models/codmw2/codmw2h.mdl" )
	resource.AddFile( "models/codmw2/codmw2h.phy" )
	resource.AddFile( "models/codmw2/codmw2h.sw.vtx" )
	resource.AddFile( "models/codmw2/codmw2h.vvd" )
	resource.AddFile( "models/codmw2/codmw2h.xbox.vtx" )
	resource.AddFile( "models/codmw2/codmw2he.dx80.vtx" )
	resource.AddFile( "models/codmw2/codmw2he.dx90.vtx" )
	resource.AddFile( "models/codmw2/codmw2he.mdl" )
	resource.AddFile( "models/codmw2/codmw2he.phy" )
	resource.AddFile( "models/codmw2/codmw2he.sw.vtx" )
	resource.AddFile( "models/codmw2/codmw2he.vvd" )
	resource.AddFile( "models/codmw2/codmw2he.xbox.vtx" )
	resource.AddFile( "models/codmw2/codmw2hexe.dx80.vtx" )
	resource.AddFile( "models/codmw2/codmw2hexe.dx90.vtx" )
	resource.AddFile( "models/codmw2/codmw2hexe.mdl" )
	resource.AddFile( "models/codmw2/codmw2hexe.phy" )
	resource.AddFile( "models/codmw2/codmw2hexe.sw.vtx" )
	resource.AddFile( "models/codmw2/codmw2hexe.vvd" )
	resource.AddFile( "models/codmw2/codmw2hexe.xbox.vtx" )
	resource.AddFile( "models/codmw2/codmw2m.dx80.vtx" )
	resource.AddFile( "models/codmw2/codmw2m.dx90.vtx" )
	resource.AddFile( "models/codmw2/codmw2m.mdl" )
	resource.AddFile( "models/codmw2/codmw2m.phy" )
	resource.AddFile( "models/codmw2/codmw2m.sw.vtx" )
	resource.AddFile( "models/codmw2/codmw2m.vvd" )
	resource.AddFile( "models/codmw2/codmw2m.xbox.vtx" )
	resource.AddFile( "models/codmw2/t_codm.dx80.vtx" )
	resource.AddFile( "models/codmw2/t_codm.dx90.vtx" )
	resource.AddFile( "models/codmw2/t_codm.mdl" )
	resource.AddFile( "models/codmw2/t_codm.phy" )
	resource.AddFile( "models/codmw2/t_codm.sw.vtx" )
	resource.AddFile( "models/codmw2/t_codm.vvd" )
	resource.AddFile( "models/codmw2/t_codm.xbox.vtx" )
	resource.AddFile( "models/codmw2/t_codmw2.dx80.vtx" )
	resource.AddFile( "models/codmw2/t_codmw2.dx90.vtx" )
	resource.AddFile( "models/codmw2/t_codmw2.mdl" )
	resource.AddFile( "models/codmw2/t_codmw2.phy" )
	resource.AddFile( "models/codmw2/t_codmw2.sw.vtx" )
	resource.AddFile( "models/codmw2/t_codmw2.vvd" )
	resource.AddFile( "models/codmw2/t_codmw2.xbox.vtx" )
	resource.AddFile( "models/codmw2/t_codmw2h.dx80.vtx" )
	resource.AddFile( "models/codmw2/t_codmw2h.dx90.vtx" )
	resource.AddFile( "models/codmw2/t_codmw2h.mdl" )
	resource.AddFile( "models/codmw2/t_codmw2h.phy" )
	resource.AddFile( "models/codmw2/t_codmw2h.sw.vtx" )
	resource.AddFile( "models/codmw2/t_codmw2h.vvd" )
	resource.AddFile( "models/codmw2/t_codmw2h.xbox.vtx" )
	resource.AddFile( "materials/models/codmw2/traitors/back.vmt" )
	resource.AddFile( "materials/models/codmw2/traitors/back.vmt" )
	resource.AddFile( "materials/models/codmw2/traitors/back.vtf" )
	resource.AddFile( "materials/models/codmw2/traitors/back_exp.vtf" )
	resource.AddFile( "materials/models/codmw2/traitors/back_norm.vtf" )
	resource.AddFile( "materials/models/codmw2/traitors/casco.vmt" )
	resource.AddFile( "materials/models/codmw2/traitors/casco.vmt" )
	resource.AddFile( "materials/models/codmw2/traitors/casco.vtf" )
	resource.AddFile( "materials/models/codmw2/traitors/casco01.vmt" )
	resource.AddFile( "materials/models/codmw2/traitors/casco01.vmt" )
	resource.AddFile( "materials/models/codmw2/traitors/casco01.vtf" )
	resource.AddFile( "materials/models/codmw2/traitors/casco01_exp.vtf" )
	resource.AddFile( "materials/models/codmw2/traitors/casco01_norm.vtf" )
	resource.AddFile( "materials/models/codmw2/traitors/casco02.vmt" )
	resource.AddFile( "materials/models/codmw2/traitors/casco02.vmt" )
	resource.AddFile( "materials/models/codmw2/traitors/casco02.vtf" )
	resource.AddFile( "materials/models/codmw2/traitors/casco02_exp.vtf" )
	resource.AddFile( "materials/models/codmw2/traitors/casco02_norm.vtf" )
	resource.AddFile( "materials/models/codmw2/traitors/ct_urban_glass.vmt" )
	resource.AddFile( "materials/models/codmw2/traitors/ct_urban_glass.vmt" )
	resource.AddFile( "materials/models/codmw2/traitors/ct_urban_glass.vtf" )
	resource.AddFile( "materials/models/codmw2/traitors/ct_urban_glass_spec.vtf" )
	resource.AddFile( "materials/models/codmw2/traitors/face.vmt" )
	resource.AddFile( "materials/models/codmw2/traitors/face.vmt" )
	resource.AddFile( "materials/models/codmw2/traitors/face.vtf" )
	resource.AddFile( "materials/models/codmw2/traitors/face_exp.vtf" )
	resource.AddFile( "materials/models/codmw2/traitors/face_norm.vtf" )
	resource.AddFile( "materials/models/codmw2/traitors/head.vmt" )
	resource.AddFile( "materials/models/codmw2/traitors/head.vmt" )
	resource.AddFile( "materials/models/codmw2/traitors/helmet.vmt" )
	resource.AddFile( "materials/models/codmw2/traitors/helmet.vmt" )
	resource.AddFile( "materials/models/codmw2/traitors/helmet.vtf" )
	resource.AddFile( "materials/models/codmw2/traitors/ojos.vmt" )
	resource.AddFile( "materials/models/codmw2/traitors/ojos.vmt" )
	resource.AddFile( "materials/models/codmw2/traitors/ojos.vtf" )
	resource.AddFile( "materials/models/codmw2/traitors/pants.vmt" )
	resource.AddFile( "materials/models/codmw2/traitors/pants.vmt" )
	resource.AddFile( "materials/models/codmw2/traitors/pants.vtf" )
	resource.AddFile( "materials/models/codmw2/traitors/pants_norm.vtf" )
	resource.AddFile( "materials/models/codmw2/traitors/pockets_r.vmt" )
	resource.AddFile( "materials/models/codmw2/traitors/pockets_r.vmt" )
	resource.AddFile( "materials/models/codmw2/traitors/pockets_r.vtf" )
	resource.AddFile( "materials/models/codmw2/traitors/pockets_r_norm.vtf" )
	resource.AddFile( "materials/models/codmw2/traitors/pockets_s_exp.vtf" )
	resource.AddFile( "materials/models/codmw2/traitors/pockets_s_norm.vtf" )
	resource.AddFile( "materials/models/codmw2/traitors/pockets_s_r.vmt" )
	resource.AddFile( "materials/models/codmw2/traitors/pockets_s_r.vmt" )
	resource.AddFile( "materials/models/codmw2/traitors/pockets_s_r.vtf" )
	resource.AddFile( "materials/models/codmw2/traitors/vest.vmt" )
	resource.AddFile( "materials/models/codmw2/traitors/vest.vmt" )
	resource.AddFile( "materials/models/codmw2/traitors/vest.vtf" )
	resource.AddFile( "materials/models/codmw2/traitors/vest_norm.vtf" )
	resource.AddFile( "materials/models/codmw2/rangers/006.vmt" )
	resource.AddFile( "materials/models/codmw2/rangers/006.vmt" )
	resource.AddFile( "materials/models/codmw2/rangers/006.vtf" )
	resource.AddFile( "materials/models/codmw2/rangers/006_n.vtf" )
	resource.AddFile( "materials/models/codmw2/rangers/back.vmt" )
	resource.AddFile( "materials/models/codmw2/rangers/back.vmt" )
	resource.AddFile( "materials/models/codmw2/rangers/back.vtf" )
	resource.AddFile( "materials/models/codmw2/rangers/back_exp.vtf" )
	resource.AddFile( "materials/models/codmw2/rangers/back_norm.vtf" )
	resource.AddFile( "materials/models/codmw2/rangers/ct_urban_glass.vmt" )
	resource.AddFile( "materials/models/codmw2/rangers/ct_urban_glass.vmt" )
	resource.AddFile( "materials/models/codmw2/rangers/ct_urban_glass.vtf" )
	resource.AddFile( "materials/models/codmw2/rangers/ct_urban_glass_spec.vtf" )
	resource.AddFile( "materials/models/codmw2/rangers/face.vmt" )
	resource.AddFile( "materials/models/codmw2/rangers/face.vmt" )
	resource.AddFile( "materials/models/codmw2/rangers/face.vtf" )
	resource.AddFile( "materials/models/codmw2/rangers/face2.vmt" )
	resource.AddFile( "materials/models/codmw2/rangers/face2.vmt" )
	resource.AddFile( "materials/models/codmw2/rangers/face2.vtf" )
	resource.AddFile( "materials/models/codmw2/rangers/face2_norm.vtf" )
	resource.AddFile( "materials/models/codmw2/rangers/face3.vmt" )
	resource.AddFile( "materials/models/codmw2/rangers/face3.vmt" )
	resource.AddFile( "materials/models/codmw2/rangers/face3.vtf" )
	resource.AddFile( "materials/models/codmw2/rangers/face3_norm.vtf" )
	resource.AddFile( "materials/models/codmw2/rangers/face_exp.vtf" )
	resource.AddFile( "materials/models/codmw2/rangers/face_norm.vtf" )
	resource.AddFile( "materials/models/codmw2/rangers/glasses.vmt" )
	resource.AddFile( "materials/models/codmw2/rangers/glasses.vmt" )
	resource.AddFile( "materials/models/codmw2/rangers/glasses.vtf" )
	resource.AddFile( "materials/models/codmw2/rangers/glasses_norm.vtf" )
	resource.AddFile( "materials/models/codmw2/rangers/head.vmt" )
	resource.AddFile( "materials/models/codmw2/rangers/head.vmt" )
	resource.AddFile( "materials/models/codmw2/rangers/head.vtf" )
	resource.AddFile( "materials/models/codmw2/rangers/head_norm.vtf" )
	resource.AddFile( "materials/models/codmw2/rangers/helmet.vmt" )
	resource.AddFile( "materials/models/codmw2/rangers/helmet.vmt" )
	resource.AddFile( "materials/models/codmw2/rangers/helmet.vtf" )
	resource.AddFile( "materials/models/codmw2/rangers/helmet2.vmt" )
	resource.AddFile( "materials/models/codmw2/rangers/helmet2.vmt" )
	resource.AddFile( "materials/models/codmw2/rangers/helmet2.vtf" )
	resource.AddFile( "materials/models/codmw2/rangers/helmet2_exp.vtf" )
	resource.AddFile( "materials/models/codmw2/rangers/helmet2_norm.vtf" )
	resource.AddFile( "materials/models/codmw2/rangers/helmet3.vmt" )
	resource.AddFile( "materials/models/codmw2/rangers/helmet3.vmt" )
	resource.AddFile( "materials/models/codmw2/rangers/helmet3.vtf" )
	resource.AddFile( "materials/models/codmw2/rangers/helmet3_exp.vtf" )
	resource.AddFile( "materials/models/codmw2/rangers/helmet3_norm.vtf" )
	resource.AddFile( "materials/models/codmw2/rangers/helmet_exp.vtf" )
	resource.AddFile( "materials/models/codmw2/rangers/helmet_norm.vtf" )
	resource.AddFile( "materials/models/codmw2/rangers/mask.vmt" )
	resource.AddFile( "materials/models/codmw2/rangers/mask.vmt" )
	resource.AddFile( "materials/models/codmw2/rangers/mask.vtf" )
	resource.AddFile( "materials/models/codmw2/rangers/mask_norm.vtf" )
	resource.AddFile( "materials/models/codmw2/rangers/ojos.vmt" )
	resource.AddFile( "materials/models/codmw2/rangers/ojos.vmt" )
	resource.AddFile( "materials/models/codmw2/rangers/ojos.vtf" )
	resource.AddFile( "materials/models/codmw2/rangers/pants.vmt" )
	resource.AddFile( "materials/models/codmw2/rangers/pants.vmt" )
	resource.AddFile( "materials/models/codmw2/rangers/pants.vtf" )
	resource.AddFile( "materials/models/codmw2/rangers/pants_norm.vtf" )
	resource.AddFile( "materials/models/codmw2/rangers/pockets_r.vmt" )
	resource.AddFile( "materials/models/codmw2/rangers/pockets_r.vmt" )
	resource.AddFile( "materials/models/codmw2/rangers/pockets_r.vtf" )
	resource.AddFile( "materials/models/codmw2/rangers/pockets_r_norm.vtf" )
	resource.AddFile( "materials/models/codmw2/rangers/pockets_s_exp.vtf" )
	resource.AddFile( "materials/models/codmw2/rangers/pockets_s_norm.vtf" )
	resource.AddFile( "materials/models/codmw2/rangers/pockets_s_r.vmt" )
	resource.AddFile( "materials/models/codmw2/rangers/pockets_s_r.vmt" )
	resource.AddFile( "materials/models/codmw2/rangers/pockets_s_r.vtf" )
	resource.AddFile( "materials/models/codmw2/rangers/vest.vmt" )
	resource.AddFile( "materials/models/codmw2/rangers/vest.vmt" )
	resource.AddFile( "materials/models/codmw2/rangers/vest.vtf" )
	resource.AddFile( "materials/models/codmw2/rangers/vest_norm.vtf" )
end

if (SERVER) then 
 player_manager.AddValidModel( "Ghost", "models/codmw2/codmw2m.mdl" )
 AddCSLuaFile( "cod_mw2_players.lua" )
end

list.Set( "PlayerOptionsModel", "Ghost", "models/codmw2/codmw2m.mdl" )


and the resource file


resource.AddFile("maps/ttt_prisonj.bsp")
resource.AddFile("maps/ttt_establishment.bsp")
resource.AddFile("maps/ph_motel_blacke_v3.bsp")
resource.AddFile("maps/ph_newoffice.bsp")
resource.AddFile("maps/ph_niteofthelivingdead.bsp")
resource.AddFile("maps/ph_no1office.bsp")
resource.AddFile("maps/ph_ratrun_sewers.bsp")
resource.AddFile("maps/ph_toxicfailure.bsp")
resource.AddFile("maps/ph_zombiebunker.bsp")
resource.AddFile("maps/slender_forest.bsp")
resource.AddFile("maps/slender_forest_day.bsp")
resource.AddFile("maps/ttt_alt_borders_b13.bsp")
resource.AddFile("maps/ttt_camel_v1.bsp")
resource.AddFile("maps/ttt_canyon_a3.bsp")
resource.AddFile("maps/ttt_cluedo_b5.bsp")
resource.AddFile("maps/ttt_district_a4.bsp")
resource.AddFile("maps/ttt_enclave_b1.bsp")
resource.AddFile("maps/ttt_forest_final.bsp")
resource.AddFile("maps/ttt_mc_Skyislands.bsp")
resource.AddFile("maps/ttt_nexus_v2.bsp")
resource.AddFile("maps/ttt_office_b1.bsp")
resource.AddFile("maps/ttt_orange_v7.bsp")
resource.AddFile("maps/ttt_thething_b3fix.bsp")
resource.AddFile( "player/ww2/nz-hero/Dempsey.dx80.vtx" )
resource.AddFile( "player/ww2/nz-hero/Dempsey.dx90.vtx" )
resource.AddFile( "player/ww2/nz-hero/dempsey.mdl" )
resource.AddFile( "player/ww2/nz-hero/Dempsey.phy" )
resource.AddFile( "player/ww2/nz-hero/dempsey.vvd" )
resource.AddFile( "player/ww2/nz-hero/Dempsey.xbox.vtx" )
resource.AddFile( "player/ww2/nz-hero/Nikolai.dx80.vtx" )
resource.AddFile( "player/ww2/nz-hero/Nikolai.dx90.vtx" )
resource.AddFile( "player/ww2/nz-hero/nikolai.mdl" )
resource.AddFile( "player/ww2/nz-hero/Nikolai.phy" )
resource.AddFile( "player/ww2/nz-hero/nikolai.vvd" )
resource.AddFile( "player/ww2/nz-hero/Nikolai.xbox.vtx" )
resource.AddFile( "player/ww2/nz-hero/Richtofen.dx80.vtx" )
resource.AddFile( "player/ww2/nz-hero/Richtofen.dx90.vtx" )
resource.AddFile( "player/ww2/nz-hero/richtofen.mdl" )
resource.AddFile( "player/ww2/nz-hero/Richtofen.phy" )
resource.AddFile( "player/ww2/nz-hero/richtofen.vvd" )
resource.AddFile( "player/ww2/nz-hero/Richtofen.xbox.vtx" )
resource.AddFile( "player/ww2/nz-hero/Takeo.dx80.vtx" )
resource.AddFile( "player/ww2/nz-hero/Takeo.dx90.vtx" )
resource.AddFile( "player/ww2/nz-hero/takeo.mdl" )
resource.AddFile( "player/ww2/nz-hero/Takeo.phy" )
resource.AddFile( "player/ww2/nz-hero/takeo.vvd" )
resource.AddFile( "player/ww2/nz-hero/Takeo.xbox.vtx" )
resource.AddFile( "models/CODMW2/CODMW2.dx80.vtx" )
resource.AddFile( "models/CODMW2/CODMW2.dx90.vtx" )
resource.AddFile( "models/CODMW2/codmw2.mdl" )
resource.AddFile( "models/CODMW2/CODMW2.phy" )
resource.AddFile( "models/CODMW2/codmw2.vvd" )
resource.AddFile( "models/CODMW2/CODMW2.xbox.vtx" )
resource.AddFile( "models/CODMW2/CODMW2H.dx80.vtx" )
resource.AddFile( "models/CODMW2/CODMW2H.dx90.vtx" )
resource.AddFile( "models/CODMW2/codmw2h.mdl" )
resource.AddFile( "models/CODMW2/CODMW2H.phy" )
resource.AddFile( "models/CODMW2/codmw2h.vvd" )
resource.AddFile( "models/CODMW2/CODMW2H.xbox.vtx" )
resource.AddFile( "models/CODMW2/CODMW2HE.dx80.vtx" )
resource.AddFile( "models/CODMW2/CODMW2HE.dx90.vtx" )
resource.AddFile( "models/CODMW2/codmw2he.mdl" )
resource.AddFile( "models/CODMW2/CODMW2HE.phy" )
resource.AddFile( "models/CODMW2/codmw2he.vvd" )
resource.AddFile( "models/CODMW2/CODMW2HE.xbox.vtx" )
resource.AddFile( "models/CODMW2/CODMW2HEXE.dx80.vtx" )
resource.AddFile( "models/CODMW2/CODMW2HEXE.dx90.vtx" )
resource.AddFile( "models/CODMW2/codmw2hexe.mdl" )
resource.AddFile( "models/CODMW2/CODMW2HEXE.phy" )
resource.AddFile( "models/CODMW2/codmw2hexe.vvd" )
resource.AddFile( "models/CODMW2/CODMW2HEXE.xbox.vtx" )
resource.AddFile( "models/CODMW2/CODMW2M.dx80.vtx" )
resource.AddFile( "models/CODMW2/CODMW2M.dx90.vtx" )
resource.AddFile( "models/CODMW2/codmw2m.mdl" )
resource.AddFile( "models/CODMW2/CODMW2M.phy" )
resource.AddFile( "models/CODMW2/codmw2m.vvd" )
resource.AddFile( "models/CODMW2/CODMW2M.xbox.vtx" )
resource.AddFile( "models/CODMW2/T_CODM.dx80.vtx" )
resource.AddFile( "models/CODMW2/T_CODM.dx90.vtx" )
resource.AddFile( "models/CODMW2/t_codm.mdl" )
resource.AddFile( "models/CODMW2/T_CODM.phy" )
resource.AddFile( "models/CODMW2/t_codm.vvd" )
resource.AddFile( "models/CODMW2/T_CODM.xbox.vtx" )
resource.AddFile( "models/CODMW2/T_CODMW2.dx80.vtx" )
resource.AddFile( "models/CODMW2/T_CODMW2.dx90.vtx" )
resource.AddFile( "models/CODMW2/t_codmw2.mdl" )
resource.AddFile( "models/CODMW2/T_CODMW2.phy" )
resource.AddFile( "models/CODMW2/t_codmw2.vvd" )
resource.AddFile( "models/CODMW2/T_CODMW2.xbox.vtx" )
resource.AddFile( "models/CODMW2/T_CODMW2H.dx80.vtx" )
resource.AddFile( "models/CODMW2/T_CODMW2H.dx90.vtx" )
resource.AddFile( "models/CODMW2/t_codmw2h.mdl" )
resource.AddFile( "models/CODMW2/T_CODMW2H.phy" )
resource.AddFile( "models/CODMW2/t_codmw2h.vvd" )
resource.AddFile( "models/CODMW2/T_CODMW2H.xbox.vtx" )
resource.AddFile( "materials/CODMW2/Rangers/006.vmt" )
resource.AddFile( "materials/CODMW2/Rangers/006.vmt" )
resource.AddFile( "materials/CODMW2/Rangers/006.vtf" )
resource.AddFile( "materials/CODMW2/Rangers/006_n.vtf" )
resource.AddFile( "materials/CODMW2/Rangers/back.vmt" )
resource.AddFile( "materials/CODMW2/Rangers/back.vmt" )
resource.AddFile( "materials/CODMW2/Rangers/back.vtf" )
resource.AddFile( "materials/CODMW2/Rangers/back_exp.vtf" )
resource.AddFile( "materials/CODMW2/Rangers/back_norm.vtf" )
resource.AddFile( "materials/CODMW2/Rangers/ct_urban_glass.vmt" )
resource.AddFile( "materials/CODMW2/Rangers/ct_urban_glass.vmt" )
resource.AddFile( "materials/CODMW2/Rangers/ct_urban_glass.vtf" )
resource.AddFile( "materials/CODMW2/Rangers/ct_urban_glass_spec.vtf" )
resource.AddFile( "materials/CODMW2/Rangers/face.vmt" )
resource.AddFile( "materials/CODMW2/Rangers/face.vmt" )
resource.AddFile( "materials/CODMW2/Rangers/face.vtf" )
resource.AddFile( "materials/CODMW2/Rangers/face2.vmt" )
resource.AddFile( "materials/CODMW2/Rangers/face2.vmt" )
resource.AddFile( "materials/CODMW2/Rangers/face2.vtf" )
resource.AddFile( "materials/CODMW2/Rangers/face2_norm.vtf" )
resource.AddFile( "materials/CODMW2/Rangers/face3.vmt" )
resource.AddFile( "materials/CODMW2/Rangers/face3.vmt" )
resource.AddFile( "materials/CODMW2/Rangers/face3.vtf" )
resource.AddFile( "materials/CODMW2/Rangers/face3_norm.vtf" )
resource.AddFile( "materials/CODMW2/Rangers/face_exp.vtf" )
resource.AddFile( "materials/CODMW2/Rangers/face_norm.vtf" )
resource.AddFile( "materials/CODMW2/Rangers/glasses.vmt" )
resource.AddFile( "materials/CODMW2/Rangers/glasses.vmt" )
resource.AddFile( "materials/CODMW2/Rangers/glasses.vtf" )
resource.AddFile( "materials/CODMW2/Rangers/glasses_norm.vtf" )
resource.AddFile( "materials/CODMW2/Rangers/head.vmt" )
resource.AddFile( "materials/CODMW2/Rangers/head.vmt" )
resource.AddFile( "materials/CODMW2/Rangers/head.vtf" )
resource.AddFile( "materials/CODMW2/Rangers/head_norm.vtf" )
resource.AddFile( "materials/CODMW2/Rangers/helmet.vmt" )
resource.AddFile( "materials/CODMW2/Rangers/helmet.vmt" )
resource.AddFile( "materials/CODMW2/Rangers/helmet.vtf" )
resource.AddFile( "materials/CODMW2/Rangers/helmet2.vmt" )
resource.AddFile( "materials/CODMW2/Rangers/helmet2.vmt" )
resource.AddFile( "materials/CODMW2/Rangers/helmet2.vtf" )
resource.AddFile( "materials/CODMW2/Rangers/helmet2_exp.vtf" )
resource.AddFile( "materials/CODMW2/Rangers/helmet2_norm.vtf" )
resource.AddFile( "materials/CODMW2/Rangers/helmet3.vmt" )
resource.AddFile( "materials/CODMW2/Rangers/helmet3.vmt" )
resource.AddFile( "materials/CODMW2/Rangers/helmet3.vtf" )
resource.AddFile( "materials/CODMW2/Rangers/helmet3_exp.vtf" )
resource.AddFile( "materials/CODMW2/Rangers/helmet3_norm.vtf" )
resource.AddFile( "materials/CODMW2/Rangers/helmet_exp.vtf" )
resource.AddFile( "materials/CODMW2/Rangers/helmet_norm.vtf" )
resource.AddFile( "materials/CODMW2/Rangers/mask.vmt" )
resource.AddFile( "materials/CODMW2/Rangers/mask.vmt" )
resource.AddFile( "materials/CODMW2/Rangers/mask.vtf" )
resource.AddFile( "materials/CODMW2/Rangers/mask_norm.vtf" )
resource.AddFile( "materials/CODMW2/Rangers/ojos.vmt" )
resource.AddFile( "materials/CODMW2/Rangers/ojos.vmt" )
resource.AddFile( "materials/CODMW2/Rangers/ojos.vtf" )
resource.AddFile( "materials/CODMW2/Rangers/pants.vmt" )
resource.AddFile( "materials/CODMW2/Rangers/pants.vmt" )
resource.AddFile( "materials/CODMW2/Rangers/pants.vtf" )
resource.AddFile( "materials/CODMW2/Rangers/pants_norm.vtf" )
resource.AddFile( "materials/CODMW2/Rangers/pockets_r.vmt" )
resource.AddFile( "materials/CODMW2/Rangers/pockets_r.vmt" )
resource.AddFile( "materials/CODMW2/Rangers/pockets_r.vtf" )
resource.AddFile( "materials/CODMW2/Rangers/pockets_r_norm.vtf" )
resource.AddFile( "materials/CODMW2/Rangers/pockets_s_exp.vtf" )
resource.AddFile( "materials/CODMW2/Rangers/pockets_s_norm.vtf" )
resource.AddFile( "materials/CODMW2/Rangers/pockets_s_r.vmt" )
resource.AddFile( "materials/CODMW2/Rangers/pockets_s_r.vmt" )
resource.AddFile( "materials/CODMW2/Rangers/pockets_s_r.vtf" )
resource.AddFile( "materials/CODMW2/Rangers/vest.vmt" )
resource.AddFile( "materials/CODMW2/Rangers/vest.vmt" )
resource.AddFile( "materials/CODMW2/Rangers/vest.vtf" )
resource.AddWorkshop( "150033892" )
resource.AddWorkshop( "119710063" )


those last two lines work it downloads and extracts the files from the workshop and it does that for everyone who joins but they still only show up as errors

you have the models but i dont see any texture files

also I think what your trying at the bottom there is to add from steam workshop
resource.AddWorkshop( string workshopid ) is what you need for that

would the workshop thing automatically make them download it? also where would the texture files be and what would I do with them cause I only got the lua folder the models folder and the materials folder

alright got the server to download the files but now in the pointshop it shows a picture of a big red error, so I setup resource to download all the model and material files, these aren’t bzipped by the way, how would I fix this? also was wanting to know how to change gamemodes in game whenever I do that through console/ulx it gives me script errors, in autoexec I have terrortown and in the gamemodes folder I have the gamemodes and when looking at the console it says for example changing gamemode to prop_hunt then it eventually says changing gamemode to terrortown without me doing that

.bzip all the files in your FastDL.

alright will try that later when I get back

Change



ITEM.Model = 'models/codmw2/codmw2.mdl'


to



ITEM.Model = 'models/CODMW2/CODMW2.mdl'


See if it works.

converted them all to bzip files and changed the path directory to the models and materials so its Models/CODMW2/etc and materials/CODMW2/Rangers/etc the model still shows up as an error but it is downloading, idk why but for some reason the models and materials are downloading everytime I log into the server not sure if they are supposed to do that but the maps only had to download once

If they do that, they are not really being downloaded. Can I have the URL to the FastDL?

https://dl.dropboxusercontent.com/u/222839483/gmod/

[editline]4th December 2013[/editline]

but its only downloading the mw2 files repeatedly the other models and materials I downloaded don’t do that they downloaded once and haven’t again same for maps just none of the models show up as the actual model

I got it to download and extract the files from the steam workshop for everybody I don’t understand how it still doesn’t show the models

Post your WorkshopDL file.

nevermind it looks like I got it working thanks for the help guys now I just need to figure out how to change gamemodes in game without getting lua errors