Jump to content
  • 0

"shout" Chat From Certain Level


Question

4 answers to this question

Recommended Posts

  • 0
Posted

Thanks ! (Used a bit diffrent code, but used your ideas! Tyyy!), maybe someone could help with another chat disabler? If player writes PM for himself, he gets system message, instead of PM (hmm i'll try to explain a bit diffrently > if ( receiver = sender, return false). any ideas :?

 

clientpackets/say2.java

 

if (_target == activeChar)

{

      activeChar.sendMessage("You can't talk to yourself n00b!);

      return;

}

  • 0
Posted (edited)
if (activeChar.getLevel() < 40)
  {
   player.sendMessage("You cannot use shout chat yet");
   return;
  }

In handlers/chathandlers/ChatShout.java

Edited by Gries
  • 0
Posted

Thanks ! (Used a bit diffrent code, but used your ideas! Tyyy!), maybe someone could help with another chat disabler? If player writes PM for himself, he gets system message, instead of PM (hmm i'll try to explain a bit diffrently > if ( receiver = sender, return false). any ideas :?

Guest
This topic is now closed to further replies.
×
×
  • Create New...