SetTransferBoxVisible: Difference between revisions
Jump to navigation
Jump to search
(add setTransferBoxVisible) |
No edit summary |
||
Line 17: | Line 17: | ||
<section name="Server" class="server" show="true"> | <section name="Server" class="server" show="true"> | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
addEventHandler('onResourceStart', resourceRoot, function() | addEventHandler('onResourceStart', resourceRoot, function() |
Revision as of 14:14, 18 January 2021
Determines whether or not the transferbox should appear to players.
Syntax
bool setTransferBoxVisible ( bool visible )
Required Arguments
- visible: The new visibility state.
Returns
Returns true if the visibility was set successfully, false otherwise.
Examples
Click to collapse [-]
ServeraddEventHandler('onResourceStart', resourceRoot, function() setTransferBoxVisible(false) end)
Requirements
This template will be deleted.