noisiv 1
noisiv
Manwe Work 1
Manwe Work
Reklam vermek için turkmmo@gmail.com

Metin2 Chatten Pm Atma (@Vectors mesaj)

  • Konuyu başlatan Konuyu başlatan Vectors
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 36
  • Görüntüleme Görüntüleme 16K

​


Root uichat.py
aratılır;
Kod:
def __SendChatPacket(self, text, type):

Blok full değiştirilir

Kod:
    def __SendChatPacket(self, text, type):
        if net.IsChatInsultIn(text):
            chat.AppendChat(chat.CHAT_TYPE_INFO, locale.CHAT_INSULT_STRING)
        elif text.find("@") == 0:
            user,msg = text[1:].split(" ", 1)
            if len(msg) > 0:
                net.SendWhisperPacket(user, msg)
                chat.AppendChat(chat.CHAT_TYPE_INFO, "%s Nickli oyuncuya ozel mesaj gonderildi." % user)
            else:
                chat.AppendChat(chat.CHAT_TYPE_INFO, "Bos mesaj gonderemezsiniz.")
        else:
            net.SendChatPacket(text, type)


Kod:
    def __SendChatPacket(self, text, type):
        if net.IsChatInsultIn(text):
            chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.CHAT_INSULT_STRING)
        elif text.find("@") == 0:
            user,msg = text[1:].split(" ", 1)
            if len(msg) > 0:
                net.SendWhisperPacket(user, msg)
                chat.AppendChat(chat.CHAT_TYPE_INFO, "%s Nickli oyuncuya ozel mesaj gonderildi." % user)
            else:
                chat.AppendChat(chat.CHAT_TYPE_INFO, "Bos mesaj gonderemezsiniz.")
        else:
            net.SendChatPacket(text, type)

Kodları verdiğim sitelerden alt kısımdan kopyalayın.


@Nick Mesaj​
 

​


Root uichat.py
aratılır;
Kod:
def __SendChatPacket(self, text, type):

Blok full değiştirilir

Kod:
    def __SendChatPacket(self, text, type):
        if net.IsChatInsultIn(text):
            chat.AppendChat(chat.CHAT_TYPE_INFO, locale.CHAT_INSULT_STRING)
        elif text.find("@") == 0:
            user,msg = text[1:].split(" ", 1)
            if len(msg) > 0:
                net.SendWhisperPacket(user, msg)
                chat.AppendChat(chat.CHAT_TYPE_INFO, "%s Nickli oyuncuya ozel mesaj gonderildi." % user)
            else:
                chat.AppendChat(chat.CHAT_TYPE_INFO, "Bos mesaj gonderemezsiniz.")
        else:
            net.SendChatPacket(text, type)


Kod:
    def __SendChatPacket(self, text, type):
        if net.IsChatInsultIn(text):
            chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.CHAT_INSULT_STRING)
        elif text.find("@") == 0:
            user,msg = text[1:].split(" ", 1)
            if len(msg) > 0:
                net.SendWhisperPacket(user, msg)
                chat.AppendChat(chat.CHAT_TYPE_INFO, "%s Nickli oyuncuya ozel mesaj gonderildi." % user)
            else:
                chat.AppendChat(chat.CHAT_TYPE_INFO, "Bos mesaj gonderemezsiniz.")
        else:
            net.SendChatPacket(text, type)

Kodları verdiğim sitelerden alt kısımdan kopyalayın.


@Nick Mesaj​


Eyw Saol Rica Etsem Birde Pmden Arkadaş Ekleme Sistemini Foruma Atsan :)
 

Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)

Geri
Üst