colorchat question
Started by eMTi
30 Nov 2007, 14:49
Page 1 of 1
30 Nov 2007, 14:49
Hey i was wondering if it's possible to change the color in a line
example:
"[XJ]:"(in blue color) "eMTi is so sweeeeet!!" (in red color)
currently using it this way (normal i guess):
{
ColorChat(id, BLUE, "line1");
ColorChat(id, RED, "line2");
ColorChat(id, GREY, "line3");
ColorChat(id, RED, "line4");
ColorChat(id, GREY, "line5");
}
if it doesnt work with colorchat, is there any other possiblity?
thx 4 help :)
[ Edited ]
30 Nov 2007, 15:17
Don't think so. Try using:
new color = random_num(1,2) // 1 or 2.
Switch(color)
{
case 1 : ColorChat(index, first_color, "msg")
case 2 : ColorChat(index, second_color, "msg")
}
[ Edited 11/30/07 - 15:17:43 ]
30 Nov 2007, 17:10
thanks a lot :)
searched allied modders, too, but didnt find that one ;)
30 Nov 2007, 18:46
nvm
[ Edited 11/30/07 - 18:47:13 ]
Page 1 of 1
Reply
Please log in to post replies.