Texture assignement problem

I’ve done a P90 Re-texture for the default Css P90 model it works when I normally install it in the folder though if I put it in a addon folder it doesn’t work anymore.

Example if I put it in here:

garrysmod/capresources/materials/models/weapons/vmodels/smg_p90

It works but if i put it in here:

garrysmod/addons/capresources/materials/models/weapons/vmodels/smg_p90

It doesn’t. Both are identical the same files and I’ve tried a couple of things with the vmt and path but without luck.

Now my question is, is there a LUA code that can assign different texture to a model ? If so than i could simply place it somewhere else and make other vmt’s for it and than assign the model with those different vmt’s.

So yea does this exist or does anyone know how to fix this problem ? Thanks in advance, Boba Fett.