Guest User

Untitled

a guest
Jan 28th, 2014
66
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ITEM.Name = 'Model-Name'
  2. ITEM.Price = Price
  3. ITEM.Model = 'modelpath'
  4.  
  5. function ITEM:OnEquip(ply, modifications)
  6. if not ply._OldModel then
  7. ply._OldModel = ply:GetModel()
  8. end
  9.  
  10. timer.Simple(1, function() ply:SetModel(self.Model) end)
  11. end
  12.  
  13. function ITEM:OnHolster(ply)
  14. if ply._OldModel then
  15. ply:SetModel(ply._OldModel)
  16. end
  17. end
  18.  
  19. function ITEM:PlayerSetModel(ply)
  20. ply:SetModel(self.Model)
  21. end
RAW Paste Data