Worldtime

  • Hey, unzwar wenn ich /setworldtime mache dann geht es für eine Sekunde auf die Uhrzeit und geht wieder auf die vorherige Uhrzeit zurück ?
    if(strcmp(cmd, "/tod", true) == 0) { if(IsPlayerConnected(playerid)) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "Benutze: /tod [Zeit] (0-23)"); return 1; } new hour; hour = strval(tmp); if (PlayerInfo[playerid][pAdmin] >= 1337) { SetWorldTime(hour); format(string, sizeof(string), "Uhrzeit: %d Uhr.", hour); BroadCast(COLOR_GRAD1, string); } else {