antiblock
diamwall
  • 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  
fantasma21

Ajuda Em Quest Que Pede Item E Da Outro

Question

boas malta eu nao entendo muito de quest se alguem poder dar uma olhadela agradecia 

 

quest anel_da_vinganca begin
state start begin
when 20009.chat."Quere fazer o anel da vingança?" begin
say_title("Boas jovem lutador")
say_title("Aqui podes fazer o teu anel da vingança")
say_title("Para o fazer vais precisar de 50 manuais de duelo.")
say_title("Que podes dropar na gruta das almas")
say_title("")
say_reward("Tens os 50 manuais de duelo??")
local s = select ("Sim","Não") == 1 then
   if pc.count_item(70031) < 50 then
say("Não tens o item")
return
end
say("Agora que tens os 50 manuais")
say("Posso te dar o anel da vingaça")
pc.removeitem("70031", 50)
pc.give_item2("30201", 1)
say("Aqui tens o teu anel da vingança.")
end
end
end
end
end

Share this post


Link to post
Share on other sites

10 answers to this question

  • 0

que erro ta a dar?

Obrigado -24  :+1:

Share this post


Link to post
Share on other sites
antiblock
https://arwen2.global/
  • 0

foste tu que fizeste essa quest?

Share this post


Link to post
Share on other sites
  • 0

Eu não percebo nada de quests, mas o meu teleportador de 700 linhas tem menos "ends" que a tua quest com umas 20 linhas '-'

Share this post


Link to post
Share on other sites
  • 0

pc.removeitem("70031", 50)

pc.give_item2("30201", 1)

 

Ali no pc.give_item2 vê o ID do anel da vigança e coloca no ("id do anel"), 1)

Exemplo se o ID for 332

vai ser assim

pc.give_item2("332", 1)

 
 
Desculpa se estiver a falar merda :_:

Share this post


Link to post
Share on other sites
  • 0

 

pc.removeitem("70031", 50)

pc.give_item2("30201", 1)

 

Ali no pc.give_item2 vê o ID do anel da vigança e coloca no ("id do anel"), 1)

Exemplo se o ID for 332

vai ser assim

pc.give_item2("332", 1)

 
 
Desculpa se estiver a falar merda :_:

 

boas o id do anel da vingança e 30201 so nao entendo pq a quest da erro ao add-24 a quest e alterada :D

Share this post


Link to post
Share on other sites
  • 0

boas o id do anel da vingança e 30201 so nao entendo pq a quest da erro ao add-24 a quest e alterada :D

bump

Share this post


Link to post
Share on other sites
  • 0

Alguem pode dar uma ajuda sff 

Share this post


Link to post
Share on other sites
  • 0

que erro ta a dar?

Share this post


Link to post
Share on other sites
  • 0

np, agora estuda o script para aprenderes

Share this post


Link to post
Share on other sites
  • 0

Quest direita.

 

quest anel_da_vinganca beginstate start beginwhen 20009.chat."Quere fazer o anel da vingança?" beginsay_title("Boas jovem lutador")say_title("Aqui podes fazer o teu anel da vingança")say_title("Para o fazer vais precisar de 50 manuais de duelo.")say_title("Que podes dropar na gruta das almas")say_title("")say_reward("Tens os 50 manuais de duelo??")local s = select ("Sim","Não")

if s  == 2 thenpc.count_item(70031) < 50 thensay("Não tens o item")returnendsay("Agora que tens os 50 manuais")say("Posso te dar o anel da vingaça")pc.removeitem("70031", 50)pc.give_item2("30201", 1)say("Aqui tens o teu anel da vingança.")endendendend

 

acho que assim esta bem testa.

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