Ctrl Alt Del

Options
Gvrv
Gvrv
Hello,

I made a list of all players ingame. When one player disconnects, I remove him from the list, but not if he quits "badly".

Is there a way to detect that the players has quit using the close window cross or with "ctrl alt del" ?

Thanks for reading !

Comments

  • Tobias
    Options
    PUN will keep a list of players, too. It's updated when someone leaves or after a timeout in case of "closing window".
    Implement OnPhotonPlayerDisconnected(PhotonPlayer otherPlayer){ ... }

    The enum PhotonNetworkingMessage lists all available callbacks and provides a bit of description for each. You might find some of these useful, too.
  • Gvrv
    Options
    Thanks allot ! It worked.