open.mp forum
[Pawn] OnServerCrashes callback? - 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] OnServerCrashes callback? (/showthread.php?tid=1307)



OnServerCrashes callback? - Turk - 2020-11-03

Hello, OnGameModeExit callback note says that: (This callback will NOT be called if the server crashes or the process is killed by other means?pressing the close-button on the Windows console.) So how can I detect when server is crashes or has been killed? Is there a callback like?OnGamemodeCrashes or smth like that?


RE: OnServerCrashes callback? - Pinch - 2020-11-03

Look at the mysql's logcore events..



How do you expect server to catches anything if it's process is forcefully interrupted?