Nextas Posted February 15, 2014 Posted February 15, 2014 Maybe anyone could help with "shout" chat disabling until certain(ex. 20) level?
0 Infinity@Aerogaming Posted February 26, 2014 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; }
0 Infinity@Aerogaming Posted February 15, 2014 Posted February 15, 2014 Say2 if (activeChar.getLevel() < 20 ) return;
0 Gries Posted February 15, 2014 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
0 Nextas Posted February 25, 2014 Author 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 :?
Question
Nextas
Maybe anyone could help with "shout" chat disabling until certain(ex. 20) level?
4 answers to this question
Recommended Posts