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

[Ajuda]Evento Minerar

Question

quando dou qc nessa quest:

 

quest evento beginstate start beginwhen 20070.chat."Evento de Minerar Olympus Games" begin -- pones la id del npcsay_title("Evento de Minerar Olympus Games")say("")say("Olá "..pc.get_name().." Se você me trouxer 500 minérios")say("de qualquer um, lhe darei um item.")say("")say("Tem algum para mim?")say("")local eleg = select ("Sim","Não")if eleg == 1 thensay_title("Evento de Minerar Olympus Games")say("Que minério tem para mim?")local min = select ("Diamante" , "Ambar" , "Fóssil" , "Cobre" , "Prata" , "Ouro" . "Jade" , "Ébano","Pérola","Platina","Cristal","Ametista", "Safira", "Sair") -- ponle el nombre de cada unoif min == 1 thenif pc.count_item(50601) < 500 then -- pones la id del mineralchat("Desculpe, você não tem minério suficiente. 500")returnendpc.remove_item(50601, 500) -- pones la id del mineralpc.give_item2(50113, 1) -- pones la id del premio y la 1elseif min == 2 thenif pc.count_item(50602) < 500 then -- pones la id del mineralchat("Desculpe, você não tem minério suficiente. 500")returnendpc.remove_item(50602, 500) -- pones la id del mineralpc.give_item2(50113, 1) -- pones la id del premio y la 1elseif min == 3 thenif pc.count_item(50603) < 500 then -- pones la id del mineralchat("Desculpe, você não tem minério suficiente. 500")returnendpc.remove_item(50603, 500) -- pones la id del mineralpc.give_item2(50113, 1) -- pones la id del premio y la 1elseif min == 4 thenif pc.count_item(50604) < 500 then -- pones la id del mineralchat("Desculpe, você não tem minério suficiente. 500")returnendpc.remove_item(50604, 500) -- pones la id del mineralpc.give_item2(50113, 1) -- pones la id del premio y la 1elseif min == 5 thenif pc.count_item(50605) < 500 then -- pones la id del mineralchat("Desculpe, você não tem minério suficiente. 500")returnendpc.remove_item(50605, 500) -- pones la id del mineralpc.give_item2(50113, 1) -- pones la id del premio y la 1elseif min == 6 thenif pc.count_item(50606) < 500 then -- pones la id del mineralchat("Desculpe, você não tem minério suficiente. 500")returnendpc.remove_item(50606, 500) -- pones la id del mineralpc.give_item2(50113, 1) -- pones la id del premio y la 1elseif min == 7 thenif pc.count_item(50607) < 500 then -- pones la id del mineralchat("Desculpe, você não tem minério suficiente. 500")returnendpc.remove_item(50607, 500) -- pones la id del mineralpc.give_item2(50113, 1) -- pones la id del premio y la 1elseif min == 8 thenif pc.count_item(50608) < 500 then -- pones la id del mineralchat("Desculpe, você não tem minério suficiente. 500")returnendpc.remove_item(50608, 500) -- pones la id del mineralpc.give_item2(50113, 1) -- pones la id del premio y la 1elseif min == 9 thenif pc.count_item(50609) < 500 then -- pones la id del mineralchat("Desculpe, você não tem minério suficiente. 500")returnendpc.remove_item(50609, 500) -- pones la id del mineralpc.give_item2(50113, 1) -- pones la id del premio y la 1elseif min == 10 thenif pc.count_item(50610) < 500 then -- pones la id del mineralchat("Desculpe, você não tem minério suficiente. 500")returnendpc.remove_item(50610, 500) -- pones la id del mineralpc.give_item2(50113, 1) -- pones la id del premio y la 1elseif min == 11 thenif pc.count_item(50611) < 500 then -- pones la id del mineralchat("Desculpe, você não tem minério suficiente. 500")returnendpc.remove_item(50611, 500) -- pones la id del mineralpc.give_item2(50113, 1) -- pones la id del premio y la 1elseif min == 12 thenif pc.count_item(50612) < 500 then -- pones la id del mineralchat("Desculpe, você não tem minério suficiente. 500")returnendpc.remove_item(50612, 500) -- pones la id del mineralpc.give_item2(50113, 1) -- pones la id del premio y la 1elseif min == 13 thenif pc.count_item(50613) < 500 then -- pones la id del mineralchat("Desculpe, você não tem minério suficiente. 500")returnendpc.remove_item(50613, 500) -- pones la id del mineralpc.give_item2(50113, 1) -- pones la id del premio y la 1endendendendend 

 

aparece esse erro: syntax error : [string "start"]:12: `)' expected near `.'

 

Share this post


Link to post
Share on other sites

6 answers to this question

antiblock
Rodnia | Alpha & Omega
  • 0

Erro na linha 12

Cara, era na linha 14, na linha 14 so tinha isso: say ("")

eu tirei. E agora é na 12, mas nao tem nada errado na 12

Share this post


Link to post
Share on other sites
  • 0

É, achei o erro não yanick! ;X

 

É, achei o erro não yanick! ;X

Como sabe meu nome ?? oo

E ja achei o erro

 

local min = select ("Diamante" , "Ambar" , "Fóssil" , "Cobre" , "Prata" , "Ouro" . "Jade" , "Ébano","Pérola","Platina","Cristal","Ametista", "Safira", "Sair") -- ponle el nombre de cada uno

Share this post


Link to post
Share on other sites
  • 0

Não pegou a quest

 

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