15.04.2013, 13:03
You can't save on a crash.
But instead of putting that code in OnGameModeExit put it in OnPlayerDisconnect, since players disconnect before OnGameModeExit is called (IIRC). This will save player data when the server is closed, not crashed.
But instead of putting that code in OnGameModeExit put it in OnPlayerDisconnect, since players disconnect before OnGameModeExit is called (IIRC). This will save player data when the server is closed, not crashed.