mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 17:28:53 +00:00
Revert "refactor(es_extended/client/main): use esx function for keymapping"
This reverts commit 47920b73fd.
This commit is contained in:
@@ -453,11 +453,13 @@ function StartServerSyncLoops()
|
||||
end
|
||||
|
||||
if not Config.OxInventory and Config.EnableDefaultInventory then
|
||||
ESX.RegisterInput('showinv', TranslateCap('keymap_showinventory'), 'keyboard', 'F2', function()
|
||||
if not ESX.PlayerData.dead then
|
||||
ESX.ShowInventory()
|
||||
end
|
||||
end)
|
||||
RegisterCommand('showinv', function()
|
||||
if not ESX.PlayerData.dead then
|
||||
ESX.ShowInventory()
|
||||
end
|
||||
end)
|
||||
|
||||
RegisterKeyMapping('showinv', TranslateCap('keymap_showinventory'), 'keyboard', 'F2')
|
||||
end
|
||||
|
||||
-- disable wanted level
|
||||
|
||||
Reference in New Issue
Block a user