mirror of
https://github.com/edubart/otclient.git
synced 2025-10-16 04:24:54 +02:00
rework on resources system
This commit is contained in:
@@ -3,9 +3,9 @@ function autoDestroyParent()
|
||||
end
|
||||
|
||||
function messageBox(title, text)
|
||||
local msgBox = UI.load("modules/messagebox/messagebox.yml")
|
||||
local msgBox = UI.load("messagebox.yml")
|
||||
msgBox.locked = true
|
||||
msgBox.title = title
|
||||
msgBox:child("textLabel").text = text
|
||||
msgBox:child("okButton").onClick = autoDestroyParent
|
||||
msgBox:child("okButton").onClick = autoDestroyParentz
|
||||
end
|
||||
|
Reference in New Issue
Block a user