PHP Code:
public plugin_init()
{
register_clcmd("say","sayfunction");
}
public sayfunction(id)
{
//..code
return PLUGIN_HANDLED
}
PHP Code:
//Plugin passes through operation. Whatever called it continues.
#define PLUGIN_CONTINUE 0
//Plugin halts continued operation (plugins following in the plugins.ini won't be called).
//Whatever called it will eventually supercede.
#define PLUGIN_HANDLED 1
//Continue calling plugins but halt the operation
#define PLUGIN_HANDLED_MAIN 2
__________________