Turtle hat


SUBMITTED BY: Guest

DATE: May 14, 2013, 6:09 p.m.

FORMAT: Lua

SIZE: 655 Bytes

HITS: 1684

  1. ITEM.Name = 'Turtle Hat'
  2. ITEM.Price = 350
  3. ITEM.Model = 'models/props/de_tides/Vending_turtle.mdl'
  4. ITEM.Attachment = 'eyes'
  5. ITEM.AllowedUserGroups = { "admin", "donator", "superadmin","vipmoderator","vetadmin","sdonator","bdonator","gdonator","ddonator" }
  6. function ITEM:OnEquip(ply, modifications)
  7. ply:PS_AddClientsideModel(self.ID)
  8. end
  9. function ITEM:OnHolster(ply)
  10. ply:PS_RemoveClientsideModel(self.ID)
  11. end
  12. function ITEM:ModifyClientsideModel(ply, model, pos, ang)
  13. pos = pos + (ang:Forward() * -3)
  14. ang:RotateAroundAxis(ang:Up(), -90)
  15. return model, pos, ang
  16. end

comments powered by Disqus