antiblock
Elveron
  • Chatbox

    You don't have permission to chat.
    Load More
  • 0
Sign in to follow this  
Shad0w

[Duvida]Quest Futebol

Question

Boas comunidade.

Estou a ter um problema, com a quest do evento Futebol..O problema é o seguinte, Consigo ativar evento, vou ao Uriel aparece a Opção de Juntar-se ao Evento.Mas ao juntar-se ao evento so me da a Opção de assistir, e sendo assim o de participar não aparece, caso alguém me possa ajudar agradeço.Vou deixar o a quest aqui em baixo para ver se me conseguem indicar onde está a falha..Visto que na maquina não detecta a falha :|

quest football_tournament begin	state start begin		when 20364.chat."Ativar Evento Futebol" with pc.is_gm() begin			say_title("Queres Ativar Evento Futebol?")			say("")			local act = select("Sim","Não")			if act == 1 then				game.set_event_flag("football_active",1)				notice_all("Evento Futebol Começou, Participe no Uriel")				notice_all("<(+_+)><(*_*)>On3MT2<(*_*)><(+_+)>")			end		end		when 20364.chat."Desativar Evento Futebol" with pc.is_gm() begin			say_title("Queres acabar com o Evento Futebol?")			say("")			local act = select("Sim","Não")			if act == 1 then				game.set_event_flag("football_active",0)				notice_all("Evento Futebol Terminou")				notice_all("Participantes e Observadores vão ser teleportado")				notice_all("para as suas respeitivas cidades")				warp_all_to_village(230,5)			end		end		when eulduji.chat."Junte-se a Football Match" with game.get_event_flag("football_active") == 1 begin			if pc.getqf("player") < 1 then				say_title("Assitir Evento Futebol")				say("")				say("Queres assistir evento?")				say("")				local answ = select("Sim","Não")				if answ == 1 then					if pc.get_empire() == 3 then						pc.warp(96363,22510)					elseif pc.get_empire() == 1 then						pc.warp(86161,14222)					else						pc.warp(106612,13156)					end				end			elseif pc.getqf("player") == 1 then				say_title("Participar Evento Futebol")				say("")				say("Queres Participar?")				say("Se for sim, Boa sorte.")				local answ = select("Sim","Não")				if answ == 1 then					pc.warp(97209,14036)				end			elseif pc.getqf("player") == 2 then				say_title("Participar Evento Futebol")				say("")				say("Queres Participar?")				say("Se for sim, Boa sorte.")				local answ = select("Sim","Não")				if answ == 1 then					pc.warp(94910,14030)				end			end		end		when logout with pc.get_map_index() == 230 begin			pc.setqf("player",0)		end	endend				 

Share this post


Link to post
Share on other sites

5 answers to this question

  • 0

Ainda melhor , tenta esta quest

 

quest football_tournament begin

state start begin
when 20364.chat."GM: Activate Football Stadium" with pc.is_gm() begin
say_title("Do you want to start football stadium?")
say("")
local act = select("Yes","No")
if act == 1 then
game.set_event_flag("football_active",1)
notice_all("The Football Stadium is now active.")
notice_all("Players and observers talk to the Uriel to participate.")
end
end
when 20364.chat."GM: Deactivate Football Stadium" with pc.is_gm() begin
say_title("Do you want to end football stadium?")
say("")
local act = select("Yes","No")
if act == 1 then
game.set_event_flag("football_active",0)
notice_all("The football match is over.")
notice_all("Players and observers will be teleported home now.")
warp_all_to_village(230,5)
end
end
when eulduji.chat."Join Football Match" with game.get_event_flag("football_active") == 1 begin
if pc.getqf("player") < 1 then
say_title("Spectator Enter")
say("")
say("Do you want to enter the Spectator Stands?")
say("")
local answ = select("Yes","No")
if answ == 1 then
if pc.get_empire() == 3 then
pc.warp(96363,22510)
elseif pc.get_empire() == 1 then
pc.warp(86161,14222)
else
pc.warp(106612,13156)
end
end
elseif pc.getqf("player") == 1 then
say_title("Player Enter")
say("")
say("Do you want to enter the Player Field?")
say("")
local answ = select("Yes","No")
if answ == 1 then
pc.warp(97209,14036)
end
elseif pc.getqf("player") == 2 then
say_title("Player Enter")
say("")
say("Do you want to enter the Player Field?")
say("")
local answ = select("Yes","No")
if answ == 1 then
pc.warp(94910,14030)
end
end
end
when logout with pc.get_map_index() == 230 begin
pc.setqf("player",0)
end
end
end
 
PS: Se as cordenadas do mapa forem diferentes , Altera!

Share this post


Link to post
Share on other sites
antiblock
Elveron
  • 0

Faltou essa parte:

 

When Neymar Plays

pc.getname("barcelona")

do_gols

Gols(1,2,3,4,5,6,7)

 

 

end

end

end

 

ve se funciona

Share this post


Link to post
Share on other sites
  • 0

Faltou essa parte:

 

When Neymar Plays

pc.getname("barcelona")

do_gols

Gols(1,2,3,4,5,6,7)

 

 

end

end

end

 

ve se funciona

<_< Isso e uma duvida caso não tenhas percebido :|

Não uma piada em off Topic...

 

 

 

Ainda melhor , tenta esta quest

 

quest football_tournament begin

state start begin
when 20364.chat."GM: Activate Football Stadium" with pc.is_gm() begin
say_title("Do you want to start football stadium?")
say("")
local act = select("Yes","No")
if act == 1 then
game.set_event_flag("football_active",1)
notice_all("The Football Stadium is now active.")
notice_all("Players and observers talk to the Uriel to participate.")
end
end
when 20364.chat."GM: Deactivate Football Stadium" with pc.is_gm() begin
say_title("Do you want to end football stadium?")
say("")
local act = select("Yes","No")
if act == 1 then
game.set_event_flag("football_active",0)
notice_all("The football match is over.")
notice_all("Players and observers will be teleported home now.")
warp_all_to_village(230,5)
end
end
when eulduji.chat."Join Football Match" with game.get_event_flag("football_active") == 1 begin
if pc.getqf("player") < 1 then
say_title("Spectator Enter")
say("")
say("Do you want to enter the Spectator Stands?")
say("")
local answ = select("Yes","No")
if answ == 1 then
if pc.get_empire() == 3 then
pc.warp(96363,22510)
elseif pc.get_empire() == 1 then
pc.warp(86161,14222)
else
pc.warp(106612,13156)
end
end
elseif pc.getqf("player") == 1 then
say_title("Player Enter")
say("")
say("Do you want to enter the Player Field?")
say("")
local answ = select("Yes","No")
if answ == 1 then
pc.warp(97209,14036)
end
elseif pc.getqf("player") == 2 then
say_title("Player Enter")
say("")
say("Do you want to enter the Player Field?")
say("")
local answ = select("Yes","No")
if answ == 1 then
pc.warp(94910,14030)
end
end
end
when logout with pc.get_map_index() == 230 begin
pc.setqf("player",0)
end
end
end
 
PS: Se as cordenadas do mapa forem diferentes , Altera!

 

essas quest ta igualzinho a que tenho so por dizer que a que tenho ta em pt e essa ainda não ta traduzida..

Share this post


Link to post
Share on other sites
  • 0

Essa quest não está terminada certamente, ganhas mais fazendo uma tu próprio xD 

Faltou essa parte: When Neymar Playspc.getname("barcelona")do_golsGols(1,2,3,4,5,6,7) endendend ve se funciona

if Neymar = cairNeymar = lesãoend

Share this post


Link to post
Share on other sites
  • 0

Essa quest não está terminada certamente, ganhas mais fazendo uma tu próprio xD 

if Neymar = cairNeymar = lesãoend

Eu fazer uma quest de evento? e saber a qual são os codigos certo? .__. Unica funcion que conheço é ..pc.get_name.. ou notice_all ._. se me indicares onde posso conhecer mais funcions ainda posso tentar : D

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this