SetTransferBoxVisible

From Multi Theft Auto: Wiki
Revision as of 11:33, 20 January 2021 by StrixG (talk | contribs) (Fix link to player element)
Jump to navigation Jump to search

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