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