Raised This Month: $ Target: $400
 0% 

colorchat.inc All colours in one line?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
bazhenov93
Veteran Member
Join Date: Oct 2010
Old 04-28-2012 , 06:26   colorchat.inc All colours in one line?
Reply With Quote #1

I have been playing on some servers and I saw messages in chat with 3 different colours in one line.. and i was wondering how I can do the same? I have tried to modifi colorchat.inc, but without result

like
PHP Code:
ColorChat(idColorC:type, const msg[], {Float,Sql,Result,_}:...)
{
    static 
message[256];

    switch(
type)
    {
        case 
NORMAL// clients scr_concolor cvar color
        
{
            
message[0] = 0x01;
        }
        case 
GREEN:
        {
            
message[0] = 0x02;
        }
        case 
GREY:
        {
            
message[0] = 0x03;
        }
        case 
RED:
        {    
message[0] = 0x04
        
}
        case 
BLUE:
        {
            
message[0] = 0x05
        
}

I want to write messages with all colours (red,green,blue,grey)..

example: red: [ normal: server red:] grey: some blue: text green: here
bazhenov93 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:48.


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