Raised This Month: $ Target: $400
 0% 

detecting if a player presses a key


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 05-08-2012 , 12:57   Re: detecting if a player presses a key
Reply With Quote #2

no it wont.

PHP Code:
register_forward(FM_CmdStart"CmdStart"
PHP Code:
public CmdStart(idHandle) {
    if(
iNoscope[id] == && is_user_alive(id)) {
        static 
button
        button 
get_uc(HandleUC_Buttons)
    
        if (
button IN_SCORE) {
            
button &= ~IN_SCORE
        
}
    
        
set_uc(HandleUC_Buttonsbutton)
    }

this blocks the client going into the scoreboard as far as i know.
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
 



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 00:21.


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