4 Errors In Scripting - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: 4 Errors In Scripting (
/showthread.php?tid=83475)
4 Errors In Scripting -
monster010 - 25.06.2009
I have some error in GM (the GF) I tried to see what is wrong, but we succeeded, iutati here gives me that error:
Код:
C:\Documents and Settings\Claudiu\Desktop\gf_ro2.4.5.pwn(1820) : error 001: expected token: "]", but found ":"
C:\Documents and Settings\Claudiu\Desktop\gf_ro2.4.5.pwn(1820) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Claudiu\Desktop\gf_ro2.4.5.pwn(1820) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Claudiu\Desktop\gf_ro2.4.5.pwn(1820) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
And here the line 1820
Код:
new retval[MAX_STRING], srclen;
Re: 4 Errors In Scripting -
Chaprnks - 25.06.2009
That line does not have a ":" so its not the correct error line, post a few lines before and after the code.
Re: 4 Errors In Scripting -
monster010 - 25.06.2009
How can I solve?
Re: 4 Errors In Scripting -
dice7 - 25.06.2009
Show the lines 1818, 1819, 1821 and 1822
Re: 4 Errors In Scripting -
monster010 - 25.06.2009
Код:
stock right(source[], len)
{
new retval[MAX_STRING], srclen;
srclen = strlen(source);