22.07.2012, 03:21
Quote:
Ok Vo Tentar, mas eu mudo a cor assim ~b~ e tal. o codigo onde mudo e esse, mas tem uma parte onde mexe no text draw vo tentar aki, Obrigado Pelas Respostas
|
pawn Код:
public reloginho()
{
SyncTime();
new string[128],
ano,
mes,
dia,
horas,
minutos,
segundos; //Relogio EBN
getdate(ano, mes, dia);gettime(horas, minutos, segundos);
format(string, sizeof string, "~y~~h~~h~~h~%d/%s%d/2012", dia, ((mes < 10) ? ("0") : ("")), mes);
TextDrawSetString(Reloginho1, string);
format(string, sizeof string, "~y~~h~~h~~h~%s%d:%s%d:%s%d", (horas < 10) ? ("0") : (""), horas, (minutos < 10) ? ("0") : (""), minutos, (segundos < 10) ? ("0") : (""), segundos);
TextDrawSetString(Reloginho2, string);
TextDrawShowForAll(Reloginho1);
TextDrawShowForAll( Reloginho2);
return 1;
}