MTA:Eir/FileSystem/translator/getOutbreakEnabled

From Multi Theft Auto: Wiki
Revision as of 23:14, 16 January 2022 by Quiret (talk | contribs)
Jump to navigation Jump to search

This function gets the outbreak-policy of a file translator. If outbreak is enabled then file path requests outside of the translator root are allowed. Otherwise the user can only access files that are accessible from inside the translator root directory.

Syntax

bool translator.setOutbreakEnabled ()

Returns

This function returns true if the outbreak-policy is enabled for this translator, false otherwise.

Example

-- TODO

FileSystem Translator Functions