SA-MP Forums Archive
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 001expected token"-string end-"but found "-identifier-"
(2761) : warning 215expression has no effect
(2761) : error 001expected token";"but found ")"
(2761) : error 029invalid expressionassumed zero
(2761) : fatal error 107too many error messages on one line 
Line
PHP код:
printf"kAutoUpdate: %d," ServeriAndmedkAutoUpdate ] ); 



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"ServeriAndmednarkoGrupeering ] );
        
2755 printf"Narkogrupeering2: %d"ServeriAndmednarkoGrupeering2 ] );
        
2756 printf"Relvagrupeering: %d"ServeriAndmedrelvaGrupeering ] );
        
2757 printf"Relvagrupeering2: %d"ServeriAndmedrelvaGrupeering2 ] );
        
2758printf"Dropigrupeering: %d"ServeriAndmeddropiGrupeering ] );
        
2759 printf"KiireidAutosid: %d"ServeriAndmedkiireidAutosi ] );
        
2760 printf"hetkeTund: %d"ServeriAndmedhetkeTund ] );
        
2761 printf"kAutoUpdate: %d," ServeriAndmedkAutoUpdate ] );
        
#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