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..
Question
arm4729
Hello i try to make maximum 2 healers allowed in 1 party but im getting some problems maybe can someone help me ?
i added this lines to requestjoinparty but is not working properly
if (target.getClassId().getId() == 97 && (party.getMembersCount() >= 2) )
{
requestor.sendMessage("Maximum 2 healers are allowed in party !");
return;
}
Edited by arm47295 answers to this question
Recommended Posts