error 037: invalid string (possibly non-terminated string) - 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: error 037: invalid string (possibly non-terminated string) (
/showthread.php?tid=352227)
error 037: invalid string (possibly non-terminated string) -
SnG.Scot_MisCuDI - 19.06.2012
Im using the IRC plugin / include and getting this random error ive never had before with this script..
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
Line 111:
pawn Code:
IRC_GroupSay(gGroupID, IRC_CHANNEL, joinMsg);
Whole code:
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;
}
Re: error 037: invalid string (possibly non-terminated string) -
zSuYaNw - 19.06.2012
Post the function "IRC_GroupSay".
Re: error 037: invalid string (possibly non-terminated string) -
SnG.Scot_MisCuDI - 19.06.2012
Its fixed already, ill give +rep anyway