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?