[Ajuda] Setar horario
#5

pawn Код:
public Atualizartempo()
{
    new HoraR,MinutosR;
    gettime(HoraR, MinutosR);
    format(StringRelogio,32,"%02d:%02d",HoraR,MinutosR);
    TextDrawSetString(Relogio,StringRelogio);
    switch (HoraR)
    {
    case 17 .. 18:      SetWorldTime(22);
    case 19 .. 4:       SetWorldTime(1);
    case 5 .. 6:        SetWorldTime(21);
    case 7 .. 16:       SetWorldTime(10);
    }
    return 1;
}
Reply


Messages In This Thread
Setar horario - by Cidiei - 15.05.2013, 22:09
Re: Setar horario - by n0minal - 15.05.2013, 22:28
Re: Setar horario - by PT - 15.05.2013, 22:34
Re: Setar horario - by Cidiei - 15.05.2013, 22:43
Respuesta: Setar horario - by Jose_grana - 16.05.2013, 15:53

Forum Jump:


Users browsing this thread: 2 Guest(s)