Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pergunta = "Qual seu nome de verdade?"
- ui.addPopup(1, 2, pergunta, name, 0, 320, 800, 0, 1)
- function eventPopupAnswer(id, name, resposta)
- if id == 1 then
- print("<D>" .. name .. ": " .. "<N>" .. resposta)
- ui.addPopup(1, 3, "\n" .. "Obrigado por responder " .. name .. ", já estou lendo sua resposta" .. "\n" .. "\n", name, 0, 314, 800, 0, 1)
- if resposta == "" then
- ui.addPopup(1, 2, quiz, playerName, 0, 320, 800, 0, 1)
- ui.addPopup(2, 3, "\n" .. "Que feio, que feio " .. name .. ", não vai me dizer nada?" .. "\n" .. "\n", name, 0, 314, 800, 0, 1)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement