Jump to content
  • 0

[Help] psaxnw enan code


Question

Posted

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

2 answers to this question

Recommended Posts

  • 0
Posted

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.


×
×
  • Create New...