Setting jump power for certain groups?

Can someone help me out by telling me how I can set the jump power for certain groups. I would like this so then I could give the donators a bit of a boost.

Do you have pointshop? If so, the jump pack can do this. And editing the allowed groups will determine who can buy it



ITEM.Name = 'Jump Pack'

ITEM.Price = 1000

ITEM.Model = 'models/xqm/jetengine.mdl'

ITEM.Bone = 'ValveBiped.Bip01_Spine2'

ITEM.AllowedUserGroups = { "superadmin", "admin", "mod", "donator",}

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

--replacing the 6 in the following operation changes the power of the effect. Anything above 17 is too much though
		ply:SetVelocity(ply:GetUp() * 6)

	end

end


[editline]28th August 2013[/editline]

If you’d like to have several jump heights just make a duplicate item with a different name, GetUp multiplier, and user rights. Here is an alternate Client model to create a bigger engine… should make it easier to distinguish who is using what



function ITEM:ModifyClientsideModel(ply, model, pos, ang)
   model:SetModelScale(0.7, 0)
   pos = pos + (ang:Right() * 7) + (ang:Forward() * 6)
   
   return model, pos, ang
end


I was going to suggest this.