plugins/include/files.inc
changeset 4199 6e0c63e83c8a
parent 2445 b0cefeafe09a
     1.1 --- a/plugins/include/files.inc	Tue Jan 07 14:24:41 2014 -0500
     1.2 +++ b/plugins/include/files.inc	Tue Jan 07 14:24:53 2014 -0500
     1.3 @@ -303,9 +303,9 @@
     1.4   *
     1.5   * @param path			Path to the file.
     1.6   * @param use_valve_fs	If true, the Valve file system will be used instead.
     1.7 - *						This can be used to check for the existance of files 
     1.8 - *						inside GCFs or the game cache, rather than solely files 
     1.9 - *						that are on disk.
    1.10 + *						This can be used to find files existing in any of
    1.11 + *						the GAME search paths, rather than solely files 
    1.12 + *						existing directly in the gamedir.
    1.13   * @return				True if the file exists, false otherwise.
    1.14   */
    1.15  native bool:FileExists(const String:path[], bool:use_valve_fs=false);
    1.16 @@ -331,9 +331,13 @@
    1.17   * Get the file size in bytes.
    1.18   *
    1.19   * @param path			Path to the file.
    1.20 + * @param use_valve_fs	If true, the Valve file system will be used instead.
    1.21 + *						This can be used to find files existing in any of
    1.22 + *						the GAME search paths, rather than solely files 
    1.23 + *						existing directly in the gamedir.
    1.24   * @return				File size in bytes, -1 if file not found.
    1.25   */
    1.26 -native FileSize(const String:path[]);
    1.27 +native FileSize(const String:path[], bool:use_valve_fs=false);
    1.28  
    1.29  /**
    1.30   * Flushes a file's buffered output; any buffered output