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

Function

pathIsDirectory

ServerFilesIdentical to MTA:SA

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

Syntax

bool pathIsDirectory(string path)

Arguments

pathstring
The path.

Returns

true for a folder.

Example

if not pathIsDirectory("logs") then outputDebugString("Brak folderu logs") end

See also