AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Hudmessage problem. (https://forums.alliedmods.net/showthread.php?t=211123)

.Dare Devil. 03-18-2013 15:43

Hudmessage problem.
 
Hello, Im making plugin what allow you to show menu with new colors but the problem is that
hudmessage wont disappear in right time and other hudmessage will come and text will be so highlighted what is not good at all.

Normal
http://www.upload.ee/image/3159186/0000000x1.png

Selected
http://www.upload.ee/image/3159189/0000000x2.png

Menu update and boom
http://www.upload.ee/image/3159195/0000000x3.png

( Sometimes its fine, sometimes not, so random. )
Hudmessage think every 5 second, there is possible to make it think faster so it will disappear faster but if you having ping 100++ menu will flashes.

Is there someway to make old hud message go away immediately?
Thank you!

.Dare Devil. 03-18-2013 15:54

Re: Hudmessage problem.
 
What i just noticed somehow, when you select and menu plugin update screen its working fine.
There must be some kind a trick to clear hudmessages from screen.

Edit: its horrible what happen in client-serverside when i change hud thinking to 0.1.


EDIT2:
Problem Solved Finally!!!
I did not know that channels are 1-4 not 0-3

Podarok 03-18-2013 17:14

Re: Hudmessage problem.
 
could you please share an example code ?

Bos93 03-18-2013 19:12

Re: Hudmessage problem.
 
http://forums.alliedmods.net/showthread.php?t=175878

.Dare Devil. 03-18-2013 23:50

Re: Hudmessage problem.
 
Quote:

Originally Posted by Bos93 (Post 1915288)

COLD! :)

Anyway if i get one bug fixed i will post that plugin.
Again same problem...

if i show an empty hudmessage ( for clearing ) and after that the real one then this highlight still happen, all old hudmessages disappear but somehow that new hudmessage will appear with hightlight.

Selecting effect works fine, after you press exit and that fade out works fine, but when menu items needs to be updated and i show 2x the same hudmessage ( with different text ofcourse ), then but will happen. they are hudmessages with same params the only difference is that one message hold time is 10x longer than for ohter.
if one hudmessage replace the message with 10x longer hold time, everything works just fine.
I just dont know what kind of game that hl hudmessage play with me!!
I'm tired...

Podarok 03-19-2013 02:03

Re: Hudmessage problem.
 
Really looking forward to you posting the code :)

Leon M. 03-19-2013 07:57

Re: Hudmessage problem.
 
Who cares about the menu colors. The given (plenty) menus are fine :p

Anyway, nobody can help you if you don't show your source. Think about it on your next thread, currently this is just spam.

TheDS1337 03-19-2013 09:51

Re: Hudmessage problem.
 
It's very good idea,
lot of peoples need this
btw, good job!

Syturi0 08-31-2015 05:13

Re: Hudmessage problem.
 
How do you have 2 difrent colors in the same hud message?

Depresie 08-31-2015 15:15

Re: Hudmessage problem.
 
Quote:

Originally Posted by Syturi0 (Post 2338536)
How do you have 2 difrent colors in the same hud message?

he doesn't

there are two different hud messages


All times are GMT -4. The time now is 01:19.

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