30.07.2014, 09:31
It might be a problem with the variable (not enough size etc). Debug it:
pawn Код:
GetPlayerIp(playerid, IP[playerid], 16);
GetPlayerName(playerid, Name[playerid], 24);
mysql_format(mysql, query, sizeof(query),"SELECT `Password`, `ID` FROM `users` WHERE `Username` = '%e' LIMIT 1", Name[playerid]);
mysql_tquery(mysql, query, "OnAccountCheck", "i", playerid);
printf("Name[playerid]: \"%s\" & query: \"%s\"", Name[playerid], query);