Jump to content
ร¡๓vąℓ

Ajuda nesta quest

Recommended Posts

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.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...