Problem with adding a player model TTT

Hi… so I have problem with player models. When I manually copy it to the (server) gamemode/terrortown/content… and then (game) gamemode/terrortown/content… it works for me when I join to sever. When join my friend he is downloading models but it dont work for him he has an error. And he was checked his download files and he found my stuff here. So its not problem with downloading. I was added to the pointshop some guns and it works for me and for him… it cant must be manually coppied in my gamemode/terrotown/content… So models and materials are coppied in (server) garrysmod/addons then garrysmod/models and then garrysmod/materials and also in garrysmod/gamemode

here is my lua file of playermodel of cource in /autorun/server

if (SERVER) then
player_manager.AddValidModel( “Jinx”, “models/player/player_jinx.mdl.” )
player_manager.AddValidHands( “Jinx”, “models/player/jinx_arms.mdl.”, 0, “00000000” )

list.Set( “PlayerOptionsModel”, “Jinx”, “models/player/player_jinx.mdl.” )

if (SERVER) then
resource.AddFile( “/materials/models/playerjinx/jinx_base_mat.vmt” );

resource.AddFile( “models/player/player_jinx.mdl” );
resource.AddFile( “models/player/jinx_arms.mdl” );

Move the file to lua/autorun/


player_manager.AddValidModel( "Jinx", "models/player/player_jinx.mdl." )
player_manager.AddValidHands( "Jinx", "models/player/jinx_arms.mdl.", 0, "00000000" )

if ( SERVER ) then
resource.AddFile( "materials/models/playerjinx/jinx_base_mat.vmt" )

resource.AddFile( "models/player/player_jinx.mdl" )
resource.AddFile( "models/player/jinx_arms.mdl" )

Now, if you DO NOT have a FastDL set up, it should work. If you do, you must put those models on your FastDL server too.

ok thx I go try… and I have files at fastdl server

Ask your friend to paste his console log after he joins your server and sees missing models.

oh btw Its another lua file that you wrote? or I must delete lua at autorun/server?

Delete old one.

[editline]6th June 2014[/editline]

And do what I said in previous post.

MDLCache: Player_jinx.mdl neds to be recompiled

And the model doesn’t work? Post full console log.

I see model like purple/black chess but its a new error… yesterday was all right

In your old file you had a broken path to the material, in the new one i fixed it. Make sure you add all the .vmts.

all the vmts are added… this is my lua in pointshop

ITEM.Name = ‘Jinx’
ITEM.Price = 20000
ITEM.Model = ‘models/player/player_jinx.mdl’

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

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


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

function ITEM:PlayerSetModel(ply)

[editline]6th June 2014[/editline]

[editline]6th June 2014[/editline]

[editline]6th June 2014[/editline]

now I see the model right… but console still show MDLCache: Player_jinx.mdl neds to be recompiled