Dringende Hilfe bei Tacho

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • Moin.


    Möchte ein Tacho erstellen, Textdraw ist erstellt.
    ( Script basiert auf Godfather ... )


    Textdraw :


    Code vom Godfather:

    {
    format(string,sizeof(string),"~n~~n~~n~~n~~n~~n~~n~~r~~w~KM/H: ~w~%i ~w~Benzin: ~w~%d",floatround(speed),Gas[GetPlayerVehicleID(i)]);
    GameTextForPlayer(i, string, 1000, 5);
    }
    else
    {
    format(string,sizeof(string),"~n~~n~~n~~n~~n~~n~~n~~r~~w~KM/H: ~w~%i",floatround(speed));
    GameTextForPlayer(i, string, 1000, 5);
    }


    CarNames wären dann diese z.B.:

    new CarName[][] =
    {
    "Landstalker", "Bravura", "Buffalo", "Linerunner", "Perrenial", "Sentinel",
    "Dumper", "Firetruck", "Trashmaster", "Stretch", "Manana", "Infernus",
    "Voodoo", "Pony", "Mule", "Cheetah", "Ambulance", "Leviathan", "Moonbeam",
    "Esperanto", "Taxi", "Washington", "Bobcat", "Whoopee", "BF Injection",
    "Hunter", "Premier", "Enforcer", "Securicar", "Banshee", "Predator", "Bus",
    "Rhino", "Barracks", "Hotknife", "Trailer", "Previon", "Coach", "Cabbie",
    "Stallion", "Rumpo", "RC Bandit", "Romero", "Packer", "Monster", "Admiral",
    "Squalo", "Seasparrow", "Pizzaboy", "Tram", "Trailer", "Turismo", "Speeder",
    "Reefer", "Tropic", "Flatbed", "Yankee", "Caddy", "Solair", "Berkley's RC Van",
    "Skimmer", "PCJ-600", "Faggio", "Freeway", "RC Baron", "RC Raider", "Glendale",
    "Oceanic","Sanchez", "Sparrow", "Patriot", "Quad", "Coastguard", "Dinghy",
    "Hermes", "Sabre", "Rustler", "ZR-350", "Walton", "Regina", "Comet", "BMX",
    "Burrito", "Camper", "Marquis", "Baggage", "Dozer", "Maverick", "News Chopper",
    "Rancher", "FBI Rancher", "Virgo", "Greenwood", "Jetmax", "Hotring", "Sandking",
    "Blista Compact", "Police Maverick", "Boxvillde", "Benson", "Mesa", "RC Goblin",
    "Hotring Racer A", "Hotring Racer B", "Bloodring Banger", "Rancher", "Super GT",
    "Elegant", "Journey", "Bike", "Mountain Bike", "Beagle", "Cropduster", "Stunt",
    "Tanker", "Roadtrain", "Nebula", "Majestic", "Buccaneer", "Shamal", "Hydra",
    "FCR-900", "NRG-500", "HPV1000", "Cement Truck", "Tow Truck", "Fortune",
    "Cadrona", "FBI Truck", "Willard", "Forklift", "Tractor", "Combine", "Feltzer",
    "Remington", "Slamvan", "Blade", "Freight", "Streak", "Vortex", "Vincent",
    "Bullet", "Clover", "Sadler", "Firetruck", "Hustler", "Intruder", "Primo",
    "Cargobob", "Tampa", "Sunrise", "Merit", "Utility", "Nevada", "Yosemite",
    "Windsor", "Monster", "Monster", "Uranus", "Jester", "Sultan", "Stratium",
    "Elegy", "Raindance", "RC Tiger", "Flash", "Tahoma", "Savanna", "Bandito",
    "Freight Flat", "Streak Carriage", "Kart", "Mower", "Dune", "Sweeper",
    "Broadway", "Tornado", "AT-400", "DFT-30", "Huntley", "Stafford", "BF-400",
    "News Van", "Tug", "Trailer", "Emperor", "Wayfarer", "Euros", "Hotdog", "Club",
    "Freight Box", "Trailer", "Andromada", "Dodo", "RC Cam", "Launch", "Police Car",
    "Police Car", "Police Car", "Police Ranger", "Picador", "S.W.A.T", "Alpha",
    "Phoenix", "Glendale", "Sadler", "Luggage", "Luggage", "Stairs", "Boxville",
    "Tiller", "Utility Trailer"
    };


    *** Mir ist unklar wie ich das Textdraw in diesen Code einbringen kann....
    Benötige Hilfe - Danke im voraus


    Azure:
    Trooper:
    @LöweCadii:
    Opa_Schlumpf:
    MnKn:
    zabus:
    [MR]Kirbyyy:
    Vielleicht habt ihr eine Ahnung davon.

    3 Mal editiert, zuletzt von Chronicle () aus folgendem Grund: mehr Informationen + Übersichtlicher

  • Hallo Chronicle


    Leider verstehe ich Nicht genau, Bei was sie hilfe Benötigen!


    Könnten sie Dies mal bitte ein Bisschen besser Eklären?


    MFG
    Dome331

  • Soll auf Deutsch heißen ich hab ein Textdraw und möchte es bei Godfather einfügen,
    Tacho NOCH NIE gemacht !!!
    Ich weiß nicht wie ich das Textdraw einbinden sollte damit ich es sowie auf dem Screen hab.
    Ich möchte wissen wie man dieses Textdraw was ich gemacht hab in diesen Godfather Code einbindet ...
    Gruß