[TFC] Hamsandwich hook - Ham_Weapon_PrimaryAttack
Hey guys;
Why is it that when i hook Ham_Weapon_PrimaryAttack that i gets called each frame? According to the source code the primary attack should ONLY trigger once the weapon is inattack AND the cooldown is waited out. So why would it trigger? The hook is done in TFC RegisterHam(Ham_Weapon_PrimaryAttack,"tf_weap on_rpg,"myFunc") that function would ge called way too many times. Is the function memory location bugged or am i misunderstanding something? Have a nice day ;) |
| All times are GMT -4. The time now is 14:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.