Nextas Posted February 15, 2014 Share Posted February 15, 2014 Maybe anyone could help with "shout" chat disabling until certain(ex. 20) level? Link to comment Share on other sites More sharing options...
0 Infinity@Aerogaming Posted February 26, 2014 Share Posted February 26, 2014 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; } Link to comment Share on other sites More sharing options...
0 Infinity@Aerogaming Posted February 15, 2014 Share Posted February 15, 2014 Say2 if (activeChar.getLevel() < 20 ) return; Link to comment Share on other sites More sharing options...
0 Gries Posted February 15, 2014 Share Posted February 15, 2014 (edited) if (activeChar.getLevel() < 40) { player.sendMessage("You cannot use shout chat yet"); return; } In handlers/chathandlers/ChatShout.java Edited February 15, 2014 by Gries Link to comment Share on other sites More sharing options...
0 Nextas Posted February 25, 2014 Author Share Posted February 25, 2014 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 :? Link to comment Share on other sites More sharing options...
Question
Nextas
Maybe anyone could help with "shout" chat disabling until certain(ex. 20) level?
Link to comment
Share on other sites
4 answers to this question
Recommended Posts