Jump to content
  • 0

How To Add More Check's


Sinister Smile

Question

2 answers to this question

Recommended Posts

  • 0

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;
}
Link to comment
Share on other sites

  • 0

 

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.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...