antiblock
Cyphriun
  • Chatbox

    You don't have permission to chat.
    Load More
  • 0
Sign in to follow this  
OceanusMT2

Corrigir Erro Em Quest (Timer)

Question

Boas!

 

Estou aqui a ter um pequenino problema e não percebo porque não funciona xD

Se alguem puder ajudar agradeço.

 

 

quando seleciono o "Sim", o "pc.setqf("xpto_xpto", 1)" é defenido e o "timer1" entra em acção.

 

Mas passados os 3600segundos(1 hora) do Timer1 , ele devia de activar o timer2 e passar para ""pc.setqf("xpto_xpto", 0)" mas isto não esta a acontecer. o Timer2 não entra :  

 

Alguem pode dar uma força?

Obrigado

Quest XPTO ....  BlablablablablaBlablablablablaBlablablablabla	local s = select("Sim","Cancelar")   if s == 1 then    pc.setqf("xpto_xpto", 1)    timer("timer1", 1)    pc . remove_item ( itemvnum, qt )   if s == 2 then    return    end   end  end    when timer1.timer begin   timer("timer2", 3600)   syschat("O timer1 foi activado!")  end    when timer2.timer begin   syschat("O qf foi Desactivado!")   pc.setqf("xpto_xpto", 0)  end  

Share this post


Link to post
Share on other sites

4 answers to this question

  • 0

tu nao fizeste a chamada ao timer2 por isso quando o timer1 acaba a quest termina.

Share this post


Link to post
Share on other sites
antiblock
Elveron
  • 0

when timer1.timer begin timer("timer2", 3600)  ------ Chamada para activar o time2 ao fim de 3600segundos... certo? syschat("O timer1 foi activado!")  end

Share this post


Link to post
Share on other sites
  • 0

fiquei intrigado com isso agora tb xd vou ver o que arranjo

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this