Like this.
PHP Code:
#include <amxmodx>
#include <fakemeta>
public plugin_init()
{
register_plugin("Hugejump","1.0","DS_ToP_GunNeR")
register_forward(FM_CmdStart,"Forward_CmdStart")
}
public Forward_CmdStart(id, uc_handle, seed)
{
static Button, oldButton;
Button = get_uc(uc_handle, UC_Buttons);
oldButton = pev(id, pev_oldbuttons);
if(Button & IN_JUMP && !(oldButton & IN_JUMP) && pev(id,pev_flags) & FL_ONGROUND)
{
new Float: velocity[3];
velocity_by_aim(id, 800, velocity);
set_pev(id,pev_velocity,velocity);
}
}
__________________