Re: [INC] Colors (1.0.2)
This is probably a stupid question, but can I use this with Connect Announce? I want my connect announcements to be in blue. Is this possible?
|
Re: [INC] Colors (1.0.2)
Yes, sure.
|
Re: [INC] Colors (1.0.2)
I tried using colors.inc with the connect announce sourcemod plugin, but it's not working.
Code:
"CountryShow" |
Re: [INC] Colors (1.0.2)
How are you "using colors.inc with the connect announce sourcemod plugin"? For the colors to work, the plug-in must be rewritten to use the colors.inc functions (for example, by changing PrintToChatAll to CPrintToChatAll).
|
Re: [INC] Colors (1.0.2)
hm my text does not even get blue nor read, simply LIGHTGREEN :/
PrintToChatAll ("\x01 1 .. \x02 2 .. \x03 3 .. \x04 4 .. \x05 5 .. \x06 6 .. \x07 7 .. \x08 8"); this neither. mod is counterstrike source |
Re: [INC] Colors (1.0.2)
Quote:
|
Re: [INC] Colors (1.0.2)
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(); } } |
Re: [INC] Colors (1.0.2)
You should use CPrintToChatAllEx.
|
Re: [INC] Colors (1.0.2)
sorry if sound dume but were you put it ??? ^^ for give me
|
Re: [INC] Colors (1.0.2)
Quote:
|
All times are GMT -4. The time now is 08:57. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.