Efficent way to block secondary Attack of knife
Hey there,
I want to block the secondary Attack from the knife using this code by now : PHP Code:
PHP Code:
Is there any more efficent way to block stabbing? |
Re: Efficent way to block secondary Attack of knife
try this:
PHP Code:
|
Re: Efficent way to block secondary Attack of knife
Set m_flNextSecondaryAttack offset to get_gametime() + 9999.9
|
Re: Efficent way to block secondary Attack of knife
Quote:
Quote:
Quote:
|
Re: Efficent way to block secondary Attack of knife
Weapon_SecondaryAttack to stop animation and TraceAttack to stop the damage i think.
At least that's what I did to block the damage here. But the animation is never blocked in my code. If you can't block the animation maybe you can force idle. |
Re: Efficent way to block secondary Attack of knife
This will block stab and replace animation to idle.
You need New Hamsandwich module. PHP Code:
|
Re: Efficent way to block secondary Attack of knife
Thanks, working like a charm. :)
|
Re: Efficent way to block secondary Attack of knife
Try this:
PHP Code:
|
Re: Efficent way to block secondary Attack of knife
Quote:
https://forums.alliedmods.net/showpo...34&postcount=9 please.. Quote:
|
Re: Efficent way to block secondary Attack of knife
Quote:
PHP Code:
|
| All times are GMT -4. The time now is 10:06. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.