Advertisement
SSN-ATomIC

Untitled

Oct 20th, 2014
282
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. ITEM.Name = 'Afro'
  2. ITEM.Price = 200
  3. ITEM.Model = 'models/dav0r/hoverball.mdl'
  4. ITEM.Attachment = 'eyes'
  5.  
  6. function ITEM:OnEquip(ply, modifications)
  7. ply:PS_AddClientsideModel(self.ID)
  8. end
  9.  
  10. function ITEM:OnHolster(ply)
  11. ply:PS_RemoveClientsideModel(self.ID)
  12. end
  13.  
  14. function ITEM:ModifyClientsideModel(ply, model, pos, ang)
  15. model:SetModelScale(1.6, 0)
  16. model:SetMaterial('models/weapons/v_stunbaton/w_shaft01a')
  17. pos = pos + (ang:Forward() * -7) + (ang:Up() * 8)
  18. ang:RotateAroundAxis(ang:Right(), 90)
  19.  
  20. return model, pos, ang
  21. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement