Thread: [Solved] Edit hud
View Single Post
Moody92
Veteran Member
Join Date: May 2011
Location: Oman
Old 03-16-2019 , 16:31   Re: Edit hud
Reply With Quote #15

Quote:
Originally Posted by OciXCrom View Post
Why not simply set the holdtime to be the same as TASK_INTERVAL? This way the message will disappear just before the next one appears and the colors will remain as set.
Excuse my ignorance, never actually read the whole set_hudmessage native. Now that I have, setting the hold time to equal task_interval prompts flickering of the hud, so I just added a 0.1 second there to prevent that. Also, I think the fade-in and fade-out time have an impact on the color so I set them to 0.

OP you should look at my last post. It should work for you now.

EDIT: The color will still flicker to white and back, unless you use a darker color, but now it's way less white than it was before.

Last edited by Moody92; 03-16-2019 at 16:35.
Moody92 is offline