Need help when take weapon 500 speed goes 250
hello! i have vipmenu with speed what makes speed "500"
but when i take weapon the speed goes "250" Help please :) _____________________________________________ ______________________ { if( is_user_alive( id ) ) { client_print(id, print_chat, "[VIP]: You get speed!") set_user_maxspeed(id, 500.0); } } |
Re: Need help when take weapon 500 speed goes 250
Check sv_maxspeed
|
Re: Need help when take weapon 500 speed goes 250
Quote:
i want if i take weapon the speed not goes back 250.. |
Re: Need help when take weapon 500 speed goes 250
MaxSpeed is dependent on the weapon the client is using, so you need to reset it when the client changes weapons as well.
|
Re: Need help when take weapon 500 speed goes 250
Quote:
|
Re: Need help when take weapon 500 speed goes 250
1)Create a global array
Code:
new szPlayerSpeed[33]Code:
register_event("CurWeapon", "FixSpeed", "be", "1=1")Code:
public RoundStart()Code:
szPlayerSpeed[id] = true |
Re: Need help when take weapon 500 speed goes 250
Quote:
|
| All times are GMT -4. The time now is 21:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.