Иконка ресурса

Lite Translit 2.8

Нет прав для скачивания

Vitalik

Заблокированные
Пользователь
Регистрация
30 Окт 2022
Сообщения
51
Симпатии
1
Пол
Мужской
не понимаю вас, надо научиться объяснять
 

sebici555

Пользователь
Регистрация
2 Авг 2022
Сообщения
34
Симпатии
-4
So...
This plugin replaces the standard cs chat on the server with its own prefixes Мертвый, TT, CT and Spec. I don't want that... I want the chat to be standard, as if this plugin didn't exist...
This function is unnecessary for me... That's why I want to remove it from the plugin:
Код:
switch(idTeam)
    {
        case 1: iLen = formatex(sTags, charsmax(sTags), "%s%s", GetBit(g_bitAlive, id) ? "^1" : "^1*^3Мертвый^1* ", IsTeam ? "^1[^3TT^1]" : "");
        case 2: iLen = formatex(sTags, charsmax(sTags), "%s%s", GetBit(g_bitAlive, id) ? "^1" : "^1*^3Мертвый^1* ", IsTeam ? "^1[^3CT^1]" : "");
        default:iLen = formatex(sTags, charsmax(sTags), "^1*^3Spec^1* ");
    }
But when I removed this part of the code, the problem mentioned above happened... There was no DEAD before the dead player, etc.

When you upload a plugin, for example 'freshbans', it removes DEAD prefixes from players etc? Oh no.

I don't want it here either.
So what should I do? What should I remove from this code so that this plugin doesn't interfere with standard chat on the server? ....
I don't want this plugin to add prefixes like CT, TT, Death and Spec ...
I want standard chat
 

Vitalik

Заблокированные
Пользователь
Регистрация
30 Окт 2022
Сообщения
51
Симпатии
1
Пол
Мужской
скиинте мне оригинал и то что вы изменили, для сравнения
 

sebici555

Пользователь
Регистрация
2 Авг 2022
Сообщения
34
Симпатии
-4
Everything can stay.

I just want to edit the plugin so that it doesn't replace / add its own prefixes Мертвый, TT, CT and Spec.
I just want to edit the plugin so that it doesn't interfere with the standard chat.

Additionally, I don't need this function:
Код:
public LangCtrlRus(id)
{
    if(g_bUseRus[id])
        client_print(id, print_chat, "*** [LT] Русский язык УЖЕ включен! ***");
    else 
    {
        client_print(id, print_chat, "*** [LT] Русский язык активирован! ***");
        g_bUseRus[id] = true;
        client_cmd(id, "spk buttons/blip1.wav");
    }
}

public LangCtrlEng(id)
{
    if(!g_bUseRus[id])
        client_print(id, print_chat, "*** [LT] Английский язык УЖЕ включен! ***");
    else
    {
        client_print(id, print_chat, "*** [LT] Английский язык активирован! ***");
        g_bUseRus[id] = false;
        client_cmd(id, "spk buttons/blip1.wav");
    }
}
 

Вложения

Vitalik

Заблокированные
Пользователь
Регистрация
30 Окт 2022
Сообщения
51
Симпатии
1
Пол
Мужской
Если я правильно понял, то надо оставить только один префик админ и еще там второй?
 

sebici555

Пользователь
Регистрация
2 Авг 2022
Сообщения
34
Симпатии
-4
Everything in the plugin can stay.

I just don't want this plugin to replace DEAD and Spec with custom text and I don't want it to add CT and TT prefixes in the chat.
I want standard chat
I do not want it:

Код:
switch(idTeam)
    {
        case 1: iLen = formatex(sTags, charsmax(sTags), "%s%s", GetBit(g_bitAlive, id) ? "^1" : "^1*^3Мертвый^1* ", IsTeam ? "^1[^3TT^1]" : "");
        case 2: iLen = formatex(sTags, charsmax(sTags), "%s%s", GetBit(g_bitAlive, id) ? "^1" : "^1*^3Мертвый^1* ", IsTeam ? "^1[^3CT^1]" : "");
        default:iLen = formatex(sTags, charsmax(sTags), "^1*^3Spec^1* ");
    }
But when I removed it, it was chat errors...
There were no DEAD and SPEC signs at all
 

Vitalik

