25.08.2012, 11:19
Seems strange, in my opinion SQL syntax is OK.
Also, give a try with this:
Following your way to fix it in R6, in R7 is possible to make something very similar using threaded scripts I think, calling OnQueryFinish, or OnQueryError.
Try replace your public IP by localhost, to see if there is any changes.
Also, give a try with this:
pawn Код:
new query[128];
mysql_format(connection,query,"SELECT * FROM Account WHERE Xp > 0 AND IP='%s'",ip);
mysql_function_query(connection,query,false,"","");
Try replace your public IP by localhost, to see if there is any changes.