Advertisement
Guest User

Untitled

a guest
Jan 28th, 2014
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement