Skocz do zawartości

Nowy szablon forum

mygo.pl

Stworzyliśmy dla Was nowy wygląd forum. Z pewnością znajdziesz rzeczy, które wg Ciebie mogą zostać zmienione - wspomnij o tym w specjalnym wątku.

Czytaj więcej

Jak założyć własną sieć

serwerów CS

Zastanawiasz się nad prowadzeniem własnej sieci serwerów? Przeczytaj podstawowe informacje, na które należy zwrócić uwagę, przy takim projekcie.

Czytaj więcej

Tworzymy spis sieci

dodaj swoją

Dodaj sieć do której należysz, pozwoli to na promocję i budowę ogólnopolskiej bazy sieci CS.

Czytaj więcej

[CS:GO]Chat Colors (Custom Chat Colors)


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
ALL CREDITS GO TO: Phoenix. I just translated it (from RU to English)

Description:

With this plugin you can set to a player an specify color chat/TAG

Features
  1. Support Admin flags, SteamIDs, Admin groups.
  2. Can set Custom Chat TAG with a custom color.
  3. Can set Custom color chat.
  4. Work only for CS:GO.

Commands

sm_reloadcc Reloads configuration file.

Config file: chat_colors_csgo.ini
PHP Code:

//ORIGINAL FILE BY Pheonix ( http://steamcommunity.com/id/UA_Phoenix_UA/ ) translated by Papero
//Color list
//--------------------------------------
//DEFAULT
//TEAM
//RED
//GREEN
//LIME
//LIGHTGREEN
//LIGHTRED
//GRAY
//LIGHTOLIVE
//OLIVE
//PURPLE
//LIGHTBLUE
//BLUE
//--------------------------------------
//
// The TAGs/Colors work in this way
// STEAMID: In CS:GO is always STEAM_1..., STEAM_0... will not work.
// Groups: Name of the group, # before the group name is needed.
// Admin flag: Admin flag, @ before the flag is needed
// ALL: To target all players
//--------------------------------------
// Exaples
//--------------------------------------
//"chat_colors_csgo"
//{
//    "@z" - Admin flag of the players that need the TAG/Color (@ before the flag is needed)
//    {
//        "tag"                "[Admin] " - Tag
//        "tag_Color"            "RED"  - Color of the tag
//        "name_Color"        "TEAM"  - Color of the nick
//        "chat_Color"        "RED"  - Color of the chat
//    }
//    "@a" - Admin flag of the players that need the TAG/Color (@ before the flag is needed)
//    {
//        "tag"                "[VIP] " - Tag
//        "tag_Color"            "PURPLE"  - Color of the tag
//        "name_Color"        "TEAM"  - Color of the nick
//        "chat_Color"        "GREEN"  - color of the chat
//    }
//    "#admin" - Group of the players that need the TAG/Color (# before the group is needed)
//    {
//        "tag"                "[Админ] " - Tag
//        "tag_Color"            "PURPLE"  - Color of the tag
//        "name_Color"        "TEAM"  - Color of the nick
//        "chat_Color"        "GREEN"  - color of the chat
//    }
//    "STEAM_1:0:53564701" - SteamID if the player that need the TAG/Color (In CSGO is always STEAM_1, STEAM_0 will not work)
//    {
//        "tag"                "[Friends] " - Tag
//        "tag_Color"            "GREEN"  - Color of the tag
//        "name_Color"        "TEAM"  - Color of the nick
//        "chat_Color"        "RED"  - color of the chat
//    }
//    "All" - To give the tag to all the players
//    {
//        "tag"                "[Player] " - Tag
//        "tag_Color"            "GREEN"  - Color of the tag
//        "name_Color"        "TEAM"  - Color of the nick
//        "chat_Color"        "DEFAULT"  - color of the chat
//    }
//}
//--------------------------------------
"chat_colors_csgo"
{
    
"@z"
    
{
        
"tag"                "[ADMIN] "
        "tag_Color"            "RED"
        "name_Color"        "TEAM"
        "chat_Color"        "RED"
    
}


[B]Installation:[B]
Put chat_colors_csgo.ini in sourcemod/configs
Put chat_colors_csgo_en.smx in sourcemod/plugins
Dependencies:

Chat-Processor

Screenshot:

Coming soon...




Warnings:
Don't use this with Zephyrus store(not tested with other plugins) alright the color might not work and the tag goes after the name.

Attached Files
File Type: zip chat_colors_csgo_en.zip (9.6 KB)
File Type: zip chat_colors_csgo_ru.zip (9.7 KB)
File Type: sp Get Plugin or Get Source (chat_colors_csgo_en.sp - 3.8 KB)

Wyświetl pełny artykuł

Odnośnik do komentarza
Udostępnij na innych stronach

  • 1 rok później...

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...