Hallo,
Ich habe das Reallife v4.6 Script .. Läuft ja auch alles nur finde ich das TACHO unten Rechts viel zu klein!
Wie kann ich das Vergrößern ?
public Speedometer(playerid)
{
if(IsPlayerInAnyVehicle(playerid))
{
new vehicleid,Float:speed_x,Float:speed_y,Float:speed_z,Float:final_speed,speed_string[256],final_speed_int, Float:chealth;
vehicleid = GetPlayerVehicleID(playerid);
GetVehicleVelocity(vehicleid,speed_x,speed_y,speed_z);
final_speed = floatsqroot(((speed_x*speed_x)+(speed_y*speed_y))+(speed_z*speed_z))*144; // 136.666667 = kmph // 85.4166672= mph
final_speed_int = floatround(final_speed,floatround_round);
GetVehicleHealth(vehicleid, chealth);
new LocationZone[MAX_ZONE_NAME];
GetPlayer2DZone(playerid, LocationZone, MAX_ZONE_NAME);
format(speed_string,200,"~B~Fahrzeug: ~W~%s~n~~B~Km/h: ~W~%d km/h~n~~B~Zustand: ~W~%d%%~n~~B~Benzin: ~W~%d%%~n~~B~ORT: ~W~%s",VehicleName[GetVehicleModel(vehicleid)-400], final_speed_int, floatround(chealth, floatround_round)/10, Gas[vehicleid], LocationZone);
TextDrawSetString(Speedo[playerid], speed_string);
}
return 1;
}
Speedo[playerid] = TextDrawCreate(439.000000, 381.500000, " "); // Hier ist der Standort oder? Wo das Tacho ist? Oo
TextDrawBackgroundColor(Speedo[playerid], 255);
TextDrawFont(Speedo[playerid], 1);
TextDrawLetterSize(Speedo[playerid], 0.32, 0.97);
TextDrawColor(Speedo[playerid], -1);
TextDrawSetOutline(Speedo[playerid], 0);
TextDrawSetProportional(Speedo[playerid], 1);
TextDrawSetShadow(Speedo[playerid], 1);
Danke im Vorraus
Jumper