• [TTT] Pointshop Wings
    1 replies, posted
When I add in Wings, it shows it as if it's under the waist and not on the playermodels back, happens to every playermodel this is my lua file for the wings. ITEM.Name = 'Wings Spread' ITEM.Price = 15000 ITEM.Model = 'models/wings/wings_spread.mdl' ITEM.Bone = 'ValveBiped.Bip01_Spine2' 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.5, 0) pos = pos + (ang:Right() * 7) + (ang:Forward() * 6) return model, pos, ang end function ITEM:Think(ply, modifications) if ply:KeyDown(IN_JUMP) then ply:SetVelocity(ply:GetUp() * 6) end end[
[QUOTE] pos = pos + (ang:Right() * 7) + (ang:Forward() * 6)[/QUOTE] Do some changing to this part of the code. This is what shifts it over.
Sorry, you need to Log In to post a reply to this thread.