night_dragon_on 5,201 #480542 Posted April 8, 2020 (edited) Дополнение: isColorBlind Данная модификация добавляет py_macro: {{py:isColorBlind}} - возвращает 'cb', если в настройках клиента включена опция "Режим цветовой слепоты", иначе возвращает пусто.. PY(ON_COLOR_CHANGED) - событие срабатывает при вкл/откл опции в клиенте. Установка: Установить XVM Поместить скрипт в папку: res_mods\configs\xvm\py_macro Скрипт: isColorBlind.py Edited April 14, 2020 by night_dragon_on 4 Quote Share this post Link to post Short link Share on other sites
Budyx69 21 #481466 Posted April 26, 2020 (edited) 4/8/2020 at 6:11 PM, night_dragon_on said: Addition: isColorBlind This modification adds py_macro: {{py: isColorBlind}} - returns 'cb' if the option “Color blindness mode” is enabled in the client's settings , otherwise it returns empty. . PY (ON_COLOR_CHANGED) - the event is triggered when the option is turned on / off in the client. Installation: Install XVM Put the script in the folder: Script: isColorBlind.py 982 B.5 downloads @ night_dragon_on here is a suggestion. read directly from the settings. work also in lobby isColorBlind.py Edited April 26, 2020 by Budyx69 1 Quote Share this post Link to post Short link Share on other sites
steaxch 294 #483964 Posted June 16, 2020 У Протанки есть скрипт на кол-во пробитий за которое мы забираем танк противника при средней альфе, а нельзя ли запилить еще и скирпт с обраткой? За сколько шотов противник заберет нас? Скрипт из Протанки: shell_damage.py 1 Quote Share this post Link to post Short link Share on other sites
BuSH 167 #485948 Posted July 28, 2020 @steaxch практическая полезность таких цифр не стоит занятых под её вывод пикселей. Писатели такой бесполезняк обычно игнорят. Картинку "спаси и Сохрани" как у таксистов можно просто в экстраполях прилепить. Польза такая же а реализовать куда проще. Quote Share this post Link to post Short link Share on other sites
BuSH 167 #488563 Posted September 6, 2020 Хоть и глухо здесь... А вдруг ) Может, кто подскажет как эти XVMовские декораторы-хуки записать синтаксисом без собаки? Quote Share this post Link to post Short link Share on other sites