diff -r b046cf080755 -r 91f2e0437e12 plugins/include/files.inc --- a/plugins/include/files.inc Tue Jan 22 16:47:10 2008 +0000 +++ b/plugins/include/files.inc Tue Jan 22 17:04:59 2008 +0000 @@ -302,9 +302,13 @@ * Checks if a file exists. * * @param path Path to the file. + * @param use_valve_fs If true, the Valve file system will be used instead. + * This can be used to check for the existance of files + * inside GCFs or the game cache, rather than solely files + * that are on disk. * @return True if the file exists, false otherwise. */ -native bool:FileExists(const String:path[]); +native bool:FileExists(const String:path[], bool:use_valve_fs=false); /** * Renames a file.