robearded

[Resource] Updated vehicleData.json

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
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.