Jump to content

Recommended Posts

Posted

Buenas quiero pedirles ayuda se me pueden ayudar a corregir esta quest que pida Ciertos item de orejas por cada premio  Espero que me puedan ayudar porfavor 

 

quest cajeitem begin
state start begin
when 20092.chat."Canjeo de Oreja de Tanka" begin
say_title("Bienvenidos al Canejo")
say("Te puedo cambiar oreja de tanke por premios")
say("para eso debes elegir el premio que quieras")
local item = select("Premio 1","Premio 2","Premio 3","Cerrar")
if item == 4 then
return
elseif item == 1 then
say("necesitaras 5 oreja de tanka")
wait()
if pc.count_item(30202)==0 then
say("no tienes el item")
else
pc.remove_item(30202,1)
pc.give_item2(19,1)
return
end
elseif item == 2 then
say("necesitaras 10 oreja de tanka")
wait()
if pc.count_item(30202)==0 then
say("no tienes el item")
else
pc.remove_item(30202,1)
pc.give_item2(29,1)
return
end
elseif item == 3 then
say("necesitaras 15 oreja de tanka")
wait()
if pc.count_item(30202)==0 then
say("no tienes el item")
else
pc.remove_item(30202,1)
pc.give_item2(39,1)
end
end
end
end
end

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

This site uses cookies to enhance your browsing experience and provide relevant content. By continuing to browse, you agree to our We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. and Terms of Use. For more information on how we protect your data, please check our Privacy Policy.