native
funcidx
Syntax
native funcidx(const name[]);
Description
Returns the function index of a public function declared in the plugin.
Parameters
| name | Function name |
|---|
Return
Function index > 0 on success, -1 if function was not found
Error
If the function name is too long (longer than 63 characters)
an error will be thrown.