SA-MP Forums Archive
CTRL + C or "exit" to stop the server? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: CTRL + C or "exit" to stop the server? (/showthread.php?tid=572106)



CTRL + C or "exit" to stop the server? - Jimmy0wns - 25.04.2015

So this is something I've been wondering for a while now:
What is the difference between using CTRL + C and typing exit to stop the server, will any stats get lost with one of them or are there faults when doing one of them?


Re: CTRL + C or "exit" to stop the server? - Tamer - 25.04.2015

If you're saving the stats under OnPlayerDisconnect you must actually make the players disconnect. When you exit and close the console window it won't be called. You can call it by using gmx or changemode.


Re: CTRL + C or "exit" to stop the server? - Jimmy0wns - 25.04.2015

Quote:
Originally Posted by Tamer
Посмотреть сообщение
If you're saving the stats under OnPlayerDisconnect you must actually make the players disconnect. When you exit and close the console window it won't be called. You can call it by using gmx or changemode.
Alright, that sums up what I needed to know, thank you!


Re : CTRL + C or "exit" to stop the server? - davidpolak59 - 28.04.2015

CTRL+C doesn't call the OnGameMode Exit
The easiest way i've found to kill a samp server is by

Код:
killall samp03svr