native

find_plugin_byfile

Syntax

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

Description

Returns plugin id by filename.

Parameters

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

Return

Plugin id, -1 (INVALID_PLUGIN_ID) on failure