optimizations + more modules

This commit is contained in:
Jérémie N'gadi
2020-05-11 19:23:02 +02:00
parent bc5ac22bda
commit 960998037e
44 changed files with 1890 additions and 204 deletions
+2 -2
View File
@@ -454,8 +454,8 @@ end
self.InitESX = function()
self.RegisterControl(Input.Groups.MOVE, Input.Controls[Config.InventoryKey])
self.On('released', Input.Groups.MOVE, Input.Controls[Config.InventoryKey], function(lastPressed)
self.RegisterControl(self.Groups.MOVE, self.Controls[Config.InventoryKey])
self.On('released', self.Groups.MOVE, self.Controls[Config.InventoryKey], function(lastPressed)
if (not ESX.IsDead) and (not ESX.UI.Menu.IsOpen('default', 'es_extended', 'inventory')) then
ESX.ShowInventory()