Better to return PLUGIN_HANDLED_MAIN so place where you declare it in plugins.ini doesn't matter :
Also, array size can be reduced.
PHP Code:
#include < amxmodx >
public plugin_init( )
{
register_plugin( "Hide Slash Commands", "1.0.0", "Kreation" );
register_clcmd( "say", "CmdSay" );
register_clcmd( "say_team", "CmdSay" );
}
public CmdSay( id )
{
new szArg[4];
read_args( szArg, charsmax( szArg ) );
remove_quotes( szArg );
return szArg[0] == '/' ? PLUGIN_HANDLED_MAIN : PLUGIN_CONTINUE;
}
__________________