02.09.2012, 22:52
I need some help installing IRC
error:
NOTE: I added irc.so into the plugins, because the vps only accepts Linux servers, anyways.. how?
pawn Код:
#include <irc>
//============================================================================//
#define BOT_1_NICKNAME "SACNC1
#define BOT_1_REALNAME "SACNC21"
#define BOT_1_USERNAME "SACNC"
#define BOT_2_NICKNAME "SACNC2"
#define BOT_2_REALNAME "SACNC2"
#define BOT_2_USERNAME "SACNC"
#define IRC_SERVER "irc.sa-irc.com"
#define IRC_PORT (6667)
#define IRC_CHANNEL "#sacnc.echo"
#define MAX_BOTS (2)
#define PLUGIN_VERSION "1.4.3"
new botIDs[MAX_BOTS], groupID;
//=================================//
//IRC
enum
{
E_IRC_CONNECT_ATTEMPTS,
E_IRC_CONNECT_DELAY,
E_IRC_CONNECT_TIMEOUT,
E_IRC_RECEIVE_TIMEOUT
}
Код:
D:\SA-MP\[v0.1]SACNC [0.3e R2]\gamemodes\SACNC.pwn(8) : fatal error 100: cannot read from file: "irc" Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.