AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Chat colors (https://forums.alliedmods.net/showthread.php?t=51148)

Shaman 02-12-2007 13:17

Chat colors
 
I have this function:
PHP Code:

public send_message(id,const message[])
    {
    
/* Format Message */
    
da_message[0]=0x01
    format
(da_message[1],251,message)
    
// Make sure the message is not longer than 192 character to prevent crashes
    
da_message[192] = '^0';
    
/* Send Message */
    
message_begin(MSG_ONE,MsgSayText,_,1);
    
write_byte(id)        
    
write_string(da_message)
    
message_end()
    } 

and I want to add colors to this; but how?
:?: :?:

XxAvalanchexX 02-12-2007 16:37

Re: Chat colors
 
http://forums.alliedmods.net/showpos...4&postcount=10

Shaman 02-13-2007 13:07

Re: Chat colors
 
It sucks! It would be very nice if I could send colorful (RBG) messages!!!

teame06 02-13-2007 13:46

Re: Chat colors
 
Quote:

Originally Posted by Shaman (Post 439669)
It sucks! It would be very nice if I could send colorful (RBG) messages!!!

Go complain to valve. Those are the only colors we are allow too since it hard coded into he client software.


All times are GMT -4. The time now is 00:39.

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