Jump to content
  • 0

[HELP]Zone Related


Question

Posted

character.setInsideZone(L2Character.ZONE_TOWN, true);

 

if (character instanceof L2PcInstance)

{

if (character.getLevel() >= 83 && getTownId() == 4) 

{

character.teleToLocation(TeleportWhereType.Town);

return;

}

}

}

 

Made it working if char is lvl > 83 it gets teleported to giran, what i have to do instead to check lvl to check an item ID?

 

ty in advance

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...