noremorse0 3 Posted March 21, 2016 Boas Familia Cyber. Estou aqui com um problema em uma quest se podessem ajudar agradecia :D. Quest: quest pedra begin state start begin when 20041.click begin say_title("Trocar Pedaço de Pedra") say("") say("Se tiveres 10 Pedaços de Pedra, podes vir aqui trocar ") say("por uma Perola.") say("") say("Queres Trocar?") say("") say("") say_reward("Necessitas de 10 Pedaços de Pedra")local s = select ("Sim","Não") == 1 then if pc.count_item(27990,10) < 1 then say("Nao tens o Item") return end say("Escolhe a Perola que precisas:")local s = select("Vermelha","Azul","Branca","Ostra") if s < 5 then pc.give_item2(({27994,27993,27992,27987}),1) end end end O Erro é o seguinte: syntax error: [string "start"]:9: unexpected symbol near 'then' pedra.quest:21:Abort (Core Dumped) Share this post Link to post Share on other sites
0 NewWars 875 Posted March 21, 2016 quest pedra begin state start begin when 20041.click begin say_title("Trocar Pedaço de Pedra") say("") say("Se tiveres 10 Pedaços de Pedra, podes vir aqui trocar ") say("por uma Perola.") say("") say("Queres Trocar?") say("") say("") say_reward("Necessitas de 10 Pedaços de Pedra") local s = select ("Sim","Não") if s == 1 then if pc.count_item(27990, 10) < 1 then say("Nao tens o Item") return end say("Escolhe a Perola que precisas:") local j = select("Vermelha","Azul","Branca","Ostra") pc.give_item2(({27994,27993,27992,27987})[j],1) end end end end 3 noremorse0, Portugapt and FlaNela reacted to this Share this post Link to post Share on other sites
0 noremorse0 3 Posted March 21, 2016 quest pedra begin state start begin when 20041.click begin say_title("Trocar Pedaço de Pedra") say("") say("Se tiveres 10 Pedaços de Pedra, podes vir aqui trocar ") say("por uma Perola.") say("") say("Queres Trocar?") say("") say("") say_reward("Necessitas de 10 Pedaços de Pedra") local s = select ("Sim","Não") if s == 1 then if pc.count_item(27990, 10) < 1 then say("Nao tens o Item") return end say("Escolhe a Perola que precisas:") local j = select("Vermelha","Azul","Branca","Ostra") pc.give_item2(({27994,27993,27992,27987})[j],1) end end end end Muito Obrigado. +1 :D Share this post Link to post Share on other sites
Boas Familia Cyber. Estou aqui com um problema em uma quest se podessem ajudar agradecia :D.
Quest:
O Erro é o seguinte: syntax error: [string "start"]:9: unexpected symbol near 'then' pedra.quest:21:Abort (Core Dumped)
Share this post
Link to post
Share on other sites