IsResourceArchived: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ {{Shared function}} {{New feature/item|3.0155|1.5.5|11533| Checks whether a resource is currently archived (running from within a ZIP file). }} ==Syntax== <syntaxhi...")
 
m (isResourceArchived is server only, not shared)
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{Shared function}}
{{Server function}}
{{New feature/item|3.0155|1.5.5|11533|
{{New feature/item|3.0155|1.5.5|11533|
Checks whether a resource is currently archived (running from within a ZIP file).
Checks whether a resource is currently archived (running from within a ZIP file).

Revision as of 00:07, 4 July 2017

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 false 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