28.02.2014, 07:19
You're not setting the IsPlayerLoggedIn variable when the log in, only when they register. This once more proves the importance of debugging. If you'd debug your OnPlayerDisconnect you would've noticed that the value of the variable was 0.

