isTransferBoxVisible | Multi Theft Auto: Wiki Skip to content

isTransferBoxVisible

Client-side
Server-side
Shared

This page is incomplete! Help wanted!

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

isTransferBoxVisible ( )

Code Examples

server

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)