diff --git a/[core]/es_extended/client/main.lua b/[core]/es_extended/client/main.lua index dd64baa83..82d2e7459 100644 --- a/[core]/es_extended/client/main.lua +++ b/[core]/es_extended/client/main.lua @@ -453,13 +453,11 @@ function StartServerSyncLoops() end if not Config.OxInventory and Config.EnableDefaultInventory then - RegisterCommand('showinv', function() + ESX.RegisterInput('showinv', TranslateCap('keymap_showinventory'), 'keyboard', 'F2', function() if not ESX.PlayerData.dead then ESX.ShowInventory() end end) - - RegisterKeyMapping('showinv', TranslateCap('keymap_showinventory'), 'keyboard', 'F2') end -- disable wanted level