I am trying to get some of the half life 2 player models to work on my server, I have them loaded on it but they wont animate.
I was told having a lua file with this should be enough:
ITEM.Name = 'Alyx'
ITEM.Price = 375
ITEM.Model = 'models/alyx.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
What did i do wrong?
[highlight](User was banned for this post ("wrong section, didn't read the sticky" - postal))[/highlight]
[IMG]http://i.imgur.com/GoX7oLT.jpg[/IMG]
it didnt work, the player model is stuck like this and it wont animate
Sorry, you need to Log In to post a reply to this thread.