SetTransferBoxVisible: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 26: Line 26:
==Requirements==
==Requirements==
{{Requirements|1.5.8-9.20788|1.5.8-9.20788|}}
{{Requirements|1.5.8-9.20788|1.5.8-9.20788|}}
==See Also==
{{Shared_server_functions}}

Revision as of 14:19, 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 [-]
Server
addEventHandler('onResourceStart', resourceRoot, function()
    setTransferBoxVisible(false)
end)

Requirements

This template will be deleted.

See Also