Hello I wanted to know how to edit the jumppack on ttt pointshop so i can make it go higher and faster
this is the code right now
ITEM.Name = 'Jump Pack'
ITEM.Price = 15000
ITEM.Model = 'models/xqm/jetengine.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
help please, Thanks
Change the GetUp to * 15 and lower the gravity to 500 or so.
Sorry, you need to Log In to post a reply to this thread.