Jump to content
  • 0

admin prefix


iAlreadyExist

Question

3 answers to this question

Recommended Posts

  • 1

chathandlers/chatAll.java
 

Replace:

        final CreatureSay cs = new CreatureSay(activeChar.getObjectId(), type, activeChar.getName(), text);
With:

       final CreatureSay cs = new CreatureSay(activeChar.getObjectId(), type, activeChar.isGM() ? "[ADMIN]:" + activeChar.getName() : activeChar.getName(), text);
 

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...