Jump to content
  • 0

Drop upper headgear after player death


Question

Posted (edited)

Hi all
I need a script for drop the upper headgear after player death in all PvP map.

I was trying PvP_nightmaredrop but it's random equip and I will just upper headgear.

Please help me

Sorry for my bad english

Edited by MpLL

3 answers to this question

Recommended Posts

Posted

What about..

-	script	drop_headgear	-1,{
OnPCDieEvent:
	if ( getequipisequiped(EQI_HEAD_TOP) && getmapflag( strcharinfo(3),mf_pvp ) ) {
		getmapxy .@map$, .@x, .@y, 0;
		makeitem2 getequipid(EQI_HEAD_TOP),1,.@map$,.@x,.@y,1,getequiprefinerycnt(EQI_HEAD_TOP),0,getequipcardid(EQI_HEAD_TOP,0),getequipcardid(EQI_HEAD_TOP,1),getequipcardid(EQI_HEAD_TOP,2),getequipcardid(EQI_HEAD_TOP,3);
		delequip EQI_HEAD_TOP;
	}
	end;
}
Posted (edited)

Il fallait que je parle d'headgear pour tomber sur Capuche xD !! 

 

Big thank you  /no1

 

 

 

 

 

 

 

  • getmapxy("<variable for map name>",<variable for x>,<variable for y>,<type>{,"<search string>"});
  • makeitem2 <item id>,<amount>,"<map name>",<X>,<Y>,<identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>;
  • delequip <equipment slot>;
Edited by MpLL

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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