Register for your free account! | Forgot your password?

You last visited: Today at 11:33

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



i need help ")

Discussion on i need help ") within the Metin2 Private Server forum part of the Metin2 category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: May 2019
Posts: 1
Received Thanks: 0
i need help ")

Hi Everyone I need help ..

i make this quest for killing players to get exp

PHP Code:
quest npc_exp begin
    state start begin 
        when kill with npc
.is_pc() begin
        pc
.give_exp2(500000000)
        
end
    end
end 

But I forgot to add the IP condition this pc.get_ip or something like that

if anyone can edit the quest please do this for me <3

Thanks.
000000a is offline  
Old 10/22/2020, 19:03   #2
 
elite*gold: 83
Join Date: Oct 2020
Posts: 32
Received Thanks: 57
Code:
quest kill begin
    state start begin
		when kill with npc.is_pc() begin
			local vid = npc.get_vid()
			local old_pc = pc.select(vid)
			if old_pc ~= 0 then
			local e_ip = pc.get_ip()
			local e_name = pc.get_name()
			pc.select(old_pc)
			local m_ip = pc.get_ip()
			local m_name = pc.get_name()
				
				if e_ip == m_ip then
					syschat("You can't kill yourself!")
				else
				pc.give_exp2(500000000)
				end
			end
		end
	end	
end
xTryhardx is offline  
Old 10/23/2020, 14:57   #3



 
cypher's Avatar
 
elite*gold: 600
The Black Market: 1061/0/0
Join Date: Sep 2008
Posts: 10,541
Received Thanks: 3,083
Please use the collection thread for quests next time:


#closed
cypher is offline  
Closed Thread


Similar Threads Similar Threads
[Buying] """""PUBG Key""""""""
09/28/2017 - PlayerUnknown's Battlegrounds Trading - 5 Replies
Moin, ich suche noch einen Key von PUBG. Bezahle per PP.(kein Family& Friends) Nur mit RAT! mfg :mofo:
WEAPONSCRIPT!!!!!!!!!!!!!!!!!!!!!!!!!HOT"""""""""" """""""""""""""""""""
08/06/2011 - WarRock Hacks, Bots, Cheats & Exploits - 7 Replies
detetected



All times are GMT +1. The time now is 11:35.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.