Guest User

problemos

a guest
Mar 7th, 2013
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.34 KB | None | 0 0
  1.     def __SendShoutChatPacket(self, text):
  2.  
  3.         if app.GetTime() < self.lastShoutTime + 15:
  4.             chat.AppendChat(chat.CHAT_TYPE_INFO, locale.CHAT_SHOUT_LIMIT)
  5.             self.__ResetChat()
  6.             return
  7.  
  8.         self.__SendChatPacket(text[1:]+" "+'|cffffc700|Hszept:'+str(player.GetName())+'|h(Szept)|h|r',
  9.         chat.CHAT_TYPE_SHOUT)
  10.  
  11.         self.lastShoutTime = app.GetTime()
Advertisement
Add Comment
Please, Sign In to add comment