bot switcher - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: bot switcher (
/showthread.php?tid=109709)
bot switcher -
[HKS]dlegend - 21.11.2009
this is wat i got from sneakys irc and tried to change it to playerxs irc script and failing
it doesent change the bots it stop them workin altogether any ideas thanks
Код:
ublic IrcSay(Message[]) return IRC_GroupSay(BotSwitcher(), GroupID[1], Message);
stock BotSwitcher()
{
#if defined IRC_AMOUNT
{
switch(GroupID[1])
{
case 0:
{
ConnE = EchoConnection[0];
GroupID[1] = 0;
}
}
}
#endif
#if defined IRC_AMOUNT2
{
switch(GroupID[1])
{
case 0:
{
ConnE = EchoConnection[0];
GroupID[1] = 1;
}
case 1:
{
ConnE = EchoConnection[1];
GroupID[1] = 0;
}
}
}
#endif
return ConnE;
}