Jump to content

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
https://metin2.dev/topic/15464-destroy-item-dropdialog/
Share on other sites

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.