OpenVaultById
Server export to open a vault by ID
OpenVaultById
Open a configured vault from server code. Pass the vault's ID, not the door's model or coordinates.
Call the export
exports["FS-Robberies"]:OpenVaultById("paleto_main")Which vault ID to pass
Prop
Type
Check whether it worked
The result is a table. Check result.ok rather than testing the whole table as a boolean; the failure result is a table too.
Prop
Type