Advertisement
Guest User

rherhaerh

a guest
May 1st, 2016
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. - script Costume Remover FAKE_NPC,{
  2. OnPCLoadMapEvent:
  3. if ((agitcheck() && agitcheck2()) && ( strcharinfo(3) == .@nocostumemap)) { // Check if woe is on and if you entered a castle
  4. if (getequipisequiped(EQI_COSTUME_HEAD_LOW)) unequip EQI_COSTUME_HEAD_LOW;
  5. if (getequipisequiped(EQI_COSTUME_HEAD_MID)) unequip EQI_COSTUME_HEAD_MID;
  6. if (getequipisequiped(EQI_COSTUME_HEAD_TOP)) unequip EQI_COSTUME_HEAD_TOP;
  7. if (getequipisequiped(EQI_COSTUME_GARMENT)) unequip EQI_COSTUME_GARMENT;
  8. }
  9.  
  10. OnInit:
  11. set .@nocostumemap,"prtg_cas01";
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement