[Ajuda] Atualizar Relogio.
#1

Bom, criei uns textdraws no zamaroth... ai eu fiz um de data e um de hora, o de hora eu nao sei como eu ponho para atualizar os segundos e as horas.

pawn Код:
new texto1[100], year, month, day, hour, minute, second, texto2[100];
    getdate(year, month, day);
    gettime(hour, minute, second);
    format(texto1, sizeof texto1, "Dia: %d/%d/%d", day, month, year);
    format(texto2, sizeof texto2, "Hora: %d:%d:%d", hour, minute, second);
    Textdraw0 = TextDrawCreate(496.000000, 98.000000, "Torcidas");
    TextDrawBackgroundColor(Textdraw0, 255);
    TextDrawFont(Textdraw0, 1);
    TextDrawLetterSize(Textdraw0, 0.529999, 1.800000);
    TextDrawColor(Textdraw0, -16776961);
    TextDrawSetOutline(Textdraw0, 1);
    TextDrawSetProportional(Textdraw0, 1);
    Textdraw1 = TextDrawCreate(510.000000, 114.000000, "Organizadas");
    TextDrawBackgroundColor(Textdraw1, 255);
    TextDrawFont(Textdraw1, 1);
    TextDrawLetterSize(Textdraw1, 0.500000, 1.500000);
    TextDrawColor(Textdraw1, -1);
    TextDrawSetOutline(Textdraw1, 1);
    TextDrawSetProportional(Textdraw1, 1);
    Textdraw2 = TextDrawCreate(499.000000, 133.000000, texto1);
    TextDrawBackgroundColor(Textdraw2, 255);
    TextDrawFont(Textdraw2, 1);
    TextDrawLetterSize(Textdraw2, 0.529999, 1.400000);
    TextDrawColor(Textdraw2, -16776961);
    TextDrawSetOutline(Textdraw2, 1);
    TextDrawSetProportional(Textdraw2, 1);
    Textdraw3 = TextDrawCreate(498.000000, 148.000000, texto2);
    TextDrawBackgroundColor(Textdraw3, 255);
    TextDrawFont(Textdraw3, 1);
    TextDrawLetterSize(Textdraw3, 0.500000, 1.500000);
    TextDrawColor(Textdraw3, -1);
    TextDrawSetOutline(Textdraw3, 1);
    TextDrawSetProportional(Textdraw3, 1);
Ajuda ae.


This forum requires that you wait 120 seconds between posts. Please try again in 10 seconds.
Reply


Messages In This Thread
[Ajuda] Atualizar Relogio. - by Lipe_Stronda - 27.09.2011, 02:44
Re: [Ajuda] Atualizar Relogio. - by Pharrel - 27.09.2011, 02:45
Re: [Ajuda] Atualizar Relogio. - by Lipe_Stronda - 27.09.2011, 02:53
Re: [Ajuda] Atualizar Relogio. - by Dr_Pawno - 27.09.2011, 02:55
Re: [Ajuda] Atualizar Relogio. - by Pharrel - 27.09.2011, 02:57
Re: [Ajuda] Atualizar Relogio. - by Lipe_Stronda - 27.09.2011, 02:58
Re: [Ajuda] Atualizar Relogio. - by Dr_Pawno - 27.09.2011, 02:59
Re: [Ajuda] Atualizar Relogio. - by Lipe_Stronda - 27.09.2011, 03:01
Re: [Ajuda] Atualizar Relogio. - by Dr_Pawno - 27.09.2011, 03:03
Re: [Ajuda] Atualizar Relogio. - by Lipe_Stronda - 27.09.2011, 03:04

Forum Jump:


Users browsing this thread: 4 Guest(s)