Raised This Month: $ Target: $400
 0% 

Speed in duck


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
safetymoose
Senior Member
Join Date: Feb 2015
Old 01-09-2016 , 10:52   Re: Speed in duck
Reply With Quote #6

Quote:
Originally Posted by siriusmd99 View Post
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?
safetymoose is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:30.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode