Jump to content

Destroy item Dropdialog


Recommended Posts

Hello devs,

After i installed Destroy item (Dropdialog) source , client , and i uploaded the quest to server , then got this problem:
k9WgchU.png

Kfif8Nq.png

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

 

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 0

      Target Information System

    2. 1

      Feeding game source to LLM

    3. 2

      anti exp explanation pls

    4. 1

      Feeding game source to LLM

    5. 2

      anti exp explanation pls

    6. 0

      [GR2] Positioning an object added with "Attach"

    7. 1417

      [40250] Reference Serverfile + Client + Src [15 Available Languages]

  • Recently Browsing

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

Important Information

Terms of Use / Privacy Policy / Guidelines / 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.