Skip to content

SetBankDoorStatus

Sets the status of a bank door.

Argument Data Type Nedeed Default Description
bankId number - The index in the Config.Banks table
doorId string - Internal id to refer the door, generally can be one of the following values: vault, prevault, shutters
status boolean - True to open the door, false to close it (for shutters its inverted, so true = closed)

Example
exports["utility_bank"]:SetBankDoorStatus(1, "shutters", true)