setTransferBoxVisible | Multi Theft Auto: Wiki Skip to content

setTransferBoxVisible

Client-side
Server-side
Shared

Manual Review Required

Please finish this page using the corresponding Old Wiki article. Go to Contribution guidelines for more information.


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

  • bool: value

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

Code Examples

shared
addEventHandler ("onResourceStart", resourceRoot, function()
setTransferBoxVisible (false)
end)