I have a problem with the following code:
File: TvTEventTeleporter.java
Function: Runnable.Run().
Code: Select all
if (TvTEvent.isStarted()){ player.setInsideZone(L2Character.ZONE_PVP, true);} // Event finished, back to an normal zoneelse { player.setInsideZone(L2Character.ZONE_PVP, false);}
PS:I just want to set the player zone using it directly instead making the zones on the xml to do that (or to create a new zone type and just set the area as PVP if the event is active).