SA-MP Forums Archive
IRCCMD error help please - 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: IRCCMD error help please (/showthread.php?tid=656131)



IRCCMD error help please - Filbert - 08.07.2018

I have this command
PHP код:
IRCCMD:cc(botidchannel[], user[], host[], params[])
{
    if(
IRC_IsHalfop(botidchanneluser))
    {
        for(new 
011i++) SendClientMessageToAll(green," "); return 1;
     } else return 
IRC_GroupSay(GroupIDchannel"4ERROR: You need to be HalfOp to use this command");
}
IRCCMD:cac(botidchannel[], user[], host[], params[])
{
    if(
IRC_IsHalfop(botidchanneluser))
    {
        for(new 
0100i++) SendClientMessageToAll(green," "); return 1;
     } else return 
IRC_GroupSay(GroupIDchannel"4ERROR: You need to be HalfOp to use this command");

I have no errors when I compile the script, but when I start the server
Код:
*** IRC_Connect: Expecting 8 parameter(s), but found 7
*** IRC_Connect: Expecting 8 parameter(s), but found 7
*** IRC_Connect: Expecting 8 parameter(s), but found 7
*** IRC_Connect: Expecting 8 parameter(s), but found 7
EDIT: When I remove those commands, the server and IRC run well


Re: IRCCMD error help please - Filbert - 08.07.2018

BUMP
Please help me, REP+ for that