Jump to content
  • 0

party warper


Mr BrycE

Question


  • Group:  Members
  • Topic Count:  125
  • Topics Per Day:  0.03
  • Content Count:  595
  • Reputation:   23
  • Joined:  02/23/12
  • Last Seen:  

hi.

i would like to request a script that gioes like this...

in a Map. there's an NPC that needs a Certian Number/Quantiity of items before the party is warped

the items must be on its party leader...

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

if (!getcharid(1)) { mes "You're not in a party."; close; }
if (getcharid(0) != getpartyleader(getcharid(1),2)) { mes "You're not the party leader."; close; }
if (countitem(ITEM_ID) < AMOUNT) { mes "You don't have enough items."; close; }
delitem ITEM_ID, AMOUNT;
warp "MAP_NAME",X,Y;
close;

Link to comment
Share on other sites

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.

×
×
  • Create New...