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;
}
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;
}
5 answers to this question
Recommended Posts