Raised This Month: $ Target: $400
 0% 

How to 'hook' when player uses heavy attack with knife


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:54.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode