if((cmd->buttons & IN_JUMP) && !(umsg.pFlags & FL_ONGROUND))
{
oEngfuncs.Cvar_SetValue("cl_pitchspeed", 10000.0f);
oEngfuncs.Cvar_SetValue("cl_pitchdown", 75.0f);
oEngfuncs.pfnClientCmd("+lookdown; wait; +jump; +duck; wait; -jump; -lookdown; -duck");
oEngfuncs.Cvar_SetValue("cl_pitchspeed", 150.0f);
oEngfuncs.Cvar_SetValue("cl_pitchdown", 89.0f);
}
// Rocketjump Alias
// This one is usefull for most things like jump across obsticles, etc
alias rjump "cl_pitchspeed 9999; +lookdown; wait; wait; +jump; +attack; wait; wait; -attack; -jump; cl_pitchspeed 150; -lookdown; force_centerview"
// Higier rocket Jump
// This one is more for jumping higher than forwards
alias +hrj "cl_pitchspeed 10000; cl_pitchdown 75; +lookdown; wait; +jump; +attack; +duck; wait; -attack; -jump; -lookdown; cl_pitchspeed 150; cl_pitchdown 89; force_centerview"
alias -hrj "-duck"
//Binds, change binds to your own choice.
bind kp_ins "rjump"
bind kp_end "+hrj"