MpLL Posted October 28, 2015 Posted October 28, 2015 (edited) Hi allI 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 meSorry for my bad english Edited October 31, 2015 by MpLL Quote
Capuche Posted October 30, 2015 Posted October 30, 2015 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; } Quote
MpLL Posted October 30, 2015 Author Posted October 30, 2015 (edited) Il fallait que je parle d'headgear pour tomber sur Capuche xD !! Big thank you 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 October 30, 2015 by MpLL Quote
Question
MpLL
Hi all
Edited by MpLLI 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
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.