Irc help - 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 help (
/showthread.php?tid=503958)
Irc help -
Sergeant - 01.04.2014
Hey guys, I'll make this quck!
Output,
pawn Код:
error 035: argument type mismatch (argument 2)
In this part,
pawn Код:
public ircConn()
{
new string[128];
format(string, sizeof(string), "a%d", random(50));
EchoConnection = ircConnect(EchoServer, EchoPort, string);
return 1;
}
On this line,
pawn Код:
EchoConnection = ircConnect(EchoServer, EchoPort, string);
Many thanks in advance.
Re: Irc help -
luis_mendoza - 01.04.2014
pawn Код:
public ircConn()
{
new string[128];
format(string, sizeof(string), "a%d", random(50));
EchoConnection = ircConnect(EchoServer, EchoPort);
SendClientMessage(playerid, -1, string);
return 1;
}
May You Try this ?
Re: Irc help -
Sergeant - 01.04.2014
That did not work,
I'm get this error when the define is like,
#define EchoPort "6667"
but when I use it like this
#define EchoPort 6667, without the " ", i get no errors, but the bot won't join the mIRC #chan.
It works perfectly when I use other Irc scripts but I want to use this one, lul.