Textra wird nicht angezeigt

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,


    es geht leider nicht weis wer wieso? Danke für eure Hilfe!


    new Text:newlogin0;
    new Text:newlogin1;
    new Text:newlogin2;
    new Text:newlogin3;
    new Text:newlogin5;
    new Text:newlogin7;
    new Text:newlogin8;
    new Text:newlogin9;
    new Text:newlogin10;
    new Text:newlogin11;
    new Text:newlogin12;
    new Text:newlogin13;
    new Text:newlogin14;
    new Text:newlogin15;


    OnPlayerConnect


    // INTRO
    newlogin0 = TextDrawCreate(269.000000, 134.000000, "_");
    TextDrawAlignment(newlogin0, 2);
    TextDrawBackgroundColor(newlogin0, 255);
    TextDrawFont(newlogin0, 1);
    TextDrawLetterSize(newlogin0, 0.500000, 22.299987);
    TextDrawColor(newlogin0, 30);
    TextDrawSetOutline(newlogin0, 0);
    TextDrawSetProportional(newlogin0, 1);
    TextDrawSetShadow(newlogin0, 1);
    TextDrawUseBox(newlogin0, 1);
    TextDrawBoxColor(newlogin0, 80);
    TextDrawTextSize(newlogin0, 0.000000, 787.000000);


    newlogin1 = TextDrawCreate(250.000000, -27.000000, "_");
    TextDrawAlignment(newlogin1, 2);
    TextDrawBackgroundColor(newlogin1, 255);
    TextDrawFont(newlogin1, 1);
    TextDrawLetterSize(newlogin1, 0.500000, 17.300004);
    TextDrawColor(newlogin1, -1);
    TextDrawSetOutline(newlogin1, 0);
    TextDrawSetProportional(newlogin1, 1);
    TextDrawSetShadow(newlogin1, 1);
    TextDrawUseBox(newlogin1, 1);
    TextDrawBoxColor(newlogin1, 200);
    TextDrawTextSize(newlogin1, 0.000000, 787.000000);


    newlogin2 = TextDrawCreate(250.000000, 341.000000, "_");
    TextDrawAlignment(newlogin2, 2);
    TextDrawBackgroundColor(newlogin2, 255);
    TextDrawFont(newlogin2, 1);
    TextDrawLetterSize(newlogin2, 0.500000, 16.200000);
    TextDrawColor(newlogin2, -1);
    TextDrawSetOutline(newlogin2, 0);
    TextDrawSetProportional(newlogin2, 1);
    TextDrawSetShadow(newlogin2, 1);
    TextDrawUseBox(newlogin2, 1);
    TextDrawBoxColor(newlogin2, 200);
    TextDrawTextSize(newlogin2, 0.000000, 787.000000);


    newlogin3 = TextDrawCreate(250.000000, 340.000000, "_");
    TextDrawAlignment(newlogin3, 2);
    TextDrawBackgroundColor(newlogin3, 255);
    TextDrawFont(newlogin3, 1);
    TextDrawLetterSize(newlogin3, 0.500000, -0.500000);
    TextDrawColor(newlogin3, -1);
    TextDrawSetOutline(newlogin3, 0);
    TextDrawSetProportional(newlogin3, 1);
    TextDrawSetShadow(newlogin3, 1);
    TextDrawUseBox(newlogin3, 1);
    TextDrawBoxColor(newlogin3, 848756735);
    TextDrawTextSize(newlogin3, 0.000000, 787.000000);


    newlogin5 = TextDrawCreate(250.000000, 134.000000, "_");
    TextDrawAlignment(newlogin5, 2);
    TextDrawBackgroundColor(newlogin5, 255);
    TextDrawFont(newlogin5, 1);
    TextDrawLetterSize(newlogin5, 0.500000, -0.500000);
    TextDrawColor(newlogin5, -1);
    TextDrawSetOutline(newlogin5, 0);
    TextDrawSetProportional(newlogin5, 1);
    TextDrawSetShadow(newlogin5, 1);
    TextDrawUseBox(newlogin5, 1);
    TextDrawBoxColor(newlogin5, 848756735);
    TextDrawTextSize(newlogin5, 0.000000, 787.000000);


    newlogin7 = TextDrawCreate(284.000000, 31.000000, "Willkommen");
    TextDrawBackgroundColor(newlogin7, 255);
    TextDrawFont(newlogin7, 3);
    TextDrawLetterSize(newlogin7, 0.529999, 1.900000);
    TextDrawColor(newlogin7, -156);
    TextDrawSetOutline(newlogin7, 0);
    TextDrawSetProportional(newlogin7, 1);
    TextDrawSetShadow(newlogin7, 1);


    newlogin8 = TextDrawCreate(325.000000, 51.000000, "AUF");
    TextDrawBackgroundColor(newlogin8, 255);
    TextDrawFont(newlogin8, 2);
    TextDrawLetterSize(newlogin8, 0.440000, 1.700000);
    TextDrawColor(newlogin8, -156);
    TextDrawSetOutline(newlogin8, 0);
    TextDrawSetProportional(newlogin8, 1);
    TextDrawSetShadow(newlogin8, 1);


    newlogin9 = TextDrawCreate(246.000000, 73.000000, "Sunset");
    TextDrawBackgroundColor(newlogin9, 255);
    TextDrawFont(newlogin9, 3);
    TextDrawLetterSize(newlogin9, 0.779999, 3.699998);
    TextDrawColor(newlogin9, -1);
    TextDrawSetOutline(newlogin9, 1);
    TextDrawSetProportional(newlogin9, 1);


    newlogin10 = TextDrawCreate(79.000000, 103.000000, ".");
    TextDrawBackgroundColor(newlogin10, 255);
    TextDrawFont(newlogin10, 1);
    TextDrawLetterSize(newlogin10, 29.940078, 1.000000);
    TextDrawColor(newlogin10, -1);
    TextDrawSetOutline(newlogin10, 1);
    TextDrawSetProportional(newlogin10, 1);


    newlogin11 = TextDrawCreate(281.000000, 109.000000, "Role");
    TextDrawBackgroundColor(newlogin11, 255);
    TextDrawFont(newlogin11, 2);
    TextDrawLetterSize(newlogin11, 0.470000, 1.500000);
    TextDrawColor(newlogin11, 513867775);
    TextDrawSetOutline(newlogin11, 1);
    TextDrawSetProportional(newlogin11, 1);


    newlogin12 = TextDrawCreate(390.000000, 108.000000, "v2.3");
    TextDrawBackgroundColor(newlogin12, 255);
    TextDrawFont(newlogin12, 2);
    TextDrawLetterSize(newlogin12, 0.270000, 1.200000);
    TextDrawColor(newlogin12, -156);
    TextDrawSetOutline(newlogin12, 0);
    TextDrawSetProportional(newlogin12, 1);
    TextDrawSetShadow(newlogin12, 1);


    newlogin13 = TextDrawCreate(340.000000, 73.000000, "City");
    TextDrawBackgroundColor(newlogin13, 255);
    TextDrawFont(newlogin13, 3);
    TextDrawLetterSize(newlogin13, 0.779999, 3.699998);
    TextDrawColor(newlogin13, 346095615);
    TextDrawSetOutline(newlogin13, 1);
    TextDrawSetProportional(newlogin13, 1);


    newlogin14 = TextDrawCreate(337.000000, 109.000000, "Play");
    TextDrawBackgroundColor(newlogin14, 255);
    TextDrawFont(newlogin14, 2);
    TextDrawLetterSize(newlogin14, 0.470000, 1.500000);
    TextDrawColor(newlogin14, -1);
    TextDrawSetOutline(newlogin14, 1);
    TextDrawSetProportional(newlogin14, 1);


    newlogin15 = TextDrawCreate(244.000000, 64.000000, ".");
    TextDrawBackgroundColor(newlogin15, 255);
    TextDrawFont(newlogin15, 1);
    TextDrawLetterSize(newlogin15, 29.940078, 1.000000);
    TextDrawColor(newlogin15, -1);
    TextDrawSetOutline(newlogin15, 1);
    TextDrawSetProportional(newlogin15, 1);
    // ENDE



    wieso wird es nicht angezeigt, habe 0.3e Version?


    Gruß Metin2

  • Du lässt deine Textdraws ja auch nicht anzeigen ;]


    public OnPlayerConnect(playerid)
    {
    TextDrawShowForPlayer(playerid,newlogin0);
    TextDrawShowForPlayer(playerid,newlogin1);
    TextDrawShowForPlayer(playerid,newlogin2);
    TextDrawShowForPlayer(playerid,newlogin3);
    TextDrawShowForPlayer(playerid,newlogin4);
    TextDrawShowForPlayer(playerid,newlogin5);
    TextDrawShowForPlayer(playerid,newlogin6);
    TextDrawShowForPlayer(playerid,newlogin7);
    TextDrawShowForPlayer(playerid,newlogin8);
    TextDrawShowForPlayer(playerid,newlogin9);
    TextDrawShowForPlayer(playerid,newlogin10);
    TextDrawShowForPlayer(playerid,newlogin11);
    TextDrawShowForPlayer(playerid,newlogin12);
    TextDrawShowForPlayer(playerid,newlogin13);
    TextDrawShowForPlayer(playerid,newlogin14);
    TextDrawShowForPlayer(playerid,newlogin15);
    }
    Nach der Erstellung deiner Textdraws einbinden ^^


    Bei Fragen PN to me ;]


    Gruss: Sonic

    I didn't hit you. I high fived your face.

  • hab das nun eingefügt, wird trotzdem nicht angezeigt -.-

  • newlogin0 = TextDrawCreate(269.000000, 134.000000, "_");
    TextDrawAlignment(newlogin0, 2);
    TextDrawBackgroundColor(newlogin0, 255);
    TextDrawFont(newlogin0, 1);
    TextDrawLetterSize(newlogin0, 0.500000, 22.299987);
    TextDrawColor(newlogin0, 30);
    TextDrawSetOutline(newlogin0, 0);
    TextDrawSetProportional(newlogin0, 1);
    TextDrawSetShadow(newlogin0, 1);
    TextDrawUseBox(newlogin0, 1);
    TextDrawBoxColor(newlogin0, 80);
    TextDrawTextSize(newlogin0, 0.000000, 787.000000);


    newlogin1 = TextDrawCreate(250.000000, -27.000000, "_");
    TextDrawAlignment(newlogin1, 2);
    TextDrawBackgroundColor(newlogin1, 255);
    TextDrawFont(newlogin1, 1);
    TextDrawLetterSize(newlogin1, 0.500000, 17.300004);
    TextDrawColor(newlogin1, -1);
    TextDrawSetOutline(newlogin1, 0);
    TextDrawSetProportional(newlogin1, 1);
    TextDrawSetShadow(newlogin1, 1);
    TextDrawUseBox(newlogin1, 1);
    TextDrawBoxColor(newlogin1, 200);
    TextDrawTextSize(newlogin1, 0.000000, 787.000000);


    newlogin2 = TextDrawCreate(250.000000, 341.000000, "_");
    TextDrawAlignment(newlogin2, 2);
    TextDrawBackgroundColor(newlogin2, 255);
    TextDrawFont(newlogin2, 1);
    TextDrawLetterSize(newlogin2, 0.500000, 16.200000);
    TextDrawColor(newlogin2, -1);
    TextDrawSetOutline(newlogin2, 0);
    TextDrawSetProportional(newlogin2, 1);
    TextDrawSetShadow(newlogin2, 1);
    TextDrawUseBox(newlogin2, 1);
    TextDrawBoxColor(newlogin2, 200);
    TextDrawTextSize(newlogin2, 0.000000, 787.000000);


    newlogin3 = TextDrawCreate(250.000000, 340.000000, "_");
    TextDrawAlignment(newlogin3, 2);
    TextDrawBackgroundColor(newlogin3, 255);
    TextDrawFont(newlogin3, 1);
    TextDrawLetterSize(newlogin3, 0.500000, -0.500000);
    TextDrawColor(newlogin3, -1);
    TextDrawSetOutline(newlogin3, 0);
    TextDrawSetProportional(newlogin3, 1);
    TextDrawSetShadow(newlogin3, 1);
    TextDrawUseBox(newlogin3, 1);
    TextDrawBoxColor(newlogin3, 848756735);
    TextDrawTextSize(newlogin3, 0.000000, 787.000000);


    newlogin5 = TextDrawCreate(250.000000, 134.000000, "_");
    TextDrawAlignment(newlogin5, 2);
    TextDrawBackgroundColor(newlogin5, 255);
    TextDrawFont(newlogin5, 1);
    TextDrawLetterSize(newlogin5, 0.500000, -0.500000);
    TextDrawColor(newlogin5, -1);
    TextDrawSetOutline(newlogin5, 0);
    TextDrawSetProportional(newlogin5, 1);
    TextDrawSetShadow(newlogin5, 1);
    TextDrawUseBox(newlogin5, 1);
    TextDrawBoxColor(newlogin5, 848756735);
    TextDrawTextSize(newlogin5, 0.000000, 787.000000);


    newlogin7 = TextDrawCreate(284.000000, 31.000000, "Willkommen");
    TextDrawBackgroundColor(newlogin7, 255);
    TextDrawFont(newlogin7, 3);
    TextDrawLetterSize(newlogin7, 0.529999, 1.900000);
    TextDrawColor(newlogin7, -156);
    TextDrawSetOutline(newlogin7, 0);
    TextDrawSetProportional(newlogin7, 1);
    TextDrawSetShadow(newlogin7, 1);


    newlogin8 = TextDrawCreate(325.000000, 51.000000, "AUF");
    TextDrawBackgroundColor(newlogin8, 255);
    TextDrawFont(newlogin8, 2);
    TextDrawLetterSize(newlogin8, 0.440000, 1.700000);
    TextDrawColor(newlogin8, -156);
    TextDrawSetOutline(newlogin8, 0);
    TextDrawSetProportional(newlogin8, 1);
    TextDrawSetShadow(newlogin8, 1);


    newlogin9 = TextDrawCreate(246.000000, 73.000000, "Sunset");
    TextDrawBackgroundColor(newlogin9, 255);
    TextDrawFont(newlogin9, 3);
    TextDrawLetterSize(newlogin9, 0.779999, 3.699998);
    TextDrawColor(newlogin9, -1);
    TextDrawSetOutline(newlogin9, 1);
    TextDrawSetProportional(newlogin9, 1);


    newlogin10 = TextDrawCreate(79.000000, 103.000000, ".");
    TextDrawBackgroundColor(newlogin10, 255);
    TextDrawFont(newlogin10, 1);
    TextDrawLetterSize(newlogin10, 29.940078, 1.000000);
    TextDrawColor(newlogin10, -1);
    TextDrawSetOutline(newlogin10, 1);
    TextDrawSetProportional(newlogin10, 1);


    newlogin11 = TextDrawCreate(281.000000, 109.000000, "Role");
    TextDrawBackgroundColor(newlogin11, 255);
    TextDrawFont(newlogin11, 2);
    TextDrawLetterSize(newlogin11, 0.470000, 1.500000);
    TextDrawColor(newlogin11, 513867775);
    TextDrawSetOutline(newlogin11, 1);
    TextDrawSetProportional(newlogin11, 1);


    newlogin12 = TextDrawCreate(390.000000, 108.000000, "v2.3");
    TextDrawBackgroundColor(newlogin12, 255);
    TextDrawFont(newlogin12, 2);
    TextDrawLetterSize(newlogin12, 0.270000, 1.200000);
    TextDrawColor(newlogin12, -156);
    TextDrawSetOutline(newlogin12, 0);
    TextDrawSetProportional(newlogin12, 1);
    TextDrawSetShadow(newlogin12, 1);


    newlogin13 = TextDrawCreate(340.000000, 73.000000, "City");
    TextDrawBackgroundColor(newlogin13, 255);
    TextDrawFont(newlogin13, 3);
    TextDrawLetterSize(newlogin13, 0.779999, 3.699998);
    TextDrawColor(newlogin13, 346095615);
    TextDrawSetOutline(newlogin13, 1);
    TextDrawSetProportional(newlogin13, 1);


    newlogin14 = TextDrawCreate(337.000000, 109.000000, "Play");
    TextDrawBackgroundColor(newlogin14, 255);
    TextDrawFont(newlogin14, 2);
    TextDrawLetterSize(newlogin14, 0.470000, 1.500000);
    TextDrawColor(newlogin14, -1);
    TextDrawSetOutline(newlogin14, 1);
    TextDrawSetProportional(newlogin14, 1);


    newlogin15 = TextDrawCreate(244.000000, 64.000000, ".");
    TextDrawBackgroundColor(newlogin15, 255);
    TextDrawFont(newlogin15, 1);
    TextDrawLetterSize(newlogin15, 29.940078, 1.000000);
    TextDrawColor(newlogin15, -1);
    TextDrawSetOutline(newlogin15, 1);
    TextDrawSetProportional(newlogin15, 1);
    // ENDE


    Kommt das net unter


    public OnGameModeInit()


    mfg

  • Jap, muss unter onGameModeInit, dann unter onplayerconnect anzeigen und unter onplayerspawn wieder verstecken lassen.

    Jens ralfts! Ich phillip gleich aus!