Jump to content
Sign in to follow this  
ChuchoGamer

ayuda quiero corregir esta quest

Recommended Posts

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

Share this post


Link to post
Share on other sites

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.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...