Заблокированные
Пользователь
Регистрация
30 Окт 2022
Сообщения
51
Симпатии
1
Пол
Мужской
steam тоже не надо?
 

sebici555

Пользователь
Регистрация
2 Авг 2022
Сообщения
34
Симпатии
-4
All the rest is needed.
Everything is needed except for those plugin's own strings - Мертвый, TT, CT and Spec. I want standard chat.
The STEAM prefix is to stay.

Код:
#define TAGS                // Теги в чате Гл. Админ | Админ | VIP  [ По умолчанию включен ]
#if defined TAGS
#define LT_PREFIXES        // Свои префиксы. Файл addons/amxmodx/configs/lt_prefixes.ini [ По умолчанию выключен ]
#endif
//#define STEAM                // Тег стим игрока [ По умолчанию выключен ]
#define GREEN_MSG            // Зеленый цвет чата админов и випов [ По умолчанию выключен ]
#define AES                // Поддержка системы армейских званий - AES ( http://c-s.net.ua/forum/topic56564.html ) [ По умолчанию выключен ]
// #define DEF_RUS            // Русский язык по умолчанию [ По умолчанию английский ]
#define GL_ADMIN     ADMIN_RCON    // Флаг доступа для тега "Гл. Админ" в чате
#define ADMIN         ADMIN_BAN    // Флаг доступа для тега "Админ" в чате
#define VIP        ADMIN_LEVEL_H    // Флаг доступа для тега "VIP" в чате
#define ANTIFLOOD            // Замена стандартного плагина antiflood.amxx [ По умолчанию выключен ]
#define AD_TIME        0.75        // Время между сообщениями, когда сработает антифлуд система
#define ADMIN_ALLCHAT            // Показывать весь чат админам [ По умолчанию включен ]
//#define DEFAULT_CS_CHAT        // Cтандартный чат кс  [ По умолчанию выключен ]
                        //Живые общаются только с живыми, мертвые с мертвыми. Админ видит весь чат если ADMIN_ALLCHAT
It can all stay.

Only I don't want it:

Код:
switch(idTeam)
    {
        case 1: iLen = formatex(sTags, charsmax(sTags), "%s%s", GetBit(g_bitAlive, id) ? "^1" : "^1*^3Мертвый^1* ", IsTeam ? "^1[^3TT^1]" : "");
        case 2: iLen = formatex(sTags, charsmax(sTags), "%s%s", GetBit(g_bitAlive, id) ? "^1" : "^1*^3Мертвый^1* ", IsTeam ? "^1[^3CT^1]" : "");
        default:iLen = formatex(sTags, charsmax(sTags), "^1*^3Spec^1* ");
    }
and this:

Код:
ublic LangCtrlRus(id)
{
    if(g_bUseRus[id])
        client_print(id, print_chat, "*** [LT] Русский язык УЖЕ включен! ***");
    else
    {
        client_print(id, print_chat, "*** [LT] Русский язык активирован! ***");
        g_bUseRus[id] = true;
        client_cmd(id, "spk buttons/blip1.wav");
    }
}

public LangCtrlEng(id)
{
    if(!g_bUseRus[id])
        client_print(id, print_chat, "*** [LT] Английский язык УЖЕ включен! ***");
    else
    {
        client_print(id, print_chat, "*** [LT] Английский язык активирован! ***");
        g_bUseRus[id] = false;
        client_cmd(id, "spk buttons/blip1.wav");
    }
}
 

Vitalik

Заблокированные
Пользователь
Регистрация
30 Окт 2022
Сообщения
51
Симпатии
1
Пол
Мужской
Тут не выполняют хотелки, тут помогают, разбирают код, подсказывают
 

sebici555

Пользователь
Регистрация
2 Авг 2022
Сообщения
34
Симпатии
-4
Completely pointless, this function is unnecessary in this plugin.... Why would anyone replace the standard chat with their own DEAD prefixes, etc., when it's already in the Counter Strike standard... Because of this annoying shit, I have to give up this plugin, which is a pity, because plugin is nice...
 

Nellixcm

Пользователь
Регистрация
23 Июн 2022
Сообщения
2
Симпатии
0
народ подскажите.
L 03/16/2023 - 23:40:43: [AMXX] Load error 17 (invalid file format or version) (plugin "translit.amxx")
 

Вложения

Сверху Снизу