I'm trying to find the best method of how know if the player fired, catching the event on Ham's PrimaryAttack. It's like the M3: If the player is underwater, PrimaryAttack is called but doesn't fire a bullet bcoz the engine blocks the shotgun's attack when player is underwater.
I thought in this methods, hope someone can tell me another one better than mines:
1) Check if EF_MUZZLEFLASH is on player's pev_effect
2) Use a global bar, and store ammo amount on PrimaryAttack pre. Then in PrimaryAttack post check if current bullets are different from global variable's value.