Skip to content

Party Trade (HELP ME)

Featured Replies

do not let me give you some party solution here I leave the message

cannot in party trade mode active

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 

  • Author

look I have the protection of trade in party but I have disabled it but still I get this other message "can not in party trade mode active"

  • Author

any solution?

 

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.