Hello devs,
After i installed Destroy item (Dropdialog) source , client , and i uploaded the quest to server , then got this problem:
After i hit OK, nothing happens (without quest the window doesn't appear)
Here is the quest:
quest stergeitem begin
state start begin
function ItemZerstoeren(slot, vnum)
chat("Item-ul a fost distrus cu success.")
item.select_cell(slot)
item.remove_stack()
end
when letter begin
cmdchat("ITEMZER QID|"..q.getcurrentquestindex())
end
when button or info begin
cmdchat("getinputbegin")
local cmd = split(input(cmdchat("ITEMZER SELECT|")), "|")
cmdchat("getinputend")
if cmd[1] == "DELETE" then
itemmuell.ItemZerstoeren(tonumber(cmd[2]), tonumber(cmd[3]))
end
end
end
end