error 001: expected token: ",", but found ";" - 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: error 001: expected token: ",", but found ";" (
/showthread.php?tid=576783)
error 001: expected token: ",", but found ";" -
DarkLored - 06.06.2015
Hello, I have done a few changes with SQLite in my stats and i keep getting this error for some reason.
Here is the line code where the error pops up
pawn Код:
format(Query, sizeof(Query), "UPDATE users SET score = %d, admin = %d, vip = %d, kills = %d, deaths = %d WHERE username '%s'", User[playerid][USER_SCORE], User[playerid][USER_ADMIN], User[playerid][USER_VIP], User[playerid][USER_KILLS], User[playerid][USER_DEATHS], DB_Escape(User[playerid][USER_NAME]));
Re: error 001: expected token: ",", but found ";" -
DarkLored - 06.06.2015
Nevermind the problem is fixed, I accidentally looked at the wrong line and provided the wrong code.