Jump to content

Search the Community

Showing results for tags 'specifications'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Gang


Location


Occupation


Interests

Found 1 result

  1. Good day, please tell me! I would like to display the characteristics of the car when choosing it in a car dealership. Tell me how I can display such a characteristic as the controllability of a car based on its handling table. local tableHandling = getVehicleHandling ( vehicle ) function handling( tableHandling ) if type (tableHandling) == "table" then VehicleInfo.specs = { speed = tableHandling.maxVelocity /1000, --max speed acceleration = tableHandling.engineAcceleration /100, -- acceleration control = (tableHandling.tractionMultiplier + tableHandling.tractionLoss + tableHandling.tractionBias /10) / 5, -- handleability } else return end end So I wrote such a code, but it repents to me that it is not correct in terms of calculating the controllability of a car (not a valid formula). As a result, I need to get a value from 0.1 to 1 in order to display it on a scale in the future. Sorry for my English(
×
×
  • Create New...