18.11.2015, 00:45
In a filterscript, I have the following code:
The mysql log shows:
The log shows everything is okay, however, it does not actually call the function ShowLoginScreen. The connection is in the same filterscript as the above code.
Код:
mysql_format(connection, query, sizeof(query), "SELECT * FROM `users` WHERE `name` = '%e'", GetName(playerid)); mysql_tquery(connection, query, "ShowLoginScreen", "d", playerid);
Код:
[03:41:08] [DEBUG] mysql_format - connection: 1, len: 256, format: "SELECT * FROM `users` WHERE `name` = '%e'" [03:41:08] [DEBUG] mysql_tquery - connection: 1, query: "SELECT * FROM `users` WHERE `name` = 'TakeiT'", callback: "ShowLoginScreen", format: "d" [03:41:08] [DEBUG] CMySQLQuery::Execute[ShowLoginScreen] - starting query execution [03:41:08] [DEBUG] CMySQLQuery::Execute[ShowLoginScreen] - query was successfully executed within 0.153 milliseconds [03:41:08] [DEBUG] CMySQLResult::CMySQLResult() - constructor called [03:41:08] [DEBUG] Calling callback "ShowLoginScreen".. [03:41:08] [DEBUG] CMySQLResult::~CMySQLResult() - deconstructor called