23.05.2015, 11:19
Code:
Error:
Код:
format(query,sizeof(query),"SELECT * FROM factions WHERE ID = '%d') ",pInfo[playerid][Faction]); mysql_function_query(Connection,query,false,"FactionInfo","i",playerid);
Код:
[14:23:53] [DEBUG] mysql_tquery - connection: 1, query: "SELECT * FROM factions WHERE ID = '38') ", callback: "FactionInfo", format: "i" [14:23:53] [DEBUG] CMySQLQuery::Execute[FactionInfo] - starting query execution [14:23:53] [ERROR] CMySQLQuery::Execute[FactionInfo] - (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 ')' at line 1 [14:23:53] [DEBUG] CMySQLQuery::Execute[FactionInfo] - error will be triggered in OnQueryError