Jump to content

Question

2 answers to this question

Recommended Posts

  • 0
Posted

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:

 

JSQXJkb.png

 

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;
}
  • 0
Posted

 

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:

 

JSQXJkb.png

 

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.

Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

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..