Hallo ich bekomme einen Warning in meinen Uhrzeit Public:
Hier der Code:
public Uhr()
{
new Text:Clock;
new string[10],hour,minute,second;
gettime(hour,minute,second);
format(string, sizeof string, "%s%d:%s%d:%s%d", (hour < 10) ? ("0") : (""), hour, (minute < 10) ? ("0") : (""), minute, (second < 10) ? ("0") : (""), second);
TextDrawHideForAll(Clock);
Clock = TextDrawCreate(530.0, 5.0, string);
TextDrawLetterSize(Clock, 0.6, 1.8);
TextDrawFont(Clock, 3);
TextDrawSetOutline(Clock, 2);
TextDrawShowForAll(Clock);
Clock = SetTimer("Uhr",1000,0); // Hier kommt der Error/Warning
return 1;
}
Error/Warning Code:
SQL
C:\Dokumente und Einstellungen\Hanne\Desktop\Play by HeadHunteR\gamemodes\Play.pwn(25851) : warning 213: tag mismatch
MfG GhostRider