Oricum, încearcă așa (root/uiChat.py):
Cod: Selectaţi tot
def __SendChatPacket(self, text, type):
import chr, player
imGameMaster = chr.IsGameMaster(player.GetMainCharacterIndex())
if net.IsChatInsultIn(text):
chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.CHAT_INSULT_STRING)
elif text[0] == '/' and not imGameMaster:
chat.AppendChat(chat.CHAT_TYPE_INFO, "Trebuie sa indepartezi '/' pentru a putea trimite mesajul.")
return
else:
net.SendChatPacket(text, type)Să-mi fii recunoscător toată viața.##SomeBody scrie: ↑01 Mai 2021, 00:06 daca stie o solutie sa nu mai poata scrie playerul cv care incepe cu slash
„ / „ i as fii recunoscator toata viata




