Black Ops III

IsPlayerFiring

Returns 1 if the player is currently firing

Example:

if(ent IsDead())