Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ITEM.Name = 'Model-Name'
- ITEM.Price = Price
- ITEM.Model = 'modelpath'
- 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement