antiblock
Rodnia | Alpha & Omega
  • Chatbox

    Did you check out our Discord? https://discord.gg/FFdvMjk9xA
    You don't have permission to chat.
    Load More
  • 0
Sign in to follow this  
Metin2 BestWar

Quest anti-free kill

Question

Alguém poderia me disponibilizar ou me informar se existe uma quest que anuncia quando um jogador mata outro.

Share this post


Link to post
Share on other sites

3 answers to this question

  • 0
5 minutos atrás, Metin2 BestWar disse:

Obrigado pela atenção, não funcionou.

 

Falta o begin no fim do when

 

quest kills begin
	state start begin
		when kill with npc.is_pc() begin
			local matou = pc.get_name()
			local vid = npc.get_vid()
			local morto = pc.select(vid)
			local morto_nome = pc.get_name()
			notice_all("O player "..matou.." matou o "..morto_nome)
		end
	end
end

 

Share this post


Link to post
Share on other sites
antiblock
Cyphriun
  • 0
quest kills begin
	state start begin
		when kill with npc.is_pc()
			local matou = pc.get_name()
			local vid = npc.get_vid()
			local morto = pc.select(vid)
			local morto_nome = pc.get_name()
			notice_all("O player "..matou.." matou o "..morto_nome)
		end
	end
end

 

Não tenho a certeza se funciona, testa e depois diz como correu.

Share this post


Link to post
Share on other sites
  • 0

Obrigado pela atenção, não funcionou.

 

2 horas atrás, Karbust disse:

 

Falta o begin no fim do when

 


quest kills begin
	state start begin
		when kill with npc.is_pc() begin
			local matou = pc.get_name()
			local vid = npc.get_vid()
			local morto = pc.select(vid)
			local morto_nome = pc.get_name()
			notice_all("O player "..matou.." matou o "..morto_nome)
		end
	end
end

 

Funcionou perfeitamente, muito obrigado.

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