SA-MP Forums Archive
Saving system - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Saving system (/showthread.php?tid=607576)



Saving system - Diabloa - 21.05.2016

I want the server to be automatically saved after closing samp-server.exe without needing to type gmx or /saveserver. I use YSI.


Re: Saving system - Stinged - 21.05.2016

You should never close samp-server.exe using the X button.
Always type in exit.


Re: Saving system - Dayrion - 21.05.2016

Check on OnPlayerDisconnect(playerid, reason) or OnGameModeExit().


Re: Saving system - Diabloa - 21.05.2016

Quote:
Originally Posted by Stinged
Посмотреть сообщение
You should never close samp-server.exe using the X button.
Always type in exit.
Alright, thanks but it takes like 5 minutes to shut down after typing exit in the console.