01.09.2016, 17:01
Hello, when player connects i wanna show him the login dialog, and I have this query:
And... the login dialog wasnt showing up (i dont have register ATM... I have the account created in database)
I used mysql_debug(True) and fount out that:
[18:53:12] [DEBUG] mysql_tquery - connection: 1, query: "SELECT * FROM `players` WHERE `player_nickname` = 'Jonny_Barneso", callback: "FJ37DH3JG_MYSQL_INTERNAL", format: "d"
While my nickname is Jonny_Barneson. The query between the quotes is 64 characters... Is there a limit or something I dont know about? Confused af.
Edit: the callback isn't even called whoh.
Код:
new query[150]; GetPlayerName(playerid, playerInfo[playerid][player_nickname], MAX_PLAYER_NAME); format(query, sizeof(query), "SELECT * FROM `players` WHERE `player_nickname` = '%s' LIMIT 1", playerInfo[playerid][player_nickname]); mysql_tquery_inline(mysql, query, using inline OnAccountCheck, "");
I used mysql_debug(True) and fount out that:
[18:53:12] [DEBUG] mysql_tquery - connection: 1, query: "SELECT * FROM `players` WHERE `player_nickname` = 'Jonny_Barneso", callback: "FJ37DH3JG_MYSQL_INTERNAL", format: "d"
While my nickname is Jonny_Barneson. The query between the quotes is 64 characters... Is there a limit or something I dont know about? Confused af.
Edit: the callback isn't even called whoh.