Wieso geht das Tacho net

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • Hi hab hier mal TextDraws erstellt undn Tacho verscuht zu machen.
    //TachTXD
    Tacho0 = TextDrawCreate(188.666656, 275.277770, "usebox");
    TextDrawLetterSize(Tacho0, 0.000000, 5.269507);
    TextDrawTextSize(Tacho0, 14.888889, 0.000000);
    TextDrawAlignment(Tacho0, 1);
    TextDrawColor(Tacho0, 0);
    TextDrawUseBox(Tacho0, true);
    TextDrawBoxColor(Tacho0, 102);
    TextDrawSetShadow(Tacho0, 0);
    TextDrawSetOutline(Tacho0, 0);
    TextDrawFont(Tacho0, 0);
    new speed[128],Float:x,Float:y,Float:z;
    format(speed,sizeof(speed),"Speed: %d",GetVehicleVelocity(GetPlayerVehicleID(playerid),x,y,z));
    Tacho1 = TextDrawCreate(24.888912, 278.257812, speed);
    TextDrawLetterSize(Tacho1, 0.449999, 1.600000);
    TextDrawTextSize(Tacho1, 136.444473, 7.466667);
    TextDrawAlignment(Tacho1, 1);
    TextDrawColor(Tacho1, -1);
    TextDrawSetShadow(Tacho1, 0);
    TextDrawSetOutline(Tacho1, 1);
    TextDrawBackgroundColor(Tacho1, 51);
    TextDrawFont(Tacho1, 2);
    TextDrawSetProportional(Tacho1, 1);
    new schaden[128];
    new Float:health;
    format(schaden,sizeof(schaden),"Schaden: %d",GetVehicleHealth(GetPlayerVehicleID(playerid),health));
    Tacho2 = TextDrawCreate(24.444438, 299.164489, schaden);
    TextDrawLetterSize(Tacho2, 0.449999, 1.600000);
    TextDrawAlignment(Tacho2, 1);
    TextDrawColor(Tacho2, -1);
    TextDrawSetShadow(Tacho2, 0);
    TextDrawSetOutline(Tacho2, 1);
    TextDrawBackgroundColor(Tacho2, 51);
    TextDrawFont(Tacho2, 2);
    TextDrawSetProportional(Tacho2, 1);
    Hab ja auch geschwindigkeit undso und unter OnPlayerUpdate das,
    TextDrawShowForPlayer(playerid,Tacho1);
    TextDrawShowForPlayer(playerid,Tacho2);


    Passiert aber nix nur das der TextDraw ganzezeit angezeigt wird..

    Einmal editiert, zuletzt von ChEcKsZ0R ()