Documentation

Personal Settings

Player-specific Vehicle Keys settings.

Open the menu with /keysettings. Values are stored in the local FiveM KVP configured by Config.Settings.personalSettings.kvp.

#Vehicle Exit Procedure

Controls which exit action preserves the current engine state.

ValueTap exitHold exit
DisabledKeeps the engine running.Stops the engine.
Enabled (default)Stops the engine.Keeps the current engine state.

This setting is named holdExitToKeepState in the configuration.

#Auto-Start Engine

ValueBehavior
DisabledEntering the driver's seat leaves the current engine state unchanged.
Enabled (default)Entering as the driver starts an off engine when the player has access.

#Server Control

Defaults come from Config.Settings.vehicleEngine. A server owner can lock either choice:

lua
personalSettings = {
    command = "keysettings",
    kvp = "zyke_vehiclekeys:personal_settings",
    force = {
        holdExitToKeepState = false,
        autoStartEngine = false,
    },
}

When a force value is true, the configured vehicleEngine default is used and players cannot change that setting.

Vehicle Keys also exposes GetPersonalSettings() and SetPersonalSetting(name, value) for custom menus.