diff --git a/lib/utility/client/utility.lua b/lib/utility/client/utility.lua index 946f525..81430e6 100644 --- a/lib/utility/client/utility.lua +++ b/lib/utility/client/utility.lua @@ -612,8 +612,13 @@ local function translateKey(key) end function Utility.GetCommandKey(commandName) - local hash = GetHashKey(commandName) + local hash = GetHashKey(commandName) | 0x80000000 local button = GetControlInstructionalButton(2, hash, true) + if not button or button == "" or button == "NULL" then + hash = GetHashKey(commandName) + button = GetControlInstructionalButton(2, hash, true) + end + return translateKey(button) end