find_plugin_byfile

Syntax

native find_plugin_byfile(const filename[], ignoreCase = 1);

Usage

filename
Filename to match
ignoreCase
If nonzero matches case insensitively, case sensitively
otherwise

Description

Returns plugin id by filename.

Return

Plugin id, -1 (INVALID_PLUGIN_ID) on failure