Code:
// Dependencies: Fakemeta & Hamsandwich.
stock ForcePlayerJump(id)
{
new Float:fVelocity[3];
pev(id, pev_velocity, fVelocity);
fVelocity[2] = random_float(265.0, 285.0);
set_pev(id, pev_velocity, fVelocity);
ExecuteHamB(Ham_Player_Jump, id);
}
1. Take more time to add a little description to your thread, i.e by telling what you tried so far and what you're trying to achieve.
2. Take more time searching instead of starting a new thread that was already asked and moreover answered.
3. If you are unsure how something goes then take a look at other plugins. I didn't know the exact velocity players gain when jumping so I viewed a plugin called "multijump" - and 90% of CS players know what this does (including you).