Jump to content

[Pedido] Correccion quest porfa


SeBuenoPorfa

Mensajes recomendados

quest ox begin
state start begin
 
OX-activado == 0
 
when 20011.click begin
 
if pc.is_gm() and OX-activado == 0 then
 
local opcion00 = select ("activar OX")
 
if opcion00 == 1 then
 
say("quieres continuar?")
 
local opcion01 = select ("si", "nu")
 
if opcion01 == 1 then
OX-activado == 1
notice_all("evento on!!!")
 
elseif opcion01 == 2 then
return
 
end
end
end
 
if OX-activado == 1 then
 
local opcion02 = select ("desactivar OX")
 
if opcion02 == 1 then
 
say("quieres continuar?")
 
local opcion03 = select ("si", "nu")
 
if opcion03 == 1 then
OX-activado == 0
notice_all("ox desactivado!")
 
elseif opcion03 == 2 then
return
 
end
end
end
 
end
end
end
 
Enlace para comentar
Compartir en otros sitios

Hola disculpa no le puse tabs pero creo que asi esta bien

 

 

 

 

quest ox begin

state start begin

when 20011.click begin

if pc.is_gm() and game.get_event_flag("OX-activado") == 0 then

select("activar OX")

say("quieres continuar?")

if select("si", "nu") == 1 then

game.set_event_flag("OX-activado",1)

notice_all("evento on!!!")

else

return

end

end

if pc.is_gm() and game.get_event_flag("OX-activado") == 1 then

select("desactivar OX")

say("quieres continuar?")

if select("si", "nu") == 1 then

game.set_event_flag("OX-activado",0)

notice_all("ox desactivado!!!")

else

return

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...