IsTransferBoxVisible: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
{{Server client function}} | {{Server client function}} | ||
{{Added feature/item | {{Added feature/item|1.5.9|1.5.8|20788|Determines if the transfer box is visible.}} | ||
==Syntax== | ==Syntax== | ||
Line 31: | Line 31: | ||
==See Also== | ==See Also== | ||
{{ | {{Server_functions}} |
Revision as of 21:32, 23 September 2021
Determines if the transfer box is visible.
Syntax
bool isTransferBoxVisible ( )
Returns
On server this returns a boolean, whether the transfer box should be visible during downloads or not.
On client this returns a boolean, whether the transfer box should be visible or not at the time of invocation.
Example
Click to collapse [-]
ClientThis example defines a command to remove the player's transfer box.
function isVisible () if isTransferBoxVisible () then setTransferBoxVisible (false) outputChatBox ("* "..getPlayerName (localPlayer).." you are downloading the server!", 255, 255, 255, true) end end addCommandHandler ("download2", isVisible)
Requirements
This template will be deleted.
See Also
- getMaxPlayers
- getServerConfigSetting
- getServerHttpPort
- getServerName
- getServerPassword
- getServerPort
- isGlitchEnabled
- setGlitchEnabled
- setMaxPlayers
- setServerConfigSetting
- setServerPassword
- shutdown