das ganz nach unten ins script
public UpdateTime()
{
gettime(hour, minute);
format(timestr,32,"d:d",hour,minute);
TextDrawSetString(txtTimeDisp,timestr);
SetWorldTime(hour);
new x=0;
while(x!=MAX_PLAYERS) {
if(IsPlayerConnected(x) && GetPlayerState(x) != PLAYER_STATE_NONE) {
SetPlayerTime(x,hour,minute);
}
x++;
}
}
TextDrawHideForPlayer(playerid,txtTimeDisp); Unter OnPlayerDeath
TextDrawShowForPlayer(playerid,txtTimeDisp);
gettime(hour, minute);
SetPlayerTime(playerid,hour,minute); OnPlayerSpawn
gettime(hour, minute);
SetPlayerTime(playerid,hour,minute);Onplayerconnect
txtTimeDisp = TextDrawCreate(605.0,25.0,"00:00");
TextDrawUseBox(txtTimeDisp, 0);
TextDrawFont(txtTimeDisp,3);
TextDrawSetShadow(txtTimeDisp,0); // no shadow
TextDrawSetOutline(txtTimeDisp,2); // thickness 1
TextDrawColor(txtTimeDisp,blau); //Hier die Farbe
TextDrawAlignment(txtTimeDisp,3);
TextDrawLetterSize(txtTimeDisp,0.5,2); Ongamemodeinit
new Text:txtTimeDisp;
new hour, minute;
new timestr[32];
forward UpdateTime(); Ganz oben definieren nach den Includes
und zu guter letzt die Farbe Blau #define blau 0x0055FFFF das wars auch schon, jetzt haste ne blaue schicke uhr