AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   set_hudmessage color problem..help (https://forums.alliedmods.net/showthread.php?t=54162)

lucky109 04-18-2007 15:43

set_hudmessage color problem..help
 
Code:

set_hudmessage(51, 153, 255, 0.05, 0.65, 0, 6.0, 5.0, 0.5, 0.1, -1)
show_hudmessage(id, " %d mins after to change map", timeleft)


i set the hud message color like blue right...51, 153, 255
but...it's show white color word in game...
what's wrong?
thanks

Nican 04-18-2007 16:27

Re: set_hudmessage color problem..help
 
Look, there is any other value you would want to set in hud messages after:
255 0 0 - Red
0 255 0 - Green
0 0 255 - Blue
225 255 0 - Yellow
255 0 255 - Purple
255 255 255 - White

teame06 04-18-2007 16:28

Re: set_hudmessage color problem..help
 
http://www.webdiner.com/annexe/hexcode/hexcode.htm

51-153, 255 from the Hex code Color Code doesn't show up as blue. It shows up as orange

lucky109 04-18-2007 17:37

Re: set_hudmessage color problem..help
 
Quote:

Originally Posted by Nican (Post 466886)
Look, there is any other value you would want to set in hud messages after:
255 0 0 - Red
0 255 0 - Green
0 0 255 - Blue
225 255 0 - Yellow
255 0 255 - Purple
255 255 255 - White

i want set other color , how can do that?

lucky109 04-18-2007 17:40

Re: set_hudmessage color problem..help
 
1 Attachment(s)
Quote:

Originally Posted by teame06 (Post 466887)
http://www.webdiner.com/annexe/hexcode/hexcode.htm

51-153, 255 from the Hex code Color Code doesn't show up as blue. It shows up as orange

i want this color...how to use set_hudmessage to set that?

thanks

VEN 04-19-2007 05:56

Re: set_hudmessage color problem..help
 
Quote:

want this color...how to use set_hudmessage to set that?
You used it correctly. The problem could be because you looking on something bright so you can't notice the actual color. Try to go to a tunnel for example and see.

Another problem could be because of overlapping. Try to show this message only if there are no other hud messages displayed and see.

uzairhussain 06-06-2016 21:23

Re: set_hudmessage color problem..help
 
How to make it blue?
set_hudmessage(red, 50, blue, -1.0, 0.60, 1, 0.01, 3.0, 0.01, 0.01, -1)

abdobiskra 06-06-2016 23:26

Re: set_hudmessage color problem..help
 
Quote:

Originally Posted by uzairhussain (Post 2425385)
How to make it blue?
set_hudmessage(red, 50, blue, -1.0, 0.60, 1, 0.01, 3.0, 0.01, 0.01, -1)

PHP Code:

set_hudmessage(00255, -1.00.6010.013.00.010.01, -1

https://web.njit.edu/~kevin/rgb.txt.html
http://cs-strikez.org/publ/stati_o_c...ke_16/8-1-0-36

siriusmd99 06-07-2016 01:23

Re: set_hudmessage color problem..help
 
This problem will occur when you setting that HUD too often and the efect drsnt have time to end and there appears new hud and after some seconds it becomes white.
Show us the full code.

abdobiskra 06-07-2016 02:01

Re: set_hudmessage color problem..help
 
Lucky109
try like this !
PHP Code:

set_hudmessage(51512000.00.1521.05.0); 



All times are GMT -4. The time now is 06:35.

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