Signature
native CreateOneForward(plugin_id, const name[], ...);
Description
Creates a private forward that will be called in a single plugin.
Notes
-
Unlike other natives expecting a plugin id, specifying -1 will not
select the calling plugin, and instead throw an error.
Parameters
-
plugin_id
—
Plugin to call forward in. The plugin id can be
retrieved using find_plugin_byfile()
- name — Function name to call
- ... — List of parameter types
Returns
Forward handle, -1 on failure
Errors
-
If an invalid plugin id is specified, an error will be
thrown.