27.04.2016, 17:05
Всех приветствую.
LOG:
Code:
LOG:
PHP код:
[07:25:04] [ERROR] CMySQLQuery::Execute[] - (error #1054) Unknown column 'lcned' in 'field list'
[07:25:04] [ERROR] CMySQLQuery::Execute[] - (error #1054) Unknown column 'yaked' in 'field list'
[07:25:04] [ERROR] CMySQLQuery::Execute[] - (error #1054) Unknown column 'rmed' in 'field list'
PHP код:
SetMafiaInt("lcned", MafiaEd[0]);
SetMafiaInt("yaked", MafiaEd[1]);
SetMafiaInt("rmed", MafiaEd[2]);
PHP код:
SetOtherInt("lcned", MafiaEd[0]);
SetOtherInt("yaked", MafiaEd[1]);
SetOtherInt("rmed", MafiaEd[2]);
PHP код:
public LoadMafia()
{
new time = GetTickCount(), rows, fields;
cache_get_data(rows, fields);
if(rows)
{
MafiaPatr[0] = cache_get_field_content_int(0, "lcnpat");
MafiaPatr[1] = cache_get_field_content_int(0, "yakpat");
MafiaPatr[2] = cache_get_field_content_int(0, "rmpat");
MafiaEd[0] = cache_get_field_content_int(0, "lcned");
MafiaEd[1] = cache_get_field_content_int(0, "yaked");
MafiaEd[2] = cache_get_field_content_int(0, "rmed");
}
printf("[Загружены склады мафий]: Потрачено: <%i ms>.", GetTickCount() - time);
return 1;
}