IRC bots reconnecting / GMX Question - 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: IRC bots reconnecting / GMX Question (
/showthread.php?tid=602486)
IRC bots reconnecting / GMX Question -
AroseKhanNiazi - 07.03.2016
So basically, I want to know how to stop bots from reconnecting the IRC server on 'gmx'

. I know it's better to reconnect them but I just want to know how is that done? Adding bots under filter script? Would this work?
Other Question is when we send gmx command does it reload the filter script? Or just goes through OnPlayerDisconnect and OnPlayerConnect again?
Re: IRC bots reconnecting / GMX Question -
itsCody - 07.03.2016
The connection of the bots all happen under OnGameModeInit or OnFilterScriptInit.
Re: IRC bots reconnecting / GMX Question -
AroseKhanNiazi - 07.03.2016
I'm asking how to keep them connected, while the server restarts with gmx command.
Re: IRC bots reconnecting / GMX Question -
ctopha - 08.03.2016
Since that these bots are in a filter script it wont be avaliable to be restarted, if u tried to put it in the whole gamemode it will allow the bots to be restarted
Re: IRC bots reconnecting / GMX Question -
itsCody - 08.03.2016
I wouldn't recommend keeping the bots connected, could cause issues.
Re: IRC bots reconnecting / GMX Question -
AroseKhanNiazi - 08.03.2016
Quote:
Originally Posted by itsCody
I wouldn't recommend keeping the bots connected, could cause issues.
|
I already wrote that I know this.
I'm just asking that if I add bots in A FS? Would they reconnect on GMX?
Re: IRC bots reconnecting / GMX Question -
itsCody - 08.03.2016
Quote:
Originally Posted by AroseKhanNiazi
I already wrote that I know this.
I'm just asking that if I add bots in A FS? Would they reconnect on GMX?
|
Yes.
Re: IRC bots reconnecting / GMX Question -
AroseKhanNiazi - 08.03.2016
Ah okay thanks