I have a problem with point-shop, I wanted the charple player model and all I get is an error.
Code:
[CODE]ITEM.Name = 'Mr. Charple'
ITEM.Price = 700
ITEM.Model = 'models/player/Charple01.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
function ITEM:PlayerSetModel(ply)
ply:SetModel(self.Model)
end[/CODE]
Error is that the playermodel is an error.
What's the error?
Oh its just that the player model is an error.
Wrong player model; it's just Charple.
models/player/corpse1.mdl
models/player/charple.mdl
Changed, taking a look.
[editline]8th March 2014[/editline]
Thanks! It works great!
Sorry, you need to Log In to post a reply to this thread.