*EDIT* Fixed my issue
I have been trying to get some wings to work on my sevrers pointshop but i know little about coding and what not. This is the code i an using.
ITEM.Name = 'Wings Spread'
ITEM.Price = 15000
ITEM.Model = 'models/sinful/angel_wings.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(1, 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() * 0)
end
end
The wings show up and are around the right area but they are sideways.
(Picture to show what i mean)
[url]http://i.imgur.com/fHQhWLE.png[/url]
Any help with this would be greatly appreciated.
I don't have experience with pointshops but I believe it would help if you posted which addon you are using.
The addon being used is: [url]http://steamcommunity.com/sharedfiles/filedetails/?id=320418292[/url]
I mean the pointshop addon
[editline]14th February 2016[/editline]
Also wrong category, you shouldve posted this in developer discussion
[QUOTE=Kevlar4502;49740171]I mean the pointshop addon
[editline]14th February 2016[/editline]
Also wrong category, you shouldve posted this in developer discussion[/QUOTE]
Bruh there are pretty much 2 pointshops - Pointshop and Pointshop 2. It's pretty obvious he's referring to [URL="https://facepunch.com/showthread.php?t=1228438"]this one[/URL]
As Jason said, im using pointshop (The one he linked)
Sorry, you need to Log In to post a reply to this thread.