From 32cae1f44d27e15d0a6d7d3b129277331b0c90e9 Mon Sep 17 00:00:00 2001 From: sw4m <56038988+sw4m@users.noreply.github.com> Date: Sat, 27 Dec 2025 15:17:17 +0000 Subject: [PATCH] Updated addKeybind name and description annotations The `name` and `description` values are not named properly and can cause confusion as to where are they used/restrictions on their value. I have updated the annotations to prevent mistakes (as I also made a mistake of including space in the name. Signed-off-by: sw4m <56038988+sw4m@users.noreply.github.com> --- pages/ox_lib/Modules/AddKeybind/Client.mdx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pages/ox_lib/Modules/AddKeybind/Client.mdx b/pages/ox_lib/Modules/AddKeybind/Client.mdx index a73a76550..1072499be 100644 --- a/pages/ox_lib/Modules/AddKeybind/Client.mdx +++ b/pages/ox_lib/Modules/AddKeybind/Client.mdx @@ -42,7 +42,10 @@ lib.addKeybind(data) - data: `table` - name: `string` + - Name of the command created for RegisterKeyMap + - Must not contain whitespace - description: `string` + - The name shown in 'Settings' -> 'Key Bindings' -> 'FiveM' - defaultKey?: `string` - Default: `None` - defaultMapper?: `string`