- Регистрация
- 25 Фев 2018
- Сообщения
- 26
- Лучшие ответы
- 0
- Репутация
- 4
Ошибка:
В чём тут проблема?
[WARNING] cache_get_field_content - no active cache
PHP:
publics: off_family_members_callback(playerid)
{
new f,d;
cache_get_data(f,d);
new rows = f, temp [ 24 ],ofm_string[ 256 ];
if(rows != 0)
{
for(new i = 0; i < rows ;i++)
{
cache_get_field_content ( i, "player_name", temp, mysql_connect_ID);
strcat(ofm_string,temp);
strcat(ofm_string,"\n");
}
}
ShowPlayerDialog ( playerid, 995 , DIALOG_STYLE_LIST, "{00FF00}Члены семьи", ofm_string, "Назад","" ) ;
return true;
}
В чём тут проблема?