Raised This Month: $ Target: $400
 0% 

Warning: Tag mismatch


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Snitch
Veteran Member
Join Date: Sep 2013
Location: Kazakhstan
Old 12-25-2014 , 06:16   Warning: Tag mismatch
Reply With Quote #1

why Tag mismatch?
Code:
    for ( new i; i < iNum; i++ )
    {
        iPlayer = Players[ i ];
        
        if ( g_iGang[ iPlayer ] != g_iGang[ client ] )
            continue;
        
        ColorChat( iPlayer, GetTeamColor( cs_get_user_team( client ) ), "^3*^1%s^1[^3 %s ^1] %s^4 %s^1 :^3 %s", is_user_alive( client ) ? " " : "DEAD", aData[ GangName ], szStatus, szName( client ), szMsg );
    }
Code:
stock GetTeamColor( CsTeams:iTeam )
{
    switch ( iTeam )
    {
        case CS_TEAM_CT:    return BLUE;
        
        case CS_TEAM_T:        return RED;
        
        case CS_TEAM_SPECTATOR:    return GREY;
    }
    
    return GREEN;
}
Lines tag mismatch:
Code:
case CS_TEAM_CT:    return BLUE;
case CS_TEAM_T:        return RED;
case CS_TEAM_SPECTATOR:    return GREY;

return GREEN;

Last edited by Snitch; 12-25-2014 at 08:10.
Snitch is offline
Send a message via Skype™ to Snitch
 


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 15:25.


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