[HELP] HUD message to appear forever
how do i make a hud message appear forever?
lets say this one.... set_hudmessage(255, 0, 0, -1.0, 0.0, 0, 6.0, 12.0) show_hudmessage(id, "yo") thnx in advance |
Re: HUD message to appear forever
First off why would you want some HUD message to display forever...
but anyways I would just say set the time to whatever your roundtime is set to. For example lets say your server is set to mp_roundtime 5 for 5 minute rounds... Code:
I'm no expert but that would last for 5 minutes and re-appear as soon as the round restarted. |
Re: HUD message to appear forever
if you want,
maybe: 1. set a loop to show it 2. by dint of "menu system" 3. by dint of half-life's "help system" |
Re: HUD message to appear forever
i would just do a thing like...
Code:
#include <amxmodx> |
Re: HUD message to appear forever
ok ima stick with this code cause its works.
the only problem is it doesnt stay on forever like it disappears wen another hud message is displayed and reappears wen it goes away. even wen its in a totally different place. how do i fix that? Quote:
|
Re: HUD message to appear forever
I don't really think so, Thats just a thing that happens with huds to my knowledge.
What you might be able to do is change the set_task(10.0,"funtime",69,"",0,"b"); to like set_task(1.0,"funtime",69,"",0,"b"); That might make it reappear faster if it does disappear. |
Re: HUD message to appear forever
Then it will block all other messages :) You should display this HUD message in separate thread (if it possible)...
|
Re: HUD message to appear forever
what do you mean display in seperate thread?
i see what u mean by the other hud messages being blocked cause thats what is happening right now... how do i fix that? |
Re: [HELP] HUD message to appear forever
I'm not sure, but i think hud messages have layers. You should place your HUD message on another layer, so your message won't erase all others.
Code:
I think the "channel" is what you are looking for... |
Re: [HELP] HUD message to appear forever
i think this might work :)
correction.................. u are a genius!!! works perfect. thanks alot man |
All times are GMT -4. The time now is 18:05. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.