Difference between revisions of "Lua:messageDialog"

From Cheat Engine
Jump to navigation Jump to search
m (EXAMPLES)
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
[[Category:Lua]]
 
'''function''' messageDialog(''Text'', ''Type'', ''Button'', ...)
 
'''function''' messageDialog(''Text'', ''Type'', ''Button'', ...)
  
Line 25: Line 26:
  
  
== See also ==
+
{{LuaSeeAlso}}
* [[Lua]]
 
  
  
  
  
==EXAMPLES==
 
  
messageDialog("NÃO NOS RESPONSABILIZAMOS POR BANIMENTOS\nCONTINUAR?", mtInformation, mbYes,mbNo)
+
Autor: Rafael Lima
  
MessageDialog('Do you really want to continue?', mtConfirmation, mbYes, mbNo, mbCancel, 0)
+
Facebook: www.facebook.com/officialrafaellima
  
messageDialog("NÃO NOS RESPONSABILIZAMOS POR BANIMENTOS\nCONTINUAR?", mtError, mbYes,mbNo)
+
Discord: CHEATS GAMES#6003
  
messageDialog("POR FAVOR SELECIONE O PROCESSO CORRETO", mtError, mbOK)
+
Youtube: www.youtube.com/c/CHEATSGAMES
  
messageDialog("BEM VINDO!\nBY RAFAEL LIMA!", mtInformation, mbYes,mbOK)
+
Contato: contato@cheatenginebrasil.com.br
  
messageDialog(mtError,'do i have?','Title',mbOK)
 
  
messageDialog('Custom dialog',mtCustom,mbYes,mbOK)
+
---[[
 +
Para executar as mensagens, clique em:
  
messageDialog(None,'do i have?','Title')
+
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)

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

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



Autor: Rafael Lima

Facebook: www.facebook.com/officialrafaellima

Discord: CHEATS GAMES#6003

Youtube: www.youtube.com/c/CHEATSGAMES

Contato: contato@cheatenginebrasil.com.br


---[[ 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)