Значит во время нужных тебе событий смотри консоль сервера и ищи там Call Stack. Вряд ли оно просто так берет и не работает. Наверняка вылетает ошибка. Либо в логах ошибок можешь поглядеть историю.
Я же говорю, работает отлично на SM 1.9. Значит проблема из-за нового SM.
Один человек писал про подобную проблему на странице этого плагина, но решения так и нет. Вот его текст
"
#129
I have an issue where this plug-in loads fine into sourcemod but does not do anything. No messages, menus, or action items show up or are triggered when there are tank events ingame. I am using SM 1.11. Anyone else have this issue?
__________________
#130
You can do some checks:
*Look for errors at your sourcemod/logs folder.
*Check if the plugin appears in the "sm plugins list" console.
*Gamemode should be versus/scavenge versus mode
*If the plugin shows a menu, maybe another plugin is overriding it, since only one menu can be displayed at a time.
*Try to change some cvars like l4d2_tankswap_choicetype and l4d2 tankswap_timelimit
__________________
"
Сам left4downtown не использую, и versus не держу. Но плагин адаптировал под SM 1.10 и выше. + правда добавил некоторые изменения. Будет он работать или нет хз, проверяй уже сам.
Благодарю! Проверю, отпишусь.
При компиляции выдаёт такие ошибки
Tanks\addons\sourcemod\scripting\include\l4d2timers.inc(113) : error 147: new-style declarations are required
Tanks\addons\sourcemod\scripting\include\l4d2timers.inc(122) : error 147: new-style declarations are required
Tanks\addons\sourcemod\scripting\include\l4d2timers.inc(131) : error 147: new-style declarations are required
Tanks\addons\sourcemod\scripting\include\l4d2timers.inc(144) : error 147: new-style declarations are required
Tanks\addons\sourcemod\scripting\include\l4d2timers.inc(153) : error 147: new-style declarations are required
Tanks\addons\sourcemod\scripting\include\l4d2timers.inc(162) : error 147: new-style declarations are required
Tanks\addons\sourcemod\scripting\include\l4d2timers.inc(171) : error 147: new-style declarations are required
Tanks\addons\sourcemod\scripting\include\l4d2weapons.inc(101) : error 147: new-style declarations are required
Tanks\addons\sourcemod\scripting\include\l4d2weapons.inc(101) : error 147: new-style declarations are required
Tanks\addons\sourcemod\scripting\include\l4d2weapons.inc(111) : error 147: new-style declarations are required
Tanks\addons\sourcemod\scripting\include\l4d2weapons.inc(111) : error 147: new-style declarations are required
Tanks\addons\sourcemod\scripting\include\l4d2weapons.inc(121) : error 147: new-style declarations are required
Сообщение отредактировал Player100: 13 Сентябрь 2020 - 16:20