Difference between revisions of "Lua:messageDialog"
Cheatsgames (talk | contribs) (Tipos de Mensagens-Types of messages (messageDialog) -Cortesia/Courtesy CHEATS GAMES) |
Cheatsgames (talk | contribs) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 33: | Line 33: | ||
Autor: Rafael Lima | Autor: Rafael Lima | ||
+ | |||
Facebook: www.facebook.com/officialrafaellima | Facebook: www.facebook.com/officialrafaellima | ||
+ | |||
Discord: CHEATS GAMES#6003 | Discord: CHEATS GAMES#6003 | ||
+ | |||
Youtube: www.youtube.com/c/CHEATSGAMES | Youtube: www.youtube.com/c/CHEATSGAMES | ||
+ | |||
Contato: [email protected] | Contato: [email protected] | ||
+ | |||
---[[ | ---[[ | ||
Para executar as mensagens, clique em: | Para executar as mensagens, clique em: | ||
+ | |||
Table>Show Cheat Table Lua script | Table>Show Cheat Table Lua script | ||
+ | |||
Cole uma das mensagens abaixo e clique em "Execute Script" | Cole uma das mensagens abaixo e clique em "Execute Script" | ||
+ | |||
To run the messages, click: | To run the messages, click: | ||
+ | |||
Table> Show Cheat Table Lua script | Table> Show Cheat Table Lua script | ||
+ | |||
Paste one of the messages below and click on "Execute Script" | Paste one of the messages below and click on "Execute Script" | ||
+ | |||
]]--- | ]]--- | ||
--ERRO: | --ERRO: | ||
+ | |||
messageDialog("MENSAGEM DE ERRO",mtError, mbYes, mbNo) | messageDialog("MENSAGEM DE ERRO",mtError, mbYes, mbNo) | ||
+ | |||
--INFORMATION | --INFORMATION | ||
+ | |||
messageDialog("MENSAGEM DE INFORMACAO",mtInformation, mbYes, mbNo) | messageDialog("MENSAGEM DE INFORMACAO",mtInformation, mbYes, mbNo) | ||
+ | |||
--CONFIRMATION | --CONFIRMATION | ||
+ | |||
messageDialog("MENSAGEM DE CONFIRMACAO",mtConfirmation, mbYes, mbNo) | messageDialog("MENSAGEM DE CONFIRMACAO",mtConfirmation, mbYes, mbNo) | ||
+ | |||
--WARNING: | --WARNING: | ||
+ | |||
messageDialog("MENSAGEM DE PERIGO",mtWarning, mbYes, mbNo) | messageDialog("MENSAGEM DE PERIGO",mtWarning, mbYes, mbNo) |
Latest revision as of 06:14, 31 October 2020
function messageDialog(Text, Type, Button, ...)
Displays a messagebox of a specific type with a variable amount of buttons at the center of the screen with the provided text.
Returns: ButtonResult
Function Parameters[edit]
Parameter | Type | Description |
---|---|---|
Text | String | The message to show |
Type | DialogType | The type of the messagebox. |
Button | ButtonType | The kind of button. There can be multiple buttons provided |
See also[edit]
Autor: Rafael Lima
Facebook: www.facebook.com/officialrafaellima
Discord: CHEATS GAMES#6003
Youtube: www.youtube.com/c/CHEATSGAMES
Contato: [email protected]
---[[
Para executar as mensagens, clique em:
Table>Show Cheat Table Lua script
Cole uma das mensagens abaixo e clique em "Execute Script"
To run the messages, click:
Table> Show Cheat Table Lua script
Paste one of the messages below and click on "Execute Script"
]]---
--ERRO:
messageDialog("MENSAGEM DE ERRO",mtError, mbYes, mbNo)
--INFORMATION
messageDialog("MENSAGEM DE INFORMACAO",mtInformation, mbYes, mbNo)
--CONFIRMATION
messageDialog("MENSAGEM DE CONFIRMACAO",mtConfirmation, mbYes, mbNo)
--WARNING:
messageDialog("MENSAGEM DE PERIGO",mtWarning, mbYes, mbNo)