Raised This Month: $ Target: $400
 0% 

Color print from language file


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
-=hunter=-
Senior Member
Join Date: Jul 2008
Old 02-16-2009 , 06:38   Color print from language file
Reply With Quote #1

Hello all! Can you help me with little problem?
I don't know how to print in chat color message from language file.
Example language file:
Code:
[en]
HELLO = ^x03Hello
Example script file:
Code:
new msg[100];
format(msg,99,"%L",LANG_PLAYER,"HELLO");
message_begin( MSG_ONE, svc_saytext, { 0, 0, 0 }, plr );
write_byte( plr );
write_string( msg );
message_end( );
I can't understand but prints "^x03Hello". I want that prints "Hello" in blue color.
-=hunter=- is offline
Send a message via ICQ to -=hunter=- Send a message via Skype™ to -=hunter=-
 



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 16:52.


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