Huseyn
Компетентный
Здравствуйте P-I, у меня проблема с check ban, выдает 6 ошибки ..
У меня стоит MYSQL R40
проблемы с
вот код:
---------- Сообщение добавлено в 16:28 ---------- Предыдущее сообщение добавлено в 16:27 ----------
---------- Сообщение добавлено в 16:31 ---------- Предыдущее сообщение добавлено в 16:28 ----------
В основном стоял
---------- Сообщение добавлено в 16:32 ---------- Предыдущее сообщение добавлено в 16:31 ----------
Поставил обратно выдает такие ошибки.
У меня стоит MYSQL R40
проблемы с
PHP:
cache_get_result_count
PHP:
forward check_banlist(playerid);
public check_banlist(playerid)
{
SetPlayerVirtualWorld(playerid, playerid);
TogglePlayerControllable(playerid, 0);
InterpolateCameraPos(playerid, 2686.532470, -1657.419311, 15.921967, 2690.816650, -1645.741699, 15.420666, 4000);
InterpolateCameraLookAt(playerid, 2682.006347, -1655.399047, 15.263728, 2685.975830, -1646.012817, 14.198792, 2000);
new unbandate,
vas[32],
bool:ban,
rows,
field_count,
dialog[500],
str[150];
if(!cache_get_field_count(field_count))
if(rows)
{
cache_get_result_count(0, "unbandate", vas); unbandate = strval(vas);
if(unbandate - gettime() > 0) ban = true;
}
if(ban == true)
{
new data[15], whobanned[MAX_PLAYER_NAME], reason[32], timeban;
cache_get_result_count(0, "bandate", data);
cache_get_result_count(0, "unbandate", vas); unbandate = strval(vas);
cache_get_result_count(0, "whobanned", whobanned);
cache_get_result_count(0, "reason", reason);
timeban = cache_get_field_content_int(0, "time");
strcat(dialog, "{ffffff}");
format(str, sizeof(str), "Аккаунт {ffff00}%s{ffffff} заблокирован на {ff4400}%d дней{ffffff}.\n\n", pInfo[playerid][pName], timeban);
strcat(dialog, str);
format(str, sizeof(str), "{ffffff}Ник администратора:{afafaf} %s\n", whobanned);
strcat(dialog, str);
format(str, sizeof(str), "{ffffff}Причина: {afafaf}%s\n", reason);
strcat(dialog, str);
format(str, sizeof(str), "{ffffff}Дата блокировки блокировки:{afafaf} %s\n\n", data);
strcat(dialog, str);
format(str,sizeof(str), "{ffffff}Введите {ffff00}/q(/quit){ffffff} чтобы выйти\n\n");
strcat(dialog, str);
format(str,sizeof(str), "{afafaf}Если Вы не согласны с наказанием, напишите жалобу на форум (forum.great-world.su)");
strcat(dialog, str);
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{ffcc00}Блокировка", dialog, "Закрыть", "");
Kick(playerid);
}
return 1;
}
---------- Сообщение добавлено в 16:28 ---------- Предыдущее сообщение добавлено в 16:27 ----------
HTML:
: error 035: argument type mismatch (argument 1)
: error 035: argument type mismatch (argument 1)
: error 035: argument type mismatch (argument 1)
: error 035: argument type mismatch (argument 1)
: error 035: argument type mismatch (argument 1)
: error 017: undefined symbol "cache_get_field_content_int"
---------- Сообщение добавлено в 16:31 ---------- Предыдущее сообщение добавлено в 16:28 ----------
В основном стоял
PHP:
cache_get_field_content
---------- Сообщение добавлено в 16:32 ---------- Предыдущее сообщение добавлено в 16:31 ----------
Поставил обратно выдает такие ошибки.
HTML:
error 017: undefined symbol "cache_get_field_content"
error 017: undefined symbol "cache_get_field_content"
error 017: undefined symbol "cache_get_field_content"
error 017: undefined symbol "cache_get_field_content"
error 017: undefined symbol "cache_get_field_content"
error 017: undefined symbol "cache_get_field_content_int"
