Quote:
|
bcoz the engine blocks the shotgun's attack when player is underwater
|
Because there is simply a check at the start of PrimaryAttack(), which check pev_waterlevel.
Quote:
|
best method of how know if the player fired
|
All is depending your need (if you need to hook as pre/pôst). As post, see the tutorial by VEN about
catching shot event. The weapon event is call in PrimaryAttack() after the first checks. If you need to hook as pre, you would need to hook PrimaryAttack() and adding check with pev_waterlevel and m_iClip. It should be enough.
__________________