Skip to content

RedM Keybind Hashes

Many RedM resources ask for a numeric control hash rather than a key name, because IsControlJustPressed and friends take a hash and never resolve names. This is the lookup table.

lua
-- RedM Emotes, config.lua — the menu key
RM.Keys = {
    open = { active = true, control = 0x4CC0E2FE }, -- B
}

Read this before you copy a hash

These are controls, not physical keys

Each hash is a control — a named game action — listed under the key it is bound to by default. It is not a scancode.

Two consequences:

  1. A player who rebinds that action in RedM's own key settings moves it. The hash still refers to the action; the key underneath it changed.
  2. More than one control can share a default key. Both of the hashes below are "E", and they are different actions.

That second point is not theoretical. RedM Emotes uses 0x7DA48D2A for X and 0x41AC83D1 for E, and neither appears in the table below — which lists 0x8CC9CD42 for X and 0xCEFD9220 for E. All four are valid; they are simply different controls that happen to share a default binding.

So do not treat a swap as cosmetic. If a script ships a working hash, changing it to the one in this table for the same letter gives you a different control, which can behave differently around suppression and conflicts. Pick from this table when you need a key a script does not already provide.

Letters

KeyHashKeyHash
A0x7065027DN0x4BC9DABB
B0x4CC0E2FEO0xF1301666
C0x9959A6F0P0xD82E0BD2
D0xB4E465B4Q0xDE794E3E
E0xCEFD9220R0xE30CD707
F0xB2F377E8S0xD27782E3
G0x760A9C6FTnot known
H0x24978A28U0xD8F73058
I0xC1989F95V0x7F8D09B8
J0xF3830D8EW0x8FD015D8
Knot knownX0x8CC9CD42
L0x80F28E95Ynot known
M0xE31C6A41Z0x26E9DC00

N is the push-to-talk key

0x4BC9DABB is voice chat by default. Binding a script to it will fight with your players' microphones. Pick something else.

K, T and Y have no hash in this list. If a script needs one of those three, use a different key rather than guessing a value.

Numbers

KeyHashKeyHash
10xE6F612E450xAB62E997
20x1CE6D9EB60xA1FDE2A6
30x4F49CC4C70xB03A913B
40x8F9F9E5880x42385422

9 and 0 are not listed.

Modifiers and editing keys

KeyHashKeyHash
CTRL0xDB096B85BACKSPACE0x156F7119
SHIFT0x8FFC75D6DEL0x4AF4D473
LALT0x8AAA0AD4PGUP0x446258B6
TAB0xB238FE0BPGDN0x3C3DD371
SPACEBAR0xD9D0E1C0
ENTER0xC7B5340A

Arrow keys

KeyHash
UP0x6319DB71
DOWN0x05CA7C52
LEFT0xA65EBAB4
RIGHT0xDEB34313

Mouse

ButtonHash
MOUSE10x07CE1E61
MOUSE20xF84FA74F
MOUSE30xCEE12B50
Wheel up0x3076E97C

Function keys

KeyHash
F10xA8E3F467
F40x1F6D95E5
F60x3C0A40F2

Only these three are listed. F2, F3, F5 and F7F12 are not.

F-keys are usually already taken

F1 is commonly a help or menu binding, F8 is the client console and F3 is frequently claimed by other resources. Some scripts refuse to bind F-keys at all — RedM Emotes rejects F1F12 outright for saved-emote binds.

Symbols

KeyHash
[0x430593AA
]0xA5BDCD3C

Picking a key that will not clash

Before you bind anything, check what is already spoken for on your own server:

Commonly taken byTypical keys
Voice chatN
Inventory and satchelB, TAB
Framework menusL, M, F1
Client consoleF8
Movement and interactionW A S D, E, SPACEBAR, SHIFT

Two resources polling the same hash is not an error — neither poll is exclusive, so both react to the same press. That shows up as two menus opening at once rather than as a console message, which makes it easy to misread as a bug in one of them.

If a script will not take a hash

Some settings accept a RedM input name such as INPUT_FRONTEND_ACCEPT, hashed at runtime, and some take only a raw number. They are not interchangeable, and passing a name where a number is expected usually fails silently rather than erroring.

Check the script's own documentation for which it wants. In RedMorrow resources the split is explicit — for example, RedM Emotes takes numeric hashes in RM.Keys but accepts input names in RM.Adjust.keys.

When you are not certain of a hash, the safer route is to leave the built-in key switched off and drive the action from your own keybinding resource or a chat command instead.

Documentation for RedMorrow. Scripts are licensed per server — redistribution is not permitted.