Hallo,
habe das hier gescriptet:
if(floatdiv(vFahrzeug[vehicleid][Tank],TankInProzent) == 100)
{
PlayerTextDrawShow(playerid,Tacho[playerid][4]);//100
PlayerTextDrawHide(playerid,Tacho[playerid][5]);//90
PlayerTextDrawHide(playerid,Tacho[playerid][6]);//80
PlayerTextDrawHide(playerid,Tacho[playerid][7]);//65
PlayerTextDrawHide(playerid,Tacho[playerid][8]);//50
PlayerTextDrawHide(playerid,Tacho[playerid][9]);//40
PlayerTextDrawHide(playerid,Tacho[playerid][10]);//30
PlayerTextDrawHide(playerid,Tacho[playerid][11]);//20
PlayerTextDrawHide(playerid,Tacho[playerid][12]);//10
PlayerTextDrawHide(playerid,Tacho[playerid][13]);//5
PlayerTextDrawHide(playerid,Tacho[playerid][14]);//0
}
da is noch der rest und ich wollte machen damit es im Tacho angezeigt wird
was muss ich hier einfügen?:
if(SpeedoON[i] == 0)
{
TextDrawShowForPlayer(i, box[i]); TextDrawShowForPlayer(i, fahrzeug[i]); TextDrawShowForPlayer(i, kmh[i]);
TextDrawShowForPlayer(i, tank[i]); TextDrawShowForPlayer(i, zustand[i]); TextDrawShowForPlayer(i, tFuelInfo[i]);
TextDrawShowForPlayer(i, tFuelLogo[i]);TextDrawShowForPlayer(i, kmhanzeige[i]);
SpeedoON[i] = 1;
}
MfG