aldu Posted September 1, 2017 Posted September 1, 2017 do not let me give you some party solution here I leave the message cannot in party trade mode active Quote
SamDev-Coder Posted September 2, 2017 Posted September 2, 2017 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 Quote
aldu Posted September 2, 2017 Author Posted September 2, 2017 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" Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.