Jump to content

[Resource] Updated vehicleData.json


robearded

Recommended Posts

I've seen a lot of people in the past wanting an updated vehicleData.json and no one posted an updated version.

There is also a script posted here somewhere on the forums that is supposed to generate an updated version of this json, but it doesn't works because the script is generating data from server-side API which gets data from the json... so it's a json loop, it creates a new json with what's on the current json file you have.

 

This one is generated by me, using my own client-side script which actually gets data from natives, it was tested and works (it has all the available vehicles from wiki):

https://pastebin.com/yC3BzFzw

  • Like 3
Link to comment
Share on other sites

  • 2 weeks later...
On 5/24/2019 at 3:44 PM, dox5 said:

Thank you! It will be great if you could post this script.

 

9 hours ago, Bradley said:

Are you able to share the code?

 

3 hours ago, toruk said:

Would be great to see the code, Git link? I guess its just a matter of looping through vehicleData.json. Using setHandling (https://wiki.rage.mp/index.php?title=Vehicle::setHandling)

Will do after i edit it a little as of now it needs to put the veh ids inside a .txt and it doesn't scrapes the wiki automatically.

  • Like 1
Link to comment
Share on other sites

  • 1 month later...
9 часов назад, Bradley сказал:

What models?

trophytruck, trophytruck2, technical3, technical2, xls2, superd, verlierer2, tampa2, cheburek, le7b, prototipo, vagner, voltic2, xa21, youga2

maybe more.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...