Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def __SendTalkingChatPacket(self, text):
- name = player.GetName()
- if name.find("[SA]") !=-1:
- empire_id = "|cFFFF0000|H|h"
- text = empire_id + text
- net.SendChatPacket(text, type)
- self.__ResetChat()
- else:
- self.__SendChatPacket(text, chat.CHAT_TYPE_TALKING)
- self.__ResetChat()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement