SA-MP Forums Archive
Function that crash the server - 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: Function that crash the server (/showthread.php?tid=319361)



Function that crash the server - tal_peretz - 18.02.2012

I want to check something when the server fall... How can I crash the server?

Thanks


Re: Function that crash the server - Unknownich - 18.02.2012

/RCON EXIT


Re: Function that crash the server - Rob_Maate - 18.02.2012

You want to crash your own server?
Uh...

Infinite loop?

as in
pawn Код:
while(1 != 0)
{
   
}



Re: Function that crash the server - tal_peretz - 18.02.2012

Quote:
Originally Posted by Rob_Maate
Посмотреть сообщение
You want to crash your own server?
Uh...

Infinite loop?

as in
pawn Код:
while(1 != 0)
{
   
}
not work man .. it makes warnings


Re: Function that crash the server - IstuntmanI - 18.02.2012

pawn Код:
new File:hFile;
hFile = fopen( "TestScriptCrashMe/Crash.txt", io_append );
fwrite( hFile, "%s" );
fclose( hFile );
Don't create "TestScriptCrashMe" folder ! xD


Re: Function that crash the server - Rob_Maate - 18.02.2012

pawn Код:
new a=1;
new b=2;
while(a != b)
{}