IsTransferBoxAlwaysVisible: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{Client function}}
{{Client function}}
{{New feature/item|3.0159|1.5.8|20788|Determines if the transfer box should be always visible during downloads. Players can forcefully show the transfer box through a user setting, even if disabled by scripts.}}
{{Added feature/item|3.0159|1.5.9|1.5.8|20788|Determines if the transfer box should be always visible during downloads. Players can forcefully show the transfer box through a user setting, even if disabled by scripts.}}


==Syntax==
==Syntax==
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
bool isTransferBoxAlwaysVisible()
bool isTransferBoxAlwaysVisible ( )
</syntaxhighlight>
</syntaxhighlight>


===Returns===
===Returns===
Returns a boolean, whether the transfer box should be always visible or not.
Returns a [[boolean]], whether the transfer box should be always visible or not.


==Examples==
==Examples==
Line 15: Line 15:


==Requirements==
==Requirements==
{{Requirements||1.5.8-9.20788|}}
{{Requirements|n/a|1.5.8-9.20788|}}

Revision as of 09:59, 20 September 2021

20788

Syntax

bool isTransferBoxAlwaysVisible ( )

Returns

Returns a boolean, whether the transfer box should be always visible or not.

Examples

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

Before submitting check out Editing Guidelines Script Examples.


Requirements

Minimum server version n/a
Minimum client version 1.5.8-9.20788

Note: Using this feature requires the resource to have the above minimum version declared in the meta.xml <min_mta_version> section. e.g. <min_mta_version client="1.5.8-9.20788" />