AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=109)
-   -   [CSS] TagBlock (https://forums.alliedmods.net/showthread.php?t=152949)

bl4nk 03-16-2011 16:58

[CSS] TagBlock
 
4 Attachment(s)
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

sinblaster 03-17-2011 00:24

Re: [CSS] TagBlock
 
So this will block the tags that can be set in options or not?

bl4nk 03-17-2011 10:54

Re: [CSS] TagBlock
 
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.

sinblaster 03-17-2011 20:52

Re: [CSS] TagBlock
 
Thanks mate.

casvdry 03-19-2011 03:52

Re: [CSS] TagBlock
 
Just realized this was for CSS and is no use to me :( (TF2)

Thanks anyway though.

bl4nk 03-19-2011 12:58

Re: [CSS] TagBlock
 
So you wanted a clan tag remover for TF2?

casvdry 03-19-2011 17:39

Re: [CSS] TagBlock
 
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.

Dr!fter 11-18-2011 15:40

Re: [CSS] TagBlock
 
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


All times are GMT -4. The time now is 07:22.

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