SA-MP Forums Archive
fatal error 107: too many error messages on one line - 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: fatal error 107: too many error messages on one line (/showthread.php?tid=471336)



fatal error 107: too many error messages on one line - Xy6a6y6a - 22.10.2013

pawn Code:
if (strlen(PASSWORD) != 0){ format(sendcmd, sizeof(sendcmd), "password %s", PASSWORD); SendRconCommand(sendcmd),}
Something wrong....
Please help
pawn Code:
error 029: invalid expression, assumed zero
 error 001: expected token: ",", but found ";"
 error 029: invalid expression, assumed zero
 fatal error 107: too many error messages on one line



Re: fatal error 107: too many error messages on one line - Tagathron - 22.10.2013

if (strlen(PASSWORD) != 0){ format(sendcmd, sizeof(sendcmd), "password %s", PASSWORD); SendRconCommand(sendcmd);}
Try that,you got a period at end of the last function,instead of semicolon,


Re: fatal error 107: too many error messages on one line - Threshold - 22.10.2013

If you insist on putting this all on one line...:

pawn Code:
if(strlen(PASSWORD) != 0) { format(sendcmd, sizeof(sendcmd), "password %s", PASSWORD); SendRconCommand(sendcmd); }



Re: fatal error 107: too many error messages on one line - newbie scripter - 22.10.2013

pawn Code:
if (strlen(PASSWORD) != 0)
{
 format(sendcmd, sizeof(sendcmd), "password %s", PASSWORD);
 SendRconCommand(sendcmd);
}

This?

EDIT: Umm he is faster D:


Re: fatal error 107: too many error messages on one line - Xy6a6y6a - 22.10.2013

If i edit this... Almost every lane
error 010: invalid function or declaration

Edit: i cant remove this, i cant edit this, if i edit other lanes will be damaged.


Re: fatal error 107: too many error messages on one line - Xy6a6y6a - 22.10.2013

UP....


Re: fatal error 107: too many error messages on one line - Xy6a6y6a - 23.10.2013

Bump.