SA-MP Forums Archive
CMD To crash my server. (restart) - 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: CMD To crash my server. (restart) (/showthread.php?tid=323552)



CMD To crash my server. (restart) - andrew2695 - 06.03.2012

I was looking for a command to crash my server. Instead of going to the website and restarting it i just want to crash it from in-game and have my host auto-restart the whole server. GMX is only restarting the game mode. Any ideas


Re: CMD To crash my server. (restart) - Ballu Miaa - 06.03.2012

You want to close the server or just restart it? What hoster you're using?


Re: CMD To crash my server. (restart) - andrew2695 - 06.03.2012

I can restart the server via the host. But I want to make it restart from in-game (the server and not the gamemode, /rcon gmx). Any idea?


Re: CMD To crash my server. (restart) - Ballu Miaa - 06.03.2012

Quote:
Originally Posted by andrew2695
Посмотреть сообщение
I can restart the server via the host. But I want to make it restart from in-game (the server and not the gamemode, /rcon gmx). Any idea?
You can only restart your game mode by entering a command InGame! If you want to restart the host then you can use this if you dont want to login to your host every time!

https://sampforum.blast.hk/showthread.php?pid=1298638#pid1298638


Re: CMD To crash my server. (restart) - andrew2695 - 06.03.2012

But in this tool there is the option GMX wich only restart the gamemode...


Re: CMD To crash my server. (restart) - Ballu Miaa - 06.03.2012

Quote:
Originally Posted by andrew2695
Посмотреть сообщение
But in this tool there is the option GMX wich only restart the gamemode...
Uhh My bad! You can only restart your Host by logging to your host and Restarting from their!

Else you need to code a program for you to do that which will connect to the Server.


Re: CMD To crash my server. (restart) - andrew2695 - 06.03.2012

Well thx anyway, nite!


Re: CMD To crash my server. (restart) - Ballu Miaa - 06.03.2012

Quote:
Originally Posted by andrew2695
Посмотреть сообщение
Well thx anyway, nite!
All good mate. Nite! Peace