AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Color wont work (https://forums.alliedmods.net/showthread.php?t=184066)

12345 04-30-2012 13:02

Color wont work
 
Hello, hope some one will help me!

So i put ^x04 before the message, but message keep showing yellow color

Code:

client_print(0,print_chat,"^x04Hello world!")

Napoleon_be 04-30-2012 13:15

Re: Color wont work
 
use the include <colorchat> and use ColorChat(id, COLOR:, const msg[], any...)

COLOR: can be, GREEN, RED, BLUE, NORMAL, GREY.

^4 is green
^3 team color
^1 Normal.

12345 04-30-2012 13:32

Re: Color wont work
 
Thanx you, problem solved :)

Liverwiz 04-30-2012 17:00

Re: Color wont work
 
Quote:

Originally Posted by 12345 (Post 1699373)
Hello, hope some one will help me!

So i put ^x04 before the message, but message keep showing yellow color

Code:

client_print(0,print_chat,"^x04Hello world!")

1. that logic doesn't work on client_print you need to print messages
2. ColorChat is awesome, only way i can get that to work
3. I had the same problem....still cant figure out why print messages don't work. irksum, really

kramesa 04-30-2012 18:41

Re: Color wont work
 
Quote:

Originally Posted by Liverwiz (Post 1699512)
1. that logic doesn't work on client_print you need to print messages
2. ColorChat is awesome, only way i can get that to work
3. I had the same problem....still cant figure out why print messages don't work. irksum, really

ColorChat is not only the way for this.

Liverwiz 04-30-2012 18:53

Re: Color wont work
 
Quote:

Originally Posted by kramesa (Post 1699591)
ColorChat is not only the way for this.

Quote:

Originally Posted by Liverwiz (Post 1699512)
2. ColorChat is awesome, only way i can get that to work

I'd love it if you could tell me a better way.....

kramesa 04-30-2012 19:00

Re: Color wont work
 
Quote:

Originally Posted by Liverwiz (Post 1699595)
I'd love it if you could tell me a better way.....

https://forums.alliedmods.net/showth...hp?t=138458#10

Liverwiz 04-30-2012 19:09

Re: Color wont work
 
like i said....i've never gotten messges to work. And THAT is the code that i use.

Doc-Holiday 04-30-2012 23:52

Re: Color wont work
 
http://forums.alliedmods.net/showthread.php?t=183388


All times are GMT -4. The time now is 07:55.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.