Detecting attack2 with c4
Is there some reason why Ham_Weapon_SecondaryAttack isn't called with weapon_c4? Since I think it isn't possible to do with that, I were hoping there would be a better way than checking players current weapon and buttons in cmdstart.
|
Re: Detecting attack2 with c4
Because there is not a secondary attack for this weapon.
|
Re: Detecting attack2 with c4
Quote:
|
Re: Detecting attack2 with c4
It does matter, it means that in the code for the C4 weapon, there is not secondary attack. Edit :
Code:
CC4::Deploy(void) Code:
CHEGrenade::.ShieldSecondaryFire(int,int) |
Re: Detecting attack2 with c4
Maybe this function exists for nade so ShieldSecondaryFire can be called then.
|
Re: Detecting attack2 with c4
Just to complete the 2 others nades for information.
Code:
CFlashbang::.ShieldSecondaryFire(int,int) Code:
CSmokeGrenade::.ShieldSecondaryFire(int,int) |
Re: Detecting attack2 with c4
Ye, thanks ark.
|
| All times are GMT -4. The time now is 18:31. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.