AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Hud Message Multi Colors (https://forums.alliedmods.net/showthread.php?t=307290)

Sorinel 05-03-2018 11:39

Hud Message Multi Colors
 
Hi, how do make a hud message with multi colors like this? https://imgur.com/a/rK9BwQx

instinctpt1 05-03-2018 12:26

Re: Hud Message Multi Colors
 
Not possible
In SS there are multiple hud showing, it is not one hud just multiple huds set to show like that ( hud pos )

Sorinel 05-03-2018 12:29

Re: Hud Message Multi Colors
 
got it, thank you for response

Relaxing 05-03-2018 12:51

Re: Hud Message Multi Colors
 
Not what you really wanted but it may look more fancier.
https://forums.alliedmods.net/showthread.php?t=67851

Sorinel 05-03-2018 18:15

Re: Hud Message Multi Colors
 
Solved https://prnt.sc/jdfal7

I did this
Code:

                set_hudmessage( 255, 255, 0, 0.80, 0.25, 0, 0.0, 1.0, 0.1, 0.1, -1 );
                show_hudmessage( 0,  "^n%s", iVipsConnected, szVipsNames); 
               
                set_hudmessage( 255, 255, 255, 0.80, 0.25, 0, 0.0, 1.0, 0.1, 0.1, -1 );
                show_hudmessage( 0, "YOU");
             
                set_hudmessage( 255, 0, 0, 0.83, 0.25, 0, 0.0, 1.0, 0.1, 0.1, -1 );
                show_hudmessage( 0, "TUBER ( %i )", iVipsConnected );

thank you for help

OciXCrom 05-04-2018 10:03

Re: Hud Message Multi Colors
 
Out of 4 HUD message channels available in CS, you used 3 of them for a single message. Definitely not the greatest solution you can come up with.

Natsheh 05-06-2018 04:43

Re: Hud Message Multi Colors
 
He is using dhud messages.

fvRate 05-06-2018 08:03

Re: Hud Message Multi Colors
 
@Natsheh, he is not.
And for what @OciXCrom said, since the limitation is 4, then I don't see any problem of making it that way. If he wants more then he could use dhud ( limitation : 8 messages ). that's a fine solution.

instinctpt1 05-06-2018 10:58

Re: Hud Message Multi Colors
 
Quote:

Originally Posted by fvRate (Post 2590921)
@Natsheh, he is not.
And for what @OciXCrom said, since the limitation is 4, then I don't see any problem of making it that way. If he wants more then he could use dhud ( limitation : 8 messages ). that's a fine solution.

OciXcrom is not saying that .. using diff huds at diff position to show 1 message wont work.. infact he is actually telling you that its not a good way to do so :nono:

fvRate 05-06-2018 12:23

Re: Hud Message Multi Colors
 
And I'm telling you it's not the same position. He's changing the position by adding a line( ^n) in the first pos, and for the third one, he's adding 0.03 for Float : x


All times are GMT -4. The time now is 04:32.

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