Jump to content

Ajuda Nueva Quest


caveiraps2

Mensajes recomendados

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

Enlace para comentar
Compartir en otros sitios

  • 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
Enlace para comentar
Compartir en otros sitios

  • Dilong locked this tema
Guest
Este tema está cerrado a otras respuestas.
  • Recientemente navegando por este tema   0 miembros

    • No hay usuarios registrados visitando esta página.
×
×
  • Crear nuevo...