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
Versus
I want a player with epic to be unable to participate at olympiad.
Well i tried this out in UseItem.java
if (activeChar.isInOlympiadMode()== true && itemId == ID || itemId == ID || )
{
activeChar.sendMessage("dont use this in oly dumbass!");
return;
}
not working
then i tried it in olympiad.java
(wpn.getItemId() >= 6611 && wpn.getItemId() <= 6621) ||
wpn.getItemId() == 6842 || wpn.getItemId() == 9450 || wpn.getItemId() == 9451 ||
wpn.getItemId() == 9452 || wpn.getItemId() == 9453 || wpn.getItemId() == 9454 ||
wpn.getItemId() == 9455 || wpn.getItemId() == 9456 || wpn.getItemId() == 9457 ||
wpn.getItemId() == 9458 || wpn.getItemId() == 9459 || wpn.getItemId() == 9460 ||
wpn.getItemId() == 9461 || wpn.getItemId() == 9462
)
)
{
not working again.Any help would be great.k thanks
16 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