Example
Duration
Window:Banner({
Text = "This is a example",
Duration = 5
})Button
Window:Banner({
Text = "This is a example",
Button = { -- This is the default button
Text = "Cancel",
Callback = function(Func)
warn("Cancel clicked")
Func:Close()
end
}
Options = { -- Here you can add your buttons
Ok = function(Func)
print("Ok clicked")
Func:Close()
end
}
})Last updated