statsx.sma размеры массива не совпадают, или целевой массив слишком мал

Статус
В этой теме нельзя размещать новые ответы.
Сообщения
58
Реакции
10
Ошибка
statsx.sma(353) : error 047: array sizes do not match, or destination array is too small
statsx.sma(366) : error 047: array sizes do not match, or destination array is too small
statsx.sma(408) : error 047: array sizes do not match, or destination array is too small
statsx.sma(417) : error 047: array sizes do not match, or destination array is too small
statsx.sma(463) : error 047: array sizes do not match, or destination array is too small
statsx.sma(467) : error 047: array sizes do not match, or destination array is too small
statsx.sma(604) : error 047: array sizes do not match, or destination array is too small
statsx.sma(640) : error 047: array sizes do not match, or destination array is too small
statsx.sma(674) : error 047: array sizes do not match, or destination array is too small
statsx.sma(794) : error 047: array sizes do not match, or destination array is too small
statsx.sma(804) : error 047: array sizes do not match, or destination array is too small
statsx.sma(1464) : error 047: array sizes do not match, or destination array is too small
Компилятор
Локальный
Amx Mod X
1.10.0
Исходный код
1
Установил плагин CSstatsX SQL 0.7.4 вариант без замены модуля CSX.
Заменил в плагине ststsx.sma строчки:
  • Откройте исходник плагина.
  • Добавьте следующий код в начало файла:

  • C++:
    native get_statsnum_sql()
    native get_user_stats_sql(index, stats[8], bodyhits[8])
    native get_stats_sql(index, stats[8], bodyhits[8], name[], len, authid[] = "", authidlen = 0)
    • Замените все строчки get_statsnum на get_statsnum_sql.
    • Замените все строчки get_user_stats на get_user_stats_sql.
    • Замените все строчки get_stats на get_stats_sql.

После замены строк при компиляции такая ошибка.
 

Вложения

Сообщения
19
Реакции
-3
Помог
3 раз(а)
Попробуйте заменить модуль
 
Статус
В этой теме нельзя размещать новые ответы.

Пользователи, просматривающие эту тему

Сейчас на форуме нет ни одного пользователя.
Сверху Снизу