Jump to content

Recommended Posts

Hello,

How can I do a multiple party_kill ?

Test..

 

when 8001.party_kill with pc.getqf("count_metin5") >= 5 and 101.party_kill with pc.getqf("count_dogs") >= 20 begin

when 8001.party_kill or 101.party_kill with pc.getqf("count_metin5") >= 5 and pc.getqf("count_dogs") >= 20 begin

 

But, don't work :/

Thanks

 

Link to comment
https://metin2.dev/topic/10931-multiple-party_kill/
Share on other sites

;)

	when 8001.kill begin
		local vegas_count_stones = pc.getqf("count_metin5")
		pc.setqf("count_metin5", vegas_count_stones + 1)
	end
	when 101.kill begin
		local vegas_count_dogs = pc.getqf("count_dogs")
		pc.setqf("count_dogs", vegas_count_dogs + 1)
	end

	when 8001.kill or 101.kill begin
		if party.is_party() and pc.getqf("count_metin5") >= 5 and pc.getqf("count_dogs") >= 20 then
			pc.delqf("count_metin5")
			pc.delqf("count_dogs")
--[[
--[[.......]]
--[[..............]]
--[[............................]]
		end


------------***
	if pc.getqf("count_metin5") < 5
		return
	end
	if pc.getqf("count_dogs") < 20
		return
	end
------------***
  • Love 1
Link to comment
https://metin2.dev/topic/10931-multiple-party_kill/#findComment-64091
Share on other sites

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.