[HELP] Hud MSG Color ?
Hi!
i want make Hud message display between two colors how i can do that ? Such as lights :fox: |
Re: [HELP] Hud MSG Color ?
You want the color to change color every X seconds or have two colors at the same time?
|
Re: [HELP] Hud MSG Color ?
i want the color balance in 1s between red and blue, for example, when the Red disappears it appears blue and vice versa
|
Re: [HELP] Hud MSG Color ?
So, change color every X seconds then?
|
Re: [HELP] Hud MSG Color ?
Can you give an example?
|
Re: [HELP] Hud MSG Color ?
Quote:
Spoiler
|
Re: [HELP] Hud MSG Color ?
addons_zz
Thanks but how to make them among the only two colors? ex: Blue & yellow PHP Code:
|
Re: [HELP] Hud MSG Color ?
Quote:
Code:
|
Re: [HELP] Hud MSG Color ?
Make a global boolean for blue and red switch.
Add at the top of your plugin: new bool:g_red And change PHP Code:
PHP Code:
Now every time when you execute function it will set 1 second hud message with switched colors. So if you want message stays 10 seconds on screen and the color switches every second from red to blue and vice versa then set task, like: PHP Code:
|
Re: [HELP] Hud MSG Color ?
I want to make the red color appears for 3 seconds before change to red and then the blue color shows for 3 seconds before change to red also ? how can i do that ?
|
| All times are GMT -4. The time now is 09:24. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.