Print text with multiple colors?!
Hello!
How can I print a line of text with multiple colors in it? Just like the ingame chat were the name is red or blue and the text is yellow. To clarify my question. Code:
client_print(0,print_chat,"blue green yellow") Thanx! /Mathias! [/code] |
very hard but yes, but up to 4 colours (hl limitation)
and then no other messages would be displayed or any new message that would show uo would remove on eof the coloured messages |
Okay so it's not possible to write a "say-substitute"-plugin?
I've written a plugin that I use from my webpage (rcon) so the vistors can chat into the game. It works great except that I dont want the text to be all yellow. My plugin looks like this: Code:
#include <amxmod> thanx! /mathias! |
You could use hud messages :roll:
|
Quote:
Nice jghg... :shock: hehe |
Can I make a hudmessage look just like the client print text? (font etc etc..)
And even if I can, the hudmessage wont be included in the "chat scroller" right? Nah.. think I'll have to live with the all yellow stuff, hopefully you guys will rewrite the client_print to include a color-argument :wink: /mathias! |
As far as I can remember I think the colours are mod-specific, that is there's only red and blue colours in CS cause CS specified these. You could send chat messages using these colours of course(I think, don't think I ever did myself), but you can't use any other colours that aren't valid with the mod itself.
|
I noticed a strange bug in CS 1.5... when a user played with "A" as nickname (without the quotes) it would show green in the hud. The same thing happened with "*" and a strange combination like |)./\.\/.|.|) or something like that..
|
All times are GMT -4. The time now is 09:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.