Jump to content
  • 0

Speedometer nu se actualizeaza



4 answers to this question

Recommended Posts

  • 0
3 minutes ago, hanako said:

arata-ne si codul

Pai nu am facut nimic doar am bagat in booter.inc

        gString[0] = EOS;
        foreach(new i : Player)
        format(str2, sizeof(str2), "%s%d", spe < 100 ? ("~g~") : spe >= 150 ? ("~r~") : ("~y~"), spe);
        PlayerTextDrawSetString(i, SpeedometerPTD[0], str2);
        if(carid != 0) format(km, sizeof(km), " %.2f", CarInfo[carid][KM]);
        PlayerTextDrawSetString(i, SpeedometerPTD[9], km);
        if(!IsABike(vehicle) && !IsAPlane(vehicle)) format(fuel, sizeof(fuel), "~n~fuel: %s%d~w~~h~ (c: %dl)", Gas[vehicle] > 60 ? ("~g~") : Gas[vehicle] <= 30 ? ("~r~") : ("~y~"), Gas[vehicle], GetVehicleConsum(spe));
        foreach(new i : Player)
        PlayerTextDrawSetString(i, SpeedometerPTD[5], fuel);
        foreach(new i : Player)
        format(gString, 120, "doors: %s~w~~h~%s%s", doors != 1 ? ("~g~unlocked") : ("~r~locked"), fuel, km);
        PlayerTextDrawSetString(i, SpeedometerPTD[7], gString);
        if(InExamen[i]) format(gString, 150, "%s~n~Checkpoints: ~r~%d/17", gString, CP[i]-100);


Aici ai nevoie? Adica se modifica doar fuel si locked/unlocked viteza nu

Edited by cobalt_thekiller
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.