same line 4 error - 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: same line 4 error (
/showthread.php?tid=408298)
same line 4 error -
b0b - 17.01.2013
error
PHP код:
(2761) :error 001: expected token: "-string end-", but found "-identifier-"
(2761) : warning 215: expression has no effect
(2761) : error 001: expected token: ";", but found ")"
(2761) : error 029: invalid expression, assumed zero
(2761) : fatal error 107: too many error messages on one line
Line
PHP код:
printf( "kAutoUpdate: %d," ServeriAndmed[ kAutoUpdate ] );
Re: same line 4 error -
azzerking - 17.01.2013
Show use the line above, I'm pretty sure it might be that.
Re: same line 4 error -
b0b - 17.01.2013
PHP код:
#if defined ANDMETEDEBUG
2754 printf( "Narkogrupeering: %d", ServeriAndmed[ narkoGrupeering ] );
2755 printf( "Narkogrupeering2: %d", ServeriAndmed[ narkoGrupeering2 ] );
2756 printf( "Relvagrupeering: %d", ServeriAndmed[ relvaGrupeering ] );
2757 printf( "Relvagrupeering2: %d", ServeriAndmed[ relvaGrupeering2 ] );
2758printf( "Dropigrupeering: %d", ServeriAndmed[ dropiGrupeering ] );
2759 printf( "KiireidAutosid: %d", ServeriAndmed[ kiireidAutosi ] );
2760 printf( "hetkeTund: %d", ServeriAndmed[ hetkeTund ] );
2761 printf( "kAutoUpdate: %d," ServeriAndmed[ kAutoUpdate ] );
#endif
}
print( "[MySQL] Laeti serveri andmed." );
Re: same line 4 error -
azzerking - 17.01.2013
You put this:
pawn Код:
2761 printf( "kAutoUpdate: %d," ServeriAndmed[ kAutoUpdate ] );
you put the "," in the wrong place
try this:
pawn Код:
2761 printf( "kAutoUpdate: %d", ServeriAndmed[ kAutoUpdate ] );
Re: same line 4 error -
b0b - 17.01.2013
Not work
Re: same line 4 error -
azzerking - 17.01.2013
Show us the whole code for the area that has Print in it