02.02.2015, 22:41
Well, I don't know how but I did this way and worked
pawn Код:
new command[8] = "cmdkick";
new cmdlevel;
mysql_format(Mysql_users, query, sizeof(query), "SELECT * FROM `commands` WHERE `command` = '%s'", command);
mysql_query(Mysql_users, query);
new rows = cache_num_rows();
if(rows) {
cmdlevel = cache_get_field_content_int(0, "adminlevel", Mysql_users);
}