help here!
#1

i got this error, help!
Код:
C:\DOCUME~1\JTECHC~1\Desktop\NEWFOL~1\FILTER~1\IRC.pwn(30) : warning 201: redefinition of constant/macro (symbol "irccmd(%1,%2,%3)")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
the line
Код:
#define irccmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (irccmd_%1(conn,channel,user,"")))||(((%3)[(%2) + 1] == 32) && (irccmd_%1(conn,channel,user,(%3)[(%2) + 2]))))) return 1
Reply
#2

its because you already defined something with the same name given. why dont you change to #define irccmdd(%1.%2,%3)
Reply
#3

than it gives me this
Код:
C:\DOCUME~1\JTECHC~1\Desktop\irc.pwn(398) : error 029: invalid expression, assumed zero
C:\DOCUME~1\JTECHC~1\Desktop\irc.pwn(398) : error 035: argument type mismatch (argument 2)
C:\DOCUME~1\JTECHC~1\Desktop\irc.pwn(398) : error 029: invalid expression, assumed zero
C:\DOCUME~1\JTECHC~1\Desktop\irc.pwn(398) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Reply
#4

when i do
Код:
 include <irc>
in my script, i get this error but if i don't do,it compiles but it give me this
Код:
Loading filterscript 'IRC.amx'...
[18:36:52]    Error: Function not registered: 'ircConnect'
[18:36:52]    Error: Function not registered: 'ircSendRawData'
[18:36:52]    Error: Function not registered: 'ircPollEvents'
[18:36:52]    Error: Function not registered: 'ircJoinChan'
[18:36:52]    Error: Function not registered: 'ircSay'
[18:36:52]    Error: Function not registered: 'ircGetUserLevel
Код:
 sorry for double post
Reply
#5

IRC is not a include i believe can i see the lines?
Reply
#6

Lol it is an btw i have fixed the error's but still getting this
Код:
 Loading filterscript 'IRC.amx'...
[19:24:06]    Error: Function not registered: 'ircConnect'
[19:24:06]    Error: Function not registered: 'ircSendRawData'
[19:24:06]    Error: Function not registered: 'ircPollEvents'
[19:24:06]    Error: Function not registered: 'ircJoinChan'
[19:24:06]    Error: Function not registered: 'ircSay'
[19:24:06]    Error: Function not registered: 'ircGetUserLevel'
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)