Skip to main content

Commands & Keybinds

All commands and their hotkeys are defined in config.lua (Config.Commands, Config.Hotkeys and Config.AdminCommand).

Player Commands

CommandDefault KeyDescription
/lockL(Un)lock the closest vehicle
/keyMenuUOpen the keys menu
/refreshKeysRe-add missing permanent keys for your owned vehicles
Config.Commands = {
lock = {enable = true, command = 'lock'},
keyMenu = {enable = true, command = 'keyMenu'},
refreshKeys = {enable = true, command = 'refreshKeys'}
}

Config.Hotkeys = {
lock = {enable = true, key = 'L'},
keyMenu = {enable = true, key = 'U'},
}
info
  • A hotkey only works while its command is enable = true.
  • Players can rebind the keys under Settings → Key Bindings → FiveM in-game.

Admin Command

CommandDescription
/adlock(Un)lock the closest vehicle without needing a key
Config.AdminCommand = {
enable = true,
command = 'adlock',
groups = {'superadmin', 'admin'}
}

The admin command uses Ace Permissions. Add your admins to one of the configured groups, for example:

add_ace group.admin command.adlock allow
add_ace group.superadmin command.adlock allow
tip

Admins in Config.AdminCommand.groups can also use the lock hotkey on vehicles listed in Config.AdminVehicles without owning a key.