caveiraps2 1 Report post 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 Share this post Link to post Share on other sites
pepineitor 203 Report post 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 Share this post Link to post Share on other sites