Code:
case 245:
if(c.playerRights == 0 || c.playerRights == 5 || c.playerRights == 6 || c.playerRights == 7 || c.playerRights == 8 || c.playerRights == 10){
for (int i = 0; i < 22; i++) {
c.playerLevel[i] < 99;
}
c.sendMessage("Im sorry but you need to have 22/24 99's to be able to open this shop!");
}else{
c.getShops().openShop(27);
c.sendMessage("Congratz!! you have no-lifed your ass to Max Cape!!");
}
break;
This is my formula to try and make a shop open if you have 99s in skills 1 - 22. can you see why its giving me the error
Code:
src\server\model\players\ActionHandler.java:2765: not a statement
c.playerLevel[i] < 99;
^
1 error
Press any key to continue . . .