Moin ihr Brot fische mal ne frage und zwar möchte ich das das Datum über dem Map kreis unten Links stehen soll. ahbe soweit mein ich fertig gehabt aber dann ging es nciht also es wurde nicht imagme angezeigt bitte um Hilfe
public OnGameModeInit()
{
Date = TextDrawCreate(147.000000,321.000000,"--");
TextDrawAlignment(Date,3);
TextDrawBackgroundColor(Date,0x00000000);
TextDrawFont(Date,2);
TextDrawLetterSize(Date,0.499999,1.700000);
TextDrawColor(Date,0x000000ff);
TextDrawSetOutline(Date,1);
TextDrawSetProportional(Date,1);
TextDrawSetShadow(Date,10);
public settime()
{
new hour,minute,second;
new string[256],year,month,day;
gettime(hour,minute,second);
if (minute <= 9)
{
format(string,25,"%d:0%d",hour,minute);
}
else
{
format(string,25,"%d:%d",hour,minute);
}
TextDrawSetString(Uhr,string);
getdate(year, month, day);
format(string, sizeof string, "%d/%s%d/%s%d", day, ((month < 10) ? ("0") : ("")), month, (year < 10) ? ("0") : (""), year);
TextDrawSetString(Date, string);
return 1;
}