[Ajuda] Sobre o worldtime
#2

pawn Код:
new string[256];
new hour,minute,second; // nomes definidos
new year, month,day; // nomes definidos
getdate(year, month, day); // coletando a data
gettime(hour,minute,second); // coletando Horas, Minutos & Segundos
format(string, sizeof(string), "%d/%d/%d ~R~%d:%d:%d",day,month,year,hour,minute,second); // format da TextDraw
TextDrawSetString(TextHora[i], string); // Funзгo que faz a TextDraw funcionar.
// Troque o TextHora[i] pela sua text de hora..

Atenciosamente,
Reply


Messages In This Thread
Sobre o worldtime - by Firelink - 13.02.2014, 20:56
Respuesta: Sobre o worldtime - by [BWL]Chamaleon - 14.02.2014, 15:50

Forum Jump:


Users browsing this thread: 1 Guest(s)