For the complete documentation index, see llms.txt. This page is also available as Markdown.

Client

This page documents all player-facing client commands and key mappings in AK47 Vehicle Keys

All command names and default keybindings can be customized in config.lua. Players can also remap these keys in their GTA V Settings > Key Bindings > FiveM menu.


/engine

Toggles the vehicle's engine ON or OFF.

  • Default Keybind: G (Configurable via Config.EngineButton)

  • Config Setting: Config.Commands.engine

  • Access Requirements: Player must have one of:

    • A physical car key item in inventory

    • A virtual key

    • Whitelisted job vehicle access (e.g. Police)

    • Hotwired status on the vehicle

Usage

/engine

/togglevlock

Locks or unlocks the player's vehicle or the nearest vehicle within signal radius (Config.SignalRadius).

  • Default Keybind: L (Configurable via Config.LockUnlockKey)

  • Config Setting: Config.Commands.togglevlock

  • Features:

    • Triggers visual indicator lights and lock/unlock audio sounds.

    • Closes all vehicle doors when locking.

    • Turns engine off when locking if Config.EngineOffWithLockVehicle is enabled.

Usage


/givekey

Transfers a virtual vehicle key to a nearby player.

  • Config Setting: Config.Commands.givekey

  • Parameters: [targetId] (Optional)

  • Maximum Distance: 3.0 meters

Usage Examples

  • Give key to nearest player:

  • Give key to specific server ID:

When giving a virtual key to another player while sitting in the driver's seat, the current driver will automatically exit the vehicle.


/lockpick

Initiates lockpicking on the vehicle the player is currently targeting or sitting in.

  • Config Setting: Config.Commands.lockpick

  • Requirements:

    • Lockpick item in inventory (if Config.LockPickItem is defined).

    • Vehicle must not be in the ignored list or cycle class.

  • Behaviors:

    • Opens the tension minigame or configured skillcheck.

    • Has a chance to sound the vehicle alarm and notify police dispatch.

    • Chance to break lockpick item on failure (Config.LockPickBreakChanceOnFail).

Usage

Last updated