Code
local function main()
local resultTable = MessageBox(
{
title = "TEST_1",
message = "INFORMATION",
commands = {{value = 1, name = "Ok"}, {value = 0, name = "Cancel"}}
}
)
Printf(resultTable.commands)
end
return main
Display More
How do I read informations from "commands" ?
I want to stop script to roll if I am missing informations.. But I can't find how to extract value from "commands", so I could ue the Cancel button.
Thank you