Raised This Month: $ Target: $400
 0% 

Delay hudmessage from displaying


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
iclassdon
AlliedModders Donor
Join Date: May 2006
Old 12-18-2019 , 22:09   Delay hudmessage from displaying
Reply With Quote #1

How could I delay this hudmessage for lets say 1 or 2 seconds from displaying? I'm running this plugin on deathmatch and when I die the spectator hudmessage appears for 1 second until I respawn again. The original plugin page is listed below.

https://forums.alliedmods.net/showthread.php?p=484967

PHP Code:
    if( is_user_aliveid ) && !show_own )
  {
        if( 
prefs FL_LIST && spec_ids[id][0] && get_pcvar_nump_list_enabled ) )
        {
            
set_hudmessage(
        
get_pcvar_nump_red ),
        
get_pcvar_nump_grn ),
        
get_pcvar_nump_blu ),
        -
0.80/*x*/
        
0.14/*y*/
        
0/*fx*/
        
0.0/*fx time*/
        
1.1/*hold time*/
        
0.1/*fade in*/
        
0.1/*fade out*/
        
/*chan*/
            
);
            
show_hudmessageidlist_string[id], id"SPECTATING" );
        }
    }
    else 

Last edited by iclassdon; 12-18-2019 at 22:09.
iclassdon is offline
Send a message via MSN to iclassdon
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:31.


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