Skip to content
This page was translated from German using AI. If anything is unclear, the German version applies.

HM BetterSettings - Configuration

All settings are in config.lua. The script finds the bindings by itself – here you only set how the page is opened and what the entries are called.

SettingDefaultMeaning
Config.Locale'de'Language: 'de' or 'en'
Config.Command'tasten'Command that opens the page
Config.Aliases{ 'keybinds', 'tastenbelegung' }further commands that work the same way
Config.OpenKeynilKey that opens the page, e.g. 'F10' (each player can change it); nil = none
Config.Debugfalseadditional output in the F8 console
SettingDefaultMeaning
Config.ServerNamenilText at the top right of the window, e.g. your server name
Config.DefaultSort'script'Sorting when first opened: 'script', 'name' or 'key'
Config.ShowCommandtrueshow the command in small print below the description
Config.ShowUnboundtruealso show bindings that have no key
Config.Favoritestrueplayers can keep bindings with a star

Sorting, favourites and collapsed scripts are remembered per player on their own computer.

Without an entry, the script’s folder name is shown on the left. Nicer names:

Config.ScriptNames = {
['esx_ambulancejob'] = 'Ambulance',
['pma-voice'] = 'Radio & voice',
}

If a script does not provide a usable description (for example an encrypted script), only the command name is shown. Your own description per command:

Config.Labels = {
['+handsup'] = 'Hands up',
}
Config.HideScripts = { 'my_admin_script' } -- whole scripts
Config.HideCommands = { '+secret' } -- single commands

The pen next to a binding opens the GTA key bindings, enters the FiveM section and scrolls to the right line. The script only presses arrow keys and Enter once on “FiveM”.

SettingDefaultMeaning
Enabledtruefalse = only open the menu, do not scroll
PressFrames1for how many frames an arrow key is held (higher = slower but safer)
OpenWait700milliseconds to wait until the menu is built
CategoryWait500milliseconds to wait until the “FiveM” section shows its lines
Logtrueone line per jump in the F8 console

These settings are in Config.MenuJump.

SettingDefaultMeaning
Config.ProbeAllCommandstruecheck every command on the server for an assigned key – also finds encrypted scripts. false = only bindings from the source files
exports.hm_BetterSettings:Open() -- open the page
exports.hm_BetterSettings:Close() -- close the page
exports.hm_BetterSettings:IsOpen() -- true / false

All three are client exports.