Moin moin
Ich erstelle mit einem Timer TextDraws, und loesche diese dann wieder mit einem Timer
Jedoch verschwinden sie nicht, und daraus folgt, dass die sich ueberschneiden
So sieht das ganze etwa aus
Kommando welches einen Timer fuer Starter setzt.
public Starter()
{
SetTimer("Vorstellung1",5000,false);
}
public Vorstellung1()
{
Textdraw01 = TextDrawCreate(164.000000,202.000000,"...");
TextDrawAlignment(Textdraw01,0);
TextDrawBackgroundColor(Textdraw01,0x000000ff);
TextDrawFont(Textdraw01,2);
TextDrawLetterSize(Textdraw01,0.699999,2.299933);
TextDrawColor(Textdraw01,0xffffffff);
TextDrawSetOutline(Textdraw01,1);
TextDrawSetProportional(Textdraw01,1);
TextDrawSetShadow(Textdraw01,1);
TextDrawShowForAll(Textdraw01);
SetTimer("Starter2",5000,false);
}
public Starter2()
{
TextDrawHideForPlayer(9,Textdraw01);
TextDrawDestroy(Textdraw01);
SetTimer("Vorstellung2",5000,false);
}
public Vorstellung2()
{
PUB = TextDrawCreate(164.000000,202.000000,"...");
TextDrawAlignment(PUB,0);
TextDrawBackgroundColor(PUB,0x000000ff);
TextDrawFont(PUB,2);
TextDrawLetterSize(PUB,0.699999,2.299933);
TextDrawColor(PUB,0xffffffff);
TextDrawSetOutline(PUB,1);
TextDrawSetProportional(PUB,1);
TextDrawSetShadow(PUB,1);
TextDrawShowForAll(PUB);
SetTimer("Starter3",5000,false);
}
public Starter3()
{
SetTimer("Vorstellung3",5000,false);
TextDrawHideForAll(PUB);
}
public Vorstellung3()
{
PUB1 = TextDrawCreate(164.000000,202.000000,"...");
TextDrawAlignment(PUB1,0);
TextDrawBackgroundColor(PUB1,0x000000ff);
TextDrawFont(PUB1,2);
TextDrawLetterSize(PUB1,0.699999,2.299933);
TextDrawColor(PUB1,0xffffffff);
TextDrawSetOutline(PUB1,1);
TextDrawSetProportional(PUB1,1);
TextDrawSetShadow(PUB1,1);
TextDrawShowForAll(PUB1);
SetTimer("Starter4",5000,false);
}
public Starter4()
{
SetTimer("Vorstellung4",5000,false);
TextDrawHideForAll(PUB1);
}
public Vorstellung4()
{
PUB2 = TextDrawCreate(164.000000,202.000000,"...");
TextDrawAlignment(PUB2,0);
TextDrawBackgroundColor(PUB2,0x000000ff);
TextDrawFont(PUB2,2);
TextDrawLetterSize(PUB2,0.699999,2.299933);
TextDrawColor(PUB2,0xffffffff);
TextDrawSetOutline(PUB2,1);
TextDrawSetProportional(PUB2,1);
TextDrawSetShadow(PUB2,1);
TextDrawShowForAll(PUB2);
SetTimer("Starter5",5000,false);
}
public Starter5()
{
SetTimer("Sonst1",5000,false);
TextDrawHideForAll(PUB2);
}
public Sonst1()
{
PUB3 = TextDrawCreate(164.000000,202.000000,"...");
TextDrawAlignment(PUB3,0);
TextDrawBackgroundColor(PUB3,0x000000ff);
TextDrawFont(PUB3,2);
TextDrawLetterSize(PUB3,0.699999,2.299933);
TextDrawColor(PUB3,0xffffffff);
TextDrawSetOutline(PUB3,1);
TextDrawSetProportional(PUB3,1);
TextDrawSetShadow(PUB3,1);
TextDrawShowForAll(PUB3);
SetTimer("Starter6",5000,false);
}
public Starter6()
{
SetTimer("Sonst2",5000,false);
TextDrawHideForAll(PUB3);
}
public Sonst2()
{
PUB4 = TextDrawCreate(164.000000,202.000000,"..");
TextDrawAlignment(PUB4,0);
TextDrawBackgroundColor(PUB4,0x000000ff);
TextDrawFont(PUB4,2);
TextDrawLetterSize(PUB4,0.699999,2.299933);
TextDrawColor(PUB4,0xffffffff);
TextDrawSetOutline(PUB4,1);
TextDrawSetProportional(PUB4,1);
TextDrawSetShadow(PUB4,1);
TextDrawShowForAll(PUB4);
SetTimer("Starter7",5000,false);
}
public Starter7()
{
SetTimer("Starter",5000,false);
TextDrawHideForAll(PUB4);
}