this idea belongs to Combat arms coders .... its a thing called taper....
in a few words you DC yourself from the game for 10 or 30 seconds in with you can kill anyone else.....well not kill but just shoot anyone else in the room...2 hits in the head for example
when the 30 seconds are finished the game will retake its normal course with you alive since you were a statue during those 30 seconds that couldnt be killed but whith everyone else dying in the blink of an eye..........
.........This is my theory on your hack..............