16.04.2018, 23:04
Bom tipo nгo quer mostra a data й a hora quando acabo de coloca senha aparece й some code abaixo
Nгo aparece em in - game ajudem ae
PHP код:
new Clock[200];
Textdraw[3] = TextDrawCreate(559.375000, 416.333312, Clock);
TextDrawLetterSize(Textdraw[3], 0.125000, 1.028332);
TextDrawAlignment(Textdraw[3], 1);
TextDrawColor(Textdraw[3], -1);
TextDrawSetShadow(Textdraw[3], 0);
TextDrawSetOutline(Textdraw[3], 0);
TextDrawBackgroundColor(Textdraw[3], 255);
TextDrawFont(Textdraw[3], 2);
TextDrawSetProportional(Textdraw[3], 1);
TextDrawSetShadow(Textdraw[3], 0);
public Relogio(playerid)
{
new string[2500];
format(string, sizeof string, "~w~~h~Data: %d/%s%d/%d - %s%d:%s%d:%s%d", ClockTime[dDay], ((ClockTime[dMonth] < 10) ? ("0") : ("")), ClockTime[dMonth], RELOGIO_ANO, (ClockTime[tHour] < 10) ? ("0") : (""), ClockTime[tHour], (ClockTime[tMinute] < 10) ? ("0") : (""), ClockTime[tMinute], (ClockTime[tSecond] < 10) ? ("0") : (""), ClockTime[tSecond]);
TextDrawSetString(Textdraw[3], string);
}