caveiraps2 Posted March 13, 2013 Report Share Posted March 13, 2013 quest 1 begin state start begin when 33004.chat."Primeiro bau" begin say_title("Yuran:") say("Recompensa bla bla bla") say("") say_reward("Obs: ") local s=select("Sim", "Não") if s==2 then return end if s==1 with pc.count_item(19)>=1 then pc.remove_item("19", 1) pc.give_item2("15", 1) else end end when 33004.chat"Segundo bau" begin say_title("Yuran:") say("Recompensa bla bla bla") say("") say_reward("Obs: ") local s=select("Sim", "Não") if s==2 then return end if s==1 with pc.count_item(19)>=1 then pc.remove_item("19", 1) pc.give_item2("15", 1) if is_test_server() then pc.setqf("duration",get_time()+2) else pc.setqf("duration",get_time()+60*30) -----------------------------------30 minutos end end end Link to comment Share on other sites More sharing options...
pepineitor Posted March 25, 2013 Report Share Posted March 25, 2013 Supongo que sera que no funciona porque no has preguntado nada hacerca de ella... por si es eso te la dejo aqui: quest 1 begin state start begin when 33004.chat."Primeiro bau" begin say_title("Yuran:") say("Recompensa bla bla bla") say("") say_reward("Obs: ") local s=select("Sim", "Não") if s==2 then return end if s==1 with pc.count_item(19)>=1 then pc.remove_item("19", 1) pc.give_item2("15", 1) else end end when 33004.chat"Segundo bau" begin say_title("Yuran:") say("Recompensa bla bla bla") say("") say_reward("Obs: ") local s=select("Sim", "Não") if s==2 then return end if s==1 with pc.count_item(19)>=1 then pc.remove_item("19", 1) pc.give_item2("15", 1) if is_test_server() then pc.setqf("duration",get_time()+2) else pc.setqf("duration",get_time()+60*30) -----------------------------------30 minutos end end end end end Link to comment Share on other sites More sharing options...
Recommended Posts