iAlreadyExist Posted February 6, 2023 Posted February 6, 2023 hello can someone give me code when admin speaks in chat to say like [GM] or [ADMIN] before the name?
1 @IcathiaLord Posted February 6, 2023 Posted February 6, 2023 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);
0 Zake Posted February 7, 2023 Posted February 7, 2023 5 hours ago, iAlreadyExist said: working thanks Topic locked.
Question
iAlreadyExist
hello can someone give me code when admin speaks in chat to say like [GM] or [ADMIN] before the name?
3 answers to this question
Recommended Posts