SA-MP Forums Archive
[FilterScript] Simple Rcon 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Simple Rcon Restart (/showthread.php?tid=447503)



Simple Rcon Restart - dEcooR - 30.06.2013

Rcon Restarting


Hello,i made some simple Rcon restarting where you can easily use /restart < seconds >,
the seconds are until server will restart

Screens:




Info:
You should use this includes ZCMD and sscanf for working fine..
And you have to be logged into rcon

Bugs known:
This is not so important bug, but in the file you will see the text in line and not below it..

Download:
PASTEBIN !


Re: Simple Rcon Restart - dEcooR - 30.06.2013

Anyone?


Re: Simple Rcon Restart - BodyBoardVEVO - 30.06.2013

not bad


Re: Simple Rcon Restart - dEcooR - 30.06.2013

ty bro


Re: Simple Rcon Restart - NoahF - 30.06.2013

Useful for ANY server.


Respuesta: Simple Rcon Restart - Matyaas - 01.07.2013

C:\Users\yessica\Desktop\Carpetas\WEAPON_SCROLL_MO D_2_0_BETA\Gran-Destruccion 2.0\filterscripts\admin.pwn(2401) : warning 213: tag mismatch
C:\Users\yessica\Desktop\Carpetas\WEAPON_SCROLL_MO D_2_0_BETA\Gran-Destruccion 2.0\filterscripts\admin.pwn(2402) : warning 213: tag mismatch
C:\Users\yessica\Desktop\Carpetas\WEAPON_SCROLL_MO D_2_0_BETA\Gran-Destruccion 2.0\filterscripts\admin.pwn(2403) : warning 213: tag mismatch

new Archivito:Reinicios = fopen(Archivo, io_write);
fwrite(Reinicios, rstring);
fclose(Reinicios); // ??


Re: Simple Rcon Restart - thejamesster13 - 01.07.2013

Simple but useful. Rep +


Re: Simple Rcon Restart - dEcooR - 01.07.2013

Matyas dont change this "File" to your name ..

try it

Code:
new File:Reinicios = fopen(Archivo, io_write);
fwrite(Reinicios, rstring);
fclose(Reinicios);