Totally block M4A1's secondary attack.
I've tryied to block it,but it sooo buggy, maybe someone can give a code that will block attack2 button(silence).
P.S. Tryied with cmd_start, animations playing pressing attack and attack2,and other bugs... :mrgreen: So can someone give perfect code of blocking attack2 of m4a1? |
Re: Totally block M4A1's secondary attack.
I don't think you can block the animations as they are client-side.
PHP Code:
PHP Code:
|
Re: Totally block M4A1's secondary attack.
I'm confused, I'll wait:wink:
|
Re: Totally block M4A1's secondary attack.
@Bugsy, using the offset, you should use Item_Deploy.
|
Re: Totally block M4A1's secondary attack.
Thanks ark
I had to add a hook on primary attack post because apparently using primary attack resets the offset value. Tested and working PHP Code:
|
Re: Totally block M4A1's secondary attack.
Thanks will try when I get back home
|
Re: Totally block M4A1's secondary attack.
Omg thats does nothing :))))))))))))))))
no effect, m4a1 still can silence |
Re: Totally block M4A1's secondary attack.
try set_pdata_float( iEnt , 48 , 9999.0 );
not sure about offset or Ham_Weapon_PrimaryAttack -> Ham_Weapon_SecondaryAttack, tshi will fix when you getting silencer and you again can attack |
Re: Totally block M4A1's secondary attack.
48 is m_flTimeWeaponIdle.
try : Code:
|
Re: Totally block M4A1's secondary attack.
okeyews
|
| All times are GMT -4. The time now is 14:02. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.