IsResourceArchived

From Multi Theft Auto: Wiki
Revision as of 00:37, 4 July 2017 by Qaisjp (talk | contribs) (return nil if error)
Jump to navigation Jump to search

Checks whether a resource is currently archived (running from within a ZIP file).

Syntax

bool isResourceArchived ( resource resourceElement )

OOP Syntax Help! I don't understand this!

Method: resource:isArchived(...)
Variable: .archived


Required Arguments

  • resource: the resource to check

Returns

Returns true if a resource is archived, false if it is not archived, or nil if there is problem with resource.

Example

Accessories-text-editor.png Script Example Missing Function IsResourceArchived needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.
-- TODO


See Also