SA-MP Forums Archive
Server always on.. - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Server always on.. (/showthread.php?tid=239008)



Server always on.. - sciman001 - 12.03.2011

Is there a way to create a batch (.bat) file that will check if sa-mp server.exe is running and if not, start it? THANKS!!!


Re: Server always on.. - Davz*|*Criss - 12.03.2011

Yes there is a way to do like that, try viewing .bat tutorials on ******* on how to make a program using notepad something like that.

Hope u get some help from there like in notepad .bat code start sampserver.exe,pause etc.

Thnx


Re: Server always on.. - sciman001 - 12.03.2011

i wonder if i can check if a program is open. ill check it out. if u no how... could u help? THANKZ!


Re: Server always on.. - sciman001 - 12.03.2011

figuredit out.