Code:
public send_callback(function[])
{
for(new i = 0; i < get_pluginsnum(); i++)
{
new filename[100],other[100]
get_plugin ( i,filename,99,other,99,other,99,other,99,other,99 )
new check = callfunc_begin ( function, filename )
if(check > 0)
{
new block = callfunc_end ( )
if(block == PLUGIN_HANDLED) return;
}
}
return;
}
As you can see, this will call the plugin in ALL plugins, and block it if the plugin wants.
It is faster, but less effecient the the server command callback.
You can easily add parameters to it as well, as many as you like.
__________________