When I hook Ham_Weapon_PrimaryAttack, it is called constantly when im firing pistols until i pull of the attack key. Every other weapon works fine, just the pistols.
If someone didn't understand - When I'm holding attack button when using a pistol, the hook is called every frame. It should be called only once, cause i activated weapon only once.
Could someone fix this ?
I did a workaround by sending client cmd "-attack;-attack" each time they fire a pistol. But its still firing that function every frame when someone is holding attack button when using a pistol.
__________________