 |
|
Senior Member
|

02-11-2010
, 14:46
Re: [INC] Colors (1.0.2)
|
#11
|
PrintToChat(client,"\x04[VIP-Message] \x03%s\x01: \x03%s", name, text[startidx+1]);
this should print blue text on the %s if i am ct, but it does not.
colors.inc doesnt format anything just repeats the text
#include <colors>
...
CPrintToChatAll("{GREEN}[VIP-Message]{TEAMCOLOR}%s{DEFAULT}:{TEAMCOLOR}%s",name,te xt);
//EDIT: this works like a charm...
stock SayText2All(author, const String:message[])
{
new Handle:buffer = StartMessageAll("SayText2");
if ( buffer != INVALID_HANDLE )
{
BfWriteByte(buffer, author);
BfWriteByte(buffer, true);
BfWriteString(buffer, message);
EndMessage();
}
}
Last edited by DieterM75; 02-11-2010 at 15:31.
|
|
|
|