Such:
PHP Code:
def __SendTalkingChatPacket(self, text):
Das ersezt du durch:
PHP Code:
def __SendTalkingChatPacket(self, text):
characterName = player.GetName()
if text[0] == '/' and text[1] == 'n' and text[2] == ' ':
text = text[2:]
#self.__SendChatPacket(text, chat.CHAT_TYPE_TALKING)
self.__SendChatPacket("/n "+characterName + " : "+ text, chat.CHAT_TYPE_TALKING)
self.__ResetChat()
else:
self.__SendChatPacket(text, chat.CHAT_TYPE_TALKING)
self.__ResetChat()
Mfg