SA-MP Forums Archive
IRC problem - 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 problem (/showthread.php?tid=618387)



IRC problem - rezqi07 - 05.10.2016

PHP код:
C:\Users\Rezqi07\Downloads\WORLD WAR III (build 5)\filterscripts\irc.pwn(317) : warning 235: public function lacks forward declaration (symbol "IRC_OnUserRequestCTCP")
C:\Users\Rezqi07\Downloads\WORLD WAR III (build 5)\filterscripts\irc.pwn(323) : error 017undefined symbol "IRC_ReplyCTCP"
C:\Users\Rezqi07\Downloads\WORLD WAR III (build 5)\filterscripts\irc.pwn(328) : warning 235: public function lacks forward declaration (symbol "IRC_OnUserReplyCTCP"
here is the line
317
PHP код:
public IRC_OnUserRequestCTCP(botiduser[], host[], message[]) 
323
PHP код:
IRC_ReplyCTCP(botiduser"VERSION SA-MP IRC Plugin v" #PLUGIN_VERSION ""); 
328
PHP код:
public IRC_OnUserReplyCTCP(botiduser[], host[], message[]) 



Re: IRC problem - Speaker - 05.10.2016

Код:
forward IRC_OnUserReplyCTCP(playerid);
forward IRC_OnUserRequestCTCP(playerid);
Above It Put To Fix The Warning

Can U Show Rest Of The Code.


Re: IRC problem - rezqi07 - 05.10.2016

Above This public IRC_OnUserReplyCTCP(botid, user[], host[], message[])
put this forward IRC_OnUserReplyCTCP(playerid);
and above this public IRC_OnUserRequestCTCP(botid, user[], host[], message[])
put this forward IRC_OnUserRequestCTCP(playerid);
??


Re: IRC problem - Speaker - 05.10.2016

Quote:
Originally Posted by rezqi07
Посмотреть сообщение
Above This public IRC_OnUserReplyCTCP(botid, user[], host[], message[])
put this forward IRC_OnUserReplyCTCP(playerid);
and above this public IRC_OnUserRequestCTCP(botid, user[], host[], message[])
put this forward IRC_OnUserRequestCTCP(playerid);
??
Yes put it above as i said above


Re: IRC problem - rezqi07 - 05.10.2016

thank it's worked


Re: IRC problem - Speaker - 05.10.2016

Quote:
Originally Posted by rezqi07
Посмотреть сообщение
thank it's worked
Your Welcome

Is Your Error Of Undefined Symbol Also Get Fixed If No Then Rename Your Bots Name And If You Are Still Getting Error Then Compile With Latest sscanf2 include.


Re: IRC problem - iLearner - 05.10.2016

Its a self defined function from IRC include....