Block player stopped when take damage.
Hi. How to block the stop when player take a damage?
I think about pev_maxspeed. |
Re: Block player stopped when take damage.
What do you mean? Do you want that when someone is taking a damage, he cannot stop? If he stop, he will automatically moving to somewhere?
|
Re: Block player stopped when take damage.
This called painshock free. See ZP code on Ham_TakeDamage POST forward, you will find it method.
|
Re: Block player stopped when take damage.
Quote:
|
Re: Block player stopped when take damage.
PHP Code:
|
Re: Block player stopped when take damage.
PHP Code:
|
Re: Block player stopped when take damage.
Quote:
|
Re: Block player stopped when take damage.
Quote:
|
Re: Block player stopped when take damage.
Then setting m_flPainShock offset to 0 is the best way to do it.
|
Re: Block player stopped when take damage.
I do it with set_pdata_float(id, m_flVelocityModifier, 1.0);
|
All times are GMT -4. The time now is 13:22. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.