Jump to content

Ajuda Nueva Quest


caveiraps2
 Share

Recommended Posts

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

  • 2 weeks later...

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

  • Dilong locked this topic
Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...