[Release] [Example] Vehicle Handling Editor

First!

Note that this resource is an Example and was not designed to be used as a handling editor for your server.
It is also absolutely unfinished and possibly unstable.

Research:

Apparently some of the handing properties require research to how/if they work, from my testing, things like Centre of Mass offsets, Mass and maybe some other values don’t properly work, so beware of that

Functions:

I added a few functions to make setting and getting handling data easier for me, you can of course disregard that, but i recommend looking at GetAllVehicleHandlingData

Everything Code related you want to read up on is in base.lua, commented too, but here is the short version:

SetVehicleHandlingData(Vehicle,Data,Value)
sets the vehicle handling property, useful for setting single values

GetVehicleHandlingData(Vehicle,Data)
this returns the data that, although not necesarilly needed, useful if you just want to get the value of one single property

GetAllVehicleHandlingData(Vehicle)
this returns all handling properties and their values in a table, the table will have following contents:
"name" = the name of the property
"value" = a number, string or vector3
"type" = the type: int, float or vector3

gui.lua has a working example ( using WarMenu ) on how to use the code that is documented above, commented too.

Download: Here

Example Video:

27 Likes

Time to mess around with this just like every other one of your resources :smiley: Good job as always

3 Likes

Oh nice… I was just starting to mess around with handling, too

Very nice! Sorry for being dumb.
This can be used to test handling settings then record them from the menu and input them into our handling file?

for example, yes.
it’s mainly used for people that want to get into making a handling editor, this script shows how they are used, if you add WarMenu into the script, you can use it to change vehicle handlings tho, yes.

How this install? And what key activation this script?

how do install this?

Oh mighty god, please give us a sign on how to install <3 No resource.lua and not a client script. Please god lead us in the right direction.

this is not a resource, only an example, the GUI example can be used by adding the “warmenu.lua” from the WarMenu resource into the same folder and creating a __resource.lua file in which “warmenu.lua”, “base.lua” and “gui.lua” are defined as client scripts ( in that order. )

interesting
https://streamable.com/3uqf8

3 Likes

If you are interested i can teach you how the handling files work.

1 Like

could someone turn this into its own resource would be a very useful tool

I’m working on my own resource here

1 Like

thanks ill check it out

1 Like

How can I install this ?

with what key do i open that menu

As said on the “Title”. This is released as an example script, but can but used on Warxander’s “WarMenu - Lua Menu Framework”.

Heres a link!

how do i install vrp

hey my discord is !𝓜𝓸𝓷𝓴𝓮𝔂𝓛𝓲𝓴𝓮#4205 could you add me and show me how i can export this resource into FiveM please?

Hello i know it has been asked and i just need some clarifying on how to make it into a resource to use in my server? Thanks