Jump to content
Sign in to follow this  
Nukayool

[Dúvida] Cofre Que Pede Chave Para Abrir

Recommended Posts

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:

 

Please login or register to see this image. precise de

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

 

Cumpz

Share this post


Link to post
Share on other sites

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

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  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.

Our website is made possible by displaying online advertisements to our visitors.
Please consider supporting us by disabling your ad blocker.
You will be able to see content when you disable your adblocker and enable javascript.