IRC problem
#1

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[]) 
Reply
#2

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

Can U Show Rest Of The Code.
Reply
#3

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);
??
Reply
#4

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
Reply
#5

thank it's worked
Reply
#6

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.
Reply
#7

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


Forum Jump:


Users browsing this thread: 1 Guest(s)