Hallo Community,
Habe schon wieder ein Problem mit dem Tacho system
Bei TachoUpdate kommen jetzt warnings
public TachoUpdate(playerid)
{
if(IsPlayerConnected(playerid))
{
if(IsPlayerInAnyVehicle(playerid))
{
TextDrawShowForPlayer(playerid,TBox); //Hier
format(_str,256,"~r~Tempo: ~w~%d km/h",GetVehicleSpeed(GetPlayerVehicleID(playerid)));
TextDrawSetString(Tempo,_str);//Hier
TextDrawShowForPlayer(playerid,Tempo);//Hier
format(_str,256,"~r~Model: ~w~%s",carNamen[GetVehicleModel(GetPlayerVehicleID(playerid))-400]);
TextDrawSetString(Model,_str);//Hier
TextDrawShowForPlayer(playerid,Model);//Hier
new Float:vHealth;
new string[126];
GetVehicleHealth(GetPlayerVehicleID(playerid),vHealth);
if(vHealth >= 999.0)
{
format(string, sizeof(string), "~g~Schaden:~g~%.1f", vHealth);
TextDrawSetString(Schaden,string);//Hier
TextDrawShowForPlayer(playerid,Schaden);//Hier
}
else if(vHealth >= 750.0 && vHealth < 999.0)
{
format(string, sizeof(string), "~g~Schaden:~g~%.1f", vHealth);
TextDrawSetString(Schaden,string);//Hier
TextDrawShowForPlayer(playerid,Schaden);//Hier
}
else if(vHealth >= 375.0 && vHealth < 750.0)
{
format(string, sizeof(string), "~g~Schaden:~y~%.1f", vHealth);
TextDrawSetString(Schaden,string);//Hier
TextDrawShowForPlayer(playerid,Schaden);//Hier
}
else if(vHealth < 375.0)
{
format(string, sizeof(string), "~g~Schaden:~r~%.1f", vHealth);
TextDrawSetString(Schaden,string);//Hier
TextDrawShowForPlayer(playerid,Schaden);//Hier
}
}
else
{
TextDrawHideForPlayer(playerid,TBox);//Hier
TextDrawHideForPlayer(playerid,Tempo);//Hier
TextDrawHideForPlayer(playerid,Model);//Hier
TextDrawHideForPlayer(playerid,Schaden);//Hier
TextDrawHideForPlayer(playerid,Tankl);//Hier
}
}
return 1;
}
test.p(7124) : warning 213: tag mismatch
test.p(7126) : warning 213: tag mismatch
test.p(7127) : warning 213: tag mismatch
test.p(7130) : warning 213: tag mismatch
test.p(7131) : warning 213: tag mismatch
test.p(7139) : warning 213: tag mismatch
test.p(7140) : warning 213: tag mismatch
test.p(7145) : warning 213: tag mismatch
test.p(7146) : warning 213: tag mismatch
test.p(7151) : warning 213: tag mismatch
test.p(7152) : warning 213: tag mismatch
test.p(7157) : warning 213: tag mismatch
test.p(7158) : warning 213: tag mismatch
test.p(7163) : warning 213: tag mismatch
test.p(7164) : warning 213: tag mismatch
test.p(7165) : warning 213: tag mismatch
test.p(7166) : warning 213: tag mismatch
test.p(7167) : warning 213: tag mismatch
Hoffe mir kann einer Helfen