file.ExistsEx

From GMod Wiki

Jump to: navigation, search
Function
Syntax file.ExistsEx( String filename, [ Boolean addons ] )
Where is this used?
Description:
Checks for file existance
Returns: Boolean
Part of Library: File
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=File.ExistsEx]File.ExistsEx [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionChecks if 'example.txt' exists in data/.
Used onNewerShared.png
Code
print(file.ExistsEx("example.txt"))
OutputN/A


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox