Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- '''Prendere il file uichat in root e modificarlo nella seguente maniera '''
- #ho usato int(player.LEVEL) perchè non ricordo se viene passato come stringa o intero
- #cerca __SendChatPacket e sostituiscilo con questo
- def __SendChatPacket(self, text, type):
- if int(player.GetStatus(player.LEVEL)) >= 100:
- if net.IsChatInsultIn(text):
- chat.AppendChat(chat.CHAT_TYPE_INFO, locale.CHAT_INSULT_STRING)
- else:
- net.SendChatPacket(text, type)
- else:
- chat.AppendChat(chat.CHAT_TYPE_INFO, "Potrai usare la chat da livello 100.")
Advertisement
Add Comment
Please, Sign In to add comment