Raised This Month: $ Target: $400
 0% 

[CSS] TagBlock


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 


Thread Tools
Display Modes

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 07:24.


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