Quote:
Originally Posted by Black Rose
Code:
public client_command(id) {
new command[9];
read_argv(0, command, charsmax(command));
if ( equali(command, "amx_ban" ) {
// Your code instead of amx_ban.
return PLUGIN_HANDLED;
}
return PLUGIN_CONTINUE;
}
|
That will not prevent the original amx_ban from executing. The player will already be kicked when my function starts.
Quote:
Originally Posted by YamiKaitou
Just remove the register_concmd line from the plugin that registers it
|
Replacing another plugin is harder than just putting mine first in plugins.ini.