colorchat question

Started by eMTi
30/11/2007 14:49
Page 1 of 1
eMTi30/11/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 ]

NumB30/11/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 ]

st0ka30/11/2007 15:33

look here link

The colors red, grey, and blue can't be used on the same line. This is not possible at all to do.

eMTi30/11/2007 17:10

thanks a lot :)
searched allied modders, too, but didnt find that one ;)

Mehz30/11/2007 18:46

nvm
[ Edited 11/30/07 - 18:47:13 ]

Page 1 of 1

Please log in to post replies.