View Single Post
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 04-10-2010 , 23:51   Re: How to make hudmessage not go away?
Reply With Quote #6

Quote:
Originally Posted by NiQu View Post
I will try that, but what shud i do with "start_displaying"?
Call that when you want to begin displaying the "permanent" HUD.

Here's some extra info that may help you...

If you want to stop displaying the HUD at any time, call remove_task( 2356 ).
To check if this HUD is being displayed, use task_exists( 2356 ).

If you want to display the HUD for only X seconds while allowing it to be updated w\ new data each second, pass the "a" flag instead of "b" and specify the number of seconds.

For example, to show the above HUD for only 30 seconds:
set_task( 1.0 , "display_msg" , 2356 , _ , _ , "a" , 30 );
__________________

Last edited by Bugsy; 04-11-2010 at 00:02.
Bugsy is offline