Signature
native get_func_id(const funcName[], pluginId = -1);
Description
Retrieves a functions id for use with callfunc_begin_i()
Parameters
- funcName — Function name
-
pluginId
—
Plugin id, if -1 the calling plugin is targeted
The plugin id can be retrieved using find_plugin_byfile()
Returns
>=0 Function id on success
-1 if plugin or function was not found