Again is needed help (Pls help me out) [IRC] - 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: Again is needed help (Pls help me out) [IRC] (
/showthread.php?tid=311991)
Again is needed help (Pls help me out) [IRC] -
trapped1 - 19.01.2012
So this is the errors: -->
Код:
error 017: undefined symbol "IRC_SetIntData"
error 025: function heading differs from prototype
error 025: function heading differs from prototype
warning 235: public function lacks forward declaration (symbol "IRC_OnConnectAttempt")
warning 235: public function lacks forward declaration
This lines -->
Код:
gBotID[0] = IRC_Connect(IRC_SERVER, IRC_PORT, BOT_1_NICKNAME, BOT_1_REALNAME, BOT_1_USERNAME);
IRC_SetIntData(gBotID[0], E_IRC_CONNECT_DELAY, 20);// this line
gGroupID = IRC_CreateGroup();
Код:
public IRC_OnConnect(botid, ip[], port) //this line
{
printf("*** IRC_OnConnect: Bot ID %d connected to %s:%d", botid, ip, port);
IRC_JoinChannel(botid, IRC_CHANNEL);
IRC_AddToGroup(gGroupID, botid);
return 1;
}
Код:
public IRC_OnDisconnect(botid, ip[], port, reason[])//this line
{
printf("*** IRC_OnDisconnect: Bot ID %d disconnected from %s:%d (%s)", botid, ip, port, reason);
IRC_RemoveFromGroup(gGroupID, botid);
return 1;
}
Код:
public IRC_OnConnectAttempt(botid, ip[], port)//this line
{
printf("*** IRC_OnConnectAttempt: Bot ID %d attempting to connect to %s:%d...", botid, ip, port);
return 1;
}
public IRC_OnConnectAttemptFail(botid, ip[], port, reason[])//this line
{
printf("*** IRC_OnConnectAttemptFail: Bot ID %d failed to connect to %s:%d (%s)", botid, ip, port, reason);
return 1;
}
Please help me out to fix.. First time with IRC....
Re: Again is needed help (Pls help me out) [IRC] -
trapped1 - 19.01.2012
Please some one.........
Re: Again is needed help (Pls help me out) [IRC] -
Vince - 19.01.2012
?