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

Function

isResourceArchived

ServerResourcesIdentical to MTA:SA

Checks whether a resource is packed in a ZIP archive. Trilogy Hub resources are plain folders, so it always returns false.

Syntax

bool isResourceArchived(resource theResource)

Arguments

theResourceresource
The resource.

Returns

Always false.

Example

outputServerLog(tostring(isResourceArchived(getThisResource())))

See also