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;
}