dir_exists
- Синтаксис
-
native dir_exists(const dir[], bool:use_valve_fs = false);
Переменная | Описание |
---|---|
dir |
Path to the directory |
use_valve_fs |
If true, the Valve file system will be used instead. This can be used to find files existing in any of the Valve search paths, rather than solely files existing directly in the gamedir. |
- Описание
- Checks if a directory exists.
- Возвращает
- 1 if the directory exists, 0 otherwise