I'm using callfunc_* natives in my plugin so I can register items in a menu from external plugins, but with callfunc_* you don't have the ability of returning PLUGIN_HANDLED in the external plugin and then blocking the function in the main plugin.
I was thinking of using
this but it differs from my usage
The usage shown in the link:
PHP Code:
public plugin_init( )
{
some_native("MyFunction");
}
public MyFunction(param)
{
return 1;
}
My usage:
PHP Code:
public plugin_init( )
{
some_native( "Item Name", Itemcost, "CallBackHandler" );
}
public CallBackHandler( id )
{
client_print( id, print_chat, "Hello there!" );
}
Can CreateOneForward be used in the form that I'm using callfunc?
__________________