Problem mit UserTextDraws

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
  • Hallo,


    habe mir gestern ein Textdraw login erstellt, das Problem ist aber das die nicht richtig angezeigt werden und die wo angezeigt werden nicht anklickbar sind :(


    fehler finde ich keine


    code:


    a = CreatePlayerTextDraw(playerid,20.000000, 340.000000, "a");
    PlayerTextDrawBackgroundColor(playerid,a, 255);
    PlayerTextDrawFont(playerid,a, 3);
    PlayerTextDrawLetterSize(playerid,a, 0.500000, 2.000000);
    PlayerTextDrawColor(playerid,a, -1);
    PlayerTextDrawSetOutline(playerid,a, 0);
    PlayerTextDrawSetProportional(playerid,a, 1);
    PlayerTextDrawSetShadow(playerid,a, 1);
    PlayerTextDrawUseBox(playerid,a, 1);
    PlayerTextDrawBoxColor(playerid,a, 255);
    PlayerTextDrawTextSize(playerid,a, 30.000000, 0.000000);

    b = CreatePlayerTextDraw(playerid,34.000000, 340.000000, "b");
    PlayerTextDrawBackgroundColor(playerid,b, 255);
    PlayerTextDrawFont(playerid,b, 3);
    PlayerTextDrawLetterSize(playerid,b, 0.500000, 2.000000);
    PlayerTextDrawColor(playerid,b, -1);
    PlayerTextDrawSetOutline(playerid,b, 0);
    PlayerTextDrawSetProportional(playerid,b, 0);
    PlayerTextDrawSetShadow(playerid,b, 1);
    PlayerTextDrawUseBox(playerid,b, 1);
    PlayerTextDrawBoxColor(playerid,b, 255);
    PlayerTextDrawTextSize(playerid,b, 46.000000, 0.000000);


    c = CreatePlayerTextDraw(playerid,50.000000, 340.000000, "c");
    PlayerTextDrawBackgroundColor(playerid,c, 255);
    PlayerTextDrawFont(playerid,c, 3);
    PlayerTextDrawLetterSize(playerid,c, 0.500000, 2.000000);
    PlayerTextDrawColor(playerid,c, -1);
    PlayerTextDrawSetOutline(playerid,c, 0);
    PlayerTextDrawSetProportional(playerid,c, 1);
    PlayerTextDrawSetShadow(playerid,c, 1);
    PlayerTextDrawUseBox(playerid,c, 1);
    PlayerTextDrawBoxColor(playerid,c, 255);
    PlayerTextDrawTextSize(playerid,c, 62.000000, 3.000000);


    d = CreatePlayerTextDraw(playerid,66.000000, 340.000000, "d");
    PlayerTextDrawBackgroundColor(playerid,d, 255);
    PlayerTextDrawFont(playerid,d, 3);
    PlayerTextDrawLetterSize(playerid,d, 0.500000, 2.000000);
    PlayerTextDrawColor(playerid,d, -1);
    PlayerTextDrawSetOutline(playerid,d, 0);
    PlayerTextDrawSetProportional(playerid,d, 1);
    PlayerTextDrawSetShadow(playerid,d, 1);
    PlayerTextDrawUseBox(playerid,d, 1);
    PlayerTextDrawBoxColor(playerid,d, 255);
    PlayerTextDrawTextSize(playerid,d, 80.000000, 0.000000);


    e = CreatePlayerTextDraw(playerid,80.000000, 340.000000, "e");
    PlayerTextDrawBackgroundColor(playerid,e, 255);
    PlayerTextDrawFont(playerid,e, 3);
    PlayerTextDrawLetterSize(playerid,e, 0.500000, 2.000000);
    PlayerTextDrawColor(playerid,e, -1);
    PlayerTextDrawSetOutline(playerid,e, 0);
    PlayerTextDrawSetProportional(playerid,e, 1);
    PlayerTextDrawSetShadow(playerid,e, 1);
    PlayerTextDrawUseBox(playerid,e, 1);
    PlayerTextDrawBoxColor(playerid,e, 255);
    PlayerTextDrawTextSize(playerid,e, 90.000000, 0.000000);


    f = CreatePlayerTextDraw(playerid,93.000000, 340.000000, "f");
    PlayerTextDrawBackgroundColor(playerid,f, 255);
    PlayerTextDrawFont(playerid,f, 3);
    PlayerTextDrawLetterSize(playerid,f, 0.500000, 2.000000);
    PlayerTextDrawColor(playerid,f, -1);
    PlayerTextDrawSetOutline(playerid,f, 0);
    PlayerTextDrawSetProportional(playerid,f, 1);
    PlayerTextDrawSetShadow(playerid,f, 1);
    PlayerTextDrawUseBox(playerid,f, 1);
    PlayerTextDrawBoxColor(playerid,f, 255);
    PlayerTextDrawTextSize(playerid,f, 100.000000, 0.000000);


    g = CreatePlayerTextDraw(playerid,104.000000, 340.000000, "g");
    PlayerTextDrawBackgroundColor(playerid,g, 255);
    PlayerTextDrawFont(playerid,g, 3);
    PlayerTextDrawLetterSize(playerid,g, 0.500000, 2.000000);
    PlayerTextDrawColor(playerid,g, -1);
    PlayerTextDrawSetOutline(playerid,g, 0);
    PlayerTextDrawSetProportional(playerid,g, 1);
    PlayerTextDrawSetShadow(playerid,g, 1);
    PlayerTextDrawUseBox(playerid,g, 1);
    PlayerTextDrawBoxColor(playerid,g, 255);
    PlayerTextDrawTextSize(playerid,g, 114.000000, 0.000000);


    h = CreatePlayerTextDraw(playerid,118.000000, 340.000000, "h");
    PlayerTextDrawBackgroundColor(playerid,h, 255);
    PlayerTextDrawFont(playerid,h, 3);
    PlayerTextDrawLetterSize(playerid,h, 0.500000, 2.000000);
    PlayerTextDrawColor(playerid,h, -1);
    PlayerTextDrawSetOutline(playerid,h, 0);
    PlayerTextDrawSetProportional(playerid,h, 1);
    PlayerTextDrawSetShadow(playerid,h, 1);
    PlayerTextDrawUseBox(playerid,h, 1);
    PlayerTextDrawBoxColor(playerid,h, 255);
    PlayerTextDrawTextSize(playerid,h, 130.000000, 0.000000);


    bi = CreatePlayerTextDraw(playerid,133.000000, 340.000000, "i");
    PlayerTextDrawBackgroundColor(playerid,bi, 255);
    PlayerTextDrawFont(playerid,bi, 3);
    PlayerTextDrawLetterSize(playerid,bi, 0.500000, 2.000000);
    PlayerTextDrawColor(playerid,bi, -1);
    PlayerTextDrawSetOutline(playerid,bi, 0);
    PlayerTextDrawSetProportional(playerid,bi, 1);
    PlayerTextDrawSetShadow(playerid,bi, 1);
    PlayerTextDrawUseBox(playerid,bi, 1);
    PlayerTextDrawBoxColor(playerid,bi, 255);
    PlayerTextDrawTextSize(playerid,bi, 140.000000, 0.000000);


    j = CreatePlayerTextDraw(playerid,143.000000, 340.000000, "j");
    PlayerTextDrawBackgroundColor(playerid,j, 255);
    PlayerTextDrawFont(playerid,j, 3);
    PlayerTextDrawLetterSize(playerid,j, 0.500000, 2.000000);
    PlayerTextDrawColor(playerid,j, -1);
    PlayerTextDrawSetOutline(playerid,j, 0);
    PlayerTextDrawSetProportional(playerid,j, 1);
    PlayerTextDrawSetShadow(playerid,j, 1);
    PlayerTextDrawUseBox(playerid,j, 1);
    PlayerTextDrawBoxColor(playerid,j, 255);
    PlayerTextDrawTextSize(playerid,j, 155.000000, 0.000000);


    k = CreatePlayerTextDraw(playerid,157.000000, 340.000000, "k");
    PlayerTextDrawBackgroundColor(playerid,k, 255);
    PlayerTextDrawFont(playerid,k, 3);
    PlayerTextDrawLetterSize(playerid,k, 0.500000, 2.000000);
    PlayerTextDrawColor(playerid,k, -1);
    PlayerTextDrawSetOutline(playerid,k, 0);
    PlayerTextDrawSetProportional(playerid,k, 1);
    PlayerTextDrawSetShadow(playerid,k, 1);
    PlayerTextDrawUseBox(playerid,k, 1);
    PlayerTextDrawBoxColor(playerid,k, 255);
    PlayerTextDrawTextSize(playerid,k, 168.000000, 0.000000);


    l = CreatePlayerTextDraw(playerid,171.000000, 340.000000, "l");
    PlayerTextDrawBackgroundColor(playerid,l, 255);
    PlayerTextDrawFont(playerid,l, 3);
    PlayerTextDrawLetterSize(playerid,l, 0.500000, 2.000000);
    PlayerTextDrawColor(playerid,l, -1);
    PlayerTextDrawSetOutline(playerid,l, 0);
    PlayerTextDrawSetProportional(playerid,l, 1);
    PlayerTextDrawSetShadow(playerid,l, 1);
    PlayerTextDrawUseBox(playerid,l, 1);
    PlayerTextDrawBoxColor(playerid,l, 255);
    PlayerTextDrawTextSize(playerid,l, 179.000000, 0.000000);


    m = CreatePlayerTextDraw(playerid,181.000000, 340.000000, "m");
    PlayerTextDrawBackgroundColor(playerid,m, 255);
    PlayerTextDrawFont(playerid,m, 3);
    PlayerTextDrawLetterSize(playerid,m, 0.500000, 2.000000);
    PlayerTextDrawColor(playerid,m, -1);
    PlayerTextDrawSetOutline(playerid,m, 0);
    PlayerTextDrawSetProportional(playerid,m, 1);
    PlayerTextDrawSetShadow(playerid,m, 1);
    PlayerTextDrawUseBox(playerid,m, 1);
    PlayerTextDrawBoxColor(playerid,m, 255);
    PlayerTextDrawTextSize(playerid,m, 197.000000, 0.000000);


    n = CreatePlayerTextDraw(playerid,20.000000, 362.000000, "n");
    PlayerTextDrawBackgroundColor(playerid,n, 255);
    PlayerTextDrawFont(playerid,n, 3);
    PlayerTextDrawLetterSize(playerid,n, 0.500000, 2.000000);
    PlayerTextDrawColor(playerid,n, -1);
    PlayerTextDrawSetOutline(playerid,n, 0);
    PlayerTextDrawSetProportional(playerid,n, 1);
    PlayerTextDrawSetShadow(playerid,n, 1);
    PlayerTextDrawUseBox(playerid,n, 1);
    PlayerTextDrawBoxColor(playerid,n, 255);
    PlayerTextDrawTextSize(playerid,n, 30.000000, 0.000000);


    o = CreatePlayerTextDraw(playerid,34.000000, 362.000000, "o");
    PlayerTextDrawBackgroundColor(playerid,o, 255);
    PlayerTextDrawFont(playerid,o, 3);
    PlayerTextDrawLetterSize(playerid,o, 0.500000, 2.000000);
    PlayerTextDrawColor(playerid,o, -1);
    PlayerTextDrawSetOutline(playerid,o, 0);
    PlayerTextDrawSetProportional(playerid,o, 1);
    PlayerTextDrawSetShadow(playerid,o, 1);
    PlayerTextDrawUseBox(playerid,o, 1);
    PlayerTextDrawBoxColor(playerid,o, 255);
    PlayerTextDrawTextSize(playerid,o, 45.000000, 0.000000);


    p = CreatePlayerTextDraw(playerid,49.000000, 362.000000, "p");
    PlayerTextDrawBackgroundColor(playerid,p, 255);
    PlayerTextDrawFont(playerid,p, 3);
    PlayerTextDrawLetterSize(playerid,p, 0.500000, 2.000000);
    PlayerTextDrawColor(playerid,p, -1);
    PlayerTextDrawSetOutline(playerid,p, 0);
    PlayerTextDrawSetProportional(playerid,p, 1);
    PlayerTextDrawSetShadow(playerid,p, 1);
    PlayerTextDrawUseBox(playerid,p, 1);
    PlayerTextDrawBoxColor(playerid,p, 255);
    PlayerTextDrawTextSize(playerid,p, 60.000000, 0.000000);


    q = CreatePlayerTextDraw(playerid,64.000000, 362.000000, "q");
    PlayerTextDrawBackgroundColor(playerid,q, 255);
    PlayerTextDrawFont(playerid,q, 3);
    PlayerTextDrawLetterSize(playerid,q, 0.500000, 2.000000);
    PlayerTextDrawColor(playerid,q, -1);
    PlayerTextDrawSetOutline(playerid,q, 0);
    PlayerTextDrawSetProportional(playerid,q, 1);
    PlayerTextDrawSetShadow(playerid,q, 1);
    PlayerTextDrawUseBox(playerid,q, 1);
    PlayerTextDrawBoxColor(playerid,q, 255);
    PlayerTextDrawTextSize(playerid,q, 77.000000, 0.000000);


    r = CreatePlayerTextDraw(playerid,80.000000, 362.000000, "r");
    PlayerTextDrawBackgroundColor(playerid,r, 255);
    PlayerTextDrawFont(playerid,r, 3);
    PlayerTextDrawLetterSize(playerid,r, 0.500000, 2.000000);
    PlayerTextDrawColor(playerid,r, -1);
    PlayerTextDrawSetOutline(playerid,r, 0);
    PlayerTextDrawSetProportional(playerid,r, 1);
    PlayerTextDrawSetShadow(playerid,r, 1);
    PlayerTextDrawUseBox(playerid,r, 1);
    PlayerTextDrawBoxColor(playerid,r, 255);
    PlayerTextDrawTextSize(playerid,r, 90.000000, 0.000000);


    s = CreatePlayerTextDraw(playerid,93.000000, 362.000000, "s");
    PlayerTextDrawBackgroundColor(playerid,s, 255);
    PlayerTextDrawFont(playerid,s, 3);
    PlayerTextDrawLetterSize(playerid,s, 0.500000, 2.000000);
    PlayerTextDrawColor(playerid,s, -1);
    PlayerTextDrawSetOutline(playerid,s, 0);
    PlayerTextDrawSetProportional(playerid,s, 1);
    PlayerTextDrawSetShadow(playerid,s, 1);
    PlayerTextDrawUseBox(playerid,s, 1);
    PlayerTextDrawBoxColor(playerid,s, 255);
    PlayerTextDrawTextSize(playerid,s, 103.000000, 0.000000);


    bt = CreatePlayerTextDraw(playerid,105.000000, 362.000000, "t");
    PlayerTextDrawBackgroundColor(playerid,bt, 255);
    PlayerTextDrawFont(playerid,bt, 3);
    PlayerTextDrawLetterSize(playerid,bt, 0.500000, 2.000000);
    PlayerTextDrawColor(playerid,bt, -1);
    PlayerTextDrawSetOutline(playerid,bt, 0);
    PlayerTextDrawSetProportional(playerid,bt, 1);
    PlayerTextDrawSetShadow(playerid,bt, 1);
    PlayerTextDrawUseBox(playerid,bt, 1);
    PlayerTextDrawBoxColor(playerid,bt, 255);
    PlayerTextDrawTextSize(playerid,bt, 117.000000, 0.000000);


    u = CreatePlayerTextDraw(playerid,118.000000, 361.000000, "u");
    PlayerTextDrawBackgroundColor(playerid,u, 255);
    PlayerTextDrawFont(playerid,u, 3);
    PlayerTextDrawLetterSize(playerid,u, 0.500000, 2.099999);
    PlayerTextDrawColor(playerid,u, -1);
    PlayerTextDrawSetOutline(playerid,u, 0);
    PlayerTextDrawSetProportional(playerid,u, 1);
    PlayerTextDrawSetShadow(playerid,u, 1);
    PlayerTextDrawUseBox(playerid,u, 1);
    PlayerTextDrawBoxColor(playerid,u, 255);
    PlayerTextDrawTextSize(playerid,u, 130.000000, 0.000000);


    v = CreatePlayerTextDraw(playerid,132.000000, 361.000000, "v");
    PlayerTextDrawBackgroundColor(playerid,v, 255);
    PlayerTextDrawFont(playerid,v, 3);
    PlayerTextDrawLetterSize(playerid,v, 0.500000, 2.099999);
    PlayerTextDrawColor(playerid,v, -1);
    PlayerTextDrawSetOutline(playerid,v, 0);
    PlayerTextDrawSetProportional(playerid,v, 1);
    PlayerTextDrawSetShadow(playerid,v, 1);
    PlayerTextDrawUseBox(playerid,v, 1);
    PlayerTextDrawBoxColor(playerid,v, 255);
    PlayerTextDrawTextSize(playerid,v, 143.000000, 0.000000);



    screen0 = CreatePlayerTextDraw(playerid,-400.000, -231.000, "LOADSUK:loadsc1");
    PlayerTextDrawBackgroundColor(playerid,screen0, 255);
    PlayerTextDrawFont(playerid,screen0, 4);
    PlayerTextDrawLetterSize(playerid,screen0, 0.500000, 1.000000);
    PlayerTextDrawColor(playerid,screen0, -1);
    PlayerTextDrawSetOutline(playerid,screen0, 0);
    PlayerTextDrawSetProportional(playerid,screen0, 1);
    PlayerTextDrawSetShadow(playerid,screen0, 1);


    login1 = CreatePlayerTextDraw(playerid,10.000000, 150.000000, "Login");
    PlayerTextDrawBackgroundColor(playerid,login1, 255);
    PlayerTextDrawFont(playerid,login1, 3);
    PlayerTextDrawLetterSize(playerid,login1, 0.929998, 1.000000);
    PlayerTextDrawColor(playerid,login1, 255);
    PlayerTextDrawSetOutline(playerid,login1, 0);
    PlayerTextDrawSetProportional(playerid,login1, 1);
    PlayerTextDrawSetShadow(playerid,login1, 1);
    PlayerTextDrawUseBox(playerid,login1, 1);
    PlayerTextDrawBoxColor(playerid,login1, -1);
    PlayerTextDrawTextSize(playerid,login1, 90.000000, 14.000000);


    box2 = CreatePlayerTextDraw(playerid,10.000000, 170.000000, " ");
    PlayerTextDrawBackgroundColor(playerid,box2, 255);
    PlayerTextDrawFont(playerid,box2, 1);
    PlayerTextDrawLetterSize(playerid,box2, 0.500000, 1.000000);
    PlayerTextDrawColor(playerid,box2, -1);
    PlayerTextDrawSetOutline(playerid,box2, 0);
    PlayerTextDrawSetProportional(playerid,box2, 1);
    PlayerTextDrawSetShadow(playerid,box2, 1);
    PlayerTextDrawUseBox(playerid,box2, 1);
    PlayerTextDrawBoxColor(playerid,box2, 255);
    PlayerTextDrawTextSize(playerid,box2, 90.000000, 0.000000);


    exit3 = CreatePlayerTextDraw(playerid,60.000000, 190.000000, "ld_grav:exity");
    PlayerTextDrawBackgroundColor(playerid,exit3, 255);
    PlayerTextDrawFont(playerid,exit3, 4);
    PlayerTextDrawLetterSize(playerid,exit3, 0.500000, 1.000000);
    PlayerTextDrawColor(playerid,exit3, -1);
    PlayerTextDrawSetOutline(playerid,exit3, 0);
    PlayerTextDrawSetProportional(playerid,exit3, 1);
    PlayerTextDrawSetShadow(playerid,exit3, 1);
    PlayerTextDrawUseBox(playerid,exit3, 1);
    PlayerTextDrawBoxColor(playerid,exit3, 255);
    PlayerTextDrawTextSize(playerid,exit3, 70.000000, 30.000000);


    play4 = CreatePlayerTextDraw(playerid,9.000000, 194.000000, "ld_grav:playy");
    PlayerTextDrawBackgroundColor(playerid,play4, 255);
    PlayerTextDrawFont(playerid,play4, 4);
    PlayerTextDrawLetterSize(playerid,play4, 0.500000, 1.000000);
    PlayerTextDrawColor(playerid,play4, -1);
    PlayerTextDrawSetOutline(playerid,play4, 0);
    PlayerTextDrawSetProportional(playerid,play4, 1);
    PlayerTextDrawSetShadow(playerid,play4, 1);
    PlayerTextDrawUseBox(playerid,play4, 1);
    PlayerTextDrawBoxColor(playerid,play4, 16711935);
    PlayerTextDrawTextSize(playerid,play4, 50.000000, 25.000000);



    n5 = CreatePlayerTextDraw(playerid,170.000000, 100.000000, "Willkommen zurueck auf:");
    PlayerTextDrawBackgroundColor(playerid,n5, 255);
    PlayerTextDrawFont(playerid,n5, 3);
    PlayerTextDrawLetterSize(playerid,n5, 0.500000, 3.000000);
    PlayerTextDrawColor(playerid,n5, -1);
    PlayerTextDrawSetOutline(playerid,n5, 0);
    PlayerTextDrawSetProportional(playerid,n5, 1);
    PlayerTextDrawSetShadow(playerid,n5, 1);


    n6 = CreatePlayerTextDraw(playerid,170.000000, 130.000000, "San");
    PlayerTextDrawBackgroundColor(playerid,n6, 255);
    PlayerTextDrawFont(playerid,n6, 1);
    PlayerTextDrawLetterSize(playerid,n6, 0.500000, 3.000000);
    PlayerTextDrawColor(playerid,n6, -16776961);
    PlayerTextDrawSetOutline(playerid,n6, 0);
    PlayerTextDrawSetProportional(playerid,n6, 1);
    PlayerTextDrawSetShadow(playerid,n6, 1);


    n7 = CreatePlayerTextDraw(playerid,200.000000, 153.000000, "Andreas");
    PlayerTextDrawBackgroundColor(playerid,n7, 255);
    PlayerTextDrawFont(playerid,n7, 1);
    PlayerTextDrawLetterSize(playerid,n7, 0.500000, 3.000000);
    PlayerTextDrawColor(playerid,n7, -1);
    PlayerTextDrawSetOutline(playerid,n7, 0);
    PlayerTextDrawSetProportional(playerid,n7, 1);
    PlayerTextDrawSetShadow(playerid,n7, 1);


    n8 = CreatePlayerTextDraw(playerid,262.000000, 181.000000, "Paradise");
    PlayerTextDrawBackgroundColor(playerid,n8, 255);
    PlayerTextDrawFont(playerid,n8, 1);
    PlayerTextDrawLetterSize(playerid,n8, 0.500000, 3.000000);
    PlayerTextDrawColor(playerid,n8, 65535);
    PlayerTextDrawSetOutline(playerid,n8, 0);
    PlayerTextDrawSetProportional(playerid,n8, 1);
    PlayerTextDrawSetShadow(playerid,n8, 1);

    PlayerTextDrawShow(playerid,screen0);
    PlayerTextDrawShow(playerid,login1);
    PlayerTextDrawShow(playerid,box2);
    PlayerTextDrawShow(playerid,exit3);
    PlayerTextDrawShow(playerid,play4);
    PlayerTextDrawShow(playerid,n5);
    PlayerTextDrawShow(playerid,n6);
    PlayerTextDrawShow(playerid,n7);
    PlayerTextDrawShow(playerid,n8);
    PlayerTextDrawShow(playerid,a);
    PlayerTextDrawShow(playerid,b);
    PlayerTextDrawShow(playerid,c);


    findet jemand etwas?


    MfG: Apoolecu