1 or more texture colours
#1

Is it possible to put more than 1 colour in 1 texture line ingame?

Example:
In line 8 I want the colour of "* " to be White.
In line 8 I want the colour of "[IRC] " to be Orange.
In line 8 I want the colour of "%s: %s" to be White.

As in:
* [IRC] Rolyy: How are you all?

Код:
1:  {
2:	new msg1[256], msg2[256];
3:	if(EchoStatus == 0) return 1;
4:	if(MsgStatus == 0) return IRC_GroupSay(IRC_Group,channel,"4*** Error: Command disabled.");
5:	if(isnull(params)) return IRC_GroupSay(IRC_Group,channel, "3Usage: !say <Message>");
6:	format(msg1, sizeof(msg1), "8[INGAME]8 %s: %s", user, params);
7:	IRC_GroupSay(IRC_Group, EchoChan, msg1);
8:	format(msg2, sizeof(msg2), "* [IRC] %s: %s", user, params);
9:	SendClientMessageToAll(green, msg2);
10:	return 1;
11: }
Reply
#2

Impossible, if you're talking about the normal chatwindow. It's possible in textdraws though.
Reply
#3

aww =\
Thanks for very fast reply thought
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)