0 Justice Posted June 9, 2010 Posted June 9, 2010 Can you explain it better..? I can't understand anything..
0 forsas Posted June 9, 2010 Author Posted June 9, 2010 Can you explain it better..? I can't understand anything.. I say if player change title he cannot this like L2Java.Com when player change title him send message (on this server cant change title)
0 xAddytzu Posted June 9, 2010 Posted June 9, 2010 L2PcInstance @Override public void setTitle(String value) { sendMessage("madafaka@"); return; }
0 BruT Posted June 9, 2010 Posted June 9, 2010 L2PcInstance @Override public void setTitle(String value) { sendMessage("madafaka@"); return; } Wondering how the admins will change someone's title.
0 forsas Posted June 9, 2010 Author Posted June 9, 2010 Wondering how the admins will change someone's title. i need this because my config is pvp pk title update and i need if player change title he cannot.
0 xAddytzu Posted June 9, 2010 Posted June 9, 2010 Wondering how the admins will change someone's title. @Override public void setTitle(String value) { if (this.isGM()) { if (value.length() > 16) value = value.substring(0, 15); super.setTitle(value); } else { sendMessage("something"); return; } }
0 forsas Posted June 9, 2010 Author Posted June 9, 2010 Don't working if i paste this new player don't get pvp title update.
0 xAddytzu Posted June 9, 2010 Posted June 9, 2010 Don't working if i paste this new player don't get pvp title update. owned>.> How to change that player cannot change title?
0 forsas Posted June 9, 2010 Author Posted June 9, 2010 owned>.> Ok new how if new player or old player get pvp title update he cannot change title when press alt+n ant then write and apply title.
0 BruT Posted June 9, 2010 Posted June 9, 2010 Ok new how if new player or old player get pvp title update he cannot change title when press alt+n ant then write and apply title. Dont listen him. find the method settitle and show it to me so i can tell u what to do
0 xAddytzu Posted June 9, 2010 Posted June 9, 2010 Dont listen him. find the method settitle and show it to me so i can tell u what to do are you blind ? How to change that player cannot change title?
0 BruT Posted June 9, 2010 Posted June 9, 2010 @Override public void setTitle(String value) { if (this.isGM()) { if (value.length() > 16) value = value.substring(0, 15); super.setTitle(value); } else { sendMessage("something"); return; } } look at your crap code then talk to me
Question
forsas
How to change that player cannot change title?
21 answers to this question
Recommended Posts