Skip to content

Confirm

Anthony Headley edited this page Apr 19, 2020 · 2 revisions

Confirm([string:Header [, string:Body]) : boolean

Breif:

Displays the user a OK/Cancel question with header and multiline body text

Paramiters:

Name Description Optional
string:Header Header text
object:Body Multiline body text

Returns:

boolean: OK false: Cancel

Examples:

local result = Confirm("Do you want to exit?", "Are you sure?")
Clone this wiki locally