Jump to content

[Quest] Eliminar Items


Serex

Recommended Posts

Quest con la función de eliminar items. ¿Nunca os ha pasado que teneis un item no comerciable en vuestro inventario y os lo queréis quitar de en medio?

Esta quest es la solución a tu problema.

 

quest eliminaritem begin
state start begin
when 20094.chat."Eliminar Items" begin
say_title("Eliminar Items:")
say("Puedes eliminar cualquier item de tu inventario.")
say("Solo tienes que saber la id del item.")
say_reward("Quieres eliminar algun item?")
local a = select ( "Si" , "No" )
if a == 1 then
say("Introduce la id del item aqui")
local remove_item = input ( )
if remove_item == "" then
say_title("Eliminar Items:")
say("Tienes que introducir la id del item")
say("Solo asi funcionara.")
else
say_title("Eliminar Items:")
say("Item removido con exito.")
pc . remove_item ("" .. remove_item .. "")
else a == 2 then
return
end
end
end
Link to comment
Share on other sites

  • 6 months later...

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...