I have tried several times to add player-models into my TTT server, and it never worked. I also have seen that their is very little documentation that i can find on this topic. Most that i can find is outdated. Here is the code i am currently using:
[CODE]ITEM.Name = 'SlenderMan'
ITEM.Price = 4500
ITEM.Model = "models/slenderman/slenderman.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
end
function ITEM:OnHolster (ply)
if ply._OldModel then
ply:SetModel (ply._OldModel)
end
end
function ITEM:OnHolster(ply)
ply:SetModel (self.Model)
end•
[/CODE] I use this and put the models in the right location but it never even shows up in the point shop. Please tell me if this is the correct code. Thank you
You have an extra end and a random • at the end of your post.
[QUOTE=code_gs;50956027]You have an extra end and a random • at the end of your post.[/QUOTE] That is what is really causing it? Im not good with this stuff, so i wouldn't know.
It would cause an error.
Sorry, you need to Log In to post a reply to this thread.