alert dialog
Last updated
Last updated
local alert = exports.lvs_lib:alertDialog({
header = 'LVS Scripts',
content = '# Hello there \n **Markdown** `support`!',
cancel = true
})
-- returns 'confirm' if the player pressed the confirm button,
-- otherwise if the player pressed the cancel button return will be 'cancel'
print(alert)
-- close de alert
-- force closes the active alert dialog and sets its return data as nil
exports.lvs_lib:closeAlertDialog()