Jump to content

Ajuda nesta quest


ร¡๓vąℓ

Mensajes recomendados

Tou quest system with a monarch over her ta well:

when Wahl.timer with game.get_event_flag("Monarch") == 2 begin
                        server_timer ("Wahl", 1*60)
                        notice_all("A votação está em pleno andamento")
                        notice_all("estado atual:")
                        notice_all("Red: list 1: "..game.get_event_flag("rot1votes").."votes. list2: "..game.get_event_flag("rot2votes").."votes. list3: "..game.get_event_flag("rot3votes").."votes. list4: "..game.get_event_flag("rot5votes").."votes. list5: "..game.get_event_flag("rot5votes").."votes.")
                        notice_all("Yellow: list 1: "..game.get_event_flag("gelb1votes").."votes. list2: "..game.get_event_flag("gelb2votes").."votes. list3: "..game.get_event_flag("gelb3votes").."votes. list4: "..game.get_event_flag("gelb5votes").."votes. list5: "..game.get_event_flag("gelb5votes").."votes.")
                        notice_all("Blue: list 1: "..game.get_event_flag("blau1votes").."votes. list2: "..game.get_event_flag("blau2votes").."votes. list3: "..game.get_event_flag("blau3votes").."votes. list4: "..game.get_event_flag("blau5votes").."votes. list5: "..game.get_event_flag("blau5votes").."votes.")
                end
when 20011.chat."Eu quero votar" with game.get_event_flag("Monarch") == 2 and pc.get_level() > 49 begin
                        say("Escolha quem você quer votar para")
                        say("para continuar clica em sim")
                        local sel = select("Sim", "Não")
                        if sel == 1 then
                                if pc.getqf("Gewählt") == 0 then
                                        if pc.get_empire() == 1 then
                                                local sel = select("list 1","list 2","list 3","list 4","list 5", locale.cancel)
                                                if sel == 1 then
                                                        game.set_event_flag("rot1votes", game.get_event_flag("rot1votes") + 1)
                                                        say("votaram com sucesso")
                                                        pc.setqf("Gewählt", 1)
                                                elseif sel == 2 then
                                                        game.set_event_flag("rot2votes", game.get_event_flag("rot2votes") + 1)
                                                        say("votaram com sucesso")
                                                        pc.setqf("Gewählt", 1)                                          
                                                elseif sel == 3 then                                            
                                                        game.set_event_flag("rot3votes", game.get_event_flag("rot3votes") + 1)
                                                        say("votaram com sucesso")
                                                        pc.setqf("Gewählt", 1)                                          
                                                elseif sel == 4 then                                            
                                                        game.set_event_flag("rot4votes", game.get_event_flag("rot4votes") + 1)
                                                        say("votaram com sucesso")
                                                        pc.setqf("Gewählt", 1)                                          
                                                elseif sel == 5 then
                                                        game.set_event_flag("rot5votes", game.get_event_flag("rot5votes") + 1)
                                                        say("votaram com sucesso")
                                                        pc.setqf("Gewählt", 1)
                                                end
Type I want to get out the name of the emperor more candidates in ves it out "list 1, list 2 ..."

I hope someone can tell me how to arumo so.

Enlace para comentar
Compartir en otros sitios

  • Dilong locked this tema
Guest
Este tema está cerrado a otras respuestas.
  • Recientemente navegando por este tema   0 miembros

    • No hay usuarios registrados visitando esta página.
×
×
  • Crear nuevo...