View Single Post
Author Message
impossible_cc
Senior Member
Join Date: Sep 2018
Location: Ukraine
Old 06-24-2019 , 16:46   How to 'hook' when player uses heavy attack with knife
Reply With Quote #1

csgo.
Is there any way to catch when player attacks heavily (right-click) with knife.
weapon_fire event triggers only for left-click attacks.

Also second question, is it possible to 'force' player to use heavy attack. I tried to modify that in OnPlayerRunCmd:

PHP Code:
buttons &= ~IN_ATTACK;
buttons &= IN_ATTACK2
but it doesnt work.
__________________

Last edited by impossible_cc; 06-24-2019 at 16:48.
impossible_cc is offline