open.mp forum
[Pawn] How to save player accounts when the server crashes? - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Pawn Scripting (https://forum.open.mp/forumdisplay.php?fid=10)
--- Thread: [Pawn] How to save player accounts when the server crashes? (/showthread.php?tid=1579)



How to save player accounts when the server crashes? - Radical - 2021-01-22

Is there a way to save the account of all players when the server crashes and closes?

OnGameModeExit will not be called at this time.



Solved: Crashdetect include >> OnServerRuntime


RE: How to save player accounts when the server crashes? - RhaegarX - 2021-01-22

I think the only way to do that is to make periodic backups, which from time to time the server saves accounts just to prevent data loss in the event of a crash


RE: How to save player accounts when the server crashes? - Pinch - 2021-01-22

You can't