[HELP] Autosave when server crashes/shutdown.
#3

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.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)