Nukayool Posted January 1, 2017 Share Posted January 1, 2017 Boas Malta, Ando aqui com uma dúvida numa quest em que tenha um cofre e para abrir seja preciso uma chave. Se alguém poder ajudar. Exemplo: Hidden Content Give reaction to this post to see the hidden content. Cumpz Link to comment Share on other sites More sharing options...
Magician Posted January 1, 2017 Share Posted January 1, 2017 quest name begin state start begin when cofreid.use begin if pc.count_item(idchave) < 1 then syschat("Necessitas da chave dos deuses") return end local recompensas = number(1,2)-- 1 min recompensas , 2 max recompensas if recompensas == 1 then pc.give_item2(rec,count) elseif recompensas == 2 then pc.give_item2(rec2,count) end pc.remove_item(cofreid,1) end -- w end --s end -- q Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now