Autotext = TextDrawCreate(200.000000, 430.000000, "Fahrzeug:");
TextDrawBackgroundColor(Autotext, 255);
TextDrawFont(Autotext, 2);
TextDrawLetterSize(Autotext, 0.320000, 1.000000);
TextDrawColor(Autotext, COLOR_LIGHTBLUE);
TextDrawSetOutline(Autotext, 1);
TextDrawSetProportional(Autotext, 1);
Tanklol = TextDrawCreate(411.000000, 430.000000, "Tank:");
TextDrawBackgroundColor(Tanklol, 255);
TextDrawFont(Tanklol, 2);
TextDrawLetterSize(Tanklol, 0.320000, 1.000000);
TextDrawColor(Tanklol, COLOR_LIGHTBLUE);
TextDrawSetOutline(Tanklol, 1);
TextDrawSetProportional(Tanklol, 1);
KMH = TextDrawCreate(115.000000, 430.000000, "KM/H:");
TextDrawBackgroundColor(KMH, 255);
TextDrawFont(KMH, 2);
TextDrawLetterSize(KMH, 0.320000, 1.000000);
TextDrawColor(KMH, COLOR_LIGHTBLUE);
TextDrawSetOutline(KMH, 1);
TextDrawSetProportional(KMH, 1);
for(new playerid = 0; playerid < MAX_PLAYERS; playerid++)
{
Autoanzeigen[playerid] = TextDrawCreate(280.000000, 430.000000, " Fahrzeug: ");
TextDrawBackgroundColor(Autoanzeigen[playerid], 255);
TextDrawFont(Autoanzeigen[playerid], 2);
TextDrawLetterSize(Autoanzeigen[playerid], 0.320000, 1.000000);
TextDrawColor(Autoanzeigen[playerid], -1);
TextDrawSetOutline(Autoanzeigen[playerid], 1);
TextDrawSetProportional(Autoanzeigen[playerid], 1);
AnzeigenKMH[playerid] = TextDrawCreate(154.000000, 430.000000, "Tank: ");
TextDrawBackgroundColor(AnzeigenKMH[playerid], 255);
TextDrawFont(AnzeigenKMH[playerid], 2);
TextDrawLetterSize(AnzeigenKMH[playerid], 0.320000, 1.000000);
TextDrawColor(AnzeigenKMH[playerid], -1);
TextDrawSetOutline(AnzeigenKMH[playerid], 1);
TextDrawSetProportional(AnzeigenKMH[playerid], 1);
Tankanzeige[playerid] = TextDrawCreate(454.000000, 430.000000, "KM/H: ");
TextDrawBackgroundColor(Tankanzeige[playerid], 255);
TextDrawFont(Tankanzeige[playerid], 2);
TextDrawLetterSize(Tankanzeige[playerid], 0.320000, 1.000000);
TextDrawColor(Tankanzeige[playerid], -1);
TextDrawSetOutline(Tankanzeige[playerid], 1);
TextDrawSetProportional(Tankanzeige[playerid], 1);
}
/*Timer*/
SetTimer("Tachoupdaten",1000,1);
SetTimer("SpeedoMeter",1000,1);
SetTimer("Tankcheckn",30000,1);
for(new c = 0; c < CAR_AMOUNT; c++)
{
Gas[code=c] = MaxBenzin;
}
Tacho wird nicht angezeigt