Jump to content
  • 0

Disable Hero voice


Question

4 answers to this question

Recommended Posts

  • 0
Posted

k thx but this is the only solution ?

 

why dont you search your packs core b4 you post ?

 

chathandlers/ChatHeroVoice.java

 

  • 0
Posted

Old Code

 

if (canSpeak)
	{
		CreatureSay cs = new CreatureSay(activeChar.getObjectId(), chatType, activeChar.getName(), text);
		for (L2PcInstance player : L2World.getInstance().getAllPlayers())
			player.sendPacket(cs);
	}

 

New Code

 

if (canSpeak && Config.ALLOW_HERO_VOICE)
	{
		CreatureSay cs = new CreatureSay(activeChar.getObjectId(), chatType, activeChar.getName(), text);
		for (L2PcInstance player : L2World.getInstance().getAllPlayers())
			player.sendPacket(cs);

 

--------------------------------------------------------------------

Config.Java

--------------------------------------------------------------------

Add This

public static boolean     L2JMOD_ENABLE_MANA_POTIONS_SUPPORT;
+ public static boolean     ALLOW_HERO_VOICE;

 

And This

L2JMOD_ENABLE_MANA_POTIONS_SUPPORT = Boolean.parseBoolean(L2JModSettings.getProperty("EnableManaPotionSupport", "false"));
+ ALLOW_HERO_VOICE = Boolean.parseBoolean(L2JModSettings.getProperty("AllowHV", "false"));

 

Last Step Go Datapack and put in l2jmods.properties

AllowHv=False

 

Cyao Amigo!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • 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