nevix
Tunzodus.net
Code:
function onSay(player, words, param)
local title = "Choose your ability!"
local message = 'Points to spend: \n Plus Name Current\n '
local window = ModalWindow(1, title, message)
player:registerEvent("modal_1")
window:addChoice(1, '[+1%] [Attack bonus] [+%2]')
window:addChoice(2, '[+1%] [Attack bonus] [+%2]')
window:addChoice(3, '[+1%] [Attack bonus] [+%2]')
window:addChoice(4, '[+1%] [Attack bonus] [+%2]')
window:addChoice(5, '[+1%] [Attack bonus] [+%2]')
window:addButton(1, "Confirm")
window:addButton(10, "Cancel")
window:setDefaultEscapeButton(10)
window:setDefaultEnterButton(1)
window:sendToPlayer(player)
end
and that [+%2] doesn't display on the window. How to increase the side of modal window?