20.09.2014, 22:26
Quote:
Код:
CheckAccountBan(sqlpid) // Permet de check un compte ban (Pour un unban, une connexion etc). { new query[128]; mysql_format(mysql, query, sizeof(query), "SELECT Locked FROM srp_players_stats WHERE id = %d LIMIT 1", sqlpid); new Cache:result = mysql_query(mysql, query); new return_val = cache_num_rows() ? cache_get_row_int(0, 0) : 0; cache_delete(result, mysql); return return_val; } |