24.05.2015, 11:23
Code:
Error:
Код:
format(query,sizeof(query),"UPDATE players SET Faction = %d , FactionOwner = 1 WHERE Username = '%s'",fInfo[Factions][fIndex], CurrentFacOwner); mysql_function_query(Connection,query,false,"","");
Код:
[14:29:15] [DEBUG] mysql_tquery - connection: 1, query: "ptDATE players SET Faction = 52 , FactionOwner = 1 WHERE Usernam", callback: "(null)", format: "(null)" [14:29:15] [DEBUG] CMySQLResult::~CMySQLResult() - deconstructor called [14:29:15] [DEBUG] CMySQLQuery::Execute[] - starting query execution [14:29:15] [ERROR] CMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ptDATE players SET Faction = 52 , FactionOwner = 1 WHERE Username = 'busternr'' at line 1 [14:29:15] [DEBUG] CMySQLQuery::Execute[] - error will be triggered in OnQueryError