NullSect
Systems nominal

Docs / Vehicle Handling / Configuration

Configuration

Everything is in config.lua. Restart the resource after a change.

OptionDefaultDescription
Config.Framework'auto'auto, qbox, qbcore, esx, standalone
Config.Locale'en'en or tr
Config.Debugfalseconsole output, enables /vhdebug for admins
Config.Commands.open{ 'vh', 'vehiclehandling' }commands that open the editor
Config.Commands.focus / focusKey'vhfocus' / 'F7'return to the editor after Test drive
Config.Commands.debug'vhdebug'cache, reload, vehicle
Config.Permissions.ace'ns-vehiclehandling.admin'ACE that grants access
Config.Permissions.useFramework / groupstrue / admin, god, superadminframework admin groups
Config.Editor.requireDriverSeattrueonly the driver can open the editor
Config.Editor.revertOnClosetrueunsaved preview values are removed on close
Config.TestDrive.telemetrytruespeed, top speed, sprint time and braking distance during Test drive
Config.TestDrive.unit'kmh''kmh' (0-100 km/h, metres) or 'mph' (0-60 mph, feet)
Config.AutoApply.enabledtrueapply the active profile on spawn
Config.AutoApply.includeAmbienttruealso traffic / parked vehicles
Config.AutoApply.scanOnStarttrueone pass over existing vehicles after a restart
Config.AutoApply.updateExistingOnSavetruesaving updates vehicles already using the profile
Config.HandlingNames{}model = handlingId, only where vehicles.meta uses a different handlingId (the active profile is written to the model's global handling)
Config.Refresh.enabledtrueApply & refresh button
Config.Refresh.giveKeystruegive keys again after a refresh
Config.Refresh.copyStateBags{ 'fuel', 'vehicleid' }state bags copied to the new entity
Config.Profiles.maxPerModel20profile limit per model
Config.Profiles.nameMinLength / nameMaxLength2 / 32profile name length
Config.History.enabled / maxVersionstrue / 10version history
Config.Database.autoCreateTablestruecreate tables on start
Config.Database.profilesTable / versionsTablesee filetable names
Config.Security.*see filerequest limits and cooldowns
Config.AllowedFieldsall 40remove a line to hide a field and block it on the server
Config.FieldRangesemptyper-field { min, max } overrides

Field units

Values are in the units the FiveM handling natives read and write, which are the handling.meta units: fSteeringLock and fTractionCurveLateral in degrees, fInitialDriveMaxFlatVel in km/h, bias values with 0.5 = balanced. Export / Import therefore copy values 1:1. A value equal to the model's original value is always accepted.

fCamberStiffnesss is written with three s on purpose: that is the game's field name.

Bridge

bridge/framework.lua (notifications, fuel, keys, vehicle properties) and bridge/permission.lua (admin check) are not encrypted and can be adapted to custom resources.

Cart

Your cart is empty.