SetTransferBoxVisible

From Multi Theft Auto: Wiki
Revision as of 17:24, 7 November 2024 by Fernando187 (talk | contribs) (Remove obsolete Requirements section)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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