hello i've tried to make a clan rep manager but i have one problem with "case" ..
i have added this "private static final int CLITEM = Config.CLITEMID;" in L2ClanTraderInstance and this:
case CLITEM:
reputation = Config.CLPOINTS;
itemCount = Config.CLCOUNT;
break;[code]
but i get warning, "case expressions must be constant expressions" how can i fix it ? :-\
Get the maximum opportunities, income, and profit with our verification.
We help you pass verification on the services and applications you need, opening access to full functionality and scaling.
Fast. Reliable. Secure.
Minimal risks — predictable results.
Bonus for new clients:
Pay for the first verification and get a 10% discount on the next one.
Learn more — Go to
Question
TouchAndDie
hello i've tried to make a clan rep manager but i have one problem with "case" ..
i have added this "private static final int CLITEM = Config.CLITEMID;" in L2ClanTraderInstance and this:
6 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now