04.01.2014, 14:38
Quote:
Then use cache_get_row and store it to a temporary or a global variable (array).
|
pawn Код:
mysql_format(dbHandle, query, sizeof(query), "SELECT FROM_UNIXTIME(`Unban`, '%%Y-%%m-%%d %%l:%%i %%p') FROM `Bans` WHERE `Nick` = '%e'", params);
mysql_query(dbHandle, query, true);
cache_get_data(rows, fields);
if (rows) {
new bannedStamp[20];
cache_get_field_content(0, "Unban", bannedStamp);
printf("%s", bannedStamp):
}
Thanks for your reply in advance!