Jump to content
  • 0

[Help] psaxnw enan code


pirama
 Share

Question

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

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

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 :)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock