Getting an error even that its right - 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: Getting an error even that its right (
/showthread.php?tid=260385)
Getting an error even that its right -
nuriel8833 - 08.06.2011
Hello
I get this error:
pawn Код:
error 001: expected token: ";", but found ")"
For this line:
pawn Код:
format(entry, 128, "Medics - Total: %d | Hour: %d | Day: %d | Week: %d | Month: %d",TeamKills[0],TeamKillsHour[0],TeamKillsDay[0],TeamKillsWeek[0],TeamKillsMonth[0]); fwrite(killsfile, entry);
Although the brackets are okay (I mean the "(" and ")" brackets),they are suppost to close the format.
Unfortunatly I still get this error,can someone tell me why?
Thanks