Raised This Month: $ Target: $400
 0% 

Chat colors


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Shaman
Senior Member
Join Date: Dec 2006
Location: Istanbul, Turkey
Old 02-12-2007 , 13:17   Chat colors
Reply With Quote #1

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?
__________________
Shaman is offline
Send a message via ICQ to Shaman Send a message via AIM to Shaman Send a message via MSN to Shaman Send a message via Yahoo to Shaman
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 02-12-2007 , 16:37   Re: Chat colors
Reply With Quote #2

http://forums.alliedmods.net/showpos...4&postcount=10
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Shaman
Senior Member
Join Date: Dec 2006
Location: Istanbul, Turkey
Old 02-13-2007 , 13:07   Re: Chat colors
Reply With Quote #3

It sucks! It would be very nice if I could send colorful (RBG) messages!!!
__________________
Shaman is offline
Send a message via ICQ to Shaman Send a message via AIM to Shaman Send a message via MSN to Shaman Send a message via Yahoo to Shaman
teame06
i have a hat
Join Date: Feb 2005
Location: Hat City
Old 02-13-2007 , 13:46   Re: Chat colors
Reply With Quote #4

Quote:
Originally Posted by Shaman View Post
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.
__________________
No private support via Instant Message
GunGame:SM Released

Last edited by teame06; 02-13-2007 at 13:49.
teame06 is offline
Send a message via AIM to teame06
Reply


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 00:39.


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