From 0d2f0ac8497df738070b0121591a25abb9754a15 Mon Sep 17 00:00:00 2001 From: ElPumpo Date: Sun, 30 Dec 2018 21:34:19 +0100 Subject: [PATCH] Check IsControlJustReleased() every frame --- client/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/main.lua b/client/main.lua index 42f5ec2f..a9101d0f 100644 --- a/client/main.lua +++ b/client/main.lua @@ -97,7 +97,7 @@ end) -- Menu Controls Citizen.CreateThread(function() while true do - Citizen.Wait(10) + Citizen.Wait(0) if IsControlJustReleased(0, Keys['E']) and isInMarker and not menuIsShowed then ESX.UI.Menu.CloseAll()