Schönen Guten Abend Breadfish.
Ich weiß grade selber nicht aber ich habe ein kleines nerviges Problem. Den Fehler kann ich grade selber nicht
finden liegt wahrscheinlich daran das es schon spät ist. Aufjeden fall der Tacho funktioniert einwandfrei..
bis auf das der Tacho nicht verschwindet wenn das Auto Explodiert oder man vom Bike fällt. ?!
Code:
if(newstate == PLAYER_STATE_DRIVER)
{
//TextDrawShowForPlayer(playerid,SpeedoBox);
TextDrawShowForPlayer(playerid,SpeedoVehText);
TextDrawShowForPlayer(playerid,SpeedoVeh[playerid]);
TextDrawShowForPlayer(playerid,SpeedoKMHText);
TextDrawShowForPlayer(playerid,SpeedoKMH[playerid]);
TextDrawShowForPlayer(playerid,SpeedoTankText);
TextDrawShowForPlayer(playerid,SpeedoTank[playerid]);
TextDrawShowForPlayer(playerid,SpeedoHealth[playerid]);
TextDrawShowForPlayer(playerid,SpeedoHealthText);
}
if(oldstate == PLAYER_STATE_DRIVER)
{
TextDrawHideForPlayer(playerid,SpeedoVehText);
TextDrawHideForPlayer(playerid,SpeedoVeh[playerid]);
TextDrawHideForPlayer(playerid,SpeedoKMHText);
TextDrawHideForPlayer(playerid,SpeedoKMH[playerid]);
TextDrawHideForPlayer(playerid,SpeedoTankText);
TextDrawHideForPlayer(playerid,SpeedoTank[playerid]);
TextDrawHideForPlayer(playerid,SpeedoHealth[playerid]);
TextDrawHideForPlayer(playerid,SpeedoHealthText);
}
oder
if(newstate == PLAYER_STATE_DRIVER)
{
//TextDrawShowForPlayer(playerid,SpeedoBox);
TextDrawShowForPlayer(playerid,SpeedoVehText);
TextDrawShowForPlayer(playerid,SpeedoVeh[playerid]);
TextDrawShowForPlayer(playerid,SpeedoKMHText);
TextDrawShowForPlayer(playerid,SpeedoKMH[playerid]);
TextDrawShowForPlayer(playerid,SpeedoTankText);
TextDrawShowForPlayer(playerid,SpeedoTank[playerid]);
TextDrawShowForPlayer(playerid,SpeedoHealth[playerid]);
TextDrawShowForPlayer(playerid,SpeedoHealthText);
}
if(newstate == PLAYER_STATE_ONFOOT)
{
TextDrawHideForPlayer(playerid,SpeedoVehText);
TextDrawHideForPlayer(playerid,SpeedoVeh[playerid]);
TextDrawHideForPlayer(playerid,SpeedoKMHText);
TextDrawHideForPlayer(playerid,SpeedoKMH[playerid]);
TextDrawHideForPlayer(playerid,SpeedoTankText);
TextDrawHideForPlayer(playerid,SpeedoTank[playerid]);
TextDrawHideForPlayer(playerid,SpeedoHealth[playerid]);
TextDrawHideForPlayer(playerid,SpeedoHealthText);
}
Funktionieren i.wie beide nicht ? Wo liegt der fehler ?! -.-
MFG K3VIN