isTransferBoxVisible | Multi Theft Auto: Wiki Skip to content

isTransferBoxVisible

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 if the transfer box is visible.

Syntax

​bool isTransferBoxVisible ( )

Returns

  • bool: value

On server this returns a boolean, whether the transfer box should be visible during downloads or not.

Code Examples

shared

This example defines a command to remove the player's transfer box.

function isVisible ()
if isTransferBoxVisible () then
setTransferBoxVisible (false)
outputChatBox ("* "..getPlayerName (localPlayer).." you are downloading the server!", 255, 255, 255, true)
end
end
addCommandHandler ("download2", isVisible)