AMX Mod X API Documentation

Signature
native file_exists(const file[], bool:use_valve_fs = false);
Description

Checks if a file exists.

Parameters
  • file Path to the file
  • 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.

Returns

1 if the file exists, 0 otherwise

Назад
Верх