Raised This Month: $ Target: $400
 0% 

How to set delay for knife secondary attack (attack2) ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
SpeeDeeR
Veteran Member
Join Date: Mar 2010
Location: Bulgaria
Old 03-15-2013 , 14:27   Re: How to set delay for knife secondary attack (attack2) ?
Reply With Quote #2

Hook Ham_Weapon_SecondaryAttack to weapon_knife
Code:
#include <fakemeta>
#define	m_flNextSecondaryAttack			47
set_pdata_float(iEnt, m_flNextSecondaryAttack, 9999.9, 4);
9999.9 is the delay of the attack.
SpeeDeeR 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 21:40.


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