Jump to content
caveiraps2

Ajuda Nueva Quest

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

Share this post


Link to post
Share on other sites

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
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...