Moin.
//Uhrzeit
PTD[1] = TextDrawCreate(566.000000, 8.296318, "uhrzeit");
TextDrawLetterSize(PTD[1], 0.449999, 1.600000);
TextDrawAlignment(PTD[1], 1);
TextDrawColor(PTD[1], 41215);
TextDrawSetShadow(PTD[1], -1);
TextDrawSetOutline(PTD[1], 0);
TextDrawBackgroundColor(PTD[1], 51);
TextDrawFont(PTD[1], 3);
TextDrawSetProportional(PTD[1], 1);
SetTimer("UpdateClock",1000,true);
public UpdateClock()
{
for(new i = 0;i<MAX_PLAYERS;i++)
{
new playerid = i;
new Hour,Minute,Second,Year,Month,Day,string[130];
gettime(Hour,Minute,Second);
getdate(Year,Month,Day);
format(string, 130, "%02d:%02d:%02d~n~~g~%d.%d.%d",Hour,Minute,Second,Day,Month,Year);
TextDrawSetString(PTD[1],string);
TextDrawShowForPlayer(playerid,PTD[1]);
}
return 1;
}
Sehe keinen Fehler