29.01.2010, 22:25
It's not what you are doing in mySQL engine, it's pawn. IP is a string and not integer.
Код:
format(query2, 256, "SELECT INET_NTOA(ip) FROM table2 WHERE ip = '%s'", result);