SA-MP Forums Archive
SendRconCommand - 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: SendRconCommand (/showthread.php?tid=460060)



SendRconCommand - Skribblez - 26.08.2013

Just a simple question that I need clarification on...

Does SendRconCommand("gmx"); call OnGameModeExit()?


Re: SendRconCommand - ProjectMan - 26.08.2013

Yes.


Re: SendRconCommand - Skribblez - 26.08.2013

Quote:
Originally Posted by ProjectMan
Посмотреть сообщение
Yes.
Thank you.


Re: SendRconCommand - ProjectMan - 26.08.2013

Quote:
Originally Posted by Skribblez
Посмотреть сообщение
Thank you.
It's no big deal. It's actually very easy to know. I'll tell you so that you might learn something new:

pawn Код:
public OnGameModeExit()
{
    print("exited");
    return 1;
}
Type "gmx" in the console and if it is printed out, it means it is called.


Re: SendRconCommand - Skribblez - 26.08.2013

Quote:
Originally Posted by ProjectMan
Посмотреть сообщение
It's no big deal. It's actually very easy to know. I'll tell you so that you might learn something new:

pawn Код:
public OnGameModeExit()
{
    print("exited");
    return 1;
}
Type "gmx" in the console and if it is printed out, it means it is called.
Good idea, should have thought of that before asking. I just wondered why my "mysql_log.txt" had duplicate logs for saving data. I guess I was worried about saving data if ever the server suddenly stops or crashes. Anyway, thanks again!