added amb1378 - FileExists() for valve fs
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401860
This commit is contained in:
@@ -302,9 +302,13 @@ native FilePosition(Handle:file);
|
||||
* 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.
|
||||
|
||||
Reference in New Issue
Block a user