Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ITEM.Name = 'Sonic Head'
- ITEM.Price = 50000
- ITEM.Model = 'models/apocmodels/sonicgenerations/1up.mdl'
- ITEM.Attachment = 'eyes'
- function ITEM:OnEquip(ply, modifications)
- ply:PS_AddClientsideModel(self.ID)
- end
- function ITEM:OnHolster(ply)
- ply:PS_RemoveClientsideModel(self.ID)
- end
- function ITEM:ModifyClientsideModel(ply, model, pos, ang)
- model:SetModelScale(0.925)
- pos = pos + (ang:Forward() * -5.937) + (ang:Right() * 0.599) + (ang:Up() * 1.829)
- ang:RotateAroundAxis(ang:Forward(), -5.642) + ang:RotateAroundAxis(ang:Right(), 43.491) + ang:RotateAroundAxis(ang:Up(), -5.328)
- return model, pos, ang
- end
Advertisement
Add Comment
Please, Sign In to add comment