[Ajuda] Problema com relуgio a hora fica certa no pc e atrasada no host.
#6

ja tento fazer isto !
pawn Code:
public reloginho(playerid)
{
    new
        string[256],
        ano,
        mes,
        dia,
        horas,
        minutos,
        segundos;
    getdate(ano, mes, dia);
    gettime(horas, minutos, segundos);
    format(string, sizeof string, "%d/%s%d/2013", dia, ((mes < 10) ? ("0") : ("")), mes);
    TextDrawSetString(Reloginho1, string);
    format(string, sizeof string, "%s%d:%s%d:%s%d", (horas < 10) ? ("0") : (""), horas, (minutos < 10) ? ("0") : (""), minutos+7, (segundos < 10) ? ("0") : (""), segundos);
    TextDrawSetString(Reloginho2, string);
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)