Source WindowsKG Season 6 Mu Online - Source Mu - Mu Server Files
 

Noticias:

SMF - Just Installed!

Menú principal

Source WindowsKG Season 6 Mu Online

Publicado por Dakosmu, Mar 25, 2024, 06:18 PM

Tema anterior - Siguiente tema

0 Miembros y 1 Visitante están viendo este tema.

Dakosmu

Source WindowsKG Season 6 Mu Online



Interface.cpp


void Interface::WindowsKG()
{   
    char interaltas[500];
    time_t now = time(nullptr);
    tm* localtm = localtime(&now);
    int year = 1900 + localtm->tm_year;
    int month = 1 + localtm->tm_mon;
    int day = localtm->tm_mday;
    int hours = localtm->tm_hour;
    int minutes = localtm->tm_min;
    int seconds = localtm->tm_sec;
    char Text[50];
    sprintf_s(Text, sizeof(Text), "%02d:%02d:%02d %02d/%02d/%d", hours, minutes, seconds, day, month, year);
    if (gInterface.validar == 0)
    {
        sprintf_s(interaltas, sizeof(interaltas), "%s || %s : Lv : %d||Reset :%d || WC: %d || WP : %d || GP : %d || %s", gProtect.m_MainInfo.WindowName, gObjUser.lpPlayer->Name, gObjUser.lpPlayer->Level,ViewReset, Coin1, Coin2, Coin3,Text);
        SetWindowText(pGameWindow, interaltas);
    }
}




gInterface.WindowsKG();


Interface.h


void        WindowsKG();











Bon Dia

amadeusx2


llhenryxpxx


🡱 🡳
Real Time Web Analytics