Update get_func_id description (#430)

Return id 0 on success too
This commit is contained in:
Vadim 2017-04-30 00:13:29 +05:00 committed by Vincent Herbet
parent 398983fc49
commit be3ae83c44

View File

@ -2320,7 +2320,7 @@ native callfunc_begin_i(func, plugin = -1);
* @param pluginId Plugin id, if -1 the calling plugin is targeted * @param pluginId Plugin id, if -1 the calling plugin is targeted
* The plugin id can be retrieved using find_plugin_byfile() * The plugin id can be retrieved using find_plugin_byfile()
* *
* @return >0 Function id on success * @return >=0 Function id on success
* -1 if plugin or function was not found * -1 if plugin or function was not found
*/ */
native get_func_id(const funcName[], pluginId = -1); native get_func_id(const funcName[], pluginId = -1);