
chat global
salut cine stie cum fac acest chat global?


Pasu I:
Iei root.epk/eix din client si o despachetezi
Pas II:
Intri in root despachetat:
Deschizi fisieru uichat.py si cauti:
Dupa care inlocuesti:
Cu
Pas III
Salvezi ,inpachetezi inapoi root.epk/eix dupa care il bagi inapoi in client.
Iei root.epk/eix din client si o despachetezi
Pas II:
Intri in root despachetat:
Deschizi fisieru uichat.py si cauti:
Cod: Selectaţi tot
if net.IsChatInsultIn(text):Cod: Selectaţi tot
if net.IsChatInsultIn(text):
chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.CHAT_INSULT_STRING)
else:
net.SendChatPacket(text, type)Cod: Selectaţi tot
##Striga cu culoarea regatului
if net.IsChatInsultIn(text):
chat.AppendChat(chat.CHAT_TYPE_INFO, locale.CHAT_INSULT_STRING)
if type == chat.CHAT_TYPE_SHOUT:
name = player.GetName()
empire_id = int(net.GetEmpireID(name))
empire_color = {
1: '|cFFFF0000|H|h [Rosu] |cFFA7FFD4|H|h',
2: '|cFFFFFF00|H|h [Galben] |cFFA7FFD4|H|h',
3: '|cFF0080FF|H|h [Albastru] |cFFA7FFD4|H|h'
}
text_color = str(empire_color[empire_id]) + text
net.SendChatPacket(text_color, type)
else:
net.SendChatPacket(text, type)
##End##Striga cu culoarea regatuluiSalvezi ,inpachetezi inapoi root.epk/eix dupa care il bagi inapoi in client.
merge pe versiunea 2089M?
merge pe versiunea 2089M?
Titlul este pus aiurea, arhivat, citeşte regulamentul: http://just4metin.ro/probleme/regulamen ... eb-t3.html
-
- Informaţie
-
Cine este conectat
Utilizatori ce ce navighează pe acest forum: sanducatalin1 și 4 vizitatori






