ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. pathIsFile

Function

pathIsFile

ServerFilesIdentical to MTA:SA

Checks whether a path in the resource folder points to a file.

Syntax

bool pathIsFile(string path)

Arguments

pathstring
The path.

Returns

true for a file.

Example

outputDebugString(tostring(pathIsFile("meta.xml")))

See also