Raised This Month: $ Target: $400
 0% 

Make HUD Text Disappear


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Randomize
BANNED
Join Date: May 2012
Location: in your heart
Old 07-31-2013 , 05:42   Make HUD Text Disappear
Reply With Quote #1

Hey guys, I am trying to make some huds are showed when I press TAB and disappear after I release the TAB, the problem is when I pressed the TAB, the huds showed and weren't permanent, also how to remove the huds after I release the TAB?

In client_PreThink
PHP Code:
if (Button IN_SCORE)
    {
        
score(id)
    }
    else if ((
OldButton IN_SCORE) && !(Button IN_SCORE))
    {
        
//remove hud message
    

In public score
PHP Code:
public score(){
get_user_name(iT[0], t_name131)
        
get_user_name(iT[1], t_name231)
        
get_user_name(iT[2], t_name331)
        
get_user_name(iT[3], t_name431)
        
get_user_name(iT[4], t_name531)
        
get_user_name(iT[5], t_name631)
        
get_user_name(iT[6], t_name731)
        
get_user_name(iT[7], t_name831)
        
        
formatex(t_line_name131"%s"t_name1)
        
formatex(t_line_name231"%s"t_name2)
        
formatex(t_line_name331"%s"t_name3)
        
formatex(t_line_name431"%s"t_name4)
        
formatex(t_line_name531"%s"t_name5)
        
formatex(t_line_name631"%s"t_name6)
        
formatex(t_line_name731"%s"t_name7)
        
formatex(t_line_name831"%s"t_name8)
        
        
set_hudmessage(1951951950.00.106.012.00.00.01)
        
show_hudmessage(idt_line_name1)
        
set_hudmessage(1951951950.00.206.012.00.00.02)
        
show_hudmessage(idt_line_name2)
        
set_hudmessage(1951951950.00.306.012.00.00.03)
        
show_hudmessage(idt_line_name3)
        
set_hudmessage(1951951950.00.406.012.00.00.04)
        
show_hudmessage(idt_line_name4)
        
set_hudmessage(1951951950.00.506.012.00.00.05)
        
show_hudmessage(idt_line_name5)
        
set_hudmessage(1951951950.00.606.012.00.00.06)
        
show_hudmessage(idt_line_name6)
        
set_hudmessage(1951951950.00.706.012.00.00.07)
        
show_hudmessage(idt_line_name7)
        
set_hudmessage(1951951950.00.806.012.00.00.08)
        
show_hudmessage(idt_line_name8)

Randomize is offline
 



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:54.


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