Welcome to MaxCheaters.com

Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads

Help Party Trade (HELP ME)

Recommended Posts

1 hour ago, Θα Σπασω Κουπες said:

What the actual FUCK?

It's a Spell, Takecare


OnTopic : any way i can't really understand what are you asking for but if you mean you don't want to enable Trade when player in party then on TradeRequest just do like

if(player.getParty() != null) {return;}

But if you want to disable Trade for Same Party Members then :

if(player.getParty() != null && player.getParty().containsPlayer(target.getActingPlayer())) { return; }

And if you want to enable it only if both are in same Paty then

if(player.getParty() == null || !player.getParty().containsPlayer(target.getActingPlayer())) { return; }

After all i feel that your question (if that's a question) is about something really different 

Share this post

Link to post
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.

Reply to this topic...

×   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.