Raised This Month: $ Target: $400
 0% 

Detect when scoreboard is shown.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Voltron
Senior Member
Join Date: Jun 2007
Location: Above the battlefield.
Old 05-09-2011 , 02:12   Re: Detect when scoreboard is shown.
Reply With Quote #5

PHP Code:
public FwdCmdStart(iduc_handle)
{
        static 
ButtonOldButtons;
        
Button get_uc(uc_handleUC_Buttons);
        
OldButtons pev(idpev_oldbuttons);
       
        if((
Button IN_SCORE) && !(OldButtons IN_SCORE))
        {
                
client_print(idprint_chat"tab pressed");
        }

Doesn't work.
But if I substitute IN_SCORE with IN_USE, it does!

What's up with that?
__________________
Voltron 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 04:23.


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