Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- question=true
- eventNewGame=function()
- question=true
- end
- eventPlayerWon=function(n)
- if question then
- ui.addTextArea(0, "<p align='center'>¿Cuando se creo tfm?", n, 319, 340, 161, 22, 0x324650, 0x000000, 1, false)
- ui.addTextArea(1, "<a href='event:correct'>2010", n, 336, 373, 58, 20, 0x324650, 0x000000, 1, true)
- ui.addTextArea(2, "<a href='event:wrong'>2012", n, 405, 373, 58, 20, 0x324650, 0x000000, 1, true)
- question=false
- end
- end
- eventTextAreaCallback=function(id,n,cb)
- if cb=="correct" then
- tfm.exec.setPlayerScore(n,16,true)
- end
- for i=0,2 do
- ui.removeTextArea(i)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement