Quote:
Originally Posted by WopsS
What is your MySQL version? And change
pawn Код:
format(query, sizeof(query), "SELECT `Username` FROM `accounts` WHERE `Username` = '%s'", PlayerName(playerid)); mysql_function_query(handle, query, true, "OnAccountCheck", "d", playerid);
with
pawn Код:
format(query, sizeof(query), "SELECT * FROM `accounts` WHERE `Username` = '%s'", PlayerName(playerid)); mysql_function_query(handle, query, true, "OnAccountCheck", "d", playerid);
|
You realise you've worsened the query that way?
OT: Use print checks everywhere, see if the callback is being actually called.