set_user_maxspeed
how to set_user_maxspeed ?
set_user_maxspeed(index, Float:speed) i CurWeapon, get_pcvar_num(pcvarSpeed)) Thanks! :oops: |
Re: set_user_maxspeed
this was asked many time, you should learn to search more
|
Re: set_user_maxspeed
PHP Code:
|
Re: set_user_maxspeed
Quote:
Here it is: PHP Code:
|
Re: set_user_maxspeed
Can you give a little more info about Ham_Item_PreFrame and why you use the Ham_Player_ResetMaxSpeed define?
|
Re: set_user_maxspeed
|
Re: set_user_maxspeed
Quote:
But when ran on players it takes place exactly when speed is updated on player. So basically registering this as a forward on a player entity and as post. You have exactly the moment when the player speed changes and also you obtain the speed of the player. That is why I made the second name RESETMAXSPEED. |
Re: set_user_maxspeed
Would we still need to check if players are alive or not?
|
Re: set_user_maxspeed
Awesome, thanks guys
|
Re: set_user_maxspeed
From what I know. And seeing the Quim's code it isn't needed.
|
| All times are GMT -4. The time now is 21:56. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.