Use return PLUGIN_HANDLED. The only catch is your blocker plugin must be placed before the plugin containing the function in plugins.ini
Tested with my aimbot detection plugin
plugins.ini:
Code:
thisplugin.amxx
aimbotdetet.amxx
PHP Code:
new g_iSaid[ 33 ];
public plugin_init()
{
register_concmd( "amx_aimwatch" , "HookCmd" );
}
public HookCmd( id )
{
if ( ++g_iSaid[ id ] >= 3 )
{
client_print( id , print_center, "BLOCKED" );
return PLUGIN_HANDLED;
}
}
__________________