Skip to content

[Help] psaxnw enan code

Featured Replies

kalispera eimai new stoys code kai gia na po tin alithia moy den to poli exw :)

 

psaxnw enan code otan kapio class bgi apo peace zone na psofah ( gia l2jfrozen pack )

h gia opoio nane kai tha prospathisw na ton allaksw :P

vres to arxeio L2PeaceZOne.java pou vrhskete edw :

head-src/com/l2jfrozen/gameserver/model/zone/type/L2PeaceZone.java

 

vres thn me8odo: protected void onExit(L2Character character)

kai katw apo afto: character.setInsideZone(L2Character.ZONE_PEACE, false);

 

kane paste afto:

if (character instanceof L2PcInstance)
	{
		if (((L2PcInstance) character).getActiveClass() == 10){
			((L2PcInstance) character).sendMessage("You cannot leave peacezone with this class.");
			((L2PcInstance) character).doDie(character);
		}
	}

opou o ari8mos 10 einai to class, sthn database mporeis na vreis kai ta upolipa, apla allazeis to noumero kai allazei to class

have fun :)

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.