26.05.2011, 18:38
Quote:
I want to do something like this:
pawn Код:
mysql_query("SELECT * FROM bans WHERE ip = '90.180.124.10'");
mysql_store_result();
if(mysql_retrieve_row())
{
...
mysql_get_field("field", place_to_store); // Example field.
...
mysql_get_field("unban", unban_date); // 0000-00-00 00:00:00 format.
unix_integer = ToUnix(unban_date); // From string to integer.
}