block in_attack2
how would you block e.g the in_attack2 key on a client?
ive use prethink and: PHP Code:
|
Re: block in_attack2
do u want to block it for all weapons?
|
Re: block in_attack2
I would use FM_CmdStart instead of prethink.
But a better way would be to set to 9999.0 the offset m_flNextSecondaryAttack (47) when you deploy a weapon. ( Ham_Item_Deploy ) |
Re: block in_attack2
thank you
|
Re: block in_attack2
Quote:
edit: yep, works perfectly, I also needed this, thanks from me too :P PHP Code:
|
Re: block in_attack2
How about Ham_Weapon_SecondaryAttack?
|
Re: block in_attack2
It's less code, yeah, BUT... the animation still plays while you're holding down the button, in the other method, the attack it's just delayed for 9999 seconds, that means it will never happen :}
|
| All times are GMT -4. The time now is 01:34. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.