AMXX 10 warning

Въпроси и проблеми свързани с AMXModX.
Аватар
gil5587
Извън линия
Foreigner
Foreigner
Мнения: 72
Регистриран на: 01 Сеп 2018, 01:26
Се отблагодари: 77 пъти
Получена благодарност: 3 пъти

AMXX 10 warning

Мнение от gil5587 » 09 Окт 2018, 01:23

Hi guys,

I'm using amxx 10 to compile. there's a warning that I get most of times when I compile which is:
"warning 233: symbol "client_disconnect" is marked as deprecated: Use client_disconnected() instead."
even though need just to change the code to disconnected, it's still annoying to do so everytime..
Is there anything I can do about it?

Аватар
TheRedShoko
Извън линия
Модератор
Модератор
Мнения: 1016
Регистриран на: 06 Окт 2016, 07:42
Местоположение: Бургас
Се отблагодари: 5 пъти
Получена благодарност: 84 пъти

AMXX 10 warning

Мнение от TheRedShoko » 09 Окт 2018, 07:47

No. client_disconnect is deprecated from version 1.8.3 and will be removed soon from the amxx. If you want your plugins work well you should change it.

Аватар
OciXCrom
Извън линия
Администратор
Администратор
Мнения: 7206
Регистриран на: 06 Окт 2016, 19:20
Местоположение: /resetscore
Се отблагодари: 117 пъти
Получена благодарност: 1295 пъти
Обратна връзка:

AMXX 10 warning

Мнение от OciXCrom » 09 Окт 2018, 12:13

You don't have to worry about it, but you should change it. It means that there is a new client_disconnected function that works better and should replace client_disconnect. You will keep getting such warning every time a better replacement function is added in AMXX.

@Shoko - it won't be removed in order to keep backwards compatibility.

Публикувай отговор
  • Подобни теми
    Отговори
    Преглеждания
     Последно мнение

Обратно към “Поддръжка / Помощ”

Кой е на линия

Потребители разглеждащи този форум: 0 регистрирани и 6 госта