error 001: expected token: ",", but found ";"
#1

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]));
Reply
#2

Nevermind the problem is fixed, I accidentally looked at the wrong line and provided the wrong code.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)