plugins/include/files.inc
changeset 1854 91f2e0437e12
parent 1797 9242d6aa9f5b
child 1947 e73a1e51833b
     1.1 --- a/plugins/include/files.inc	Tue Jan 22 16:47:10 2008 +0000
     1.2 +++ b/plugins/include/files.inc	Tue Jan 22 17:04:59 2008 +0000
     1.3 @@ -302,9 +302,13 @@
     1.4   * Checks if a file exists.
     1.5   *
     1.6   * @param path			Path to the file.
     1.7 + * @param use_valve_fs	If true, the Valve file system will be used instead.
     1.8 + *						This can be used to check for the existance of files 
     1.9 + *						inside GCFs or the game cache, rather than solely files 
    1.10 + *						that are on disk.
    1.11   * @return				True if the file exists, false otherwise.
    1.12   */
    1.13 -native bool:FileExists(const String:path[]);
    1.14 +native bool:FileExists(const String:path[], bool:use_valve_fs=false);
    1.15  
    1.16  /**
    1.17   * Renames a file.