Lua:showMessage
Jump to navigation
Jump to search
function showMessage(Text)
Displays a simple message box with the given text and an OK button.
Function Parameters[edit]
| Parameter | Type | Description |
|---|---|---|
| Text | String | The message to display in the message box. |
Examples[edit]
showMessage("Hello, world!")
local name = "Player"
showMessage("Welcome, " .. name .. "!")