Hallo zusammen, ich habe mehrere Fragen ich habe den
TextDraw Editor 1.0 runter geladen von hier.
Nun habe ich 10 Textdraws
new Text:Textdraw0;
new Text:Textdraw1;
new Text:Textdraw2;
new Text:Textdraw3;
new Text:Textdraw4;
new Text:Textdraw5;
new Text:Textdraw6;
new Text:Textdraw7;
new Text:Textdraw8;
new Text:Textdraw9;
new Text:Textdraw10;
Textdraw0 = TextDrawCreate(142.000000,366.000000,"Tank:");
Textdraw1 = TextDrawCreate(142.000000,375.000000,"Fahrzeugzustand:");
Textdraw2 = TextDrawCreate(143.000000,385.000000,"Geschwindigkeit:");
Textdraw3 = TextDrawCreate(182.000000,343.000000," ");
Textdraw4 = TextDrawCreate(99.000000,421.000000," ");
Textdraw5 = TextDrawCreate(140.000000,348.000000,"Fahrzeug Tacho");
Textdraw6 = TextDrawCreate(170.000000,366.000000,"100 Benzin");
Textdraw7 = TextDrawCreate(209.000000,375.000000,"100.00");
Textdraw8 = TextDrawCreate(139.000000,399.000000,"100Km/h");
Textdraw9 = TextDrawCreate(145.000000,325.000000,"Sultan");
Textdraw10 = TextDrawCreate(268.000000,343.000000,"f");
TextDrawUseBox(Textdraw3,1);
TextDrawBoxColor(Textdraw3,0x000000ff);
TextDrawTextSize(Textdraw3,202.000000,170.000000);
TextDrawUseBox(Textdraw4,1);
TextDrawBoxColor(Textdraw4,0x000000ff);
TextDrawTextSize(Textdraw4,268.000000,62.000000);
TextDrawUseBox(Textdraw10,1);
TextDrawBoxColor(Textdraw10,0x000000ff);
TextDrawTextSize(Textdraw10,269.000000,1.000000);
TextDrawAlignment(Textdraw0,0);
TextDrawAlignment(Textdraw1,0);
TextDrawAlignment(Textdraw2,0);
TextDrawAlignment(Textdraw3,2);
TextDrawAlignment(Textdraw4,1);
TextDrawAlignment(Textdraw5,0);
TextDrawAlignment(Textdraw6,0);
TextDrawAlignment(Textdraw7,0);
TextDrawAlignment(Textdraw8,0);
TextDrawAlignment(Textdraw9,0);
TextDrawAlignment(Textdraw10,2);
TextDrawBackgroundColor(Textdraw0,0x0000ffff);
TextDrawBackgroundColor(Textdraw1,0x0000ffff);
TextDrawBackgroundColor(Textdraw2,0x0000ff99);
TextDrawBackgroundColor(Textdraw3,0xff0000ff);
TextDrawBackgroundColor(Textdraw4,0x000000ff);
TextDrawBackgroundColor(Textdraw5,0x0000ffff);
TextDrawBackgroundColor(Textdraw6,0xff0000ff);
TextDrawBackgroundColor(Textdraw7,0xff0000ff);
TextDrawBackgroundColor(Textdraw8,0xff0000ff);
TextDrawBackgroundColor(Textdraw9,0x000000ff);
TextDrawBackgroundColor(Textdraw10,0x00000000);
TextDrawFont(Textdraw0,1);
TextDrawLetterSize(Textdraw0,0.199999,0.899999);
TextDrawFont(Textdraw1,1);
TextDrawLetterSize(Textdraw1,0.199999,0.899999);
TextDrawFont(Textdraw2,1);
TextDrawLetterSize(Textdraw2,0.199999,0.899999);
TextDrawFont(Textdraw3,1);
TextDrawLetterSize(Textdraw3,1.800000,5.599998);
TextDrawFont(Textdraw4,3);
TextDrawLetterSize(Textdraw4,1.000000,1.000000);
TextDrawFont(Textdraw5,1);
TextDrawLetterSize(Textdraw5,0.399999,1.400000);
TextDrawFont(Textdraw6,1);
TextDrawLetterSize(Textdraw6,0.199999,0.899999);
TextDrawFont(Textdraw7,1);
TextDrawLetterSize(Textdraw7,0.199999,0.899999);
TextDrawFont(Textdraw8,1);
TextDrawLetterSize(Textdraw8,0.699999,1.000000);
TextDrawFont(Textdraw9,0);
TextDrawLetterSize(Textdraw9,1.100000,1.500000);
TextDrawFont(Textdraw10,0);
TextDrawLetterSize(Textdraw10,1.800000,8.599996);
TextDrawColor(Textdraw0,0xffffffff);
TextDrawColor(Textdraw1,0xffffffff);
TextDrawColor(Textdraw2,0xffffffff);
TextDrawColor(Textdraw3,0x00ff00ff);
TextDrawColor(Textdraw4,0xffffffff);
TextDrawColor(Textdraw5,0xffffffff);
TextDrawColor(Textdraw6,0xffffffff);
TextDrawColor(Textdraw7,0xffffffff);
TextDrawColor(Textdraw8,0xffffffff);
TextDrawColor(Textdraw9,0xffffffff);
TextDrawColor(Textdraw10,0xff00ff00);
TextDrawSetOutline(Textdraw0,1);
TextDrawSetOutline(Textdraw1,1);
TextDrawSetOutline(Textdraw2,1);
TextDrawSetOutline(Textdraw3,1);
TextDrawSetOutline(Textdraw4,1);
TextDrawSetOutline(Textdraw5,1);
TextDrawSetOutline(Textdraw6,1);
TextDrawSetOutline(Textdraw7,1);
TextDrawSetOutline(Textdraw8,1);
TextDrawSetOutline(Textdraw9,1);
TextDrawSetProportional(Textdraw0,1);
TextDrawSetProportional(Textdraw1,1);
TextDrawSetProportional(Textdraw2,1);
TextDrawSetProportional(Textdraw4,1);
TextDrawSetProportional(Textdraw5,1);
TextDrawSetProportional(Textdraw6,1);
TextDrawSetProportional(Textdraw7,1);
TextDrawSetProportional(Textdraw8,1);
TextDrawSetProportional(Textdraw9,1);
TextDrawSetShadow(Textdraw0,1);
TextDrawSetShadow(Textdraw1,1);
TextDrawSetShadow(Textdraw2,1);
TextDrawSetShadow(Textdraw3,3);
TextDrawSetShadow(Textdraw4,1);
TextDrawSetShadow(Textdraw5,1);
TextDrawSetShadow(Textdraw6,1);
TextDrawSetShadow(Textdraw7,1);
TextDrawSetShadow(Textdraw8,1);
TextDrawSetShadow(Textdraw9,1);
TextDrawSetShadow(Textdraw10,1);
Nun wollte ich es erst einmal so haben, das wenn man in ein Fahrzeug steigt(OnPlayerEnterVehicle) die Textdraws erscheinen. Nun gut klappt auch
TextDrawShowForPlayer(playerid,Textdraw2);
usw. jedoch wenn ich wieder aussteige und unter OnPlayerExitVehicle
TextDrawDestroy(playerid,Textdraw2);
verschwinden diese nicht. Woran kann dies liegen?´Mehrere Versuche sind gescheitert