_plugin_unregistercommand

This function removes a command set by a plugin. It is only possible to remove commands that you previously registered using _plugin_registercommand.

bool _plugin_unregistercommand( int pluginHandle, //plugin handle const char* command //command name );

参数

pluginHandle:调用插件的句柄。
command:命令名称。

返回值

当回调被顺利移除时,此函数返回 true。