How to change players' speed?
At first I used "set_user_maxspeed", of cource it doesn't work. Then I searched and used "CurWeapon", but the players even cannot move.
So how to change players movement speed? Please give me an example :oops: |
Re: How to change players' speed?
http://www.amxmodx.org/doc/index.htm...r_maxspeed.htm
+ block Ham_CS_Player_ResetMaxSpeed not to return to the default speed PHP Code:
|
Re: How to change players' speed?
What is it used for?
PHP Code:
PHP Code:
|
Re: How to change players' speed?
If the player have speed, it will return HAM_SUPERCEDE. If don't have, it will return HAM_IGNORED
You forgot to add this, Code:
Don't know if that code will work. Take a look at this https://forums.alliedmods.net/showpo...6&postcount=10 |
Re: How to change players' speed?
Quote:
PHP Code:
When g_iSpeed = true and you try g_iSpeed = !g_iSpeed, g_iSpeed will be false, false -> true true -> false PHP Code:
Example: PHP Code:
|
Re: How to change players' speed?
Thanks, it worked.
|
| All times are GMT -4. The time now is 13:22. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.