How to Edit Vehicle Handling in FiveM (handling.meta)
How to edit handling in FiveM, for racing, drift and roleplay cars. Change handling.meta, test values live with SetVehicleHandlingFloat, then reload.
- Applies to
- FiveM Legacy (FiveM client source of November 17, 2026) and FiveM for GTAV Enhanced in early access (handling native fix of July 24, 2026); every server type, with Qbox, ESX, QBCore or no framework
- Last verified
On this page
- Direct Answer
- What handling.meta is and how FiveM loads it
- How to edit handling in FiveM, step by step
- Test handling changes live with SetVehicleHandlingFloat
- handling.meta fields with a documented unit or behaviour
- Drift handling in FiveM: what the sources document
- Handling on FiveM Legacy and FiveM for GTAV Enhanced
- Troubleshooting
- Next Steps
Direct Answer
To edit handling in FiveM, change the values in the car’s handling.meta inside the resource that adds the car, run ensure on that resource, and spawn the car again. The file is a game data file that the manifest loads with data_file 'HANDLING_FILE', and each entry is found by its handlingName. To find good values without a restart per change, test them live on a test server with the client native SetVehicleHandlingFloat (or the con_handlingEditor tool on FiveM for GTAV Enhanced), read them back with GetVehicleHandlingFloat, then copy the final numbers into the file.
What handling.meta is and how FiveM loads it
The Cfx.re Data Files reference lists HANDLING_FILE as “Handling data XML”. Its root type is CHandlingDataMgr, the game mounts it with CVehicleHandlingFileMounter, and the reference’s example path is dlcmpheist:/common/data/handling.meta.
A FiveM resource lists the file under files and declares it with data_file, which “Adds a data file of a specified type to the game extra content system.” The directive “supports globbing in the filename field”, so one line can load several handling files. This is the example from the resource manifest reference:
files {
'audio/mywaves/stupidcar.awc',
'myvehicles.meta',
'metas/*_handling.meta',
}
data_file 'AUDIO_WAVEPACK' 'audio/mywaves'
data_file 'VEHICLE_METADATA_FILE' 'myvehicles.meta'
data_file 'HANDLING_FILE' 'metas/*_handling.meta'
Each entry in the file carries a handlingName. FiveM’s handling natives say the name you pass them “is supposed to match the handlingName field from handling.meta”. On the car’s side, vehicles.meta has a handlingId field, which CodeWalker’s parser documents with the game example <handlingId>IMPALER3</handlingId>. The full layout of a car resource is in the guide to adding addon cars, and the manifest entries are explained in resource manifest guide.
When the client reads a handling file, FiveM prints a line on the handling-loader:five channel in the format Loading %d handling entries from %s: the number of entries, then the file path. If that line never appears for your file, the game did not read it.
Which file wins when two resources use the same handlingName
FiveM keeps a stack of loaded entries for every handlingName. A newly loaded entry goes on top (push_front), and every vehicle model that uses the name is pointed at the top entry (stack.front()). The source comment for that step reads “override CVehicleModelInfo entries that already have a handling assigned”.
FiveM also hooks the unload step of the handling mounter. When a handling file is unloaded, its entries are removed from the stack and the models fall back to the entry below. If nothing is left, the client logs ModifyHandlingForVehicles: %08x is without handling!.
In practice: the file loaded last decides the handling of every car that shares a name. If you edit one file and nothing changes, another resource may hold the same name on top of the stack. If one edit changes several cars, they share a name. Give a car its own handlingName (and the matching handlingId) when you want to tune it alone.
How to edit handling in FiveM, step by step
These steps apply to every kind of server: racing and drift servers, roleplay, freeroam, PvP and zombie servers alike. handling.meta is game data and the handling natives belong to FiveM, so nothing changes between Qbox, ESX, QBCore and a server without a framework.
- Work on a test server. Live editing tools are development tools; the test server guide shows how to run one next to your public server.
- Find the car’s entry. Open the car’s
vehicles.meta, note itshandlingId, then search the resource’s handling files for thathandlingName. Thedata_file 'HANDLING_FILE'line in the manifest tells you which files those are. - Copy the file before you edit it, then change values in a text editor or in a tool such as CodeWalker. The Cfx.re fuel documentation itself suggests “CodeWalker tool or similar to edit vehicle handling.meta file”.
- Find the values live with the natives in the next section, and write the final numbers into the file.
- Reload the resource from the server console.
ensure carname“Restarts the resource specified in the argument, if it was started”, andrestart carnamedoes the same for a started resource. - Spawn the car again. A loaded handling file points the car model at its new entry (
modelInfo->handlingDataIndexin the source), while each vehicle in the world holds its own copy of an entry (new CHandlingData(handling)). Test with a freshly spawned car rather than one that was already on the road. - Check the result in a client script with
GetVehicleHandlingFloat, which “Returns the effective handling data of a vehicle”.
How to change one car’s top speed
The documentation of MODIFY_VEHICLE_TOP_SPEED (“Modifies a vehicle’s top speed”) names the two handling.meta fields that its changes relate to: fInitialDriveForce and fInitialDriveMaxFlatVel. To change one car without touching others:
- Give the car its own
handlingNameif it shares one (see the section above), with the same name in itshandlingId. - Change
fInitialDriveForceorfInitialDriveMaxFlatVellive on the test server withSetVehicleHandlingFloat, then callMODIFY_VEHICLE_TOP_SPEEDon the same vehicle, or the change “won’t apply”. - Write the values you keep into the car’s entry, run
ensureon the resource and spawn the car again.
Test handling changes live with SetVehicleHandlingFloat
FiveM’s handling natives change values in a running game, which saves a resource restart for every small change. They are client natives (apiset: client in their declarations), so they run in client scripts.
| Native | What the documentation says it does |
|---|---|
SetVehicleHandlingFloat, SetVehicleHandlingInt, SetVehicleHandlingVector, SetVehicleHandlingField | “Sets a handling override for a specific vehicle” |
SetHandlingFloat, SetHandlingInt, SetHandlingVector, SetHandlingField | “Sets a global handling override for a specific vehicle class”, named by handlingName |
GetVehicleHandlingFloat, GetVehicleHandlingInt, GetVehicleHandlingVector | Return “the effective handling data of a vehicle” |
These lines are the documentation’s own examples:
local fSteeringLock = GetVehicleHandlingFloat(vehicle, 'CHandlingData', 'fSteeringLock')
SetVehicleHandlingFloat(vehicle, 'CHandlingData', 'fSteeringLock', 360.0)
SetHandlingFloat('AIRTUG', 'CHandlingData', 'fSteeringLock', 360.0)
SetHandlingVector('AIRTUG', 'CHandlingData', 'vecCentreOfMassOffset', vector3(0.0, 0.0, -5.0))
The field names “match the keys in handling.meta”. Four rules come from the documentation and the FiveM source:
- Use the native that matches the field. Float fields such as
fSteeringLocktake the Float natives. The flag fields take the Int natives: the docs readstrModelFlagswithGetVehicleHandlingInt, and the source notes that “every string field (so far) is parsed to an int in memory”. Vector fields such asvecCentreOfMassOffsettake the Vector natives. - Some flags only change globally. The per-vehicle natives warn: “Certain handling flags can only be set globally using
SET_HANDLING_FLOAT, this might require some experimentation.” - Engine force and top speed need one more call.
MODIFY_VEHICLE_TOP_SPEED“is the native you have to call when trying to apply handling changes related tofInitialDriveForceandfInitialDriveMaxFlatVel”, “otherwise your changes won’t apply”. It also starts “transmission setup for the given vehicle”. - Live values are a test, not the release. Every player’s game loads the
handling.metathat your resource ships, so the file is where tested values belong.
The class argument: the documentation and the source disagree
Every handling native’s documentation says of the class argument: “Only “CHandlingData” is supported at this time.” The FiveM client source of November 17, 2026 does more. When the class is not CHandlingData, it searches the vehicle’s sub-handling data for a class with that name, with the comment “Not every car will have the handling entry defined for the sub type”, and logs No such field %s during %s. when the car has none. CodeWalker’s list of game metadata names includes such classes, among them CCarHandlingData, CBikeHandlingData, CBoatHandlingData and CFlyingHandlingData. Treat CHandlingData as the documented case and other classes as source behaviour that can change.
FiveM handling editor options
- FiveM for GTAV Enhanced: the client console command
con_handlingEditor truewill “Show the Handling Tool dev tool” (defaultfalse). The docs list it among commands that are “only available in FiveM for GTAV Enhanced” and do not describe the tool further. The docs do not say whether it needs developer mode. If the console answers with a developer-mode error such asAccess denied for command, note that on Enhanced developer mode “requires sv_devMode true to be set on the server”. - Community resource: the Real-time Vehicle Handling Editor, released on the Cfx.re forum by its author in July 2021, lets you “modify float, integer, and vector values and it updates immediately (effective for most fields)”. You copy the result with buttons at the top and paste it into your handling file. Its author says “There are no permissions, so would only recommend starting for dev/testing”, and later added rounding because a value of
1.000in the handling file could display as0.999.
handling.meta fields with a documented unit or behaviour
No official reference describes every handling.meta field. This table lists only fields whose unit, scale or behaviour is stated in Cfx.re documentation or in the FiveM client source, as the natives read and write them.
| Field | What the sources state |
|---|---|
fSteeringLock, fTractionCurveLateral | The natives take degrees and store radians (“deg to rad”) |
fMaxBankAngle, fFullAnimAngle, fBikeOnStandLeanAngle | Degrees, converted the same way |
fInitialDriveMaxFlatVel | FiveM divides the value by 3.6 before storing it and multiplies by 3.6 when reading it back; needs MODIFY_VEHICLE_TOP_SPEED at runtime |
fInitialDriveForce | Needs MODIFY_VEHICLE_TOP_SPEED at runtime |
fInitialDragCoeff | Stored as the value times 0.0001 |
fSuspensionCompDamp, fSuspensionReboundDamp | Stored as the value times 0.1 |
fDriveBiasFront | Below 0.1, FiveM stores 0 for the front and 1 for the rear; above 0.9, 1 for the front and 0 for the rear; between, the value times 2 for the front and (1 minus the value) times 2 for the rear |
fBrakeBiasFront, fSuspensionBiasFront, fTractionBiasFront, fAntiRollBarBiasFront | FiveM stores the value times 2 for the front and (1 minus the value) times 2 for the rear, so 0.5 gives 1.0 on both |
fTractionCurveMax, fTractionCurveMin | Calculated as a pair: “this one depends on both min and max” |
nInitialDriveGears | The natives cap it at 7 (std::min(value, 7)) |
fTractionLossMult | Arena Mode multiplies it by 0.25, “increasing grip significantly” |
fPetrolTankVolume | Petrol tank volume; a volume of zero means the vehicle uses no fuel |
fPetrolConsumptionRate | Per-vehicle fuel consumption multiplier, “By default it is set to 0.5 for all vehicles” |
nMonetaryValue | “the vehicle’s monetary value” |
strModelFlags, strHandlingFlags, strDamageFlags, strAdvancedFlags | Read and written as integers |
vecCentreOfMassOffset, vecInertiaMultiplier | Vectors, used with the Vector natives |
The two fuel fields only matter once fuel use is switched on: “By default in GTAV and FiveM vehicles do not consume fuel.” A server that turns it on can set tank size and consumption per car in the same file; the fuel documentation names fPetrolConsumptionRate in handling.meta for this.
Drift handling in FiveM: what the sources document
Drift servers want to know which handling.meta values make a car slide predictably. No Cfx.re page or FiveM source file answers that, so this guide does not present community tuning recipes as facts. The sources do document the controls involved:
- Which wheels are driven. For
fDriveBiasFrontbelow 0.1, FiveM stores 0 for the front and 1 for the rear.SET_VEHICLE_WHEEL_IS_POWEREDcan move power between wheels on all-wheel drive cars, “but if a car’s fDriveBiasFront doesn’t send power to that wheel, it won’t get power anyway.” - Steering angle.
fSteeringLockis in degrees. - Grip.
fTractionCurveMaxandfTractionCurveMinare calculated together,fTractionCurveLateralis in degrees, and the Arena Mode native documents that multiplyingfTractionLossMultby 0.25 is “increasing grip significantly”. - The game’s drift features.
_SET_DRIFT_TYRES_ENABLED(vehicle, toggle)has no description beyond its name and parameters, and_SET_REDUCE_DRIFT_VEHICLE_SUSPENSION“Lowers the vehicle’s stance. Only works for vehicles that support this feature.” Both are marked “NativeDB Introduced: v2372”, so they need game build 2372 or newer; the game build guide shows how a server sets its build. - Grip from a script.
SET_VEHICLE_REDUCE_GRIP“Reduces grip significantly so it’s hard to go anywhere.”
For racing servers, two per-wheel natives carry tyre compound values. _SET_TYRE_TRACTION_LOSS_MULTIPLIER “Controls how much traction the wheel loses”, with documented defaults from Rockstar’s open wheel races of 0.05 (soft), 0.45 (medium) and 0.8 (hard). _SET_TYRE_SOFTNESS_MULTIPLIER “Controls how fast the tires wear out”, with 2.2, 1.7 and 1.2 for the same compounds. Both are marked “NativeDB Introduced: v2060”.
The method that works for any of these is the live loop above: change one field at a time on the test server, drive the same stretch each time, then write the values you keep into the file. The same steps apply to any car resource, including FiveCrate’s addon vehicles.
Handling on FiveM Legacy and FiveM for GTAV Enhanced
- The source quoted here is the
handling-loader-fivecomponent of the FiveM repository, at the commit of November 17, 2026. - Handling natives on Enhanced: the early access patch notes of July 24, 2026 (Hotfix 4) say “The
SetVehicleHandling*natives no longer skip certain handling fields”. The matching bug report is described in the troubleshooting section. - The Handling Tool (
con_handlingEditor) exists only on Enhanced. - No change to the file itself:
handling.metais loaded throughdata_file, not from thestreamfolder thatstream_enhancedreplaces, and the Enhanced changes page lists no change to data files. Setup differences for Enhanced servers are in the Enhanced server guide.
Troubleshooting
FiveM handling.meta changes do nothing after a restart
Check in this order: the file is listed in files and in a data_file 'HANDLING_FILE' line whose path or pattern matches it; the client console shows Loading %d handling entries from %s for that file; the handlingName matches the car’s handlingId; no resource loaded later uses the same name; and you are driving a freshly spawned car. If the car does not spawn at all, see fixing an addon car that does not spawn.
“Failed to load handling file” in the client console
FiveM prints Failed to load handling file %s (or Failed to load DLC handling file %s) when the parser could not read the file into handling entries. Look for broken XML near your last edit, then reload the resource.
“No such field … during SET_VEHICLE_HANDLING_FIELD”
The per-vehicle natives share one handler, so a failed SetVehicleHandlingFloat call is logged as No such field %s during %s. with SET_VEHICLE_HANDLING_FIELD as the function name. Check the spelling of the field against handling.meta and use CHandlingData as the class. Related lines: No such handling name %s in SET_HANDLING_FIELD. means the global natives got a name that no loaded entry uses, and no script guid for vehicle %d in SET_VEHICLE_HANDLING_FIELD means the vehicle handle was not valid.
Top speed changes did not apply with SetVehicleHandlingFloat
Changes to fInitialDriveForce and fInitialDriveMaxFlatVel need MODIFY_VEHICLE_TOP_SPEED afterwards. Its parameter is “A percentage from 0 to 100, it can go past 100”, and the call also updates “the drag coefficient on the vehicle based on the percentage change”.
“Native doesn’t match “fMass” handling member type” on FiveM for GTAV Enhanced
A bug report of July 23, 2026 showed Enhanced printing Native doesn't match "fMass" handling member type., with the same warning for vecCentreOfMassOffset, nInitialDriveGears and vecInertiaMultiplier, and Handling data with name "FUTO" not found.; the fields were skipped. A maintainer replied on July 25, 2026 that a fix “is available in the latest patch b96/97”. Update the client before you look for an error in your script.
“Couldn’t find handling data for hash” in the client console
FiveM logs Couldn't find handling data for hash 0x%08x when the game asks for a handling name that no loaded file defines. The car’s handlingId points at a name that is missing: the handling file did not load, or the two names differ.
Editing one car’s handling changed other cars too
The cars share a handlingName, and every model with that name uses the same top entry. Give the car its own name in both files.
Next Steps
- Package or repair the car resource with the guide to adding addon cars.
- Give a tuned car its own sound with the custom engine sounds guide.
- Set up a FiveM test server for live handling work.
- Check each manifest line in resource manifest guide.
Browse Addon vehicles
Addon vehicles with custom handling, audio and visual modifications for FiveM servers.
Official documentation and repository references
- Cfx.re Docs: Data Files
- Cfx.re Docs: Resource Manifest (data_file)
- Cfx.re Docs: Console Commands (con_handlingEditor)
- Cfx.re Docs: Fuel Consumption
- FiveM native declaration: SET_VEHICLE_HANDLING_FLOAT
- FiveM source: HandlingLoader.cpp (handling natives)
- FiveM source: HandlingDataManager.cpp (handling file loading)
- Cfx.re natives: MODIFY_VEHICLE_TOP_SPEED
Related guides
How to Make a FiveM Test Server to Try Assets Safely
How to make a FiveM test server: a private copy of your live server with its own ports, txData, key and database, to try new cars, MLOs and scripts first.
fxmanifest.lua Explained for FiveM Server Owners
What each fxmanifest.lua line does in a FiveM resource: fx_version, game, scripts, files, data_file, dependencies, __resource.lua, lua54 and manifest errors.
FiveM Custom Engine Sounds: How to Add Them to Addon Cars
FiveM custom engine sounds, step by step: build the sound pack resource, write the AUDIO data_file lines, set audioNameHash in vehicles.meta, fix silent cars.
FiveM Addon Car Not Spawning or Invisible: Causes and Fixes
Fix a FiveM addon car not spawning: check in order whether the resource, vehicles.meta and the stream files loaded, then fix invisible cars and NULL names.
How to Add Addon Cars to a FiveM Server
How to add cars to a FiveM server: stream folder, vehicles.meta and data_file lines in fxmanifest.lua, ensure, a spawn test, pack merging and Enhanced.



