Advertisement
Guest User

Kleiner

a guest
Feb 21st, 2015
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. ITEM.Name = 'Kleiner'
  2. ITEM.Price = 250
  3. ITEM.Model = 'models/player/kleiner.mdl'
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement