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
В 04.07.2019 в 13:06, eakwarp сказал:

Hi, file is out of date, you can update?)

Is it outdated? Same version from May

Share this post


Link to post
Share on other sites
16 часов назад, dokerstar сказал:

Is it outdated? Same version from May

Some models are missing

Share this post


Link to post
Share on other sites
9 часов назад, Bradley сказал:

What models?

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

maybe more.

Share this post


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

Guest
Reply to this topic...

×   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.


  • Recently Browsing   0 members

    No registered users viewing this page.