HolyLib Wiki

filesystem.Exists

 boolean filesystem.Exists( string fileName, string gamePath )

Description

Checks if the give fileName exists in the given path.

This doesn't work with folders!

Arguments

1string fileName

file to check existance

2string gamePath

game path to use

Returns

1boolean exists

Returns true if the file exists