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



IRC echo errors - JEkvall95 - 06.08.2012

Код:
C:\Users\Julius\Documents\Grand Theft Auto Servers\San Andreas\samp03e_svr_win32.zip\gamemodes\grandlarc.pwn(67) : error 009: invalid array size (negative, zero or out of bounds)
C:\Users\Julius\Documents\Grand Theft Auto Servers\San Andreas\samp03e_svr_win32.zip\gamemodes\grandlarc.pwn(142) : error 017: undefined symbol "IRC_CHANNEL"
Line 142 what should I change here?

pawn Код:
IRC_GroupSay(gGroupID, IRC_CHANNEL, joinMsg); //joing the player to the channel that we defined!
and line 67
pawn Код:
new gBotID[MAX_BOTS], gGroupID;
and these errors

Код:
C:\Users\Julius\Documents\Grand Theft Auto Servers\San Andreas\samp03e_svr_win32.zip\gamemodes\grandlarc.pwn(783) : error 017: undefined symbol "Again"
C:\Users\Julius\Documents\Grand Theft Auto Servers\San Andreas\samp03e_svr_win32.zip\gamemodes\grandlarc.pwn(783) : error 017: undefined symbol "creating"
C:\Users\Julius\Documents\Grand Theft Auto Servers\San Andreas\samp03e_svr_win32.zip\gamemodes\grandlarc.pwn(783) : error 017: undefined symbol "a"
C:\Users\Julius\Documents\Grand Theft Auto Servers\San Andreas\samp03e_svr_win32.zip\gamemodes\grandlarc.pwn(783) : fatal error 107: too many error messages on one line
what should I change?

pawn Код:
new name[MAX_PLAYER_NAME], ircMsg[256]; Again creating a local Variable for name!



Re: IRC echo errors - BlackBank - 06.08.2012

pawn Код:
new name[MAX_PLAYER_NAME], ircMsg[256]; //Again creating a local Variable for name!



Re: IRC echo errors - JEkvall95 - 06.08.2012

Quote:
Originally Posted by BlackBank3
Посмотреть сообщение
pawn Код:
new name[MAX_PLAYER_NAME], ircMsg[256]; //Again creating a local Variable for name!
Thanks that worked now I just have the errors as above line 142 and 67


Re: IRC echo errors - BlackBank - 06.08.2012

Quote:
Originally Posted by JEkvall95
Посмотреть сообщение
Thanks that worked now I just have the errors as above line 142 and 67
Add this above your script:
pawn Код:
#define IRC_CHANNEL "Your_IRC_Channel_Name"
#define MAX_BOTS 2