19.06.2012, 00:43
Im using the IRC plugin / include and getting this random error ive never had before with this script..
Line 111:
Whole code:
pawn Code:
C:\Users\-\Desktop\Server198\filterscripts\irc.pwn(111) : error 037: invalid string (possibly non-terminated string)
C:\Users\--\Desktop\Server198\filterscripts\irc.pwn(111) : warning 215: expression has no effect
C:\Users\-\Desktop\Server198\filterscripts\irc.pwn(111) : warning 215: expression has no effect
C:\Users\-----\Desktop\Server198\filterscripts\irc.pwn(111) : error 001: expected token: ";", but found ")"
C:\Users\-\Desktop\Server198\filterscripts\irc.pwn(111) : error 029: invalid expression, assumed zero
C:\Users\---\Desktop\Server198\filterscripts\irc.pwn(111) : fatal error 107: too many error messages on one line
pawn Code:
IRC_GroupSay(gGroupID, IRC_CHANNEL, joinMsg);
pawn Code:
public OnPlayerConnect(playerid)
{
new joinMsg[128], name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
format(joinMsg, sizeof(joinMsg), "02[%d] 03*** %s has joined the server.", playerid, name);
IRC_GroupSay(gGroupID, IRC_CHANNEL, joinMsg);
return 1;
}