Confirm Dialog

`confirmDialog(data)` → `'confirm'|'cancel'`

Blocking. Shows a confirmation dialog and waits for the player's choice.

Field Type Default Description
title string '' Dialog title
message string Body text
confirmText string 'Confirm' Confirm button label
cancelText string 'Cancel' Cancel button label
size string 'md' 'sm', 'md', 'lg', 'xl'
centered boolean true Center the dialog text
local result = exports['amzn_uikit']:confirmDialog({
    title = 'Delete Item',
    message = 'Are you sure you want to delete this item?',
})
if result == 'confirm' then
    -- delete it
end

`closeConfirmDialog()`

Closes the active confirm dialog programmatically (resolves as 'cancel').

Previews

GLASS

GLASS

919DESIGN 919DESIGN

© 2026 919DESIGN. Premium FiveM Server Management Resources.

This website and its checkout process is owned & operated by Tebex Limited, who handle product fulfilment, billing support and refunds.