Quote:
Originally Posted by safetymoose
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?
|
then try:
PHP Code:
public fwd_CmdStart(id, uc_handle, seed) {
if(!is_user_alive(id))
return FMRES_IGNORED;
new buttons = get_uc(uc_handle,UC_Buttons)
if(buttons & IN_DUCK)
set_user_maxspeed(id,your_value)
}