Grade supposed to be number type

This commit is contained in:
ElPumpo
2019-03-06 22:50:43 +01:00
parent a088fae0e4
commit cd9383a56f
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -481,7 +481,7 @@ Citizen.CreateThread(function()
Citizen.Wait(0)
if IsControlJustReleased(0, Keys['F2']) and GetLastInputMethod(2) and not isDead and not ESX.UI.Menu.IsOpen('default', 'es_extended', 'inventory') then
if IsControlJustReleased(0, Keys['F2']) and IsInputDisabled(0) and not isDead and not ESX.UI.Menu.IsOpen('default', 'es_extended', 'inventory') then
ESX.ShowInventory()
end