How can I catch occasion, when player has disconnected the game?

if you check my AH question

i found the first event called when quit its on ThirdCharacter->Unpossesed the next its EndViewTarget

i save successful here the playerstate before engine destroy all.

i don’t known if its the best place, but works on both