Администратор
- Сообщения
- 3,010
- Реакции
- 1,730
- Помог
- 79 раз(а)
если ошибка:
то:L 04/04/2022 - 23:06:46: [ReAPI] rg_get_weapon_info: invalid weapon id 0
L 04/04/2022 - 23:06:46: [AMXX] Displaying debug trace (plugin "Info_Killer.amxx", version "1.1.0")
L 04/04/2022 - 23:06:46: [AMXX] Run time error 10: native error (native "rg_get_weapon_info")
L 04/04/2022 - 23:06:46: [AMXX] [0] Info_Killer.sma::CBasePlayer_TakeDamage (line 81)
Код:
if(!is_nullent(ActiveItem)) {
wID = get_member(ActiveItem, m_iId);
}
+else return HC_CONTINUE;