find_plugin_byfile

Синтаксис

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

Употреба

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

Описание

Returns plugin id by filename.

Връщаща стойност

Plugin id, -1 (INVALID_PLUGIN_ID) on failure