Check IsControlJustReleased() every frame

This commit is contained in:
ElPumpo
2018-12-30 21:00:23 +01:00
parent 03823cc93d
commit 6b5674e22d
2 changed files with 7 additions and 8 deletions
+1 -1
View File
@@ -240,7 +240,7 @@ end
-- Key controls
Citizen.CreateThread(function()
while true do
Citizen.Wait(10)
Citizen.Wait(0)
if isInShopMenu then
DisableControlAction(0, 75, true) -- Disable exit vehicle