antiblock
Elveron
  • Chatbox

    You don't have permission to chat.
    Load More
Sign in to follow this  
ferros1

Quest Ox Automaticamente

3 posts in this topic

Olá amigos tenho esta quest oxevent a normal...

 

quest oxevent_manager beginstate start beginwhen 20011.chat."Evento OX" beginif game.get_event_flag("oxevent_status") == 0 thensay("O Evento OX Está Desativado")say("")say("")elseif game.get_event_flag("oxevent_status") == 1 thensay("Olha o Evento OX Está Ativado!")say("Que Queres Fazer?")say("")local s = select("Participar", "Observar", "Nada")if s == 1 thensay("Vais ser Teleportado.")say("")wait()pc.warp(896500, 24600)elseif s == 2 thensay("Ahhh... Apenas Queres Observar?")say("Ok, Vais Ser Teleportado.....")say("")wait()pc.warp(896300, 28900)endelseif game.get_event_flag("oxevent_status") == 2 thensay("Não Podes Participar Mais")say("")local s = select("Observar", "Deixa...")if s == 1 thensay("Vais Ser teleportado....")say("")wait()pc.warp(896300, 28900)endendendwhen 20358.chat."Evento OX" with pc.is_gm() beginlocal stat = oxevent.get_status()if stat == 0 thensay("Evento OX")say("")local s = select("Iniciar", "Fechar")if s == 1 thenlocal v = oxevent.open()if v == 0 thensay("Evento OX Já Está Ativado")say("")elseif v == 1 thensay("O Evento Ox Começou!")say("")notice_all("O Evento Ox Começou!")notice_all("Para Participar Dirige-te ao Uriel.")elsesay("Falhou...")say("")endendelseif stat == 1 thensay("Tem "..oxevent.get_attender().." Jogadores")say("Fechar Acesso?")say("")local s = select("Fechar Acesso", "Sair")if s == 1 thenoxevent.close()notice_all("Acesso ao Evento Ox Fechado.")say("Acesso Fechado.")say("")endelseif stat == 2 thensay("Evento OX")say("")local s = select("Lançar Pergunta", "Finalizar Evento", "Finalizar Evento", "Sair")if s == 1 thenlocal v = oxevent.quiz(1, 30)if v == 0 thensay("Event läuft nichma!")say("")elseif v == 1 thensay("Pergunta Lançada")say("")elsesay("Wird schon ne FRage gestellt...")say("")endelseif s == 2 thenoxevent.end_event()notice_all("Acabou o Evento Ox")say("Evento Acabou")say("")elseif s == 3 thenoxevent.end_event()notice_all("Acabou o Evento Ox")say("O Evento Ox Acabou")say("")endelseif stat == 3 thensay("Por Favor, Espera.")say("")elsesay("Ocorreu Um Erro.")endendwhen 20358.chat."Finalizar Evento OX" with pc.is_gm() beginsay("Queres Acabar o Evento?")say("")local s = select("Sim", "Não")if s == 1 thenoxevent.end_event_force()say("Acabou o Evento")endendwhen 20358.chat."Dar Prémio" with pc.is_gm() beginsay("Item?")say("")local item_vnum = input()say("Número de Itens?")say("")local item_count = input()oxevent.give_item(item_vnum, item_count)say("Deste o Item a "..oxevent.get_attender().." Jogadores!")say("")endendend

 

 

Queria uma quest que ao iniciar ox, metia 5 minutos para as entradas e quando acabasse esse tempo as inscrições para o ox fechavam e iniciava o ox :)

 

 

Alguem me pode ajudar?

 

 

Dou +1

 

 

Muito obrigado :)

Share this post


Link to post
Share on other sites
antiblock
https://i.imgur.com/aJ17bf7.gif

Se vais iniciar o ox também tens tempo para fecha-lo.

Share this post


Link to post
Share on other sites

Tópico Fechado

Tópico Antigo e Sem Resposta

Movido de Metin2 - Pedidos para Lixeira do Fórum

Share this post


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