SetTransferBoxVisible: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
m (Fix link to player element)
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{Server client function}}
{{Server client function}}
{{New feature/item|3.0160|1.5.8|20788|Determines whether or not the transferbox should appear to [[players]].}}
{{New feature/item|3.0160|1.5.8|20788|Determines whether or not the transferbox should appear to [[Player|players]].}}


==Syntax==
==Syntax==

Revision as of 11:33, 20 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