Raised This Month: $ Target: $400
 0% 

Check if command is being executed


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 07-31-2010 , 11:37   Re: Check if command is being executed
Reply With Quote #1

PHP Code:
register_clcmd"+test" "Press" );
register_clcmd"-test" "Release" );

public 
Pressid )
{
    
client_printid print_chat "pressed" );
    
blabledid ] = 1;
}

public 
Releaseid )
{
    
client_printid print_chat "released" );
    
blabledid ] = 0;

__________________

Last edited by Bugsy; 07-31-2010 at 11:42.
Bugsy is offline
Reply



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


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