It is rather un-immersive and weird to see a character shouting something while they are dead.
For instance, someone gets shot and shouts "Sniper! Sniper" even after the character model has died. Can it be coded so that the voice line would cut the moment they die?