Quote:
Originally Posted by siriusmd99
register_forward(FM_CmdStart,"fwd_CmdStart")
public fwd_CmdStart(id, uc_handle, seed) {
if(!is_user_alive(id))
return FMRES_IGNORED;
new buttons = get_uc(uc_handle,UC_Buttons)
new oldbuttons = get_user_oldbutton(id);
if((buttons & IN_DUCK) && !(oldbuttons & IN_DUCK))
set_user_maxspeed(id,your_value)
}
|
Same problem, you cant get the desired speed value because when you are in duck it lowers the speed.
set_user_maxspeed is not a good way to do this. Any other ideas?