IsTransferBoxAlwaysVisible: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
Tag: Reverted
(Remove obsolete Requirements section)
 
(One intermediate revision by one other user not shown)
Line 12: Line 12:


==Example==
==Example==
This command powered example shows if localplayer enabled TransferBox always visibility in settings
{{Needs Example}}
<syntaxhighlight lang="lua">
function checkTransferBoxAlwaysVisibility()
    outputChatBox(isTransferBoxAlwaysVisible() and "TransferBox always visibility enabled" or "TransferBox always visibility disabled")
end
addCommandHandler("transferbox_check", checkTransferBoxAlwaysVisibility)
</syntaxhighlight>
 
==Requirements==
{{Requirements|n/a|1.5.8-9.20788|}}


==See Also==
==See Also==
{{Server functions}}
{{Server functions}}

Latest revision as of 17:25, 7 November 2024

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

bool isTransferBoxAlwaysVisible ( )

Returns

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

Example

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.


See Also