Sinister Smile Posted July 23, 2017 Share Posted July 23, 2017 Hi all, i want to add checks for combat, is the player joined olympiad, is the player joined event. Link to comment Share on other sites More sharing options...
0 melron Posted July 23, 2017 Share Posted July 23, 2017 An easy way to check all these things is to write the instance.isin and then you will see all the possible checks like this: so you will find your checks: if (player.isInCombat()) if (player.isInOlympiadMode()) you can add a check too for olympiad like if (Olympiad.getInstance().playerInStadia(player)) { return; } Link to comment Share on other sites More sharing options...
0 Sinister Smile Posted July 23, 2017 Author Share Posted July 23, 2017 An easy way to check all these things is to write the instance.isin and then you will see all the possible checks like this: so you will find your checks: if (player.isInCombat()) if (player.isInOlympiadMode()) you can add a check too for olympiad like if (Olympiad.getInstance().playerInStadia(player)) { return; } Thank you. Link to comment Share on other sites More sharing options...
Question
Sinister Smile
Hi all, i want to add checks for combat, is the player joined olympiad, is the player joined event.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts