Originally Posted by
klorox
It should just be return 0; not return = 0;
I changed it too that and get this now:
Code:
--- Compiling Bleach. ---
client.java:6735: incompatible types
found : int
required: boolean
return 0;
^
1 error
'Compiling' is not recognized as an internal or external command,
operable program or batch file.
Press any key to continue . . .
Originally Posted by
Raid
You're missing a bracket above it.
There is?
Code:
if (MyShopID == 19) {
if (assaultKills >= TotPrice2) {
if (freeSlots() > 0) {
assaultKills -= TotPrice2;
addItem(itemID, 1);
server.shopHandler.ShopItemsN[MyShopID][fromSlot] -= 1;
server.shopHandler.ShopItemsDelay[MyShopID][fromSlot] = 0;
if ((fromSlot + 1)
> server.shopHandler.ShopItemsStandard[MyShopID]) {
server.shopHandler.ShopItems[MyShopID][fromSlot] = 0;
}
} else {
sM("Not enough space in your inventory.");
break;
}
} else {
sM("Not enough points for this item.");
}
}
return 0;
}
savegame(false);
resetItems(3823);
resetShop(MyShopID);
UpdatePlayerShop();
return true;
}
return false;
}