SetTransferBoxVisible

From Multi Theft Auto: Wiki
Revision as of 02:51, 5 January 2021 by IDannz (talk | contribs) (add setTransferBoxVisible)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

This example creates a ped, rotates him, and makes him walk:

addEventHandler('onResourceStart', resourceRoot, function()
    setTransferBoxVisible(false)
end)

Requirements

This template will be deleted.