Advertisement
Guest User

Pointshop Playermodels

a guest
May 27th, 2015
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.35 KB | None | 0 0
  1. function ITEM:OnEquip(ply, modifications)
  2.     if not ply._OldModel then
  3.         ply._OldModel = ply:GetModel()
  4.     end
  5.    
  6.     timer.Simple(2, function() ply:SetModel(self.Model) ply:SetupHands() end)
  7. end
  8.  
  9. function ITEM:OnHolster(ply)
  10.     if ply._OldModel then
  11.         ply:SetModel(ply._OldModel)
  12.     end
  13. end
  14.  
  15. function ITEM:PlayerSetModel(ply)
  16.     ply:SetModel(self.Model)
  17. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement