Raised This Month: $ Target: $400
 0% 

colorchat problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 07-14-2010 , 08:38   Re: colorchat problem
Reply With Quote #2

If you put "TEAM_COLOR" will show the message color based on player team that read the message, so to T team will show RED and CT team BLUE. You must make something like

PHP Code:
    switch(get_user_team(id))
    {
        case 
1//T leave
        
{
            
ColorChat(0RED"^3%s (%s) has left!"nameip);
        }
        case 
2//CT leave
        
{
            
ColorChat(0BLUE"^3%s (%s) has left!"nameip);
        }
    } 
This is just an example and maybe you must modify it according to your defines / native.
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
 



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:13.


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