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.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 34remove a line to hide a field and block it on the server
Config.FieldRangesemptyper-field { min, max } overrides

Field units

Values are in native units (what GetVehicleHandlingFloat returns): fSteeringLock and fTractionCurveLateral in radians, fInitialDriveMaxFlatVel in m/s, bias values doubled. A value equal to the model's original value is always accepted.

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.