SetTransferBoxVisible: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
(Remove obsolete Requirements section)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{Server client function}}
{{Server client function}}
{{Added feature/item|3.0159|1.5.9|1.5.8|20788|Determines whether or not the transfer box should appear to [[Player|players]].}}
{{Added feature/item|1.5.9|1.5.8|20788|Determines whether or not the transfer box should appear to [[Player|players]].}}


==Syntax==
==Syntax==
Line 22: Line 22:
</syntaxhighlight>
</syntaxhighlight>
</section>
</section>
==Requirements==
{{Requirements|1.5.8-9.20788|1.5.8-9.20788|}}


==See Also==
==See Also==
{{Shared_server_functions}}
{{Server_functions}}

Latest revision as of 17:24, 7 November 2024

Determines whether or not the transfer box should appear to players.

Syntax

bool setTransferBoxVisible ( bool visible )

Required Arguments

  • visible: The new transfer box visibility state.

Returns

Returns true if the visibility was set successfully, false otherwise.

Examples

Click to collapse [-]
Server
addEventHandler ("onResourceStart", resourceRoot, function()
    setTransferBoxVisible (false)
end)

See Also