Raised This Month: $ Target: $400
 0% 

Restrict function...


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Jinto
Member
Join Date: Jun 2004
Location: Seattle, WA
Old 03-27-2005 , 02:30  
Reply With Quote #6

This is how I block the powerup in esf if I don't want them using it. ( I'm using metamod but here is an amxx snippet ).

Code:
public plugin_init( ) {
     register_clcmd( "+powerup", "powerup" );
     register_clcmd( "-powerup", "powerup" );
}

public powerup( id, level, cid ) {
     if( ACTIONA ) {
          return PLUGIN_HANDLED;
     }
     
     return PLUGIN_CONTINUE;
}
Jinto is offline
Send a message via ICQ to Jinto Send a message via AIM to Jinto Send a message via MSN to Jinto Send a message via Yahoo to Jinto
 



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 09:59.


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