exity Posted April 23, 2012 Posted April 23, 2012 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 Quote
Question
exity
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
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.