Raised This Month: $51 Target: $400
 12% 

[CSS] TagBlock


Post New Thread Reply   
 
Thread Tools Display Modes
Author
bl4nk
SourceMod Developer
Join Date: Jul 2007
Plugin ID:
2277
Plugin Version:
1.0.0
Plugin Category:
General Purpose
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Block a certain clan tag from being displayed on the scoreboard
    Unapprover:
    Reason for Unapproving:
    Approver feedback given in post #8 on 11-18-2011 no response
    Old 03-16-2011 , 16:58   [CSS] TagBlock
    Reply With Quote #1

    TagBlock
    Block a certain clan tag from being displayed on the scoreboard.

    ConVars:
    sm_tagblock_tag <tag> - Tag to block from showing on the scoreboard.

    To do:
    Allow more than 1 tag to be blocked at a time.

    Notes:
    This plugin uses psychonic's CS:S Clan Tags include file. If there are ever any gamedata problems, get the updated version from that thread.

    Changelog:
    • 1.0.0
      • Initial release
    Attached Files
    File Type: zip tagblock.zip (6.8 KB, 398 views)

    Last edited by Dr!fter; 11-18-2011 at 15:42. Reason: better description
    bl4nk is offline
    sinblaster
    Grim Reaper
    Join Date: Feb 2010
    Location: Australia
    Old 03-17-2011 , 00:24   Re: [CSS] TagBlock
    Reply With Quote #2

    So this will block the tags that can be set in options or not?
    __________________
    Happy Happy Joy Joy

    sinblaster is offline
    bl4nk
    SourceMod Developer
    Join Date: Jul 2007
    Old 03-17-2011 , 10:54   Re: [CSS] TagBlock
    Reply With Quote #3

    No, it's used for blocking a clan tag on the CSS scoreboard. I updated the description a bit to make it more obvious of what it's for.
    bl4nk is offline
    sinblaster
    Grim Reaper
    Join Date: Feb 2010
    Location: Australia
    Old 03-17-2011 , 20:52   Re: [CSS] TagBlock
    Reply With Quote #4

    Thanks mate.
    __________________
    Happy Happy Joy Joy

    sinblaster is offline
    casvdry
    Member
    Join Date: Mar 2008
    Old 03-19-2011 , 03:52   Re: [CSS] TagBlock
    Reply With Quote #5

    Just realized this was for CSS and is no use to me (TF2)

    Thanks anyway though.
    casvdry is offline
    bl4nk
    SourceMod Developer
    Join Date: Jul 2007
    Old 03-19-2011 , 12:58   Re: [CSS] TagBlock
    Reply With Quote #6

    So you wanted a clan tag remover for TF2?
    bl4nk is offline
    casvdry
    Member
    Join Date: Mar 2008
    Old 03-19-2011 , 17:39   Re: [CSS] TagBlock
    Reply With Quote #7

    Yes sir. It was my fault for not specifying, but I assumed a tag remover was cross-game compatible until I realized this tag remover is based off a special tag area for CSS.
    casvdry is offline
    Dr!fter
    The Salt Boss
    Join Date: Mar 2007
    Old 11-18-2011 , 15:40   Re: [CSS] TagBlock
    Reply With Quote #8

    Out of curiosity did you intend this plugin to only change clan tags on admins?
    PHP Code:
    public OnClientSettingsChanged(iClient) {
        new 
    AdminId:iAdmin GetUserAdmin(iClient);
        if (
    iAdmin != INVALID_ADMIN_ID && GetAdminFlag(iAdminAdmin_Generic)) {
            
    decl String:szTag[32], String:szClanId[32];
            
    CS_GetClientClanTag(iClientszTagsizeof(szTag));
            
    GetConVarString(g_hCvarIdszClanIdsizeof(szClanId));
            
            if (
    strlen(szTag) > && strlen(szClanId) > && strcmp(szTagszClanId) == 0) {
                
    CS_SetClientClanTag(iClient"");
            }
        }

    I assume that was a mistake and you want to ignore admins and remove it from non admins heh. Also you can and probably should remove the clan tags include and include the cstrike include since the natives are in 1.4
    Dr!fter is offline
    Reply



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 14:37.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode