MTA:Eir/FileSystem/translator/setOutbreakEnabled

From Multi Theft Auto: Wiki
Revision as of 23:30, 16 January 2022 by Quiret (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function sets 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

void translator:setOutbreakEnabled ( bool enabled )

Arguments

  • enabled: value for the translator outbreak-policy

Returns

This function returns nil.

Example

-- TODO

FileSystem Translator Functions