Jump to content

Recommended Posts

Posted
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 

Posted

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"

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..