Sosyal açıldı! Bir göz at → Hemen gir →

YARDIM kill alınca çıkan yazılar

Silinen üye 471

KY Cezalı Üye
KAYIT
7 Eyl 2023
Mesajlar
753
Çözümler
2
Tepki puanı
573
1759583992613.png


bu Kısmı Nasıl değiştirecem


Kod:
uint8 sType;
std::string sKilled;
std::string sDeath;
uint16 GetX, GetZ;
pkt.SByte();
pkt >> sType >> sKilled >> sDeath >> GetX >> GetZ;

if (g_pMain->DeathNone)
    return;

if (g_pMain->DeathAll)
{
    if (sType == 1)
        g_pMain->WriteChatAddInfo(D3DCOLOR_ARGB(255, 254, 128, 254), false, string_format("*** %s has defeated %s - ( %d, %d ) ***", sKilled.c_str(), sDeath.c_str(), GetX, GetZ).c_str());
    else if (sType == 2)
        g_pMain->WriteChatAddInfo(D3DCOLOR_ARGB(255, 197, 209, 189), false, string_format("*** %s has defeated %s - ( %d, %d ) ***", sKilled.c_str(), sDeath.c_str(), GetX, GetZ).c_str());
    else
        g_pMain->WriteChatAddInfo(D3DCOLOR_ARGB(255, 255, 255, 0), false, string_format("*** %s has defeated %s - ( %d, %d ) ***", sKilled.c_str(), sDeath.c_str(), GetX, GetZ).c_str());
}
else if (g_pMain->DeathParty)
{
    if (sType == 1)
        g_pMain->WriteChatAddInfo(D3DCOLOR_ARGB(255, 254, 128, 254), false, string_format("*** %s has defeated %s - ( %d, %d ) ***", sKilled.c_str(), sDeath.c_str(), GetX, GetZ).c_str());
    else if (sType == 2)
        g_pMain->WriteChatAddInfo(D3DCOLOR_ARGB(255, 197, 209, 189), false, string_format("*** %s has defeated %s - ( %d, %d ) ***", sKilled.c_str(), sDeath.c_str(), GetX, GetZ).c_str());
}
else if (g_pMain->DeathMe)
{
    if (sType == 1)
        g_pMain->WriteChatAddInfo(D3DCOLOR_ARGB(255, 254, 128, 254), false, string_format("*** %s has defeated %s - ( %d, %d ) ***", sKilled.c_str(), sDeath.c_str(), GetX, GetZ).c_str());
}

bunları OIkumuyor
 

Slepperx

KY Uzman Üye
KAYIT
2 Eki 2025
Mesajlar
143
Çözümler
1
Tepki puanı
103
Konum
Macedonia
tam olarak neyi değiştirmek istiyorsun ?? Db'den okuyor olabilir db içindeki notice kısımlarınada bir bak
 
Anasayfa Kayıt ol Giriş yap
Üst Alt