19.03.2017, 12:28
(
Последний раз редактировалось Sibuscus; 25.03.2017 в 08:20.
)
Everytime I use these [mysql_format & mysql_tquery]:
I get warning 213: tag mismatch.
My enum is:

Should I use format instead of mysql_format
Even when I use just mysql_tquery(g_Sql, query) instead of mysql_tquery(g_Sql, query, "", "") I still get warnings, and they ar e annoying. I want to get rid of them
Код:
mysql_format(g_Sql, query, sizeof(query), "UPDATE `accounts` SET `Cash` = '%i' WHERE `ID` = '%i'", PlayerInfo[playerid][Cash], PlayerInfo[playerid][ID]); mysql_tquery(g_Sql, query, "", "");
My enum is:
Код:
ID,
Name[MAX_PLAYER_NAME],
Password[129],
Salt[11],
IP[16],
Level,
Admin,
Cash,
Kills,
Deaths,
Float:PosX,
Float:PosY,
Float:PosZ,
Float:PosA,
Warnings,
isBanned,

Should I use format instead of mysql_format
Even when I use just mysql_tquery(g_Sql, query) instead of mysql_tquery(g_Sql, query, "", "") I still get warnings, and they ar e annoying. I want to get rid of them
SOLVED BY X337
and kindda by TitanX at the beginning, but I was too dumb to check the case sensitivity


