Jump to content

Me pueden corregir esta quest pliz


Frankenstein

Recommended Posts

ya que cuando la meto al server no hace nada es como sino metiera la quest... :/

 

quest cambio_pez begin
state start begin
when 20093.chat."Cambia tu Pez" begin
say_title("Hola "..pc.get_name().."")
say("Yo te doy la posibilidad de cambiár tu Pez")
say("Por un 5 bonus.")
say_reward("Deseas cambiar tu Pez")
local s = select ("Si","No)
if s == 2 then
return
end
 
if s == 1 then
pc.remove_item(vnum pez)
pc.give_item2("70024", 1)
chat("Haz recibido tu 5 Bonus correctamente.")
end
end
end
end
Link to comment
Share on other sites

quest cambio_pez begin
state start begin
when 20093.chat."Cambia tu Pez" begin
say_title("Hola "..pc.get_name().."")
say("Yo te doy la posibilidad de cambiár tu Pez")
say("Por un 5 bonus.")
say_reward("Deseas cambiar tu Pez")
local s = select ("Si","No")
if s == 2 then
return
end
 
if s == 1 then
pc.remove_item(vnum pez)
pc.give_item2("70024, 1")
chat("Haz recibido tu 5 Bonus correctamente.")
end
end
end
end
 
no estoy seguro que esta bien pero prueba asi lo que coregii fue lo que sale con rojo
 
si no funcciona cambia   : pc.give_item2("70024, 1") por pc.give_item2("70024"," 1")
espero que te sirva ;)
Link to comment
Share on other sites

quest cambio_pez begin	state start begin		when 20093.chat."Cambia tu Pez" begin			say_title("Hola "..pc.get_name().."")			say("Yo te doy la posibilidad de cambiár tu Pez")			say("Por un 5 bonus.")			say_reward("Deseas cambiar tu Pez")			if select ("Si","No")==2 then return end			pc.remove_item(vnum,cantidad)			pc.give_item2(70024, 1)			chat("Haz recibido tu 5 Bonus correctamente.")		end	endend
Link to comment
Share on other sites

  • Dilong locked this topic
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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