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:S/CS:GO] Chat/Scoreboard Tag Menu


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Chat/Scoreboard Tag Menu
Version: 1.2.0



Note:

Hi, I saw some other plugins on the forum like this but they weren't what some people want.
So I wrote this plugin from Original Idea By trzmielu.
Also a special thanks to Mayor Gamer for his Set Tag plugin for config file and comments.


Description:

This plugin creates a tag menu that loaded from a config file located in configs/tagmenu.cfg.
Which makes players able to choose their scoreboard and chat tag from the menu and save it for them by SteamID (clientprefs).


Required:

SourceMod 1.7 or higher
MoreColors
for chat colors


ConVars:

sm_tagmenu_enable "1" - "Enable / Disable tag menu"


Commands:

sm_tag | !tag - "Opens tag menu"
sm_tags | !tags - "Opens tag menu"
sm_tagmenu | !tagmenu - "Opens tag menu"
sm_reloadtags - "Reloads tags from config file (Admin flag generic)"


Config:

Here is an example of config file so you can add up to 100 tags in file:
PHP Code:

"TagMenu"        // Main key. Don't change it.
{
    
"1"        // Indexes. They must be in order from 1 and on. Maximum is 100.
    
{
        
"tag"                "[Pro-Player]"        // "tag" is identifier. Don't change it. Change the next string like "[Pro-Player]".
        
"flag"                "b"                 // "flag" is identifier. Don't change it. Set a flag for tag access (empty = everyone)
        
"tag_color"            "{green}"            // "tag_color" is identifier. Set client chat tag color.
        
"name_color"        "{team}"            // "name_color" is identifier. Set client chat name color.
        
"text_color"        "{default}"            // "text_color" is identifier. Set client chat text color.
        
"mode"                "both"                // "mode" is identifier. Set tag mode (valid valuse are: "both" - "scoreboard" - "chat", Default is "both")
    
}
    
"2"
    
{
        
"tag"                "[Noob]"
        "flag"                ""
        "tag_color"            "{green}"
        "name_color"        "{team}"
        "text_color"        "{purple}"
        "mode"                "chat"
    
}
    
"3"
    
{
        
"tag"                "[Expert]"
        "flag"                "a"
        "mode"                "scoreboard"
    
}


Note: Chat colors are supported with MoreColors.


Change Log:

1.2.0 - Initial release

Attached Files
File Type: zip Tag Menu.zip (24.7 KB)

Wyświetl pełny artykuł

  • Super! 1
Odnośnik do komentarza
Udostępnij na innych stronach

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ę...