Ctrl Alt Del
Options
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 !
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 !
0
Comments
-
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.0 -
Thanks allot ! It worked.0