Issue with IRC plugin, doesn't post that the server is booting up - 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: Issue with IRC plugin, doesn't post that the server is booting up (
/showthread.php?tid=614521)
Issue with IRC plugin, doesn't post that the server is booting up -
justjamie - 09.08.2016
Hello.
I have this on my OnGameModeInit:
PHP код:
SetTimer("sendServerUp",2000,0);
/* ============================================================================= */
forward sendServerUp();
public sendServerUp()
{
IRC_GroupSay(Group, "#status", "The server has successfully booted.");
return 1;
}
/* ============================================================================= */
but it doesnt say anything.
When i use this in OnGameModeExit:
PHP код:
IRC_GroupSay(Group, "#status", "The server has succesfully shutdown.");
that does work.
Why doesn't it work on my ongamemodeinit?
EDIT:
increased the timer now it does work, weird.
so FIXED