Skocz do zawartości
  • Drogi gościu!

    Tutaj możesz się zarejestrować lub zalogować:

[RSS Pluginy] [CS:S/CS:GO] Chat/Scoreboard Tag Menu


GLOBALELITE.pl

Rekomendowane odpowiedzi

  • GLOBALELITE.PL
Chat/Scoreboard Tag Menu
Version: 1.2.2



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
MultiColors
for chat colors (Just needed for compile)


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 values 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 MultiColors.


Change Log:


1.2.0 - Initial release

1.2.1 - Fixed empty item in menu | Fixed chat colors (Plugin now uses Multi Colors)

1.2.2 - Fixed printing quotes with player chat

Attached Files zip.gifTag Menu 1.2.2.zip (36.5 KB)


Pełny artykuł: https://forums.alliedmods.net/showthread.php?t=299733&goto=newpost

Odnośnik do odpowiedzi
Udostępnij na innych stronach

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający

    Brak zarejestrowanych użytkowników przeglądających tę stronę.


O GLOBALELITE.PL


Chcemy pokazać absolutnie wszystkim, że człowiek jest zdolny do rzeczy wielkich! Potrzebujemy tylko waszej pomocy. Dzięki ciężkiej pracy chcemy udowodnić, że razem możemy wszystko! Szukamy ludzi ambitnych i skorych do poświeceń, ludzi którzy są godni, aby dołączyć do globalnej elity społeczności, którą traktuje się jak drugą rodzinę!

Istniejemy od 2014 r.

Motyw zrobiony przez doc

Strona zarządzana przez: Adam Plicha

Linki społecznościowe

Gdzie można nas znaleźć?


Facebook Teamspeak Discord

Linki forumowe

Linki z różnego rodzaju podaniami


Podanie o admina Prośba o unbana Propozycja Złóż skargę

Administracja

Oni odpowiedzą na Twoje pytania ;)


×
×
  • Dodaj nową pozycję...