LibraryExists
- Синтаксис
-
native LibraryExists(const library[], LibType:type);
Переменная | Описание |
---|---|
library |
Library/Class shortname |
type |
Type to search for |
- Описание
- Returns if a specific library or class is loaded.
- Пометка
-
This is the newer version of module_exists(), enabling users to distinguish between libraries and classes, while module_exists() always checks for both types.
- Пометка
-
For a list of possible types, see the LibType enum in amxconst.inc
- Возвращает
- 1 if module is loaded, 0 otherwise